|
|
@ -1477,11 +1477,11 @@ |
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|
//校验总良品+不良的数量 |
|
|
//校验总良品+不良的数量 |
|
|
if ((approvedQty + defectedQty) <= 0) { |
|
|
|
|
|
this.$message.error(this.labels.seqNoValidApprovedAndDefectQty); |
|
|
|
|
|
this.pageData.approvedQty = 0;//重新赋值 |
|
|
|
|
|
return false; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// if ((approvedQty + defectedQty) <= 0) { |
|
|
|
|
|
// this.$message.error(this.labels.seqNoValidApprovedAndDefectQty); |
|
|
|
|
|
// this.pageData.approvedQty = 0;//重新赋值 |
|
|
|
|
|
// return false; |
|
|
|
|
|
// } |
|
|
//班次判断 |
|
|
//班次判断 |
|
|
if (this.pageData.shiftDesc == '无班次') { |
|
|
if (this.pageData.shiftDesc == '无班次') { |
|
|
this.$message.error(this.labels.noMatchShiftInfo); |
|
|
this.$message.error(this.labels.noMatchShiftInfo); |
|
|
|