|
@@ -320,6 +320,7 @@ export default {
|
|
console.log(row.celQty, row.qty)
|
|
console.log(row.celQty, row.qty)
|
|
if (row.celQty > row.qty) {
|
|
if (row.celQty > row.qty) {
|
|
this.$message.info('废品数量不可大于本次退货数量')
|
|
this.$message.info('废品数量不可大于本次退货数量')
|
|
|
|
+ this.$refs.table.refresh(true)
|
|
} else {
|
|
} else {
|
|
this.saveProduct(row, 'edit')
|
|
this.saveProduct(row, 'edit')
|
|
}
|
|
}
|
|
@@ -478,9 +479,7 @@ export default {
|
|
params.salesQty = row.qty
|
|
params.salesQty = row.qty
|
|
}
|
|
}
|
|
salesReturnSaveProduct(params).then(res => {
|
|
salesReturnSaveProduct(params).then(res => {
|
|
- if (res.status == 200) {
|
|
|
|
- this.resetSearchForm(true)
|
|
|
|
- }
|
|
|
|
|
|
+ this.resetSearchForm(true)
|
|
this.isInster = false
|
|
this.isInster = false
|
|
})
|
|
})
|
|
},
|
|
},
|