Commit f5705e46 by 泽锋 李

挑拨单走铁路,缺货单走陆运

parent bcda7cd8
......@@ -127,7 +127,6 @@ namespace AutoTurnOver.Services
mPlanToPurchaseDto data = new mPlanToPurchaseDto
{
bp_sendtype = 4,
bp_send = item.Key.warehouse_type != "国内仓" ? 1 : 0,
bp_sendfromCode = item.Key.warehouse_type != "国内仓" ? "GZBLZZG" : item.Key.warehouse_code,
bp_sendtoCode = item.Key.warehouse_type != "国内仓" ? item.Key.warehouse_code : null,
......@@ -135,6 +134,7 @@ namespace AutoTurnOver.Services
bi_buyplandetail = new List<bi_buyplandetail>(),
bp_remark = $"用户{user.UserName} 在 aims 操作推送-"+ remarks
};
data.bp_sendtype = data.bp_send == 1 ? 4 : 1;
var sendtype = item.Max(s => s.sendtype);
if (sendtype > 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment