|
|
@@ -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();
|
|
|
}
|