| | |
| | | { label: '检验项分类EN', prop: 'inspectionItemClassEn' }, |
| | | { label: '检验对象', prop: 'sample' }, |
| | | { label: '单价(元)', prop: 'price' }, |
| | | { label: '频次', prop: 'frequency' }, |
| | | { label: '试验室', prop: 'sonLaboratory' }, |
| | | { label: '要求描述', prop: 'askTell' }, |
| | | { label: '要求值', prop: 'ask' }, |
| | |
| | | clickFun: (row) => { |
| | | this.bindPartFirst(row); |
| | | }, |
| | | disabled: (row) => { |
| | | return !!row.product |
| | | } |
| | | }, |
| | | // { |
| | | // name: '车间绑定', |
| | | // type: 'text', |
| | | // clickFun: (row) => { |
| | | // this.bindWokshop1(row); |
| | | // }, |
| | | // disabled: (row) => { |
| | | // return row.objectType != '原辅材' && row.objectType != '包材' |
| | | // } |
| | | // }, |
| | | { |
| | | name: '车间绑定', |
| | | type: 'text', |
| | | clickFun: (row) => { |
| | | this.bindWokshop1(row); |
| | | }, |
| | | disabled: (row) => { |
| | | return row.objectType != '原辅材' && row.objectType != '包材' |
| | | } |
| | | }, |
| | | ] |
| | | } |
| | | ], |
| | |
| | | this.getDicts("product_classification").then((response) => { |
| | | this.productClassification = this.dictToValue(response.data); |
| | | }); |
| | | // this.selectWorkShop() |
| | | this.selectWorkShop() |
| | | }, |
| | | computed: { |
| | | title() { |