From 0a0f672a02993a41c795086e84f380800b3255ed Mon Sep 17 00:00:00 2001 From: gyq <875626088@qq.com> Date: Tue, 15 Apr 2025 14:47:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=AE=A2=E5=8D=95=E6=89=93?= =?UTF-8?q?=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.test | 8 ++-- package.json | 2 +- src/components/payCard/payCard.vue | 2 +- src/components/payCard/scanModal.vue | 22 +++++---- src/store/goods.js | 31 ++++++++----- src/store/socket.js | 6 ++- src/utils/index.js | 7 +-- src/views/home/components/settleAccount.vue | 49 ++++++++++++--------- src/views/home/index.vue | 3 ++ 9 files changed, 77 insertions(+), 53 deletions(-) diff --git a/.env.test b/.env.test index e01d25b..ec50588 100644 --- a/.env.test +++ b/.env.test @@ -2,13 +2,13 @@ ENV = test # 测试ws -VITE_API_WSS = 'ws://192.168.1.31:2348' +# VITE_API_WSS = 'ws://192.168.1.31:2348' # 测试ws # VITE_API_WSS = 'wss://sockets.sxczgkj.com/wss' # 正式ws -# VITE_API_WSS = 'wss://czgeatws.sxczgkj.com/wss' +VITE_API_WSS = 'wss://czgeatws.sxczgkj.com/wss' # 正式 php VITE_API_PHP_URL = 'https://newblockwlx.sxczgkj.cn/index.php/api' @@ -23,7 +23,7 @@ VITE_API_KP_URL = 'https://invoice.sxczgkj.cn/api' # VITE_API_URL = 'https://fv901fw8033.vicp.fun/' # 正式Java -# VITE_API_URL = 'https://cashier.sxczgkj.com/' +VITE_API_URL = 'https://cashier.sxczgkj.com/' # 本地调试连接 -VITE_API_URL = 'http://192.168.1.31/' \ No newline at end of file +# VITE_API_URL = 'http://192.168.1.31/' \ No newline at end of file diff --git a/package.json b/package.json index efe4643..4e1f90a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vite-electron", "private": true, - "version": "2.0.5", + "version": "2.0.6", "main": "dist-electron/main.js", "scripts": { "dev": "chcp 65001 && vite", diff --git a/src/components/payCard/payCard.vue b/src/components/payCard/payCard.vue index 8f9bff9..58bbff5 100644 --- a/src/components/payCard/payCard.vue +++ b/src/components/payCard/payCard.vue @@ -938,7 +938,7 @@ function reset() { roundAmount: 0, // 抹零金额 减免多少钱 pointsDiscountAmount: 0, // 积分抵扣金额(tb_points_basic_setting表) pointsNum: 0, // 使用的积分数量 (扣除各类折扣 enable_deduction后使用) - isPrint: props.isPrint + isPrint: 1 }, }; diff --git a/src/components/payCard/scanModal.vue b/src/components/payCard/scanModal.vue index 3b48734..7aeed87 100644 --- a/src/components/payCard/scanModal.vue +++ b/src/components/payCard/scanModal.vue @@ -1,7 +1,7 @@