Commit ef24c0ca by LJM

bug

parent 556a5d4f
Showing with 2 additions and 1 deletions
...@@ -833,7 +833,7 @@ ...@@ -833,7 +833,7 @@
} }
var wait_tally_qty = Number(this.detail.wait_tally_qty); //待理货数量 var wait_tally_qty = Number(this.detail.wait_tally_qty); //待理货数量
if (this.detail.sku_id > 0 && this.detail.mpq) { if (this.formParams.is_batch == 1 && this.detail.sku_id > 0 && this.detail.mpq) {
//实际理货和标准包装量为非整数倍 //实际理货和标准包装量为非整数倍
if (Number(this.formParams.tally_qty) % Number(this.detail.mpq) !== 0) { if (Number(this.formParams.tally_qty) % Number(this.detail.mpq) !== 0) {
uni.showModal({ uni.showModal({
...@@ -859,6 +859,7 @@ ...@@ -859,6 +859,7 @@
coo: this.formParams.coo, coo: this.formParams.coo,
is_mobile_default_img: this.formParams.is_mobile_default_img, is_mobile_default_img: this.formParams.is_mobile_default_img,
is_print: this.formParams.is_print, is_print: this.formParams.is_print,
is_batch: this.formParams.is_batch, //新增是否分批理货
mpq: this.formParams.mpq //新增标准包装量 mpq: this.formParams.mpq //新增标准包装量
}; };
......
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 sign in to comment