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) { //清台