From fa001aaff1a6ad093089cc841ba933ddff36d4dd Mon Sep 17 00:00:00 2001
From: YeMingfei666 <1619116647@qq.com>
Date: Sat, 28 Mar 2026 13:27:47 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=BD=AC=E6=A1=8C=E5=8A=9F?=
=?UTF-8?q?=E8=83=BD=EF=BC=8C=E5=88=A0=E9=99=A4=E9=83=A8=E5=88=86=E5=9B=BE?=
=?UTF-8?q?=E7=89=87=EF=BC=8C=E4=BF=AE=E5=A4=8D=E8=AE=A2=E5=8D=95=E5=88=97?=
=?UTF-8?q?=E8=A1=A8=E6=98=BE=E7=A4=BA=E4=BB=B7=E6=A0=BC=E4=B8=8D=E5=AF=B9?=
=?UTF-8?q?=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/change-table.vue | 239 ++
components/choose-table.vue | 150 +
data/icon.js | 2 +
http/api/order/order.js | 16 +
pageCoupon/index.vue | 3 +-
.../confirm-order/confirm-order.vue | 2805 ++++++++---------
pagesOrder/detail/detail.vue | 25 +-
pagesOrder/index/compoents/order-item.vue | 2 +-
static/coupon/qrcode.svg | 1 -
static/devIconImg/icon-code.svg | 9 -
static/devIconImg/icon-face-1.svg | 9 -
static/devIconImg/icon-horn.svg | 9 -
static/devIconImg/icon-pos.svg | 9 -
static/devIconImg/icon-print.svg | 9 -
static/devIconImg/icon-scanPos.svg | 9 -
static/devIconImg/icon-term.svg | 9 -
static/pay/scancode.svg | 15 -
static/pay/type-wx.svg | 10 -
static/pay/type-ysf.svg | 6 -
static/pay/type-zfb.svg | 6 -
static/startImg/mch-name.svg | 1 -
static/startImg/start-bg.svg | 30 -
22 files changed, 1818 insertions(+), 1556 deletions(-)
create mode 100644 components/change-table.vue
create mode 100644 components/choose-table.vue
create mode 100644 data/icon.js
create mode 100644 http/api/order/order.js
delete mode 100644 static/coupon/qrcode.svg
delete mode 100644 static/devIconImg/icon-code.svg
delete mode 100644 static/devIconImg/icon-face-1.svg
delete mode 100644 static/devIconImg/icon-horn.svg
delete mode 100644 static/devIconImg/icon-pos.svg
delete mode 100644 static/devIconImg/icon-print.svg
delete mode 100644 static/devIconImg/icon-scanPos.svg
delete mode 100644 static/devIconImg/icon-term.svg
delete mode 100644 static/pay/scancode.svg
delete mode 100644 static/pay/type-wx.svg
delete mode 100644 static/pay/type-ysf.svg
delete mode 100644 static/pay/type-zfb.svg
delete mode 100644 static/startImg/mch-name.svg
delete mode 100644 static/startImg/start-bg.svg
diff --git a/components/change-table.vue b/components/change-table.vue
new file mode 100644
index 0000000..3d17af7
--- /dev/null
+++ b/components/change-table.vue
@@ -0,0 +1,239 @@
+
+
+
+
+
+
+
+ 转桌到
+
+
+
+
+
+ 转入类型
+
+
+
+
+
+
+
+ 购物车商品
+
+
+
+
+ 历史订单商品
+
+ 第{{ orderIndex }}次下单
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+
+
+ 确认
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/components/choose-table.vue b/components/choose-table.vue
new file mode 100644
index 0000000..b4b03bc
--- /dev/null
+++ b/components/choose-table.vue
@@ -0,0 +1,150 @@
+
+
+
+
+ 请选择转桌到
+
+
+
+ {{modelValue.name}}
+
+
+
+
+
+
+
+
+
+
+
+ {{item.name}}
+
+
+
+
+
+
+
+
+
+
+ 取消
+
+
+ 确认
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/data/icon.js b/data/icon.js
new file mode 100644
index 0000000..b3a75b8
--- /dev/null
+++ b/data/icon.js
@@ -0,0 +1,2 @@
+// static/coupon/qrcode.svg
+export const qrcode = 'https://cashier-oss.oss-cn-beijing.aliyuncs.com/upload/6/7070aa441e4e4126b0bba32502a3521e.svg'
\ No newline at end of file
diff --git a/http/api/order/order.js b/http/api/order/order.js
new file mode 100644
index 0000000..a13b110
--- /dev/null
+++ b/http/api/order/order.js
@@ -0,0 +1,16 @@
+import http from "@/http/http.js";
+const request = http.request;
+const urlType = "order";
+
+
+
+export function mergeOrder(data) {
+ return request({
+ url: urlType + '/admin/order/mergeOrder',
+ method: "POST",
+ data: {
+ ...data,
+ },
+ });
+}
+
diff --git a/pageCoupon/index.vue b/pageCoupon/index.vue
index 355d040..5d54435 100644
--- a/pageCoupon/index.vue
+++ b/pageCoupon/index.vue
@@ -31,7 +31,7 @@
领券后{{ item.validDays }}天过期
-
+
@@ -69,6 +69,7 @@
+ .limit-discount {
+ background-color: #cc5617;
+ padding: 2rpx 10rpx;
+ white-space: nowrap;
+ text-align: center;
+ position: absolute;
+ top: 0;
+ left: 0;
+ font-weight: 400;
+ font-size: 24rpx;
+ color: #ffffff;
+ border-radius: 8rpx 0rpx 20rpx 0rpx;
+ z-index: 9;
+ color: #fff;
+ }
+
+ .u-row-between {
+ justify-content: space-between;
+ }
+
+ .w-full {
+ width: 100%;
+ }
+
\ No newline at end of file
diff --git a/pagesOrder/detail/detail.vue b/pagesOrder/detail/detail.vue
index 0875bce..c3570e8 100644
--- a/pagesOrder/detail/detail.vue
+++ b/pagesOrder/detail/detail.vue
@@ -23,10 +23,15 @@
+
加菜
+
+ 转桌
+
结账
@@ -37,6 +42,10 @@
+
+
@@ -60,6 +69,12 @@
import { shopUserDetail } from '@/http/api/shopUser.js'
import { getShopInfo } from '@/http/api/shop.js'
+ import changeTable from '@/components/change-table.vue'
+ const changeTableShow=ref(false)
+ function transformTable(){
+ changeTableShow.value=true
+ }
+
const tuicai = reactive({
show: false,
isSeatFee: false,
@@ -128,6 +143,8 @@
item.unitPrice = uni.$utils.isGoodsPrice(item,user.value)
})
})
+ console.log('orderDetail.goodsList',orderDetail.goodsList);
+ console.log('orderDetail.info',orderDetail.info);
orderDetail.info = res
}
@@ -316,7 +333,13 @@
})
}
-
+ function changeTableUpdate(allMerge){
+ if(allMerge===1){
+ uni.navigateBack()
+ }else{
+ getOrderDetail()
+ }
+ }
\ No newline at end of file
diff --git a/static/devIconImg/icon-code.svg b/static/devIconImg/icon-code.svg
deleted file mode 100644
index 01e19cf..0000000
--- a/static/devIconImg/icon-code.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-
diff --git a/static/devIconImg/icon-face-1.svg b/static/devIconImg/icon-face-1.svg
deleted file mode 100644
index 4e7082a..0000000
--- a/static/devIconImg/icon-face-1.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-
diff --git a/static/devIconImg/icon-horn.svg b/static/devIconImg/icon-horn.svg
deleted file mode 100644
index 1ea06af..0000000
--- a/static/devIconImg/icon-horn.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-
diff --git a/static/devIconImg/icon-pos.svg b/static/devIconImg/icon-pos.svg
deleted file mode 100644
index 65a901e..0000000
--- a/static/devIconImg/icon-pos.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-
diff --git a/static/devIconImg/icon-print.svg b/static/devIconImg/icon-print.svg
deleted file mode 100644
index bf85464..0000000
--- a/static/devIconImg/icon-print.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-
diff --git a/static/devIconImg/icon-scanPos.svg b/static/devIconImg/icon-scanPos.svg
deleted file mode 100644
index 6576a71..0000000
--- a/static/devIconImg/icon-scanPos.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-
diff --git a/static/devIconImg/icon-term.svg b/static/devIconImg/icon-term.svg
deleted file mode 100644
index 376411f..0000000
--- a/static/devIconImg/icon-term.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-
diff --git a/static/pay/scancode.svg b/static/pay/scancode.svg
deleted file mode 100644
index 089d99b..0000000
--- a/static/pay/scancode.svg
+++ /dev/null
@@ -1,15 +0,0 @@
-
diff --git a/static/pay/type-wx.svg b/static/pay/type-wx.svg
deleted file mode 100644
index 8558912..0000000
--- a/static/pay/type-wx.svg
+++ /dev/null
@@ -1,10 +0,0 @@
-
diff --git a/static/pay/type-ysf.svg b/static/pay/type-ysf.svg
deleted file mode 100644
index 21abb77..0000000
--- a/static/pay/type-ysf.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
diff --git a/static/pay/type-zfb.svg b/static/pay/type-zfb.svg
deleted file mode 100644
index 0eb8372..0000000
--- a/static/pay/type-zfb.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
diff --git a/static/startImg/mch-name.svg b/static/startImg/mch-name.svg
deleted file mode 100644
index 86a98c9..0000000
--- a/static/startImg/mch-name.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/static/startImg/start-bg.svg b/static/startImg/start-bg.svg
deleted file mode 100644
index 069737d..0000000
--- a/static/startImg/start-bg.svg
+++ /dev/null
@@ -1,30 +0,0 @@
-