Commit c4d15c89 authored by 李苏's avatar 李苏 💬

判定分配库存

parent 2afcc3ef
......@@ -319,6 +319,9 @@
*/
jsbc(n, o, item) {
let slc = o - n
if(n>( parseFloat(item.yfpsl) + parseFloat(item.kcsl) )){
this.$warning('分配超出库存,请重新分配')
}
/* 数量记录为新*/
this.sljl[item.packid] = n
item.kcsl = item.kcsl + slc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment