|
@@ -2975,10 +2975,13 @@ func (this *SelfDrugApiController) GetGoodNewQuery() {
|
2975
|
2975
|
this.ServeFailJsonSend(enums.ErrorCodeDataException, "获取查询信息失败")
|
2976
|
2976
|
return
|
2977
|
2977
|
}
|
2978
|
|
-
|
|
2978
|
+ var medicalInsuranceLevel = "医保等级"
|
|
2979
|
+ medicalInsuranceLevelParent, _ := service.GetDrugDataConfig(0, medicalInsuranceLevel)
|
|
2980
|
+ medicalInsuranceLevelList, _ := service.GetParentDataConfig(medicalInsuranceLevelParent.ID, orgId)
|
2979
|
2981
|
this.ServeSuccessJSON(map[string]interface{}{
|
2980
|
|
- "total": total,
|
2981
|
|
- "stockList": stockList,
|
|
2982
|
+ "total": total,
|
|
2983
|
+ "stockList": stockList,
|
|
2984
|
+ "medicalInsuranceLevelList": medicalInsuranceLevelList,
|
2982
|
2985
|
})
|
2983
|
2986
|
}
|
2984
|
2987
|
|
|
@@ -3641,10 +3644,15 @@ func (this *SelfDrugApiController) GetDrugNewQuery() {
|
3641
|
3644
|
drugTypeParent, _ := service.GetDrugDataConfig(0, drugType)
|
3642
|
3645
|
drugTypeList, _ := service.GetParentDataConfig(drugTypeParent.ID, orgId)
|
3643
|
3646
|
|
|
3647
|
+ var medicalInsuranceLevel = "医保等级"
|
|
3648
|
+ medicalInsuranceLevelParent, _ := service.GetDrugDataConfig(0, medicalInsuranceLevel)
|
|
3649
|
+ medicalInsuranceLevelList, _ := service.GetParentDataConfig(medicalInsuranceLevelParent.ID, orgId)
|
|
3650
|
+
|
3644
|
3651
|
this.ServeSuccessJSON(map[string]interface{}{
|
3645
|
|
- "total": total,
|
3646
|
|
- "drugTypeList": drugTypeList,
|
3647
|
|
- "countList": countList,
|
|
3652
|
+ "total": total,
|
|
3653
|
+ "drugTypeList": drugTypeList,
|
|
3654
|
+ "countList": countList,
|
|
3655
|
+ "medicalInsuranceLevelList": medicalInsuranceLevelList,
|
3648
|
3656
|
})
|
3649
|
3657
|
}
|
3650
|
3658
|
|
|
@@ -3884,6 +3892,10 @@ func (this *SelfDrugApiController) GetGoodNewPurchaseStockQuery() {
|
3884
|
3892
|
|
3885
|
3893
|
manufacturerList, _ := service.GetNewAllManufacturerList(orgId)
|
3886
|
3894
|
|
|
3895
|
+ var medicalInsuranceLevel = "医保等级"
|
|
3896
|
+ medicalInsuranceLevelParent, _ := service.GetDrugDataConfig(0, medicalInsuranceLevel)
|
|
3897
|
+ medicalInsuranceLevelList, _ := service.GetParentDataConfig(medicalInsuranceLevelParent.ID, orgId)
|
|
3898
|
+
|
3887
|
3899
|
if orgId == 10265 {
|
3888
|
3900
|
//storeConfig, _ := service.GetAllStoreHouseConfig(orgId)
|
3889
|
3901
|
|
|
@@ -3947,9 +3959,10 @@ func (this *SelfDrugApiController) GetGoodNewPurchaseStockQuery() {
|
3947
|
3959
|
}
|
3948
|
3960
|
|
3949
|
3961
|
this.ServeSuccessJSON(map[string]interface{}{
|
3950
|
|
- "list": list,
|
3951
|
|
- "manufacturerList": manufacturerList,
|
3952
|
|
- "total": total,
|
|
3962
|
+ "list": list,
|
|
3963
|
+ "manufacturerList": manufacturerList,
|
|
3964
|
+ "total": total,
|
|
3965
|
+ "medicalInsuranceLevelList": medicalInsuranceLevelList,
|
3953
|
3966
|
})
|
3954
|
3967
|
}
|
3955
|
3968
|
|
|
@@ -4046,9 +4059,10 @@ func (this *SelfDrugApiController) GetGoodNewPurchaseStockQuery() {
|
4046
|
4059
|
}
|
4047
|
4060
|
|
4048
|
4061
|
this.ServeSuccessJSON(map[string]interface{}{
|
4049
|
|
- "list": list,
|
4050
|
|
- "manufacturerList": manufacturerList,
|
4051
|
|
- "total": total,
|
|
4062
|
+ "list": list,
|
|
4063
|
+ "manufacturerList": manufacturerList,
|
|
4064
|
+ "total": total,
|
|
4065
|
+ "medicalInsuranceLevelList": medicalInsuranceLevelList,
|
4052
|
4066
|
})
|
4053
|
4067
|
}
|
4054
|
4068
|
|