Browse Source

库存流水展示

XMLWAN 2 years ago
parent
commit
c355e05bf3

+ 2 - 0
controllers/gobal_config_api_controller.go View File

2401
 	dealerList, _ := service.GetAllDealerList(orgId)
2401
 	dealerList, _ := service.GetAllDealerList(orgId)
2402
 	medical, _ := service.GetBaseDrugMedical(drug_id)
2402
 	medical, _ := service.GetBaseDrugMedical(drug_id)
2403
 	houseList, _ := service.GetAllStoreHouseList(orgId)
2403
 	houseList, _ := service.GetAllStoreHouseList(orgId)
2404
+	patientList, _ := service.GetAllPatientListSix(orgId)
2404
 	c.ServeSuccessJSON(map[string]interface{}{
2405
 	c.ServeSuccessJSON(map[string]interface{}{
2405
 		"list":             list,
2406
 		"list":             list,
2406
 		"total":            total,
2407
 		"total":            total,
2408
 		"dealerList":       dealerList,
2409
 		"dealerList":       dealerList,
2409
 		"drug":             medical,
2410
 		"drug":             medical,
2410
 		"houseList":        houseList,
2411
 		"houseList":        houseList,
2412
+		"patientList":      patientList,
2411
 	})
2413
 	})
2412
 }
2414
 }
2413
 
2415
 

+ 2 - 0
controllers/stock_in_api_controller.go View File

5134
 	manufacturerList, _ := service.GetAllManufacturerList(orgId)
5134
 	manufacturerList, _ := service.GetAllManufacturerList(orgId)
5135
 	good, _ := service.GetGoodInformationByGoodId(good_id)
5135
 	good, _ := service.GetGoodInformationByGoodId(good_id)
5136
 	houseList, _ := service.GetAllStoreHouseList(adminUserInfo.CurrentOrgId)
5136
 	houseList, _ := service.GetAllStoreHouseList(adminUserInfo.CurrentOrgId)
5137
+	patients, _ := service.GetAllPatientListSix(adminUserInfo.CurrentOrgId)
5137
 	this.ServeSuccessJSON(map[string]interface{}{
5138
 	this.ServeSuccessJSON(map[string]interface{}{
5138
 		"list":             list,
5139
 		"list":             list,
5139
 		"total":            total,
5140
 		"total":            total,
5140
 		"manufacturerList": manufacturerList,
5141
 		"manufacturerList": manufacturerList,
5141
 		"good":             good,
5142
 		"good":             good,
5142
 		"houseList":        houseList,
5143
 		"houseList":        houseList,
5144
+		"patients":         patients,
5143
 	})
5145
 	})
5144
 }
5146
 }
5145
 
5147