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