From 4d059a742d2fc64a566e81069801d87e34d39ca3 Mon Sep 17 00:00:00 2001 From: 陈鑫涛 <10125295+chen-xintao97@user.noreply.gitee.com> Date: Fri, 27 Jun 2025 11:26:49 +0800 Subject: [PATCH] 默认不展示长宽 --- src/components/QuickQuote/index.jsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/components/QuickQuote/index.jsx b/src/components/QuickQuote/index.jsx index 995248e..47a8a91 100644 --- a/src/components/QuickQuote/index.jsx +++ b/src/components/QuickQuote/index.jsx @@ -1432,9 +1432,6 @@ const BoxComponent = props => { ) { return false; } - // if (selectedNode.sTypeKey !== "kapai" && item.sName === "sMagnification") { - // return false; - // } const rateList = [ { id: 0, name: "不显示倍率" }, { id: 1, name: "每本张数" }, @@ -1450,8 +1447,15 @@ const BoxComponent = props => { if (item.sName === "sPaperDirection" && selectedNode.sTypeKey === "huace") { return false; } + // 判断bPartsDimension 是否显示展长展宽,0不显示,1显示 + + if (selectedNode.bPartsDimension === false && (item.sName === "dPartsLength" || item.sName === "dPartsWidth")) { + return false; + } return item.iTag === iTag; }); + console.log(selectedNode, "selectedNode"); + let boxConfigList = []; if (iTag === 20) { let showNameKeyList = ["dZBLB", "dSBLB", "dYBLB", "dXBLB", "dZBJJ", "dYBJJ", "dSBJJ", "dXBJJ"]; -- libgit2 0.22.2