Browse Source

英文客户国家编辑

hongze 1 năm trước cách đây
mục cha
commit
caa63b496d
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      controllers/english_report/english_company.go

+ 2 - 1
controllers/english_report/english_company.go

@@ -327,7 +327,8 @@ func (this *EnglishCompanyController) Save() {
 		item.SellerId = req.SellerId
 		item.SellerName = seller.RealName
 		item.ModifyTime = nowTime
-		updateCols := []string{"CompanyName", "CountryCode", "Country", "SellerId", "SellerName", "ModifyTime"}
+		item.Nation = req.Nation
+		updateCols := []string{"CompanyName", "CountryCode", "Country", "SellerId", "SellerName", "ModifyTime", "Nation"}
 		if e = item.Update(updateCols); e != nil {
 			br.Msg = "保存失败"
 			br.ErrMsg = "更新英文客户信息失败, Err:" + e.Error()