|
|
|
@ -302,20 +302,21 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
rowClick(row) { |
|
|
|
// chargeFlag string 收费状态 0-未收费 1-已收费 2-已退费 |
|
|
|
this.currRowData = row |
|
|
|
this.tableDataDetails = [] |
|
|
|
postapi('/api/app/AppointPatientRegister/GetAppointRegisterAsbitemListById', { |
|
|
|
thirdInterFaceId: this.query.thirdInterfaceId, |
|
|
|
appointPatientRegisterId: row.appointPatientRegisterId |
|
|
|
}).then(res => { |
|
|
|
if (res.code > -1) { |
|
|
|
|
|
|
|
if (res.code > -1) { |
|
|
|
res.data.forEach(e => { |
|
|
|
e.discount = e.standardPrice == 0 ? 100: Math.floor(e.chargePrice * 10000/e.standardPrice)/100 |
|
|
|
if(!e.isBelongGroupPackage){ |
|
|
|
e.isBelongGroupPackage = e.isInMedicalPackage |
|
|
|
} |
|
|
|
// e.standTotal = e.amount * e.standardPrice |
|
|
|
if(this.currRowData.chargeFlag == '1') e.isCharge = 'Y' |
|
|
|
e.total = e.amount * e.chargePrice |
|
|
|
}); |
|
|
|
|
|
|
|
|