Commit 30fb475c authored by 沈翠玲's avatar 沈翠玲

生产工单

parent ea194f49
......@@ -798,7 +798,11 @@ export default {
},
handleCommandClick() {
this.currentData = this.selectedRows[0]
this.commandVisible = true
if ((this.selectedRows[0].workorderType == 'prototype' || this.selectedRows[0].workorderType == 'cutting') && this.selectedRows[0].status === "PUBLISHED") {
this.commandVisible = true
} else {
this.$message.warning('请选择工单类型为打样工单、切料工单、状态为已发布的数据')
}
},
handleViewRecord(row) {
this.currentData = row
......
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