ソースを参照

其他出入库单去除序列号管控

hxh 3 ヶ月 前
コミット
12aceb239f

+ 2 - 2
src/custom/beans/stockbill/bills/QTCK.java

@@ -23,10 +23,10 @@ public class QTCK extends BasicBill {
                 if(row.getBoolean("skucontrol")){
                     if(codeRowsMap.containsKey(row.getString("st_stockbill_itemsid"))){
                         if(codeRowsMap.get(row.getString("st_stockbill_itemsid")).size()!=row.getInteger("qty")){
-                            throw new YosException("行号:"+row.getString("rowno")+"序列号数量和出库数量不一致");
+                            //throw new YosException("行号:"+row.getString("rowno")+"序列号数量和出库数量不一致");
                         }
                     }else{
-                        throw new YosException("受序列号管控的商品,审核时必须有序列号");
+                        //throw new YosException("受序列号管控的商品,审核时必须有序列号");
                     }
                 }
 

+ 2 - 2
src/custom/beans/stockbill/bills/QTRK.java

@@ -22,10 +22,10 @@ public class QTRK extends BasicBill {
                 if(row.getBoolean("skucontrol")){
                     if(codeRowsMap.containsKey(row.getString("st_stockbill_itemsid"))){
                         if(codeRowsMap.get(row.getString("st_stockbill_itemsid")).size()!=row.getInteger("qty")){
-                            throw new YosException("行号:"+row.getString("rowno")+"序列号数量和入库数量不一致");
+                            //throw new YosException("行号:"+row.getString("rowno")+"序列号数量和入库数量不一致");
                         }
                     }else{
-                        throw new YosException("受序列号管控的商品,审核时必须有序列号");
+                        //throw new YosException("受序列号管控的商品,审核时必须有序列号");
                     }
                 }