Browse Source

供应商模块保存和更改接口改动

mainqaq 2 years ago
parent
commit
e7295f9ec9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      controllers/supply_order_api_contorller.go

+ 2 - 2
controllers/supply_order_api_contorller.go View File

@@ -247,7 +247,7 @@ func (this *SupplyOrderApiController) UpdateSupply() {
247 247
 			if len(thisStockIn) == 1 {
248 248
 				for _, item := range thisStockIn {
249 249
 					items := item.(map[string]interface{})
250
-					items["IsFirst"] = 1
250
+					items["Isfirst"] = 1
251 251
 				}
252 252
 			}
253 253
 			tmodify := this.GetAdminUserInfo().AdminUser.Id
@@ -429,7 +429,7 @@ func (this *SupplyOrderApiController) SaveSupply() {
429 429
 			if len(thisStockIn) == 1 {
430 430
 				for _, item := range thisStockIn {
431 431
 					items := item.(map[string]interface{})
432
-					items["IsFirst"] = 1
432
+					items["Isfirst"] = 1
433 433
 				}
434 434
 			}
435 435
 			tcreater := this.GetAdminUserInfo().AdminUser.Id