123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398 |
- // 函数:库存销减;
- // 保存前的数据 beforeSaveModel;
- // 当前的数据 currentMode是currentMode的备份修改;
- // 订单开单减库存模式, 否则取件减库存在模式;
- // OPlist_ProdQuantity 商品数量;
- // OPlist_PickupStatus 取件状态 "0":未取 "1":OK(已取);
- // OPlist_PickupQuantity 取走数量;
- // OPlist_CompletedStatus 完成状态 "0":未完 "1":已完(OK);
- // OPlist_CompletedQuantity 完成数量;
- // OPlist_CompletedHadLessQuantity 库存已减数量;
- void InventoryQuantity(LYFZ.Model.Model_ErpOrderProductList beforeSaveModel, LYFZ.Model.Model_ErpOrderProductList currentMode, bool IsOrderModel = false )
- {
- // 必须有一个不为空;
- if ( beforeSaveModel == null && currentMode == null )
- return;
-
- LYFZ.BLL.BLL_ErpProduct prodcutBll = new BLL.BLL_ErpProduct();
- if ( beforeSaveModel == null && currentMode != null )
- {// 保存前没有数据, 添加新库存;
-
- }
- else if ( beforeSaveModel != null && currentMode == null )
- {// 当前数据空,表示删除订单商品, 减库存;
-
- }
- else
- {
- // 如果商品ID不一致,表示不是同一个商品比较;
- if ( beforeSaveModel.ID != currentMode.ID )
- return;
-
- if ( IsOrderModel )
- {// 开单减库存模式;
-
- }
- else
- {// 取件减库存模式(如果取件状态为未取, 则出库以完成数量为准);
- if ( beforeSaveModel.OPlist_PickupStatus == "0" && currentMode.OPlist_PickupStatus == "0" )
- {// 取件状态前后都没有变化的;
- if ( beforeSaveModel.OPlist_CompletedStatus == "1" && currentMode.OPlist_CompletedStatus == "0" )
- {// 由未完成变成已完成;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), currentMode.OPlist_CompletedQuantity, true );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_CompletedQuantity;
- }
-
- if (beforeSaveModel.OPlist_CompletedStatus == "0" && currentMode.OPlist_CompletedStatus == "1" )
- {// 由已完成变成未完成;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), beforeSaveModel.OPlist_CompletedQuantity, false );
- currentMode.OPlist_CompletedHadLessQuantity = 0;
- currentMode.OPlist_CompletedQuantity = 0;
- }
-
- if (beforeSaveModel.OPlist_CompletedStatus == "0" && currentMode.OPlist_CompletedStatus == "0" )
- {// 完成状态都是"完成";
- if ( beforeSaveModel.OPlist_CompletedQuantity > currentMode.OPlist_CompletedQuantity )
- {// 完成数量变少;
- int nDiffValue = beforeSaveModel.OPlist_CompletedQuantity - currentMode.OPlist_CompletedQuantity;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), nDiffValue, false );
- currentMode.OPlist_CompletedHadLessQuantity = beforeSaveModel.OPlist_CompletedQuantity - nDiffValue;
- }
-
- if ( beforeSaveModel.OPlist_CompletedQuantity < currentMode.OPlist_CompletedQuantity )
- {// 完成数量变多;
- int nDiffValue = currentMode.OPlist_CompletedQuantity - beforeSaveModel.OPlist_CompletedQuantity;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), nDiffValue, true );
- currentMode.OPlist_CompletedHadLessQuantity = beforeSaveModel.OPlist_CompletedQuantity + nDiffValue;
- }
- }
- }
- else if ( beforeSaveModel.OPlist_PickupStatus == "0" && currentMode.OPlist_PickupStatus == "1" )
- {// 取件状态由"未取"变成"已取"的;
- if ( beforeSaveModel.OPlist_CompletedStatus == "1" && currentMode.OPlist_CompletedStatus == "1" )
- {// 未完成->未完成;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), currentMode.OPlist_PickupQuantity, true );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_PickupQuantity;
- }
-
- if ( beforeSaveModel.OPlist_CompletedStatus == "1" && currentMode.OPlist_CompletedStatus == "0" )
- {// 未完成->已完成;
- if ( currentMode.OPlist_CompletedQuantity >= currentMode.OPlist_PickupQuantity )
- {// 完成数量 大于或等于 取件数量;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), currentMode.OPlist_CompletedQuantity, true );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_CompletedQuantity;
- }
- else if ( currentMode.OPlist_CompletedQuantity < currentMode.OPlist_PickupQuantity )
- {// 取件数量 大于 完成数量;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), currentMode.OPlist_PickupQuantity, true );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_PickupQuantity;
- }
- }
-
- if (beforeSaveModel.OPlist_CompletedStatus == "0" && currentMode.OPlist_CompletedStatus == "1" )
- {// 已完成->未完成;
- if ( beforeSaveModel.OPlist_CompletedQuantity == currentMode.OPlist_PickupQuantity )
- {// 完成数量 等于 取件数量;
- // 不用处理//此处代码勿删, 以保持代码逻辑完成性;
- }
- else if ( beforeSaveModel.OPlist_CompletedQuantity > currentMode.OPlist_PickupQuantity )
- {// 完成数量 > 取件数量;
- int nDiffValue = beforeSaveModel.OPlist_CompletedQuantity - currentMode.OPlist_PickupQuantity;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), nDiffValue, false );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_PickupQuantity;
- }
- else if ( beforeSaveModel.OPlist_CompletedQuantity < currentMode.OPlist_PickupQuantity )
- {// 完成数量 < 取件数量;
- int nDiffValue = currentMode.OPlist_PickupQuantity - beforeSaveModel.OPlist_CompletedQuantity;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), nDiffValue, true );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_PickupQuantity;
- }
- }
-
- if (beforeSaveModel.OPlist_CompletedStatus == "0" && currentMode.OPlist_CompletedStatus == "0" )
- {// 已完成->已完成;
- if ( beforeSaveModel.OPlist_CompletedQuantity == currentMode.OPlist_CompletedQuantity )
- {// 完成数量没有变化;
- if ( currentMode.OPlist_CompletedQuantity >= currentMode.OPlist_PickupQuantity )
- {
- // 不用处理,仍以完成数量为减库存指标值//此处代码勿删, 以保持代码逻辑完成性;
- }
- else if ( currentMode.OPlist_CompletedQuantity < currentMode.OPlist_PickupQuantity )
- {// 完成数量 < 取件数量;
- int nDiffValue = currentMode.OPlist_PickupQuantity - currentMode.OPlist_CompletedQuantity;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), nDiffValue, false );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_PickupQuantity;
- }
- }
- else if ( beforeSaveModel.OPlist_CompletedQuantity > currentMode.OPlist_CompletedQuantity )
- {// 完成数量变少;
- int nDiffValue = beforeSaveModel.OPlist_CompletedQuantity - currentMode.OPlist_CompletedQuantity;
- if ( currentMode.OPlist_CompletedQuantity >= currentMode.OPlist_PickupQuantity )
- {// 完成数量 >= 取件数量;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), nDiffValue, false );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_CompletedQuantity;
- }
- else if ( currentMode.OPlist_CompletedQuantity < currentMode.OPlist_PickupQuantity )
- {// 完成数量 < 取件数量;
- if ( currentMode.OPlist_PickupQuantity == beforeSaveModel.OPlist_CompletedQuantity )
- {
- // 不用处理, 代码勿删, 保持逻辑完整性;
- }
- else if ( currentMode.OPlist_PickupQuantity > beforeSaveModel.OPlist_CompletedQuantity )
- {
- nDiffValue = currentMode.OPlist_PickupQuantity - beforeSaveModel.OPlist_CompletedQuantity;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), nDiffValue, true );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_PickupQuantity;
- }
- else if ( currentMode.OPlist_PickupQuantity < beforeSaveModel.OPlist_CompletedQuantity )
- {
- nDiffValue = beforeSaveModel.OPlist_CompletedQuantity - currentMode.OPlist_PickupQuantity;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), nDiffValue, false );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_PickupQuantity;
- }
- }
- }
- else if ( beforeSaveModel.OPlist_CompletedQuantity < currentMode.OPlist_CompletedQuantity )
- {// 完成数量变多;
- int nDiffValue = currentMode.OPlist_CompletedQuantity - beforeSaveModel.OPlist_CompletedQuantity;
- if ( currentMode.OPlist_CompletedQuantity >= currentMode.OPlist_PickupQuantity )
- {// 完成数量 >= 取件数量;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), nDiffValue, true );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_CompletedQuantity;
- }
- else if (currentMode.OPlist_CompletedQuantity < currentMode.OPlist_PickupQuantity)
- {// 完成数量 < 取件数量;
- nDiffValue = currentMode.OPlist_PickupQuantity - beforeSaveModel.OPlist_CompletedQuantity;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), nDiffValue, true );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_PickupQuantity;
- }
- }
- }
- }
- else if ( beforeSaveModel.OPlist_PickupStatus == "1" && currentMode.OPlist_PickupStatus == "1" )
- {// 取件状态一直是"已取"的;
- if ( beforeSaveModel.OPlist_CompletedStatus == "1" && currentMode.OPlist_CompletedStatus == "1" )
- {// "未完成" -> "未完成";
- if ( beforeSaveModel.OPlist_PickupQuantity == currentMode.OPlist_PickupQuantity )
- {// 取件数量不变;
- // 不处理;
- }
- else if ( beforeSaveModel.OPlist_PickupQuantity > currentMode.OPlist_PickupQuantity )
- {// 取件数量变少;
- int nDiffValue = beforeSaveModel.OPlist_PickupQuantity - currentMode.OPlist_PickupQuantity;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), nDiffValue, false );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_PickupQuantity;
- }
- else if ( beforeSaveModel.OPlist_PickupQuantity < currentMode.OPlist_PickupQuantity )
- {// 取件数量变多;
- int nDiffValue = currentMode.OPlist_PickupQuantity - beforeSaveModel.OPlist_PickupQuantity;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), nDiffValue, true );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_PickupQuantity;
- }
- }
-
- if ( beforeSaveModel.OPlist_CompletedStatus == "1" && currentMode.OPlist_CompletedStatus == "0" )
- {// "未完成"->"已完成";
- if ( beforeSaveModel.OPlist_PickupQuantity == currentMode.OPlist_PickupQuantity )
- {// 取件数量不变;
- if ( currentMode.OPlist_PickupQuantity >= currentMode.OPlist_CompletedQuantity )
- {
- // 不处理;
- }
- else if ( currentMode.OPlist_PickupQuantity < currentMode.OPlist_CompletedQuantity )
- {
- int nDiffValue = currentMode.OPlist_CompletedQuantity - currentMode.OPlist_PickupQuantity;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), nDiffValue, true );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_CompletedQuantity;
- }
- }
- if ( beforeSaveModel.OPlist_PickupQuantity < currentMode.OPlist_PickupQuantity )
- {// 取件数量变多;
- int nDiffValue = currentMode.OPlist_PickupQuantity - beforeSaveModel.OPlist_PickupQuantity;
- if ( currentMode.OPlist_PickupQuantity >= currentMode.OPlist_CompletedQuantity )
- {// 取件数量 >= 完成数量;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), nDiffValue, true );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_PickupQuantity;
- }
- else if ( currentMode.OPlist_PickupQuantity < currentMode.OPlist_CompletedQuantity )
- {// 取件数量 < 完成数量;
- nDiffValue = currentMode.OPlist_CompletedQuantity - beforeSaveModel.OPlist_PickupQuantity;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), nDiffValue, true );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_CompletedQuantity;
- }
- }
- if ( beforeSaveModel.OPlist_PickupQuantity > currentMode.OPlist_PickupQuantity )
- {// 取件数量变少;
- if ( currentMode.OPlist_CompletedQuantity == beforeSaveModel.OPlist_PickupQuantity )
- {
- // 不用处理;
- }
- if ( currentMode.OPlist_CompletedQuantity > beforeSaveModel.OPlist_PickupQuantity )
- {// 完成数量 > 取走数量;
- int nDiffValue = currentMode.OPlist_CompletedQuantity - beforeSaveModel.OPlist_PickupQuantity;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), nDiffValue, true );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_CompletedQuantity;
- }
- else if ( currentMode.OPlist_CompletedQuantity < beforeSaveModel.OPlist_PickupQuantity )
- {// 完成数量 < 取走数量;
- if ( currentMode.OPlist_CompletedQuantity >= currentMode.OPlist_PickupQuantity )
- {
- int nDiffValue = beforeSaveModel.OPlist_PickupQuantity - currentMode.OPlist_CompletedQuantity;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), nDiffValue, false );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_CompletedQuantity;
- }
- else if ( currentMode.OPlist_CompletedQuantity < currentMode.OPlist_PickupQuantity )
- {
- int nDiffValue = beforeSaveModel.OPlist_PickupQuantity - currentMode.OPlist_PickupQuantity;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), nDiffValue, false );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_PickupQuantity;
- }
- }
- }
- }
-
- if (beforeSaveModel.OPlist_CompletedStatus == "0" && currentMode.OPlist_CompletedStatus == "1" )
- {// "已完成"->"未完成";
- if ( beforeSaveModel.OPlist_PickupQuantity == currentMode.OPlist_PickupQuantity )
- {// 取件数量不变;
- if ( currentMode.OPlist_PickupQuantity >= beforeSaveModel.OPlist_CompletedQuantity )
- {
- // 不用处理;
- }
- else if ( currentMode.OPlist_PickupQuantity < beforeSaveModel.OPlist_CompletedQuantity )
- {
- int nDiffValue = beforeSaveModel.OPlist_CompletedQuantity - currentMode.OPlist_PickupQuantity;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), nDiffValue, false );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_PickupQuantity;
- }
- }
- else if ( beforeSaveModel.OPlist_PickupQuantity > currentMode.OPlist_PickupQuantity )
- {// 取件数量变少;
- int nDiffValue = beforeSaveModel.OPlist_PickupQuantity - currentMode.OPlist_PickupQuantity;
- if ( beforeSaveModel.OPlist_PickupQuantity >= beforeSaveModel.OPlist_CompletedQuantity )
- {
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), nDiffValue, false );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_PickupQuantity;
- }
- else if ( beforeSaveModel.OPlist_PickupQuantity < beforeSaveModel.OPlist_CompletedQuantity )
- {
- nDiffValue = beforeSaveModel.OPlist_CompletedQuantity - currentMode.OPlist_PickupQuantity;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), nDiffValue, false );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_PickupQuantity;
- }
- }
- if ( beforeSaveModel.OPlist_PickupQuantity < currentMode.OPlist_PickupQuantity )
- {// 取件数量变多;
- int nDiffValue = currentMode.OPlist_PickupQuantity - beforeSaveModel.OPlist_PickupQuantity;
- if ( currentMode.OPlist_PickupQuantity == beforeSaveModel.OPlist_CompletedQuantity )
- {
- // 不处理;
- }
- else if ( currentMode.OPlist_PickupQuantity > beforeSaveModel.OPlist_CompletedQuantity )
- {
- if ( beforeSaveModel.OPlist_PickupQuantity >= beforeSaveModel.OPlist_CompletedQuantity )
- {
- int nDiffValue = currentMode.OPlist_PickupQuantity - beforeSaveModel.OPlist_PickupQuantity;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), nDiffValue, true );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_PickupQuantity;
- }
- else if ( beforeSaveModel.OPlist_PickupQuantity < beforeSaveModel.OPlist_CompletedQuantity )
- {
- int nDiffValue = currentMode.OPlist_PickupQuantity - beforeSaveModel.OPlist_CompletedQuantity;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), nDiffValue, true );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_PickupQuantity;
- }
- }
- else if ( currentMode.OPlist_PickupQuantity < beforeSaveModel.OPlist_CompletedQuantity )
- {
- int nDiffValue = beforeSaveModel.OPlist_CompletedQuantity - currentMode.OPlist_PickupQuantity;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), nDiffValue, false );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_PickupQuantity;
- }
- }
- }
-
- if (beforeSaveModel.OPlist_CompletedStatus == "0" && currentMode.OPlist_CompletedStatus == "0" )
- {// "已完成"->"已完成";
- if ( beforeSaveModel.OPlist_CompletedQuantity == currentMode.OPlist_CompletedQuantity )
- {// 完成数量不变;
- if ( beforeSaveModel.OPlist_PickupQuantity == currentMode.OPlist_PickupQuantity )
- {// 取走数量不变;
- // 不用处理;
- }
- else if ( beforeSaveModel.OPlist_PickupQuantity > currentMode.OPlist_PickupQuantity )
- {// 取走数量变少;
- int nDiffValue = beforeSaveModel.OPlist_PickupQuantity - currentMode.OPlist_PickupQuantity;
- if ( currentMode.OPlist_CompletedQuantity == currentMode.OPlist_PickupQuantity )
- {
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), nDiffValue, false );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_PickupQuantity;
- }
- else if ( currentMode.OPlist_CompletedQuantity < currentMode.OPlist_PickupQuantity )
- {
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), nDiffValue, false );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_PickupQuantity;
- }
- else if ( currentMode.OPlist_CompletedQuantity > currentMode.OPlist_PickupQuantity )
- {
- if ( currentMode.OPlist_CompletedQuantity >= beforeSaveModel.OPlist_PickupQuantity )
- {
- // 不处理;
- }
- else if ( currentMode.OPlist_CompletedQuantity < beforeSaveModel.OPlist_PickupQuantity )
- {
- nDiffValue = beforeSaveModel.OPlist_CompletedQuantity - currentMode.OPlist_CompletedQuantity;
- prodcutBll.GetProductLessInventory( currentMode.OPlist_ProdNumber.Trim(), nDiffValue, false );
- currentMode.OPlist_CompletedHadLessQuantity = currentMode.OPlist_CompletedQuantity;
- }
- }
- }
- else if ( beforeSaveModel.OPlist_PickupQuantity < currentMode.OPlist_PickupQuantity )
- {// 取走数量变多;
-
- }
- }
- if ( beforeSaveModel.OPlist_CompletedQuantity > currentMode.OPlist_CompletedQuantity )
- {// 完成数量变少;
- if ( beforeSaveModel.OPlist_PickupQuantity == currentMode.OPlist_PickupQuantity )
- {// 取走数量不变;
-
- }
- else if ( beforeSaveModel.OPlist_PickupQuantity > currentMode.OPlist_PickupQuantity )
- {// 取走数量变少;
-
- }
- else if ( beforeSaveModel.OPlist_PickupQuantity < currentMode.OPlist_PickupQuantity )
- {// 取走数量变多;
-
- }
- }
- if ( beforeSaveModel.OPlist_CompletedQuantity < currentMode.OPlist_CompletedQuantity )
- {// 完成数量变多;
- if ( beforeSaveModel.OPlist_PickupQuantity == currentMode.OPlist_PickupQuantity )
- {// 取走数量不变;
-
- }
- else if ( beforeSaveModel.OPlist_PickupQuantity > currentMode.OPlist_PickupQuantity )
- {// 取走数量变少;
-
- }
- else if ( beforeSaveModel.OPlist_PickupQuantity < currentMode.OPlist_PickupQuantity )
- {// 取走数量变多;
-
- }
- }
- }
- }
- }
- }
- }
|