Merge branch 'ymf' of https://e.coding.net/g-cphe0354/yinshoukeguanliduan/management into test
This commit is contained in:
commit
510039789a
|
|
@ -373,6 +373,8 @@ export default {
|
|||
tableId: this.selTable.tableId,
|
||||
useType: this.selTable.useType,
|
||||
maxCapacity:this.selTable.maxCapacity,
|
||||
masterId:this.selTable.masterId,
|
||||
orderId:this.selTable.orderId,
|
||||
...query,
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
@click="changeKey('paysSel', index)"
|
||||
v-for="(item, index) in pays"
|
||||
:key="index"
|
||||
:type="paysSel == index ? 'success' : ''"
|
||||
:type="paysSel == index ? 'primary' : ''"
|
||||
>{{ item.text }}</el-button
|
||||
>
|
||||
</div>
|
||||
|
|
@ -189,10 +189,12 @@ export default {
|
|||
open() {
|
||||
this.show = true;
|
||||
this.form.money = Number(this.price).toFixed(2);
|
||||
$getOrderPayUrl({ orderId: this.order.id }).then((res) => {
|
||||
console.log(res);
|
||||
this.paymentQrcode = res;
|
||||
});
|
||||
if (this.openSwitch) {
|
||||
$getOrderPayUrl({ orderId: this.order.id }).then((res) => {
|
||||
console.log(res);
|
||||
this.paymentQrcode = res;
|
||||
});
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
this.$refs.refInputCode.focus();
|
||||
});
|
||||
|
|
|
|||
|
|
@ -2112,6 +2112,7 @@ export default {
|
|||
if (this.table.tableId) {
|
||||
return $getMasterId({
|
||||
tableId: this.table.tableId,
|
||||
orderId:this.table.orderId,
|
||||
vipUserId: this.vipUser.id,
|
||||
useType: this.useTypes.sel == "takeout" ? "takeout" : "",
|
||||
});
|
||||
|
|
@ -2944,6 +2945,8 @@ export default {
|
|||
tableId: params.tableId,
|
||||
useType: params.useType,
|
||||
maxCapacity: params.maxCapacity * 1,
|
||||
masterId:params.masterId,
|
||||
orderId:params.orderId,
|
||||
},
|
||||
key = params.key,
|
||||
perpoleNumber = params.num;
|
||||
|
|
@ -2959,6 +2962,7 @@ export default {
|
|||
this.isCreateOrder = this.key == "isPayOrder" ? true : false;
|
||||
this.perpole = perpoleNumber;
|
||||
this.table = item;
|
||||
this.masterId = item.masterId;
|
||||
},
|
||||
close() {
|
||||
if (this.table.tableId) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue