Commit 940df986 authored by 沈翠玲's avatar 沈翠玲

保密发料单

parent 077d7b7e
......@@ -313,6 +313,10 @@ export default {
},
handleSend() {
console.log('this.selectRows11', this.selectRows)
const arr1 = this.selectRows.filter( v=> !v.status || v.status === 3)
if (arr1.length !== this.selectRows.length){
return this.$modal.msgWarning("发料需要选择未发料的工单");
}
const arr = this.selectRows.filter( v=> v.seRouteCode !== this.selectRows[0].seRouteCode)
if (arr.length) {
return this.$modal.msgWarning("发料选择的工单需要是同一个工艺编码");
......
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