检验项目标准缺陷修复

dev-scheduling
jinna 3 weeks ago
parent 5a9a5cad9d
commit 6e9878b1d6
  1. 2
      src/views/productionTesting/components/trialStandard.vue
  2. 4
      src/views/qualityManagement/tankSolutionSystem/info.vue

@ -257,6 +257,7 @@ export default {
}, },
insertEvent() { insertEvent() {
const record = { _select: false }; const record = { _select: false };
this.fileList = []
this.tidList.push(record) this.tidList.push(record)
}, },
searchChange(params, done){ searchChange(params, done){
@ -321,6 +322,7 @@ export default {
handleEdit(row,index) { handleEdit(row,index) {
getDetail({id:row.id}).then(res =>{ getDetail({id:row.id}).then(res =>{
console.log('res--------------',res) console.log('res--------------',res)
this.fileList = []
if(res.data.data.attach && JSON.stringify(res.data.data.attach) != '{}'){ if(res.data.data.attach && JSON.stringify(res.data.data.attach) != '{}'){
this.fileList = [ this.fileList = [
{ {

@ -188,7 +188,7 @@ export default {
}, },
{ {
label: '作业槽', label: '作业槽',
prop: 'workTankName', prop: 'workTankId',
search: true, search: true,
type: 'select', type: 'select',
sortable: true, sortable: true,
@ -842,7 +842,7 @@ export default {
current:this.page.currentPage, current:this.page.currentPage,
size:this.page.pageSize, size:this.page.pageSize,
workCenterId:this.search.wcName ? this.search.wcName : '', 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 : '' testElement:this.search.testElement ? this.search.testElement : ''
}).then(res =>{ }).then(res =>{
this.data = res.data.data.records this.data = res.data.data.records

Loading…
Cancel
Save