From e0822677ffaf2e821eeefa41fa467a7bb7c177e2 Mon Sep 17 00:00:00 2001 From: gyq <875626088@qq.com> Date: Tue, 19 Nov 2024 13:56:31 +0800 Subject: [PATCH 01/22] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=A7=AF=E5=88=86?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E5=9F=BA=E6=9C=AC=E8=AE=BE=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E5=AD=97=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/application/components/member_points/setting.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/application/components/member_points/setting.vue b/src/views/application/components/member_points/setting.vue index cad01f4..ad224ac 100644 --- a/src/views/application/components/member_points/setting.vue +++ b/src/views/application/components/member_points/setting.vue @@ -11,7 +11,7 @@ 仅会员 - + From 315b3e536d9fa43232c3749dbcd72a2edc5b33b3 Mon Sep 17 00:00:00 2001 From: gyq <875626088@qq.com> Date: Tue, 19 Nov 2024 15:09:43 +0800 Subject: [PATCH 02/22] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=A7=AF=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 4 ++-- src/views/application/components/invite_friend/share.vue | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.env.production b/.env.production index 2a4f841..1db13cc 100644 --- a/.env.production +++ b/.env.production @@ -3,13 +3,13 @@ ENV = 'production' # 如果使用 Nginx 代理后端接口,那么此处需要改为 '/',文件查看 Docker 部署篇,Nginx 配置 # 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http # 测试 -VUE_APP_BASE_API = 'https://admintestpapi.sxczgkj.cn' +# VUE_APP_BASE_API = 'https://admintestpapi.sxczgkj.cn' # 生产 # VUE_APP_BASE_API = 'https://cashieradmin.sxczgkj.cn' # 预发布接口 -# VUE_APP_BASE_API = 'https://pre-cashieradmin.sxczgkj.cn' +VUE_APP_BASE_API = 'https://pre-cashieradmin.sxczgkj.cn' # VUE_APP_BASE_API = 'http://192.168.2.98:8000' # 如果接口是 http 形式, wss 需要改为 ws diff --git a/src/views/application/components/invite_friend/share.vue b/src/views/application/components/invite_friend/share.vue index a46640c..fda968e 100644 --- a/src/views/application/components/invite_friend/share.vue +++ b/src/views/application/components/invite_friend/share.vue @@ -313,6 +313,7 @@ export default { width: 100%; height: 100%; display: block; + object-fit: cover; } .icon { @@ -376,6 +377,8 @@ export default { .title { font-size: 12px; + line-height: 16px; + padding: 6px 0; } .btm { From 07d072ce4c4cf7c7980e93e01129966a96cdf014 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Tue, 19 Nov 2024 15:21:20 +0800 Subject: [PATCH 03/22] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=A3=E5=AE=A2?= =?UTF-8?q?=E4=B8=8B=E5=8D=95=E5=88=87=E6=8D=A2=E4=BC=9A=E5=91=98=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/tool/Instead/index.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/views/tool/Instead/index.vue b/src/views/tool/Instead/index.vue index eae9e76..a9a1272 100644 --- a/src/views/tool/Instead/index.vue +++ b/src/views/tool/Instead/index.vue @@ -1609,6 +1609,7 @@ export default { total: 0, }, order: { + status:'', packFee: { totalNumber: 0, status: "", @@ -2038,9 +2039,9 @@ export default { // this.masterId = masterId; console.log("this.createOrder.data"); console.log(this.createOrder.data); - if(this.createOrder.data.memberId==val){ - return - } + if(this.order.status=='finish'){ + return + } $setUser({ tableId: this.table.tableId, masterId: this.masterId, @@ -2053,6 +2054,8 @@ export default { this.getOrderData().then(() => { this.pointsValueChange(this.points.value); }); + }else{ + this.getCart() } }); }, @@ -2834,6 +2837,7 @@ export default { title: "支付成功", type: "success", }); + this.order.status='finish' this.close(); // this.reset(); }, From acc3930f48870bb5e90ef0ddee013a1f10ee72fe Mon Sep 17 00:00:00 2001 From: GaoHao <1210693421@qq.com> Date: Wed, 20 Nov 2024 15:12:37 +0800 Subject: [PATCH 04/22] =?UTF-8?q?=E4=BC=98=E6=83=A0=E5=88=B8=E4=BF=AE?= =?UTF-8?q?=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 | 10 +++++----- .../components/coupon_details.vue | 18 ++++++++++++------ 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/src/views/coupon_manage/add_coupon.vue b/src/views/coupon_manage/add_coupon.vue index 4c27a53..33bf501 100644 --- a/src/views/coupon_manage/add_coupon.vue +++ b/src/views/coupon_manage/add_coupon.vue @@ -81,9 +81,9 @@ - + @@ -97,7 +97,7 @@ - 全额满可用 + 金额满可用 @@ -158,9 +158,9 @@ - +
diff --git a/src/views/coupon_manage/components/coupon_details.vue b/src/views/coupon_manage/components/coupon_details.vue index 6e11f0c..c08f4f4 100644 --- a/src/views/coupon_manage/components/coupon_details.vue +++ b/src/views/coupon_manage/components/coupon_details.vue @@ -91,7 +91,7 @@
Date: Wed, 20 Nov 2024 15:55:31 +0800 Subject: [PATCH 05/22] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=A3=E5=AE=A2?= =?UTF-8?q?=E4=B8=8B=E5=8D=95=E4=BC=98=E6=83=A0=E5=88=B8=EF=BC=8C=E7=A7=AF?= =?UTF-8?q?=E5=88=86=E6=8A=B5=E6=89=A3=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tool/Instead/components/pay-type.vue | 9 +++ src/views/tool/Instead/components/quans.vue | 79 ++++++++++++------ src/views/tool/Instead/index.vue | 80 +++++++++++++------ src/views/tool/Instead/quan_util.js | 41 ++++++++-- 4 files changed, 153 insertions(+), 56 deletions(-) diff --git a/src/views/tool/Instead/components/pay-type.vue b/src/views/tool/Instead/components/pay-type.vue index f5f672d..884fd53 100644 --- a/src/views/tool/Instead/components/pay-type.vue +++ b/src/views/tool/Instead/components/pay-type.vue @@ -10,6 +10,7 @@ v-for="(item, index) in list" :key="index" :type="sel === item.payType ? 'primary' : ''" + :disabled="disabledPayType.includes(item.payType)" > {{ item.payName }} @@ -30,6 +31,10 @@ export default { type: [String, Number], default: '', }, + disabledPayType:{ + type:Array, + default:()=>[] + } }, data() { return { @@ -38,6 +43,10 @@ export default { }; }, watch: { + disabledPayType(){ + const item = this.list.find(v=>!this.disabledPayType.includes(v.payType)) + this.sel=item.payType + }, sel(newval) { console.log(newval); this.$emit("input", newval); diff --git a/src/views/tool/Instead/components/quans.vue b/src/views/tool/Instead/components/quans.vue index 2de1167..7540356 100644 --- a/src/views/tool/Instead/components/quans.vue +++ b/src/views/tool/Instead/components/quans.vue @@ -16,11 +16,7 @@ :data="quans.fullReductionCoupon" @cell-click="fullReductionCouponClick" > - +