From 6bef28f9587f68367af8a1591c2e464a068203cd Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Wed, 16 Oct 2024 14:23:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9B=B4=E5=A4=9A=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E9=87=8C=E7=9A=84=E7=BB=93=E8=B4=A6=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pageTable/index/index.vue | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/pageTable/index/index.vue b/pageTable/index/index.vue index 4571bf8..fc88f35 100644 --- a/pageTable/index/index.vue +++ b/pageTable/index/index.vue @@ -94,6 +94,7 @@ onPullDownRefresh } from '@dcloudio/uni-app'; import color from '@/commons/color'; + import go from '@/commons/utils/go.js'; import myMask from '@/components/my-components/my-mask' import addTable from './components/add-table' import myActionSheet from '@/components/my-components/my-action-sheet'; @@ -119,7 +120,16 @@ actionSheet.selTable = table refMoreSheet.value.open() } - + function toPay(item) { + go.to('PAGES_ORDER_PAY', { + tableId: item.tableId, + tableName: item.name, + masterId: item.masterId, + orderId: item.orderId, + discount: 1, + userId:item.userId + }) + } async function actionSheetClick(index) { console.log(index); const item = actionSheet.selTable @@ -129,7 +139,7 @@ if (!item.orderId) { return infoBox.showToast('该桌台暂无要结账的订单!') } - return + return toPay(item) } if (index == 1) { //清台