代客下单修改
台桌列表跳转到代客下单立即结账时使用当前台桌的masterId
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user