| | |
| | | { |
| | | minWidth: false, |
| | | width: 130, |
| | | prop: 'org_code', |
| | | prop: 'torg_code', |
| | | label: '生产车间编码', |
| | | id: 4, |
| | | show: false, |
| | |
| | | { |
| | | minWidth: 110, |
| | | width: false, |
| | | prop: 'org_name', |
| | | prop: 'torg_name', |
| | | label: '生产车间', |
| | | id: 5, |
| | | show: true, |
| | |
| | | if (this.tableDataDialog.length === 0) { |
| | | return this.$message.info('设备关联点检项信息不能为空!') |
| | | } |
| | | if (this.tableDataDialog.filter(i => !i.checkitem_code).length > 0) { |
| | | return this.$message.info('设备关联点检项信息不能为空!') |
| | | } |
| | | |
| | | this.$refs.dialogForm.validate(valid => { |
| | | if (valid) { |
| | |
| | | { |
| | | minWidth: false, |
| | | width: 130, |
| | | prop: 'org_code', |
| | | prop: 'torg_code', |
| | | label: '生产车间编码', |
| | | id: 4, |
| | | show: false, |
| | |
| | | { |
| | | minWidth: 110, |
| | | width: false, |
| | | prop: 'org_name', |
| | | prop: 'torg_name', |
| | | label: '生产车间', |
| | | id: 5, |
| | | show: true, |
| | |
| | | return this.$message.info('设备关联保养项信息不能为空!') |
| | | } |
| | | |
| | | if (this.tableDataDialog.filter(i => !i.repairitem_code).length > 0) { |
| | | return this.$message.info('设备关联保养项信息不能为空!') |
| | | } |
| | | |
| | | this.$refs.dialogForm.validate(valid => { |
| | | if (valid) { |
| | | this.$store.state.app.buttonIsDisabled = true |