Commit 3858213d authored by 吴春's avatar 吴春

1

parent 7ace6a2b
......@@ -5529,7 +5529,7 @@ namespace REBORN.Module.SellModule
string UpdatePeopleMsg = "";
bool IsUpdateMoney = false;
Rb_Coupon_AllotRepository coupon_AllotRepository = new Rb_Coupon_AllotRepository();
bool isAddorder = false;
bool IsMoneyComplete = false;//款是否收齐
bool updateGuest = false;
......@@ -5539,11 +5539,14 @@ namespace REBORN.Module.SellModule
var tmodel = tConfigModel.PriceList?.FirstOrDefault() ?? new RB_Travel_Price_Extend();
//先新曾供应商信息,在新增团信息最后是订单信息
int supplierId = 0;
bool supplierFlag = AddSupplierType(supplierModel, dmodel.UpdateDate ?? DateTime.Now, clientBankAccountList, out supplierId);
if (!supplierFlag)
int supplierId = -1;
if (!string.IsNullOrWhiteSpace(supplierModel.Name) && !string.IsNullOrWhiteSpace(supplierModel.Contact) && !string.IsNullOrWhiteSpace(supplierModel.Tel))
{
return "创建订单失败";
bool supplierFlag = AddSupplierType(supplierModel, dmodel.UpdateDate ?? DateTime.Now, clientBankAccountList, out supplierId);
if (!supplierFlag)
{
return "创建订单失败";
}
}
supplierModel.ID = supplierId;
tmodel.SupplierId = supplierId;
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