|
|
@@ -217,9 +217,11 @@ public class OutboundSaleOrderService extends BaseService<Outbound> {
|
|
|
|
|
|
//region 库存够扣减的明细 -----------新建已出库数据并扣减库存
|
|
|
//销售出库新建
|
|
|
- outboundVO.setFlgAutoHandle(true);
|
|
|
- outboundVO.setItemList(itemList);
|
|
|
- this.saleOrderOutboundInsert(outboundVO,true);
|
|
|
+ if (itemList!=null && itemList.size() > 0) {
|
|
|
+ outboundVO.setFlgAutoHandle(true);
|
|
|
+ outboundVO.setItemList(itemList);
|
|
|
+ this.saleOrderOutboundInsert(outboundVO, true);
|
|
|
+ }
|
|
|
//endregion
|
|
|
|
|
|
}
|