From c087504f643a68b872ec25161cdb3ae73efae555 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Fri, 15 Nov 2024 13:07:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=85=E8=A3=85=E5=8F=B7=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/switch/index.ts | 2 +- src/components/Detail/src/Detail.vue | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/api/wms/switch/index.ts b/src/api/wms/switch/index.ts index 7319202db..b9fdb8370 100644 --- a/src/api/wms/switch/index.ts +++ b/src/api/wms/switch/index.ts @@ -57,5 +57,5 @@ export const importTemplate = () => { // 获取开关详情 export const getSwitchByCode = async (code) => { - // return await request.get({ url: '/wms/switch/getByCode?code=' + code }) + return await request.get({ url: '/wms/switch/getByCode?code=' + code }) } \ No newline at end of file diff --git a/src/components/Detail/src/Detail.vue b/src/components/Detail/src/Detail.vue index 6c05afbc7..73eb16870 100644 --- a/src/components/Detail/src/Detail.vue +++ b/src/components/Detail/src/Detail.vue @@ -480,6 +480,7 @@ const props = defineProps({ const allSchemas = ref(props.allSchemas) const detailAllSchemasRef = ref(props.detailAllSchemas) const detailAllSchemasRules = ref(props.detailAllSchemasRules) +console.log(222,wsCache.get('ShowPackingNumber')) if (!wsCache.get('ShowPackingNumber')) { if (allSchemas.value) { allSchemas.value.detailSchema = props.allSchemas.detailSchema.filter(item => item.field != 'packingNumber')