Commit 680820d2 authored by Mac's avatar Mac
parents ddbac70f 947164bd
......@@ -182,7 +182,7 @@
:rules="[val => !!val || '请填退课金额']" />
</span>
<span>
系统计算课时费为:(课时)*30(课单价)=7200元,请你最终确认退款金额
系统计算课时费为:{{(classPriceObj.ClassHours-classPriceObj.FinishHours)}}(课时)*{{classPriceObj.classHourPrice}}(课单价)={{classPriceObj.backMoney}}元,请你最终确认退款金额
</span>
</template>
<div v-if="showType==2">
......@@ -294,7 +294,6 @@
}).then(res => {
if (res.Code == 1) {
this.classPriceObj = res.Data;
console.log(" this.classPriceObj", this.classPriceObj);
}
});
},
......@@ -304,24 +303,30 @@
},
//退课单据审核
saveBackClassInfo() {
console.log("this.tempPeople", this.tempPeople);
var str = "";
if (this.tempPeople && this.tempPeople.length > 0) {
this.tempPeople.forEach(item => {
str += "," + item;
})
}
if (str && str != '') {
str = str.substr(1);
}
// saveBackBillAduit(this.backBillMsg).then(res => {
// if (res.Code == 1) {
// this.$q.notify({
// icon: 'iconfont icon-chenggong',
// color: 'accent',
// timeout: 2000,
// message: '审核成功!',
// position: 'top'
// })
// //调用父页面成功方法
// this.$emit('success');
// this.$emit('close');
// }
// })
this.backBillMsg.RecipientIds = str;
saveBackBillAduit(this.backBillMsg).then(res => {
if (res.Code == 1) {
this.$q.notify({
icon: 'iconfont icon-chenggong',
color: 'accent',
timeout: 2000,
message: '审核成功!',
position: 'top'
})
//调用父页面成功方法
this.$emit('success');
this.$emit('close');
}
})
},
//获取员工列表
getEmployee() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment