|
@@ -5353,45 +5353,46 @@ func (c *HisApiController) GetFaPiaoData() {
|
5353
|
5353
|
admin, _ := service.GetAdminUserInfoByID(adminUser.CurrentOrgId, adminUser.AdminUser.Id)
|
5354
|
5354
|
|
5355
|
5355
|
c.ServeSuccessJSON(map[string]interface{}{
|
5356
|
|
- "order_number": order.Number, //业务流水号
|
5357
|
|
- "id_card_no": his.IdCardNo, //社会保障号
|
5358
|
|
- "department_name": department.Name, //科室
|
5359
|
|
- "number": his.Number, //门诊号
|
5360
|
|
- "date": order.SettleAccountsDate, //结算日期
|
5361
|
|
- "name": order.PsnName, //姓名
|
5362
|
|
- "gender": order.Gend, //性别
|
5363
|
|
- "psn_cash_money": order.PsnCashPay, //个人支付
|
5364
|
|
- "pay_way": "门诊", //结算方式
|
5365
|
|
- "medfee_sumamt": order.MedfeeSumamt, //总费用
|
5366
|
|
- "admin_user_name": admin.UserName, //收款员
|
5367
|
|
-
|
5368
|
|
- "bedCostTotal": bedCostTotal,
|
5369
|
|
- "bedCostSelfTotal": bedCostSelfTotal,
|
5370
|
|
- "bedCostPartSelfTotal": bedCostPartSelfTotal,
|
5371
|
|
- "operationCostTotal": operationCostTotal,
|
5372
|
|
- "operationCostSelfTotal": operationCostSelfTotal,
|
5373
|
|
- "operationCostPartSelfTotal": operationCostPartSelfTotal,
|
5374
|
|
- "otherCostTotal": otherCostTotal,
|
5375
|
|
- "otherCostSelfTotal": otherCostSelfTotal,
|
5376
|
|
- "otherCostPartSelfTotal": otherCostPartSelfTotal,
|
5377
|
|
- "materialCostTotal": materialCostTotal,
|
5378
|
|
- "materialCostSelfTotal": materialCostSelfTotal,
|
5379
|
|
- "materialCostPartSelfTotal": materialCostPartSelfTotal,
|
5380
|
|
- "westernMedicineCostTotal": westernMedicineCostTotal,
|
5381
|
|
- "westernMedicineCostSelfTotal": westernMedicineCostSelfTotal,
|
5382
|
|
- "westernMedicineCostPartSelfTotal": westernMedicineCostPartSelfTotal,
|
5383
|
|
- "chineseTraditionalMedicineCostTotal": chineseTraditionalMedicineCostTotal,
|
|
5356
|
+ "order_number": order.Number, //业务流水号
|
|
5357
|
+ "id_card_no": his.IdCardNo, //社会保障号
|
|
5358
|
+ "department_name": department.Name, //科室
|
|
5359
|
+ "number": his.Number, //门诊号
|
|
5360
|
+ "date": order.SettleAccountsDate, //结算日期
|
|
5361
|
+ "name": order.PsnName, //姓名
|
|
5362
|
+ "gender": order.Gend, //性别
|
|
5363
|
+ "psn_cash_money": order.PsnCashPay, //个人支付
|
|
5364
|
+ "pay_way": "门诊", //结算方式
|
|
5365
|
+ "medfee_sumamt": order.MedfeeSumamt, //总费用
|
|
5366
|
+ "admin_user_name": admin.UserName, //收款员
|
|
5367
|
+ "order": order,
|
|
5368
|
+ "his": his,
|
|
5369
|
+ "bedCostTotal": bedCostTotal,
|
|
5370
|
+ "bedCostSelfTotal": bedCostSelfTotal,
|
|
5371
|
+ "bedCostPartSelfTotal": bedCostPartSelfTotal,
|
|
5372
|
+ "operationCostTotal": operationCostTotal,
|
|
5373
|
+ "operationCostSelfTotal": operationCostSelfTotal,
|
|
5374
|
+ "operationCostPartSelfTotal": operationCostPartSelfTotal,
|
|
5375
|
+ "otherCostTotal": otherCostTotal,
|
|
5376
|
+ "otherCostSelfTotal": otherCostSelfTotal,
|
|
5377
|
+ "otherCostPartSelfTotal": otherCostPartSelfTotal,
|
|
5378
|
+ "materialCostTotal": materialCostTotal,
|
|
5379
|
+ "materialCostSelfTotal": materialCostSelfTotal,
|
|
5380
|
+ "materialCostPartSelfTotal": materialCostPartSelfTotal,
|
|
5381
|
+ "westernMedicineCostTotal": westernMedicineCostTotal,
|
|
5382
|
+ "westernMedicineCostSelfTotal": westernMedicineCostSelfTotal,
|
|
5383
|
+ "westernMedicineCostPartSelfTotal": westernMedicineCostPartSelfTotal,
|
|
5384
|
+ "chineseTraditionalMedicineCostTotal": chineseTraditionalMedicineCostTotal,
|
5384
|
5385
|
"chineseTraditionalMedicineCostSelfTotal": chineseTraditionalMedicineCostSelfTotal,
|
5385
|
5386
|
"chineseTraditionalMedicineCostPartSelfTotal": chineseTraditionalMedicineCostPartSelfTotal,
|
5386
|
|
- "checkCostTotal": checkCostTotal,
|
5387
|
|
- "checkCostSelfTotal": checkCostSelfTotal,
|
5388
|
|
- "checkCostPartSelfTotal": checkCostPartSelfTotal,
|
5389
|
|
- "laboratoryCostTotal": laboratoryCostTotal,
|
5390
|
|
- "laboratoryCostSelfTotal": laboratoryCostSelfTotal,
|
5391
|
|
- "laboratoryCostPartSelfTotal": laboratoryCostPartSelfTotal,
|
5392
|
|
- "treatCostTotal": treatCostTotal,
|
5393
|
|
- "treatCostSelfTotal": treatCostSelfTotal,
|
5394
|
|
- "treatCostPartSelfTotal": treatCostPartSelfTotal,
|
|
5387
|
+ "checkCostTotal": checkCostTotal,
|
|
5388
|
+ "checkCostSelfTotal": checkCostSelfTotal,
|
|
5389
|
+ "checkCostPartSelfTotal": checkCostPartSelfTotal,
|
|
5390
|
+ "laboratoryCostTotal": laboratoryCostTotal,
|
|
5391
|
+ "laboratoryCostSelfTotal": laboratoryCostSelfTotal,
|
|
5392
|
+ "laboratoryCostPartSelfTotal": laboratoryCostPartSelfTotal,
|
|
5393
|
+ "treatCostTotal": treatCostTotal,
|
|
5394
|
+ "treatCostSelfTotal": treatCostSelfTotal,
|
|
5395
|
+ "treatCostPartSelfTotal": treatCostPartSelfTotal,
|
5395
|
5396
|
})
|
5396
|
5397
|
|
5397
|
5398
|
}
|