From 217968cd63822abd6f0e30a5bf30e990f41352e2 Mon Sep 17 00:00:00 2001 From: weiwei Date: Mon, 31 Mar 2025 11:09:15 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B6=85=E5=B8=82=E5=AE=A1=E6=89=B9=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E7=BC=96=E8=BE=91=E6=96=B9=E6=A1=88=E5=92=8C=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E6=9D=83=E9=99=90=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 8 +-- src/stores/purchase.ts | 27 ------- .../purchaseManagement/smErpCgBack/form.vue | 29 +++++--- .../purchaseManagement/smErpCgBack/index.vue | 61 ++++++---------- .../purchaseManagement/smErpCgDd/form.vue | 29 +++++--- .../purchaseManagement/smErpCgDd/index.vue | 58 ++++++--------- .../smErpCgInventory/form.vue | 29 +++++--- .../smErpCgInventory/index.vue | 61 ++++++---------- .../purchaseManagement/smErpCgPlan/form.vue | 31 ++++---- .../purchaseManagement/smErpCgPlan/index.vue | 61 +++++----------- .../retailManagement/smErpRetailBack/form.vue | 27 ++++--- .../smErpRetailBack/index.vue | 71 ++++++++----------- .../smErpRetailDelivery/form.vue | 27 ++++--- .../smErpRetailDelivery/index.vue | 61 ++++++---------- src/views/supermarketerp/stockTaking/form.vue | 29 +++++--- .../supermarketerp/stockTaking/index.vue | 55 +++++++------- 16 files changed, 289 insertions(+), 375 deletions(-) delete mode 100644 src/stores/purchase.ts diff --git a/.env.development b/.env.development index 57cefe0..953b23c 100644 --- a/.env.development +++ b/.env.development @@ -8,18 +8,18 @@ VITE_OPEN = true ENV = 'development' # ADMIN 服务地址 -# VITE_ADMIN_PROXY_PATH = http://47.96.250.9:8089/api/ # 测试线上 +VITE_ADMIN_PROXY_PATH = http://47.96.250.9:8089/api/ # 测试线上 # VITE_ADMIN_PROXY_PATH = http://pjcloud.center.takin.cc/ # VITE_ADMIN_PROXY_PATH = http://localhost:9999/ -VITE_ADMIN_PROXY_PATH = http://192.168.101.64:9999/ # 邓-本地 +# VITE_ADMIN_PROXY_PATH = http://192.168.101.81:9999/ # 邓-本地 # VITE_ADMIN_PROXY_PATH = http://59.202.170.152:81/api # 正式环境线上 # 图片访问基础地址 # VITE_IMAGE_BASE_PATH = http://47.96.250.9:8089/api # 测试线上 # VITE_IMAGE_BASE_PATH = http://pjcloud.center.takin.cc # VITE_IMAGE_BASE_PATH = http://localhost:9999 -VITE_IMAGE_BASE_PATH = http://192.168.101.64:9999 # 邓-本地 -# VITE_IMAGE_BASE_PATH = http://59.202.170.152:81/api/ # 正式环境线上 +# VITE_IMAGE_BASE_PATH = http://192.168.101.81:9999 # 邓-本地 +VITE_IMAGE_BASE_PATH = http://59.202.170.152:81/api/ # 正式环境线上 # 代码生成服务地址 VITE_GEN_PROXY_PATH = http://192.168.110.156:5003 diff --git a/src/stores/purchase.ts b/src/stores/purchase.ts deleted file mode 100644 index a8a25a2..0000000 --- a/src/stores/purchase.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { defineStore } from "pinia" - -export const usePurchase = defineStore("purchase", { - state: () => ({ - purchaseFormState: { - id: "", - disabled: false, - }, - }), - actions: { - setPurchaseFormId(id: string) { - this.purchaseFormState.id = id - }, - setPurchaseFormDisabled(disabled: boolean) { - this.purchaseFormState.disabled = disabled - }, - }, - persist: { - enabled: true, - strategies: [ - { - key: "purchaseFormState", //自定义 Key值 - storage: localStorage, // 选择存储方式 - }, - ], - }, -}) diff --git a/src/views/supermarketerp/purchaseManagement/smErpCgBack/form.vue b/src/views/supermarketerp/purchaseManagement/smErpCgBack/form.vue index 9707673..399af4f 100644 --- a/src/views/supermarketerp/purchaseManagement/smErpCgBack/form.vue +++ b/src/views/supermarketerp/purchaseManagement/smErpCgBack/form.vue @@ -1,5 +1,5 @@