diff --git a/lms/nladmin-ui/src/views/wms/st/outbill/StructIvt.vue b/lms/nladmin-ui/src/views/wms/st/outbill/StructIvt.vue
index b29a5fe0b..33b18401f 100644
--- a/lms/nladmin-ui/src/views/wms/st/outbill/StructIvt.vue
+++ b/lms/nladmin-ui/src/views/wms/st/outbill/StructIvt.vue
@@ -105,12 +105,12 @@
-
-
-
- {{ scope.row.plan_qty }}
-
-
+
+
+
+
+
+
@@ -215,22 +215,22 @@ export default {
this.crud.notify('出库重量不能超过未分配数', CRUD.NOTIFICATION_TYPE.INFO)
return false
}*/
- if (row.plan_qty > row.canuse_qty) {
+ /* if (row.plan_qty > row.canuse_qty) {
this.crud.notify('出库重量不能超过库存可出重量', CRUD.NOTIFICATION_TYPE.INFO)
return false
}
if (row.plan_qty === 0) {
this.crud.notify('出库重量为0不能保存', CRUD.NOTIFICATION_TYPE.INFO)
return false
- }
+ }*/
}
row.edit = !row.edit
if (row.edit) {
- this.queryrow.unassign_qty = parseFloat(this.queryrow.unassign_qty) - row.plan_qty
- this.queryrow.assign_qty = parseFloat(this.queryrow.assign_qty) + row.plan_qty
+ this.queryrow.unassign_qty = parseFloat(this.queryrow.unassign_qty) - parseFloat(row.canuse_qty)
+ this.queryrow.assign_qty = parseFloat(this.queryrow.assign_qty) + parseFloat(row.canuse_qty)
} else {
- this.queryrow.unassign_qty = parseFloat(this.queryrow.unassign_qty) + row.plan_qty
- this.queryrow.assign_qty = parseFloat(this.queryrow.assign_qty) - row.plan_qty
+ this.queryrow.unassign_qty = parseFloat(this.queryrow.unassign_qty) + parseFloat(row.canuse_qty)
+ this.queryrow.assign_qty = parseFloat(this.queryrow.assign_qty) - parseFloat(row.canuse_qty)
}
this.tableDtl.splice(index, 1, row) // 通过splice 替换数据 触发视图更新
},