This commit is contained in:
2022-08-24 10:33:26 +08:00
parent 84ae9bf79c
commit b4c13db95a
2 changed files with 6 additions and 0 deletions

View File

@@ -575,6 +575,11 @@ public class HandNewMaterialServiceImpl implements HandNewMaterialService {
bucket_now.put("base_bill_code", row.get("base_bill_code"));
bucket_now.put("base_bill_table", row.get("base_bill_table"));
if (StrUtil.isNotEmpty((String) row.get("source_billdtl_id"))) {
//查询该单据是否存在
JSONObject pro_jo = WQLObject.getWQLObject("PCS_IF_PurchaseOrderProc").query("id = '" + row.get("source_billdtl_id") + "'").uniqueResult(0);
if (ObjectUtil.isNotEmpty(pro_jo)){
throw new PdaRequestException("采购订单数据发生变化,请重新选择选择明细生成入库单!");
}
HashMap<String, String> proc_map = new HashMap<>();
proc_map.put("proc_status", "02");
proc_map.put("update_optid", currentUserId + "");

View File

@@ -57,6 +57,7 @@
class.class_code,
class.class_name,
unit_name,
mb.ext_id,
producmaterialext.standard_weight,
unit_name as base_unit_id_name,
producmaterialext.product_series,