Parcourir la source

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

mainqaq il y a 3 ans
Parent
révision
fcf47bd0e7
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      controllers/supply_order_api_contorller.go

+ 2 - 2
controllers/supply_order_api_contorller.go Voir le fichier

@@ -253,7 +253,7 @@ func (this *SupplyOrderApiController) UpdateSupply() {
253 253
 			if len(thisStockIn) == 1 {
254 254
 				for _, item := range thisStockIn {
255 255
 					items := item.(map[string]interface{})
256
-					items["Isfirst"] = 1
256
+					items["isfirst"] = 1
257 257
 				}
258 258
 			}
259 259
 			tmodify := this.GetAdminUserInfo().AdminUser.Id
@@ -435,7 +435,7 @@ func (this *SupplyOrderApiController) SaveSupply() {
435 435
 			if len(thisStockIn) == 1 {
436 436
 				for _, item := range thisStockIn {
437 437
 					items := item.(map[string]interface{})
438
-					items["Isfirst"] = 1
438
+					items["isfirst"] = 1
439 439
 				}
440 440
 			}
441 441
 			tcreater := this.GetAdminUserInfo().AdminUser.Id