|
@@ -10906,6 +10906,7 @@ func (c *HisApiController) GetUploadInfo() {
|
10906
|
10906
|
}
|
10907
|
10907
|
}
|
10908
|
10908
|
}
|
|
10909
|
+
|
10909
|
10910
|
if item.Type == 2 { //项目
|
10910
|
10911
|
for _, subItem := range item.HisPrescriptionProject {
|
10911
|
10912
|
if subItem.Type == 2 {
|
|
@@ -10943,6 +10944,7 @@ func (c *HisApiController) GetUploadInfo() {
|
10943
|
10944
|
|
10944
|
10945
|
}
|
10945
|
10946
|
}
|
|
10947
|
+
|
10946
|
10948
|
for _, item := range item.HisAdditionalCharge {
|
10947
|
10949
|
cus := &Custom{
|
10948
|
10950
|
ItemId: item.ID,
|
|
@@ -11231,6 +11233,16 @@ func (c *HisApiController) Refund() {
|
11231
|
11233
|
}
|
11232
|
11234
|
}
|
11233
|
11235
|
|
|
11236
|
+ fapiao, _ := service.GetFaPiaoHisOrderByID(order_id)
|
|
11237
|
+
|
|
11238
|
+ if fapiao.ID > 0 {
|
|
11239
|
+ c.ServeSuccessJSON(map[string]interface{}{
|
|
11240
|
+ "failed_code": -10,
|
|
11241
|
+ "msg": "该结算已经开具发票无法退费,请先红冲发票",
|
|
11242
|
+ })
|
|
11243
|
+ return
|
|
11244
|
+ }
|
|
11245
|
+
|
11234
|
11246
|
orders, _ := service.GetHisOrderDetailByNumberThree(order.Number, order.UserOrgId)
|
11235
|
11247
|
houseConfig, _ := service.GetAllStoreHouseConfig(order.UserOrgId)
|
11236
|
11248
|
var goods []*models.DialysisBeforePrepareGoods
|