From f98e1f8c44ffe8f69e724bfdd36db02ac567a62a Mon Sep 17 00:00:00 2001 From: WUSIJIAN <13825895+wsj0228@user.noreply.gitee.com> Date: Wed, 14 Jan 2026 17:07:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=A7=9F=E6=88=B7ID=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E6=AF=94=E8=BE=83=E9=97=AE=E9=A2=98,?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/assets/asset/component/editAsset.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/assets/asset/component/editAsset.vue b/src/views/assets/asset/component/editAsset.vue index ff4e32a..e82e222 100644 --- a/src/views/assets/asset/component/editAsset.vue +++ b/src/views/assets/asset/component/editAsset.vue @@ -70,7 +70,7 @@ - + 明细模式 @@ -580,6 +580,8 @@ const assetFormDiff = createFormDiff>(); // 获取租户ID const tenantId = ref(Session.get('userInfo')?.tenantId || ''); +console.log(tenantId.value,'租户id'); + const formatImageUrl = (url?: string) => { if (!url) return ''; @@ -1126,7 +1128,7 @@ const buildRequestBody = async (): Promise => { body.unlimitedStock = ruleForm.unlimitedStock; // 库存存储模式(仅租户ID为1时提交) - if (tenantId.value === '1') { + if (tenantId.value == 1) { body.stockMode = ruleForm.stockMode; }