Commit de905870 by 泽锋 李

fix

parent 8f9438a0
......@@ -31,7 +31,7 @@ namespace AutoTurnOver.Services
var mainID = purchase_advise.Add(new dc_auto_purchase_advise { create_time = DateTime.Now, no = purchase_advise.GenerateOrderNo() ,buy_sys_plan_no = "Generate", title = title });
if (mainID == null) throw new Exception("创建采购建议失败");
purchase_advise.ImportDetailed(mainID.Value,date, is_clear_data:true);
purchase_advise.ImportDetailed(mainID.Value,date, is_clear_data: is_clear_data);
if (is_bak)
{
......
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