From c70a6b2f684f0b3d952771468917442d6be9dff7 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Mon, 26 Aug 2024 17:51:59 +0800 Subject: [PATCH 01/51] =?UTF-8?q?=E4=BB=A3=E5=AE=A2=E4=BA=BA=E4=B8=8B?= =?UTF-8?q?=E5=8D=95=E5=A2=9E=E5=8A=A0=E8=BF=87=E6=BB=A4=E6=8E=89=E4=B8=8B?= =?UTF-8?q?=E6=9E=B6=E7=9A=84=E5=8D=95=E8=A7=84=E6=A0=BC=E5=95=86=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/table/components/table-diancan.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/table/components/table-diancan.vue b/src/views/table/components/table-diancan.vue index 07a16a8..6d6a37c 100644 --- a/src/views/table/components/table-diancan.vue +++ b/src/views/table/components/table-diancan.vue @@ -2384,16 +2384,16 @@ export default { }, async getGoods() { const res = await getGoodsLists(this.goods.query); - console.log(res); - this.goods.list = res.records.filter((v) => { + const goods= res.records.filter((v) => { let isShow = true; if (v.typeEnum !== "sku") { isShow = v.specList.length >= 1; } return isShow; }); + this.goods.list =goods this.goods.total = res.total; - this.$goodsData = res; + this.$goodsData = goods; }, async open(item) { this.table = item; From da29e0b24901a136329b5ab4edcbf06b0806dbe8 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Mon, 26 Aug 2024 17:52:39 +0800 Subject: [PATCH 02/51] =?UTF-8?q?=E5=8F=B0=E6=A1=8C=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=BC=96=E8=BE=91=E5=8F=B0=E6=A1=8C=E9=87=8C?= =?UTF-8?q?=E5=8F=AF=E4=BF=AE=E6=94=B9=E5=8F=B0=E6=A1=8C=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/table/components/addTable.vue | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/views/table/components/addTable.vue b/src/views/table/components/addTable.vue index 8d4c9ce..edce269 100644 --- a/src/views/table/components/addTable.vue +++ b/src/views/table/components/addTable.vue @@ -6,6 +6,11 @@ + + + + + @@ -43,6 +48,16 @@ export default { dialogVisible: false, resetForm: '', loading: false, + status:[ + {value:'pending',name:'挂单中'}, + {value:'using',name:'开台中'}, + {value:'paying',name:'结算中'}, + {value:'idle',name:'空闲'}, + {value:'subscribe',name:'预定'}, + {value:'closed',name:'关台'}, + {value:'opening ',name:'开台中'}, + {value:'cleaning ',name:'台桌清理中'}, + ], form: { id: '', name: '', From 483ff5d2341b1c4591fd7bff089203ab225191d4 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Mon, 26 Aug 2024 17:56:02 +0800 Subject: [PATCH 03/51] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=B0=E6=A1=8C?= =?UTF-8?q?=E8=A3=82=E5=8F=98=E7=BC=96=E8=BE=91=E7=8A=B6=E6=80=81=E4=B8=BA?= =?UTF-8?q?=E4=BB=85=E7=BC=96=E8=BE=91=E6=97=B6=E5=87=BA=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/table/components/addTable.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/table/components/addTable.vue b/src/views/table/components/addTable.vue index edce269..7982d07 100644 --- a/src/views/table/components/addTable.vue +++ b/src/views/table/components/addTable.vue @@ -6,8 +6,8 @@ - - + + From c5ec0da61ca9ac6ca65af1088670da0765b2bd96 Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Tue, 27 Aug 2024 10:58:09 +0800 Subject: [PATCH 04/51] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=85=85=E5=80=BC?= =?UTF-8?q?=E6=96=87=E5=AD=97=E3=80=82=E5=A2=9E=E5=87=8F=E4=BD=99=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/user_manage/user_list.vue | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/src/views/user_manage/user_list.vue b/src/views/user_manage/user_list.vue index 81411e9..6b4dd04 100644 --- a/src/views/user_manage/user_list.vue +++ b/src/views/user_manage/user_list.vue @@ -97,14 +97,6 @@ 增减余额 - - - - @@ -162,13 +154,13 @@ 扣除 - + - 消费 - 充值退款 + 充值 + 消费退款 @@ -208,7 +200,8 @@ export default { userinfo: { nickName: '', operationType: 'in', - type: 'consume' + type: 'consume', + amount: '' }, userinfos: { levelConsume: "0", @@ -232,9 +225,9 @@ export default { checkIfNum() { this.userinfos.telephone = this.userinfos.telephone.toString().replace(/\D/g, ''); }, - amountNum(){ + amountNum() { this.userinfo.amount = this.userinfo.amount.toString().replace(/[^\d|\.]/g, '') - + }, handleClose() { this.dialogVisible = false @@ -261,6 +254,7 @@ export default { this.userinfo.nickName = d.nickName this.userinfo.amounts = d.amount this.userinfo.id = d.id + this.userinfo.amount = "" }, edituser(d) { let obj = { ...d } From f66d4655d10bd4db0e83fee291e59a5e6176266c Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Tue, 27 Aug 2024 11:10:51 +0800 Subject: [PATCH 05/51] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=95=86=E5=93=81?= =?UTF-8?q?=E7=BB=91=E5=AE=9A=E8=80=97=E6=9D=90=E6=8F=90=E4=BA=A4=E7=9A=84?= =?UTF-8?q?id=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../invoicing/consumable/specifications.vue | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/views/invoicing/consumable/specifications.vue b/src/views/invoicing/consumable/specifications.vue index 38ae521..9cafd2d 100644 --- a/src/views/invoicing/consumable/specifications.vue +++ b/src/views/invoicing/consumable/specifications.vue @@ -414,7 +414,7 @@ @@ -626,7 +626,7 @@ export default { initTableSelected() { for (let i in haocaiSelectedMap) { const index = this.tableDatainformation.data.findIndex( - (v) => v.id == i + (v) => v.consId == i ); if (index != -1 && haocaiSelectedMap[i]) { //删除缓存里的id @@ -658,10 +658,11 @@ export default { let index = -1; for (let key in haocaiSelectedMap) { const item = haocaiSelectedMap[key]; + console.log(item) index++; this.$set(ele.haocais, index, { - consInfoId: item.id, - conInfoId: item.id, + consInfoId: item.consId, + conInfoId: item.consId, conName: item.conName, skuId: ele.skuId, shopId: ele.shopId, @@ -685,14 +686,14 @@ export default { console.log(arr); for (let item of this.tableDatainformation.data) { //判断缓存队列是否有这个id - const hasCacheIncludes = haocaiSelectedMap.hasOwnProperty(item.id); + const hasCacheIncludes = haocaiSelectedMap.hasOwnProperty(item.consId); //判断当前选中队列里是否有这个id - const hasSelectedIncludes = arr.find((v) => v.id == item.id); + const hasSelectedIncludes = arr.find((v) => v.consId == item.consId); if (hasSelectedIncludes) { - haocaiSelectedMap[item.id] = hasSelectedIncludes; + haocaiSelectedMap[item.consId] = hasSelectedIncludes; } if (hasCacheIncludes && !hasSelectedIncludes) { - delete haocaiSelectedMap[item.id]; + delete haocaiSelectedMap[item.consId]; } } console.log(haocaiSelectedMap); @@ -906,7 +907,7 @@ export default { }, // 耗材信息的信息 tableDatainformationtable(item) { - haocaiSelectedMap[item.id] = item; + haocaiSelectedMap[item.consId] = item; this.haocaiConfirm(); return; this.commodityArr.forEach((ele) => { From 98aee65db743144643ff24427aace72eb34edba2 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Tue, 27 Aug 2024 11:13:07 +0800 Subject: [PATCH 06/51] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=95=86=E5=93=81?= =?UTF-8?q?=E7=BB=91=E5=AE=9A=E8=80=97=E6=9D=90=E6=8F=90=E4=BA=A4=E7=9A=84?= =?UTF-8?q?id=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/invoicing/consumable/specifications.vue | 2 +- src/views/table/components/table-diancan.vue | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/invoicing/consumable/specifications.vue b/src/views/invoicing/consumable/specifications.vue index 9cafd2d..8f058e3 100644 --- a/src/views/invoicing/consumable/specifications.vue +++ b/src/views/invoicing/consumable/specifications.vue @@ -475,7 +475,7 @@ - + diff --git a/src/views/table/components/table-diancan.vue b/src/views/table/components/table-diancan.vue index 6d6a37c..3e54971 100644 --- a/src/views/table/components/table-diancan.vue +++ b/src/views/table/components/table-diancan.vue @@ -2937,8 +2937,7 @@ input[type="number"]::-webkit-outer-spin-button { margin: 0 10px 10px 0; cursor: pointer; } -.tag-group { -} + ::v-deep .tag-group .el-tag { min-width: 80px; From 445a2caab890b2cf250f300d36c8ae62982298b6 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Tue, 27 Aug 2024 13:57:06 +0800 Subject: [PATCH 07/51] =?UTF-8?q?=E8=BF=9B=E9=94=80=E5=AD=98=E7=BB=91?= =?UTF-8?q?=E5=AE=9A=E5=95=86=E5=93=81=E5=A2=9E=E5=8A=A0=20=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=95=86=E5=93=81=E5=BC=B9=E7=AA=97=E5=85=B3=E9=97=AD?= =?UTF-8?q?=E9=87=8D=E7=BD=AE=E8=A1=A8=E6=A0=BC=E7=9A=84=E9=80=89=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/invoicing/components/shopList.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/invoicing/components/shopList.vue b/src/views/invoicing/components/shopList.vue index 7b057f1..62bb6fd 100644 --- a/src/views/invoicing/components/shopList.vue +++ b/src/views/invoicing/components/shopList.vue @@ -1,5 +1,5 @@