@@ -32,7 +32,7 @@ export default {
})
this.$message.config({
top: `100px`,
- duration: 3,
+ duration: 5,
maxCount: 3
}
@@ -327,6 +327,10 @@ export default {
this.$message.warning('请先选择退货原因!')
return
+ if (record.receiveQty != record.badQty + record.goodQty) {
+ this.$message.warning('仓库实收数量必需等于良品数量和坏件数量之和!')
+ return
+ }
this.spinning = true
updateByCustomerService(record).then(res => {
if (res.status == 200) {