代码更新

This commit is contained in:
2022-11-21 16:30:27 +08:00
parent ba3d7a4f99
commit 83f43e1018
3 changed files with 13 additions and 7 deletions

View File

@@ -179,16 +179,15 @@ export default {
}
},
handleEdit(index, row) {
debugger
// 判断是否可以关闭编辑状态
if (row.edit === undefined) {
this.$set(row, 'edit', false)
}
if (!row.edit) {
if (row.plan_qty > this.queryrow.unassign_qty) {
/* if (row.plan_qty > this.queryrow.unassign_qty) {
this.crud.notify('出库重量不能超过未分配数', CRUD.NOTIFICATION_TYPE.INFO)
return false
}
}*/
if (row.plan_qty > row.canuse_qty) {
this.crud.notify('出库重量不能超过库存可出重量', CRUD.NOTIFICATION_TYPE.INFO)
return false