|
@@ -23,17 +23,39 @@
|
|
|
<a-icon
|
|
<a-icon
|
|
|
type="compass"
|
|
type="compass"
|
|
|
style="color: rgba(255, 141, 26, 1); font-size: 18px"
|
|
style="color: rgba(255, 141, 26, 1); font-size: 18px"
|
|
|
- /><a-button type="link"> 拆分房间 </a-button>
|
|
|
|
|
|
|
+ /><a-button
|
|
|
|
|
+ type="link"
|
|
|
|
|
+ :disabled="selectRoomId == '1'"
|
|
|
|
|
+ @click="splitLiving"
|
|
|
|
|
+ >
|
|
|
|
|
+ 拆分房间
|
|
|
|
|
+ </a-button>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<a-divider />
|
|
<a-divider />
|
|
|
- <a-tabs>
|
|
|
|
|
|
|
+ <a-tabs @change="tabChange">
|
|
|
<a-tab-pane
|
|
<a-tab-pane
|
|
|
- :key="item.id"
|
|
|
|
|
- :tab="item.roomName"
|
|
|
|
|
|
|
+ :key="item.roomId"
|
|
|
v-for="(item, livingIndex) in model.livingRoomIds"
|
|
v-for="(item, livingIndex) in model.livingRoomIds"
|
|
|
>
|
|
>
|
|
|
|
|
+ <span slot="tab">
|
|
|
|
|
+ {{ item.roomName }}
|
|
|
|
|
+ <a-badge
|
|
|
|
|
+ dot
|
|
|
|
|
+ :number-style="{ backgroundColor: '#52c41a' }"
|
|
|
|
|
+ v-if="item.livingOrder.settleType == 1"
|
|
|
|
|
+ >
|
|
|
|
|
+ <span style="font-size: 12px">已结退房</span>
|
|
|
|
|
+ </a-badge>
|
|
|
|
|
+ <a-badge
|
|
|
|
|
+ dot
|
|
|
|
|
+ :number-style="{ backgroundColor: '#52c41a' }"
|
|
|
|
|
+ v-if="item.livingOrder.settleType == 2"
|
|
|
|
|
+ >
|
|
|
|
|
+ <span style="font-size: 12px">未结退房</span>
|
|
|
|
|
+ </a-badge>
|
|
|
|
|
+ </span>
|
|
|
<a-descriptions :column="2">
|
|
<a-descriptions :column="2">
|
|
|
<a-descriptions-item label="主客姓名">
|
|
<a-descriptions-item label="主客姓名">
|
|
|
{{ item.livingCustomers[0].customerName }}
|
|
{{ item.livingCustomers[0].customerName }}
|
|
@@ -251,7 +273,13 @@
|
|
|
<a-icon
|
|
<a-icon
|
|
|
type="property-safety"
|
|
type="property-safety"
|
|
|
style="color: rgba(255, 141, 26, 1); font-size: 18px"
|
|
style="color: rgba(255, 141, 26, 1); font-size: 18px"
|
|
|
- /><a-button type="link"> 部分结账 </a-button>
|
|
|
|
|
|
|
+ /><a-button
|
|
|
|
|
+ type="link"
|
|
|
|
|
+ :disabled="selectedRowKeys1.length == 0 || selectRoomId == '1'"
|
|
|
|
|
+ @click="partialSettle"
|
|
|
|
|
+ >
|
|
|
|
|
+ 部分结账
|
|
|
|
|
+ </a-button>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -262,10 +290,7 @@
|
|
|
:pagination="false"
|
|
:pagination="false"
|
|
|
:scroll="{ y: 160 }"
|
|
:scroll="{ y: 160 }"
|
|
|
rowKey="id"
|
|
rowKey="id"
|
|
|
- :rowSelection="{
|
|
|
|
|
- selectedRowKeys: selectedRowKeys,
|
|
|
|
|
- onChange: onSelectChange,
|
|
|
|
|
- }"
|
|
|
|
|
|
|
+ :row-selection="rowSelection"
|
|
|
>
|
|
>
|
|
|
<template slot="subjectType" slot-scope="text, record, index">
|
|
<template slot="subjectType" slot-scope="text, record, index">
|
|
|
{{ getSubjectTypeText(text) }}
|
|
{{ getSubjectTypeText(text) }}
|
|
@@ -336,7 +361,7 @@
|
|
|
{{ getPayTypeText(text) }}
|
|
{{ getPayTypeText(text) }}
|
|
|
</template>
|
|
</template>
|
|
|
<template slot="subjectType" slot-scope="text, record, index">
|
|
<template slot="subjectType" slot-scope="text, record, index">
|
|
|
- {{ getSubjectTypeText(text) }}
|
|
|
|
|
|
|
+ {{ getSubjectTypeText(record.subjectType) }}
|
|
|
</template>
|
|
</template>
|
|
|
</a-table>
|
|
</a-table>
|
|
|
<div
|
|
<div
|
|
@@ -359,14 +384,33 @@
|
|
|
<a-descriptions-item label="合计消费"
|
|
<a-descriptions-item label="合计消费"
|
|
|
>-{{ feesAmount.toFixed(2) }}
|
|
>-{{ feesAmount.toFixed(2) }}
|
|
|
</a-descriptions-item>
|
|
</a-descriptions-item>
|
|
|
- <a-descriptions-item label="结账应退">
|
|
|
|
|
- {{ (feesAmount - paymentAmount).toFixed(2) }}
|
|
|
|
|
|
|
+ <a-descriptions-item
|
|
|
|
|
+ label="结账应退"
|
|
|
|
|
+ v-if="paymentAmount - feesAmount > 0"
|
|
|
|
|
+ >
|
|
|
|
|
+ {{ (paymentAmount - feesAmount).toFixed(2) }}
|
|
|
|
|
+ </a-descriptions-item>
|
|
|
|
|
+ <a-descriptions-item label="结账应收" v-else>
|
|
|
|
|
+ {{ (paymentAmount - feesAmount).toFixed(2) }}
|
|
|
</a-descriptions-item>
|
|
</a-descriptions-item>
|
|
|
</a-descriptions>
|
|
</a-descriptions>
|
|
|
|
|
|
|
|
- <a-button @click="handleAdd" type="danger" style="margin-left: 100px"
|
|
|
|
|
|
|
+ <a-button
|
|
|
|
|
+ v-if="paymentAmount - feesAmount > 0"
|
|
|
|
|
+ @click="handleAdd"
|
|
|
|
|
+ type="danger"
|
|
|
|
|
+ style="margin-left: 100px"
|
|
|
|
|
+ :disabled="btnSisabled"
|
|
|
>结账退款</a-button
|
|
>结账退款</a-button
|
|
|
>
|
|
>
|
|
|
|
|
+ <a-button
|
|
|
|
|
+ v-else
|
|
|
|
|
+ @click="handleAdd"
|
|
|
|
|
+ type="danger"
|
|
|
|
|
+ style="margin-left: 100px"
|
|
|
|
|
+ :disabled="btnSisabled"
|
|
|
|
|
+ >结账收款</a-button
|
|
|
|
|
+ >
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<customer-modal ref="modalCustomerForm" @ok="modalFormOk"></customer-modal>
|
|
<customer-modal ref="modalCustomerForm" @ok="modalFormOk"></customer-modal>
|
|
@@ -381,7 +425,9 @@ import { validateDuplicateValue } from "@/utils/util";
|
|
|
import moment from "moment";
|
|
import moment from "moment";
|
|
|
import CustomerModal from "./CustomerModal.vue";
|
|
import CustomerModal from "./CustomerModal.vue";
|
|
|
import RefundModal from "./RefundModal.vue";
|
|
import RefundModal from "./RefundModal.vue";
|
|
|
-import paymentModal from "./paymentModal.vue";
|
|
|
|
|
|
|
+import PaymentModal from "./PaymentModal.vue";
|
|
|
|
|
+import { match } from "assert";
|
|
|
|
|
+import { postAction } from "../../../../api/manage";
|
|
|
const columns = [
|
|
const columns = [
|
|
|
// {
|
|
// {
|
|
|
// title: "",
|
|
// title: "",
|
|
@@ -482,7 +528,7 @@ const date = new Date();
|
|
|
const endDate = new Date(date.setDate(date.getDate() + 1));
|
|
const endDate = new Date(date.setDate(date.getDate() + 1));
|
|
|
export default {
|
|
export default {
|
|
|
name: "BusMeetingRoomForm",
|
|
name: "BusMeetingRoomForm",
|
|
|
- components: { CustomerModal, RefundModal, paymentModal },
|
|
|
|
|
|
|
+ components: { CustomerModal, RefundModal, PaymentModal },
|
|
|
props: {
|
|
props: {
|
|
|
//表单禁用
|
|
//表单禁用
|
|
|
disabled: {
|
|
disabled: {
|
|
@@ -531,9 +577,13 @@ export default {
|
|
|
warranterList: [],
|
|
warranterList: [],
|
|
|
key: 0,
|
|
key: 0,
|
|
|
feesList: [],
|
|
feesList: [],
|
|
|
|
|
+ oldfeesList: [],
|
|
|
paymentList: [],
|
|
paymentList: [],
|
|
|
|
|
+ oldpaymentList: [],
|
|
|
payTypeList: [],
|
|
payTypeList: [],
|
|
|
vipCustomer: {},
|
|
vipCustomer: {},
|
|
|
|
|
+ selectRoomId: "1",
|
|
|
|
|
+ selectedRowKeys1: [],
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
@@ -546,9 +596,44 @@ export default {
|
|
|
}, 0);
|
|
}, 0);
|
|
|
},
|
|
},
|
|
|
paymentAmount() {
|
|
paymentAmount() {
|
|
|
- return this.paymentList.reduce(function (total, item) {
|
|
|
|
|
|
|
+ var list = this.paymentList.filter((t) => t.subjectType !== 5);
|
|
|
|
|
+ var amount = list.reduce(function (total, item) {
|
|
|
|
|
+ return total + item.money;
|
|
|
|
|
+ }, 0);
|
|
|
|
|
+
|
|
|
|
|
+ var list2 = this.paymentList.filter((t) => t.subjectType == 5);
|
|
|
|
|
+ var amount2 = list2.reduce(function (total, item) {
|
|
|
return total + item.money;
|
|
return total + item.money;
|
|
|
}, 0);
|
|
}, 0);
|
|
|
|
|
+ return amount - amount2;
|
|
|
|
|
+ },
|
|
|
|
|
+ btnSisabled() {
|
|
|
|
|
+ var index = this.model.livingRoomIds.findLastIndex(
|
|
|
|
|
+ (t) => t.roomId == this.selectRoomId
|
|
|
|
|
+ );
|
|
|
|
|
+ var find = this.model.livingRoomIds[index];
|
|
|
|
|
+ if (find) {
|
|
|
|
|
+ return find.livingOrder.settleType == 1;
|
|
|
|
|
+ }
|
|
|
|
|
+ return false;
|
|
|
|
|
+ },
|
|
|
|
|
+ rowSelection() {
|
|
|
|
|
+ return {
|
|
|
|
|
+ onChange: (selectedRowKeys, selectedRows) => {
|
|
|
|
|
+ // console.log(
|
|
|
|
|
+ // `selectedRowKeys: ${selectedRowKeys}`,
|
|
|
|
|
+ // "selectedRows: ",
|
|
|
|
|
+ // selectedRows
|
|
|
|
|
+ // );
|
|
|
|
|
+ this.selectedRowKeys1 = selectedRowKeys;
|
|
|
|
|
+ },
|
|
|
|
|
+ getCheckboxProps: (record) => ({
|
|
|
|
|
+ props: {
|
|
|
|
|
+ disabled: record.preferentialStatus === 2,
|
|
|
|
|
+ id: record.id,
|
|
|
|
|
+ },
|
|
|
|
|
+ }),
|
|
|
|
|
+ };
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
@@ -577,8 +662,80 @@ export default {
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ splitLiving() {
|
|
|
|
|
+ var that = this;
|
|
|
|
|
+ this.$confirm({
|
|
|
|
|
+ title: "提示",
|
|
|
|
|
+ content: "确认要拆分房间?",
|
|
|
|
|
+ onOk: function () {
|
|
|
|
|
+ var index = that.model.livingRoomIds.findLastIndex(
|
|
|
|
|
+ (t) => t.roomId == that.selectRoomId
|
|
|
|
|
+ );
|
|
|
|
|
+ var livingRoom = that.model.livingRoomIds[index];
|
|
|
|
|
+ httpAction(
|
|
|
|
|
+ "business/busRoomBookingOrders/split-living?livingOrderId=" +
|
|
|
|
|
+ livingRoom.livingOrder.id,
|
|
|
|
|
+ {},
|
|
|
|
|
+ "post"
|
|
|
|
|
+ )
|
|
|
|
|
+ .then((res) => {
|
|
|
|
|
+ if (res.success) {
|
|
|
|
|
+ that.$message.success("拆分成功");
|
|
|
|
|
+ that.getBookingOrderInfo();
|
|
|
|
|
+ that.$emit("ok");
|
|
|
|
|
+ } else {
|
|
|
|
|
+ that.$message.warning(res.message);
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ .finally(() => {
|
|
|
|
|
+ that.confirmLoading = false;
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
|
|
+ partialSettle() {
|
|
|
|
|
+ var list2 = this.feesList.filter((t) =>
|
|
|
|
|
+ this.selectedRowKeys1.includes(t.id)
|
|
|
|
|
+ );
|
|
|
|
|
+ console.log(list2);
|
|
|
|
|
+ var amount = list2.reduce(function (total, item) {
|
|
|
|
|
+ return total + item.money;
|
|
|
|
|
+ }, 0);
|
|
|
|
|
+ var index = this.model.livingRoomIds.findLastIndex(
|
|
|
|
|
+ (t) => t.roomId == this.selectRoomId
|
|
|
|
|
+ );
|
|
|
|
|
+ var livingRoom = this.model.livingRoomIds[index];
|
|
|
|
|
+ this.$refs.modalPaymentForm.edit({
|
|
|
|
|
+ billAmount: parseFloat(amount.toFixed(2)),
|
|
|
|
|
+ deposit: 0,
|
|
|
|
|
+ roomFee: parseFloat(amount.toFixed(2)),
|
|
|
|
|
+ subjectType: 5,
|
|
|
|
|
+ feeType: 2,
|
|
|
|
|
+ bookingOrderId: this.model.orderInfo.id,
|
|
|
|
|
+ livingOrderId:
|
|
|
|
|
+ livingRoom.roomId != "1" ? livingRoom.livingOrder.id : "",
|
|
|
|
|
+ preferentialType: 1,
|
|
|
|
|
+ couponFirstAmount: 0,
|
|
|
|
|
+ discount: 9,
|
|
|
|
|
+ vipCustomerId: this.model.orderInfo.vipCustomerId,
|
|
|
|
|
+ selectedFeeIds: this.selectedRowKeys1,
|
|
|
|
|
+ });
|
|
|
|
|
+ this.$refs.modalPaymentForm.title = "部分结账收款";
|
|
|
|
|
+ this.$refs.modalPaymentForm.disableSubmit = false;
|
|
|
|
|
+ },
|
|
|
|
|
+ tabChange(e) {
|
|
|
|
|
+ console.log(e);
|
|
|
|
|
+ this.selectRoomId = e;
|
|
|
|
|
+ if (e == "1") {
|
|
|
|
|
+ this.feesList = this.oldfeesList;
|
|
|
|
|
+ this.paymentList = this.oldpaymentList;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.feesList = this.oldfeesList.filter((t) => t.roomId == e);
|
|
|
|
|
+ this.paymentList = this.oldpaymentList.filter((t) => t.roomId == e);
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
getPayTypeText(text) {
|
|
getPayTypeText(text) {
|
|
|
- var find = this.payTypeList.find((t) => (t.id = text));
|
|
|
|
|
|
|
+ var find = this.payTypeList.find((t) => t.id == text);
|
|
|
return find ? find.name : "";
|
|
return find ? find.name : "";
|
|
|
},
|
|
},
|
|
|
getRoomName(id) {
|
|
getRoomName(id) {
|
|
@@ -587,7 +744,19 @@ export default {
|
|
|
return find ? find.roomName : "";
|
|
return find ? find.roomName : "";
|
|
|
},
|
|
},
|
|
|
getSubjectTypeText(text) {
|
|
getSubjectTypeText(text) {
|
|
|
- return text == 1 ? "押金" : "房费";
|
|
|
|
|
|
|
+ var msg = "";
|
|
|
|
|
+ if (text == 1) {
|
|
|
|
|
+ msg = "押金";
|
|
|
|
|
+ } else if (text == 2) {
|
|
|
|
|
+ msg = "预收房费";
|
|
|
|
|
+ } else if (text == 3) {
|
|
|
|
|
+ msg = "每日房费";
|
|
|
|
|
+ } else if (text == 4) {
|
|
|
|
|
+ msg = "优惠金额";
|
|
|
|
|
+ } else if (text == 5) {
|
|
|
|
|
+ msg = "结账收款";
|
|
|
|
|
+ }
|
|
|
|
|
+ return msg;
|
|
|
},
|
|
},
|
|
|
async getbusRoomPayType() {
|
|
async getbusRoomPayType() {
|
|
|
await getAction("/business/busRoomPayType/list", {
|
|
await getAction("/business/busRoomPayType/list", {
|
|
@@ -616,6 +785,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
modalFormOk(e) {
|
|
modalFormOk(e) {
|
|
|
this.getBookingOrderInfo();
|
|
this.getBookingOrderInfo();
|
|
|
|
|
+ this.$emit("ok");
|
|
|
},
|
|
},
|
|
|
customerTypeName(customerType) {
|
|
customerTypeName(customerType) {
|
|
|
switch (customerType) {
|
|
switch (customerType) {
|
|
@@ -667,7 +837,7 @@ export default {
|
|
|
var livingRoomId = JSON.parse(
|
|
var livingRoomId = JSON.parse(
|
|
|
JSON.stringify(res.result.livingRoomIds[0])
|
|
JSON.stringify(res.result.livingRoomIds[0])
|
|
|
);
|
|
);
|
|
|
- livingRoomId.id = "1";
|
|
|
|
|
|
|
+ livingRoomId.roomId = "1";
|
|
|
livingRoomId.roomName = "全部";
|
|
livingRoomId.roomName = "全部";
|
|
|
var list = [];
|
|
var list = [];
|
|
|
res.result.livingRoomIds.forEach((t) => {
|
|
res.result.livingRoomIds.forEach((t) => {
|
|
@@ -682,7 +852,11 @@ export default {
|
|
|
if (res.success) {
|
|
if (res.success) {
|
|
|
if (res.result && res.result.length > 0) {
|
|
if (res.result && res.result.length > 0) {
|
|
|
this.feesList = res.result.filter((t) => t.feeType === 1);
|
|
this.feesList = res.result.filter((t) => t.feeType === 1);
|
|
|
|
|
+ this.oldfeesList = JSON.parse(JSON.stringify(this.feesList));
|
|
|
this.paymentList = res.result.filter((t) => t.feeType === 2);
|
|
this.paymentList = res.result.filter((t) => t.feeType === 2);
|
|
|
|
|
+ this.oldpaymentList = JSON.parse(
|
|
|
|
|
+ JSON.stringify(this.paymentList)
|
|
|
|
|
+ );
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
@@ -697,23 +871,60 @@ export default {
|
|
|
this.selectionRows = selectionRows;
|
|
this.selectionRows = selectionRows;
|
|
|
},
|
|
},
|
|
|
handleAdd() {
|
|
handleAdd() {
|
|
|
- // this.$refs.modalRefundForm.edit({
|
|
|
|
|
- // billRefund: 100,
|
|
|
|
|
- // deposit: 50,
|
|
|
|
|
- // roomFee: 80,
|
|
|
|
|
- // refund: 130,
|
|
|
|
|
- // });
|
|
|
|
|
- // this.$refs.modalRefundForm.title = "结账退款";
|
|
|
|
|
- // this.$refs.modalRefundForm.disableSubmit = false;
|
|
|
|
|
|
|
+ var list = this.paymentList.filter((t) => t.subjectType === 1);
|
|
|
|
|
+ var deposit = list.reduce(function (total, item) {
|
|
|
|
|
+ return total + item.money;
|
|
|
|
|
+ }, 0);
|
|
|
|
|
|
|
|
- this.$refs.modalPaymentForm.edit({
|
|
|
|
|
- billRefund: 100,
|
|
|
|
|
- deposit: 50,
|
|
|
|
|
- roomFee: 80,
|
|
|
|
|
- refund: 130,
|
|
|
|
|
- });
|
|
|
|
|
- this.$refs.modalPaymentForm.title = "结账收款";
|
|
|
|
|
- this.$refs.modalPaymentForm.disableSubmit = false;
|
|
|
|
|
|
|
+ var list2 = this.paymentList.filter((t) => t.subjectType === 2);
|
|
|
|
|
+ var sum = list2.reduce(function (total, item) {
|
|
|
|
|
+ return total + item.money;
|
|
|
|
|
+ }, 0);
|
|
|
|
|
+
|
|
|
|
|
+ var list3 = this.feesList.filter((t) => t.subjectType === 3);
|
|
|
|
|
+ var sum2 = list3.reduce(function (total, item) {
|
|
|
|
|
+ return total + item.money;
|
|
|
|
|
+ }, 0);
|
|
|
|
|
+ var index = this.model.livingRoomIds.findLastIndex(
|
|
|
|
|
+ (t) => t.roomId == this.selectRoomId
|
|
|
|
|
+ );
|
|
|
|
|
+ var livingRoom = this.model.livingRoomIds[index];
|
|
|
|
|
+ if (this.paymentAmount - this.feesAmount > 0) {
|
|
|
|
|
+ this.$refs.modalRefundForm.edit({
|
|
|
|
|
+ billRefund: this.paymentAmount - this.feesAmount,
|
|
|
|
|
+ deposit: deposit - (sum - sum2),
|
|
|
|
|
+ roomFee: sum - sum2,
|
|
|
|
|
+ money: this.paymentAmount - this.feesAmount,
|
|
|
|
|
+ subjectType: 5,
|
|
|
|
|
+ feeType: 2,
|
|
|
|
|
+ bookingOrderId: this.model.orderInfo.id,
|
|
|
|
|
+ livingOrderId:
|
|
|
|
|
+ livingRoom.roomId != "1" ? livingRoom.livingOrder.id : "",
|
|
|
|
|
+ });
|
|
|
|
|
+ this.$refs.modalRefundForm.title = "结账退款";
|
|
|
|
|
+ this.$refs.modalRefundForm.disableSubmit = false;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.$refs.modalPaymentForm.edit({
|
|
|
|
|
+ billAmount: parseFloat(
|
|
|
|
|
+ Math.abs(this.paymentAmount - this.feesAmount).toFixed(2)
|
|
|
|
|
+ ),
|
|
|
|
|
+ deposit: deposit - (sum - sum2),
|
|
|
|
|
+ roomFee: parseFloat(
|
|
|
|
|
+ Math.abs(this.paymentAmount - this.feesAmount).toFixed(2)
|
|
|
|
|
+ ),
|
|
|
|
|
+ subjectType: 5,
|
|
|
|
|
+ feeType: 2,
|
|
|
|
|
+ bookingOrderId: this.model.orderInfo.id,
|
|
|
|
|
+ livingOrderId:
|
|
|
|
|
+ livingRoom.roomId != "1" ? livingRoom.livingOrder.id : "",
|
|
|
|
|
+ preferentialType: 1,
|
|
|
|
|
+ couponFirstAmount: 0,
|
|
|
|
|
+ discount: 9,
|
|
|
|
|
+ vipCustomerId: this.model.orderInfo.vipCustomerId,
|
|
|
|
|
+ });
|
|
|
|
|
+ this.$refs.modalPaymentForm.title = "结账收款";
|
|
|
|
|
+ this.$refs.modalPaymentForm.disableSubmit = false;
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
puls() {
|
|
puls() {
|
|
|
this.wakeList.push({});
|
|
this.wakeList.push({});
|