修改
This commit is contained in:
@@ -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 + "");
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user