Browse Source

webbooking

master
pengjun 11 months ago
parent
commit
4027ebde9a
  1. 5
      src/components/webBooking/WebBooking.vue

5
src/components/webBooking/WebBooking.vue

@ -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
});

Loading…
Cancel
Save