diff --git a/src/api/supermarketerp/stockTaking.ts b/src/api/supermarketerp/stockTaking.ts index 8778f22..28901f0 100644 --- a/src/api/supermarketerp/stockTaking.ts +++ b/src/api/supermarketerp/stockTaking.ts @@ -1,14 +1,5 @@ import request from "/@/utils/request" -// 获取库存盘点列表 -export function getStockTakingPage(params?: object) { - return request({ - url: "/supermarket/smErpInventoryRecords/savePD", - method: "get", - params, - }) -} - // 库存盘点新增 export function stockTakingAdd(data?: object) { return request({ diff --git a/src/stores/purchase.ts b/src/stores/purchase.ts index ac02974..a8a25a2 100644 --- a/src/stores/purchase.ts +++ b/src/stores/purchase.ts @@ -2,24 +2,24 @@ import { defineStore } from "pinia" export const usePurchase = defineStore("purchase", { state: () => ({ - smErpCgPlan: { + purchaseFormState: { id: "", disabled: false, }, }), actions: { - setSmErpCgPlanId(id: string) { - this.smErpCgPlan.id = id + setPurchaseFormId(id: string) { + this.purchaseFormState.id = id }, - setSmErpCgPlanDisabled(disabled: boolean) { - this.smErpCgPlan.disabled = disabled + setPurchaseFormDisabled(disabled: boolean) { + this.purchaseFormState.disabled = disabled }, }, persist: { enabled: true, strategies: [ { - key: "smErpCgPlan", //自定义 Key值 + key: "purchaseFormState", //自定义 Key值 storage: localStorage, // 选择存储方式 }, ], diff --git a/src/views/admin/system/user/index.vue b/src/views/admin/system/user/index.vue index ca8d536..ba7951e 100644 --- a/src/views/admin/system/user/index.vue +++ b/src/views/admin/system/user/index.vue @@ -148,16 +148,7 @@ > 人脸管理 - - 开始处理 - + 开始处理 diff --git a/src/views/canteen/canteenSpu/form.vue b/src/views/canteen/canteenSpu/form.vue index 508eb00..9b9ddd4 100644 --- a/src/views/canteen/canteenSpu/form.vue +++ b/src/views/canteen/canteenSpu/form.vue @@ -48,7 +48,14 @@ - + + + + {{ item.label }} + + + + @@ -97,7 +104,7 @@ const dataFormRef = ref() const visible = ref(false) const loading = ref(false) // 定义字典 -const { spu_status } = useDict("spu_status") +const { spu_status,is_show } = useDict("spu_status","is_show") // 提交表单数据 const form = reactive({ @@ -120,6 +127,7 @@ const form = reactive({ virtualSalesCount: "", browseCount: "", deptId: "", + isShow: "0", }) // 定义校验规则 diff --git a/src/views/canteen/canteenSpu/index.vue b/src/views/canteen/canteenSpu/index.vue index 2a9ad93..d65384f 100644 --- a/src/views/canteen/canteenSpu/index.vue +++ b/src/views/canteen/canteenSpu/index.vue @@ -69,6 +69,11 @@ + + + - - - - - + + +