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"];