From 13b4a82ce6ea41318c89a73f24968de785aea2ef Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Mon, 4 Nov 2024 11:38:42 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=80=97=E6=9D=90?= =?UTF-8?q?=E5=87=BA=E5=BA=93=E5=8D=95=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 2 +- src/views/invoicing/operation_in.vue | 15 ++++++++++++++- src/views/invoicing/operation_out.vue | 18 ++++++++++++++++-- 3 files changed, 31 insertions(+), 4 deletions(-) diff --git a/.env.production b/.env.production index d3bc3e1..2a4f841 100644 --- a/.env.production +++ b/.env.production @@ -6,7 +6,7 @@ ENV = 'production' VUE_APP_BASE_API = 'https://admintestpapi.sxczgkj.cn' # 生产 -VUE_APP_BASE_API = 'https://cashieradmin.sxczgkj.cn' +# VUE_APP_BASE_API = 'https://cashieradmin.sxczgkj.cn' # 预发布接口 # VUE_APP_BASE_API = 'https://pre-cashieradmin.sxczgkj.cn' diff --git a/src/views/invoicing/operation_in.vue b/src/views/invoicing/operation_in.vue index 1f7415f..416b867 100644 --- a/src/views/invoicing/operation_in.vue +++ b/src/views/invoicing/operation_in.vue @@ -120,7 +120,20 @@ diff --git a/src/views/invoicing/operation_out.vue b/src/views/invoicing/operation_out.vue index d1a3bb3..29de460 100644 --- a/src/views/invoicing/operation_out.vue +++ b/src/views/invoicing/operation_out.vue @@ -118,18 +118,32 @@ From c9d2e3c80f54fb636de3e0d9a4a418eba1426745 Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Mon, 4 Nov 2024 14:11:28 +0800 Subject: [PATCH 2/7] =?UTF-8?q?=E6=A1=8C=E5=8F=B0=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/order_manage/order_list.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/views/order_manage/order_list.vue b/src/views/order_manage/order_list.vue index c713f8e..952e019 100644 --- a/src/views/order_manage/order_list.vue +++ b/src/views/order_manage/order_list.vue @@ -233,7 +233,12 @@ export default { mounted() { if (this.$route.query.tableName) { this.query.tableName = this.$route.query.tableName - this.query.createdAt = this.$route.query.date + console.log(this.$route.query.date,'体哦啊是1111') + if(this.$route.query.date[0]){ + this.query.createdAt = this.$route.query.date + }else{ + this.query.createdAt = [] + } } if (this.$route.query.orderNo) { this.query.orderNo = this.$route.query.orderNo From f4467b6a2eb3e23964bdef14bfe2f1bbd78addba Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Mon, 4 Nov 2024 14:36:55 +0800 Subject: [PATCH 3/7] =?UTF-8?q?=E6=A1=8C=E5=8F=B0=E6=97=A5=E6=9C=9F?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/devices/details.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/devices/details.vue b/src/views/devices/details.vue index 8571bba..75d7ef8 100644 --- a/src/views/devices/details.vue +++ b/src/views/devices/details.vue @@ -46,10 +46,10 @@ 打印所有 - 部分分类 + 部分分类(仅打印制作单[厨房]) -
仅打印制作单[厨房]
+
+
@@ -1287,6 +1287,7 @@ import { tbShopTableGet, $changeUseType, $returnTableDetail, + $activateByOrderId } from "@/api/table"; import { tbShopCategoryGet } from "@/api/shop"; import { @@ -1745,6 +1746,7 @@ export default { tableId: this.table.tableId, masterId: this.masterId, vipUserId: val, + orderId:this.createOrder.data.id||'', type: val === "" ? 1 : 0, }); }, @@ -3407,9 +3409,17 @@ export default { this.table = params.tableId ? item : ""; }, async getOrderData(params) { + const orderId= params ? params.orderId : this.createOrder.data.id + const res = await tbOrderInfoDetail( params ? params.orderId : this.createOrder.data.id ); + if(res.memberId){ + $activateByOrderId({ + orderId,memberId:res.memberId + }) + } + if (res.status != "unpaid") { return res; } From 63ef70ab6ae2aa8245181e3f23151df6319a6d40 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Mon, 4 Nov 2024 15:01:29 +0800 Subject: [PATCH 5/7] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=97=AE=E9=A2=98?= =?UTF-8?q?=EF=BC=9A=20=E3=80=90=E7=AE=A1=E7=90=86=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E3=80=91=E6=95=B0=E6=8D=AE=E7=BB=9F=E8=AE=A1-=E6=A1=8C?= =?UTF-8?q?=E5=8F=B0=E7=BB=9F=E8=AE=A1=E9=A1=B5=E9=9D=A2=E4=B8=AD=EF=BC=8C?= =?UTF-8?q?=E6=8C=89=E6=97=B6=E9=97=B4=E7=AD=9B=E9=80=89=E5=87=BA=E5=BD=93?= =?UTF-8?q?=E6=97=A5=E6=97=B6=E9=97=B4=E5=90=84=E4=B8=AA=E6=A1=8C=E5=8F=B0?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E6=95=B0=E9=87=8F=EF=BC=8C=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E5=88=B0=E8=AE=A2=E5=8D=95=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E7=BB=93=E6=9E=9C=E4=B8=8D=E5=87=86=E7=A1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/data_tables.vue | 3 +-- src/views/order_manage/order_list.vue | 10 ++++------ 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/views/home/data_tables.vue b/src/views/home/data_tables.vue index cdf2a83..61b6237 100644 --- a/src/views/home/data_tables.vue +++ b/src/views/home/data_tables.vue @@ -134,12 +134,11 @@ export default { //携带table id跳转到订单列表页面 toTableOrderList(data) { // console.log(data) - let date = [this.query.createdAt[0], this.query.createdAt[1]] this.$router.push({ path: '/order_manage/order_list', query: { tableName: data.tableName, - date: date + timeValue: this.timeValue } }) }, diff --git a/src/views/order_manage/order_list.vue b/src/views/order_manage/order_list.vue index 952e019..aa6bdd8 100644 --- a/src/views/order_manage/order_list.vue +++ b/src/views/order_manage/order_list.vue @@ -233,12 +233,10 @@ export default { mounted() { if (this.$route.query.tableName) { this.query.tableName = this.$route.query.tableName - console.log(this.$route.query.date,'体哦啊是1111') - if(this.$route.query.date[0]){ - this.query.createdAt = this.$route.query.date - }else{ - this.query.createdAt = [] - } + } + if (this.$route.query.timeValue) { + this.timeValue = this.$route.query.timeValue + this.timeChange(this.timeValue); } if (this.$route.query.orderNo) { this.query.orderNo = this.$route.query.orderNo From 649f9bd13fa34255e23b13f477bd5e2664df6335 Mon Sep 17 00:00:00 2001 From: GaoHao <1210693421@qq.com> Date: Tue, 5 Nov 2024 10:53:43 +0800 Subject: [PATCH 6/7] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BC=98=E6=83=A0?= =?UTF-8?q?=E5=88=B8=E5=90=8D=E5=AD=97=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/coupon_manage/add_coupon.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/coupon_manage/add_coupon.vue b/src/views/coupon_manage/add_coupon.vue index d253601..825e2b0 100644 --- a/src/views/coupon_manage/add_coupon.vue +++ b/src/views/coupon_manage/add_coupon.vue @@ -7,7 +7,7 @@
- + @@ -82,7 +82,7 @@
- + From da1812f78b707915d5f6eaecbcc2d944bbd9054a Mon Sep 17 00:00:00 2001 From: gyq <875626088@qq.com> Date: Tue, 5 Nov 2024 17:09:40 +0800 Subject: [PATCH 7/7] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=A7=AF=E5=88=86?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E6=96=B0=E5=A2=9E=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 1 + .../components/member_points/record.vue | 68 +++++++++++++++---- .../components/member_points/setting.vue | 42 ++++++++---- src/views/home/home.vue | 6 +- src/views/login.vue | 6 +- 5 files changed, 91 insertions(+), 32 deletions(-) diff --git a/src/App.vue b/src/App.vue index 2e2170d..a9fb2d3 100644 --- a/src/App.vue +++ b/src/App.vue @@ -139,5 +139,6 @@ export default { display: flex; align-items: center; justify-content: center; + font-size: 18px; } diff --git a/src/views/application/components/member_points/record.vue b/src/views/application/components/member_points/record.vue index 5a71d90..3f37a0b 100644 --- a/src/views/application/components/member_points/record.vue +++ b/src/views/application/components/member_points/record.vue @@ -14,8 +14,8 @@ - - + @@ -54,27 +54,38 @@
- - + + - + + + + - - +