| | |
| | | prop: 'productModel', |
| | | type: 'input', |
| | | span: 12, |
| | | disabled:true, |
| | | placeholder:'选择零组件号自动填充', |
| | | dataType: 'string', |
| | | rules: [{ required: true, message: '必填', trigger: 'blur' }], |
| | | blur: (col) => { |
| | | this.handleTrim(col) |
| | | }, |
| | | }, |
| | | { |
| | | label: '工序号', |
| | |
| | | blur: (col) => { |
| | | this.handleTrim(col) |
| | | }, |
| | | }, |
| | | { |
| | | label: '零组件名称', |
| | | prop: 'drawingName', |
| | | type: 'input', |
| | | placeholder:'选择零组件号自动填充', |
| | | span: 12, |
| | | disabled:true, |
| | | dataType: 'string', |
| | | }, |
| | | { |
| | | label: '工序名称', |
| | |
| | | { |
| | | label: '批次号', |
| | | prop: 'craftEdition', |
| | | placeholder:'如"A"', |
| | | placeholder:'如"2S24001"', |
| | | type: 'input', |
| | | span: 12, |
| | | dataType: 'string', |
| | |
| | | params: {drawingNo: query}, |
| | | }).then( |
| | | res => { |
| | | this.attachForm.productModel = ''; |
| | | if(res.data.code == 200){ |
| | | let list = res.data.data; |
| | | for(let i of list){ |
| | |
| | | }, |
| | | handleSelect(item) { |
| | | this.attachForm.productModel = item.cph; |
| | | this.attachForm.drawingName = item.ljmc; |
| | | }, |
| | | handleTrim(col){ |
| | | //console.log(col) |