|
@@ -296,8 +296,9 @@ export default {
|
|
|
},
|
|
|
// 已选产品 blur
|
|
|
onCellBlur (val, record) {
|
|
|
- if (val * 1 > record.qty * 1) {
|
|
|
- this.$message.warning('申请退货数量不能大于最大可退数量!')
|
|
|
+ if (val * 1 > record.putQty * 1) {
|
|
|
+ this.$message.warning('申请退货数量不能大于入库数量!')
|
|
|
+ this.$refs.table.refresh(true)
|
|
|
return
|
|
|
}
|
|
|
const ajax_data = {
|