| | |
| | | <EditForm ref="editForm" @refreshList="refreshList1"></EditForm> |
| | | <testObjectEditForm ref="testObjectEditForm" @refreshList="refreshList"></testObjectEditForm> |
| | | <BindPartDialog v-if="bindPartDialog" :bindPartDialog="bindPartDialog" :currentRow="currentRow" :type="type" |
| | | @closeBindPartDialog="closeBindPartDialog"></BindPartDialog> |
| | | @closeBindPartDialog="closeBindPartDialog" :currentObj="currentObj"> |
| | | </BindPartDialog> |
| | | <BindSupplierDensityDialog v-if="bindSupplierDensityDialog" :bindSupplierDensityDialog="bindSupplierDensityDialog" |
| | | :currentRow="currentSupplierDensityRow" @closeBindPartDialog="closeBindSupplierDensityDialog"> |
| | | </BindSupplierDensityDialog> |
| | |
| | | { label: '检验对象', prop: 'specimenName' }, |
| | | { label: '检验对象EN', prop: 'specimenNameEn' }, |
| | | { label: '产品', prop: 'product' }, |
| | | { label: '对象代号', prop: 'code' }, |
| | | // { label: '对象代号', prop: 'code' }, |
| | | { |
| | | label: '对象类型', prop: 'objectType', |
| | | dataType: 'tag', |
| | |
| | | this.upProduct(row); |
| | | }, |
| | | }, |
| | | // { |
| | | // name: '零件绑定', |
| | | // type: 'text', |
| | | // clickFun: (row) => { |
| | | // this.bindPartFirst(row); |
| | | // }, |
| | | // }, |
| | | { |
| | | name: '零件绑定', |
| | | type: 'text', |
| | | clickFun: (row) => { |
| | | this.bindPartFirst(row); |
| | | }, |
| | | }, |
| | | ] |
| | | } |
| | | ], |
| | |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | name: '厂家密度绑定', |
| | | type: 'text', |
| | | clickFun: (row) => { |
| | | this.bindSupplierDensitySecond(row); |
| | | }, |
| | | }, |
| | | // { |
| | | // name: '厂家密度绑定', |
| | | // type: 'text', |
| | | // clickFun: (row) => { |
| | | // this.bindSupplierDensitySecond(row); |
| | | // }, |
| | | // }, |
| | | ] |
| | | } |
| | | ], |
| | |
| | | this.bindPart(row, 1) |
| | | }, |
| | | bindWokshop(row) { |
| | | this.workshopForm.workShopId = row.workShopId |
| | | this.currentProduct = row; |
| | | this.workshopVisible = true |
| | | }, |
| | |
| | | }, |
| | | // 打开零件绑定弹框 |
| | | bindPart(row, index) { |
| | | if (index == 0) { |
| | | this.currentObj = row |
| | | } |
| | | this.type = index |
| | | this.currentRow = row |
| | | this.bindPartDialog = true |