|
@@ -1194,7 +1194,7 @@ namespace Business.ResourceExamineManagement
|
|
|
srm_Pr.state = 1;//状态
|
|
srm_Pr.state = 1;//状态
|
|
|
srm_Pr.old_apply_aqty = 0;//已申请数量
|
|
srm_Pr.old_apply_aqty = 0;//已申请数量
|
|
|
srm_Pr.pr_type = orderType;//申请类型
|
|
srm_Pr.pr_type = orderType;//申请类型
|
|
|
- srm_Pr.currencytype = x.currency_type;//币种
|
|
|
|
|
|
|
+ srm_Pr.currencytype = x.currency_type == null ? 1 : x.currency_type.Value;//币种
|
|
|
srm_Pr.secInv_ratio = plan.secinv_ratio;//安全库存触发采购比例
|
|
srm_Pr.secInv_ratio = plan.secinv_ratio;//安全库存触发采购比例
|
|
|
srm_Pr.tenant_id = tenantId;
|
|
srm_Pr.tenant_id = tenantId;
|
|
|
srm_Pr.factory_id = factoryid;
|
|
srm_Pr.factory_id = factoryid;
|