From 6a241242a0043a005cf4bd2fc8e1d2df092be584 Mon Sep 17 00:00:00 2001 From: 陈鑫涛 <10125295+chen-xintao97@user.noreply.gitee.com> Date: Fri, 27 Jun 2025 11:20:35 +0800 Subject: [PATCH] 书刊展示p数 --- src/components/QuickQuote/index.jsx | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/src/components/QuickQuote/index.jsx b/src/components/QuickQuote/index.jsx index 8387549..995248e 100644 --- a/src/components/QuickQuote/index.jsx +++ b/src/components/QuickQuote/index.jsx @@ -1447,11 +1447,11 @@ const BoxComponent = props => { item.showName = rateList.find(rate => rate.id === Number(selectedNode.iRateType))?.name || "倍率"; } } - + if (item.sName === "sPaperDirection" && selectedNode.sTypeKey === "huace") { + return false; + } return item.iTag === iTag; }); - console.log(selectedNode.iRateType,'selectedNode.iRateType'); - let boxConfigList = []; if (iTag === 20) { let showNameKeyList = ["dZBLB", "dSBLB", "dYBLB", "dXBLB", "dZBJJ", "dYBJJ", "dSBJJ", "dXBJJ"]; @@ -1503,12 +1503,18 @@ const BoxComponent = props => { const filterConditions = { juantong: x => - x.sName === 'sMagnification' || x.sName === "dPartsLength" || x.sName === "dPartsWidth" || x.sName === "dRowGap" || x.sName === "dColGap" || x.sName === "sPaperDirection", - default: x =>x.sName === 'sMagnification' || x.sName === "dPartsLength" || x.sName === "dPartsWidth" || x.sName === "dSumPQty", + x.sName === "sMagnification" || + x.sName === "dPartsLength" || + x.sName === "dPartsWidth" || + x.sName === "dRowGap" || + x.sName === "dColGap" || + x.sName === "sPaperDirection", + default: x => x.sName === "sMagnification" || x.sName === "dPartsLength" || x.sName === "dPartsWidth" || x.sName === "dSumPQty", }; -if (selectedNode.sProductType === "不干胶") { + if (selectedNode.sProductType === "不干胶") { upViewProps12.viewConfigs = upViewProps12.viewConfigs.filter(filterConditions.juantong); - } else if (!(selectedNode.sTypeKey === "huace" && slaveRowData.sBoxModel === "封面")) { + } + if (!(selectedNode.sTypeKey === "huace" && slaveRowData.sBoxModel === "封面")) { upViewProps12.viewConfigs = upViewProps12.viewConfigs.filter(filterConditions.default); } // 拼板信息表单 -- libgit2 0.22.2