| | |
| | | this.bindPartFirst(row); |
| | | }, |
| | | }, |
| | | // { |
| | | // 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() { |