diff --git a/src/views/productionTesting/components/trialStandard.vue b/src/views/productionTesting/components/trialStandard.vue index 018c60a..eba49ae 100644 --- a/src/views/productionTesting/components/trialStandard.vue +++ b/src/views/productionTesting/components/trialStandard.vue @@ -257,6 +257,7 @@ export default { }, insertEvent() { const record = { _select: false }; + this.fileList = [] this.tidList.push(record) }, searchChange(params, done){ @@ -321,6 +322,7 @@ export default { handleEdit(row,index) { getDetail({id:row.id}).then(res =>{ console.log('res--------------',res) + this.fileList = [] if(res.data.data.attach && JSON.stringify(res.data.data.attach) != '{}'){ this.fileList = [ { diff --git a/src/views/qualityManagement/tankSolutionSystem/info.vue b/src/views/qualityManagement/tankSolutionSystem/info.vue index e7b717f..f6f57ff 100644 --- a/src/views/qualityManagement/tankSolutionSystem/info.vue +++ b/src/views/qualityManagement/tankSolutionSystem/info.vue @@ -188,7 +188,7 @@ export default { }, { label: '作业槽', - prop: 'workTankName', + prop: 'workTankId', search: true, type: 'select', sortable: true, @@ -842,7 +842,7 @@ export default { current:this.page.currentPage, size:this.page.pageSize, workCenterId:this.search.wcName ? this.search.wcName : '', - workTankId:this.search.workTankName ? this.search.workTankName : '', + workTankId:this.search.workTankId ? this.search.workTankId : '', testElement:this.search.testElement ? this.search.testElement : '' }).then(res =>{ this.data = res.data.data.records