|
|
@@ -6991,9 +6991,9 @@ namespace Business.Replenishment
|
|
|
srm_Pr.pr_type = curItem.erp_cls == 2 ? 2 : 3;//申请类型
|
|
|
srm_Pr.currencytype = curChaes[j].currency_type == null ? 1 : curChaes[j].currency_type.Value;//币种
|
|
|
srm_Pr.secInv_ratio = curItem.secinv_ratio;//安全库存触发采购比例
|
|
|
- srm_Pr.tenant_id = param.company_id;
|
|
|
- srm_Pr.company_id = param.company_id;
|
|
|
- srm_Pr.factory_id = param.factoryId;
|
|
|
+ srm_Pr.tenant_id = curItem.company_id;
|
|
|
+ srm_Pr.company_id = curItem.company_id;
|
|
|
+ srm_Pr.factory_id = curItem.factory_id;
|
|
|
srm_Pr.create_time = DateTime.Now;
|
|
|
srm_Pr.create_by_name = user;
|
|
|
srm_Pr.update_time = DateTime.Now;
|