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