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 @@