瀏覽代碼

bug修复

hu 6 月之前
父節點
當前提交
d134205c77
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/custom/restcontroller/webmanage/sale/stockbill/stockbill.java

+ 1 - 2
src/custom/restcontroller/webmanage/sale/stockbill/stockbill.java

@@ -902,8 +902,7 @@ public class stockbill extends Controller {
                 if (skustockid == 0 && stockid == 0) {
                     return getErrReturnObject().setErrMsg("请指定仓库").toString();
                 }
-                if (st_stockbill.getString("status").equals("审核")
-                        && !stockbillitemsrows.toRowsMap("skucontrol").get("1").toRowsMap("itemid").containsKey(
+                if (!stockbillitemsrows.toRowsMap("skucontrol").get("1").toRowsMap("itemid").containsKey(
                         skuRowsMap.get(FMACHINECODE).get(0).getString("itemid"))) {
                     return getErrReturnObject().setErrMsg("序列号所属的商品编号没有包含在单据表体中").toString();
                 }