|
|
|
|
@ -56,6 +56,11 @@ export default {
|
|
|
|
|
docType: "recharge_roll_course",
|
|
|
|
|
docTypeName: "疗程转充值卡",
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
docType: "card_change",
|
|
|
|
|
docTypeName: "加价转疗程",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
docType: "card_use",
|
|
|
|
|
docTypeName: "疗程开卡",
|
|
|
|
|
@ -64,6 +69,11 @@ export default {
|
|
|
|
|
docType: "store_cash",
|
|
|
|
|
docTypeName: "收银",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
docType: "store_room",
|
|
|
|
|
docTypeName: "前台收银",
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
docType: "card_repay",
|
|
|
|
|
docTypeName: "还款",
|
|
|
|
|
@ -84,6 +94,10 @@ export default {
|
|
|
|
|
docType: "promotion",
|
|
|
|
|
docTypeName: "促销活动",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
docType: "promotion_card_repay",
|
|
|
|
|
docTypeName: "促销还款",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
form: {}, //主对象
|
|
|
|
|
};
|
|
|
|
|
@ -109,10 +123,48 @@ export default {
|
|
|
|
|
res.rows.forEach((item) => {
|
|
|
|
|
this.itemList.forEach((items) => {
|
|
|
|
|
if (item.docType == items.docType) {
|
|
|
|
|
item.docTypeName = items.docTypeName;
|
|
|
|
|
item.docTypeName = items.docTypeName;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
res.rows.forEach((item) => {
|
|
|
|
|
if (item.type == "card_repay") {
|
|
|
|
|
item.docTypeName = "还款";
|
|
|
|
|
}
|
|
|
|
|
if (item.type == "card_repay") {
|
|
|
|
|
if (item.orderType == "course") {
|
|
|
|
|
item.docTypeName = "疗程" + item.docTypeName;
|
|
|
|
|
}
|
|
|
|
|
if (item.orderType == "recharge") {
|
|
|
|
|
item.docTypeName = "充值" + item.docTypeName;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (item.docType == "refund_cash_room") {
|
|
|
|
|
if (item.accountType == "refund_cash_unaudit_room") {
|
|
|
|
|
item.docTypeName = "房间退反审核";
|
|
|
|
|
}
|
|
|
|
|
if (item.accountType == "refund_cash_audit_room") {
|
|
|
|
|
item.docTypeName = "房间消费退";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (item.docType == "recharge_Transition") {
|
|
|
|
|
if (item.accountType == "recharge_Transition_out") {
|
|
|
|
|
item.docTypeName = "充值卡内调转出";
|
|
|
|
|
}
|
|
|
|
|
if (item.accountType == "recharge_Transition_out_cancel") {
|
|
|
|
|
item.docTypeName = "充值内调作废";
|
|
|
|
|
}
|
|
|
|
|
if (item.accountType == "recharge_Transition_in") {
|
|
|
|
|
item.docTypeName = "充值卡内调转入";
|
|
|
|
|
}
|
|
|
|
|
if (item.accountType == "recharge_Transition_in_cancel") {
|
|
|
|
|
item.docTypeName = "充值内调作废";
|
|
|
|
|
}
|
|
|
|
|
if (item.accountType == "recharge_Transition_out_cancel") {
|
|
|
|
|
item.docTypeName = "充值转出反审核";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
this.list = res.rows;
|
|
|
|
|
} else {
|
|
|
|
|
this.$alert(res.message, "提示", {
|
|
|
|
|
|