Commit 1a8abcdc authored by chenzj's avatar chenzj

返修工单下达

parent 09a0bd47
...@@ -801,7 +801,7 @@ export default { ...@@ -801,7 +801,7 @@ export default {
}, },
handleCommandClick() { handleCommandClick() {
this.currentData = this.selectedRows[0] this.currentData = this.selectedRows[0]
if ((this.selectedRows[0].workorderType == 'prototype' || this.selectedRows[0].workorderType == 'cutting') && this.selectedRows[0].status === "PUBLISHED") { if ((this.selectedRows[0].workorderType == 'prototype' || this.selectedRows[0].workorderType == 'cutting' || this.selectedRows[0].workorderType == 'reback') && this.selectedRows[0].status === "PUBLISHED") {
this.commandVisible = true this.commandVisible = true
} else { } else {
this.$message.warning('请选择工单类型为打样工单、切料工单、状态为已发布的数据') this.$message.warning('请选择工单类型为打样工单、切料工单、状态为已发布的数据')
...@@ -1168,7 +1168,7 @@ export default { ...@@ -1168,7 +1168,7 @@ export default {
this.multiple = !this.selectedRows.length this.multiple = !this.selectedRows.length
this.combinationDisable = false this.combinationDisable = false
this.selectedRows.forEach(item => { this.selectedRows.forEach(item => {
if (['cutting', 'prototype'].indexOf(item.workorderType) > -1) { if (['cutting', 'prototype','reback' ].indexOf(item.workorderType) > -1) {
this.combinationDisable = true this.combinationDisable = true
} }
if (['reback', 'prototype'].indexOf(item.workorderType) > -1) { if (['reback', 'prototype'].indexOf(item.workorderType) > -1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment