Commit 6a241242a0043a005cf4bd2fc8e1d2df092be584
1 parent
4f949255
书刊展示p数
Showing
1 changed file
with
13 additions
and
7 deletions
src/components/QuickQuote/index.jsx
| @@ -1447,11 +1447,11 @@ const BoxComponent = props => { | @@ -1447,11 +1447,11 @@ const BoxComponent = props => { | ||
| 1447 | item.showName = rateList.find(rate => rate.id === Number(selectedNode.iRateType))?.name || "倍率"; | 1447 | item.showName = rateList.find(rate => rate.id === Number(selectedNode.iRateType))?.name || "倍率"; |
| 1448 | } | 1448 | } |
| 1449 | } | 1449 | } |
| 1450 | - | 1450 | + if (item.sName === "sPaperDirection" && selectedNode.sTypeKey === "huace") { |
| 1451 | + return false; | ||
| 1452 | + } | ||
| 1451 | return item.iTag === iTag; | 1453 | return item.iTag === iTag; |
| 1452 | }); | 1454 | }); |
| 1453 | - console.log(selectedNode.iRateType,'selectedNode.iRateType'); | ||
| 1454 | - | ||
| 1455 | let boxConfigList = []; | 1455 | let boxConfigList = []; |
| 1456 | if (iTag === 20) { | 1456 | if (iTag === 20) { |
| 1457 | let showNameKeyList = ["dZBLB", "dSBLB", "dYBLB", "dXBLB", "dZBJJ", "dYBJJ", "dSBJJ", "dXBJJ"]; | 1457 | let showNameKeyList = ["dZBLB", "dSBLB", "dYBLB", "dXBLB", "dZBJJ", "dYBJJ", "dSBJJ", "dXBJJ"]; |
| @@ -1503,12 +1503,18 @@ const BoxComponent = props => { | @@ -1503,12 +1503,18 @@ const BoxComponent = props => { | ||
| 1503 | 1503 | ||
| 1504 | const filterConditions = { | 1504 | const filterConditions = { |
| 1505 | juantong: x => | 1505 | juantong: x => |
| 1506 | - x.sName === 'sMagnification' || x.sName === "dPartsLength" || x.sName === "dPartsWidth" || x.sName === "dRowGap" || x.sName === "dColGap" || x.sName === "sPaperDirection", | ||
| 1507 | - default: x =>x.sName === 'sMagnification' || x.sName === "dPartsLength" || x.sName === "dPartsWidth" || x.sName === "dSumPQty", | 1506 | + x.sName === "sMagnification" || |
| 1507 | + x.sName === "dPartsLength" || | ||
| 1508 | + x.sName === "dPartsWidth" || | ||
| 1509 | + x.sName === "dRowGap" || | ||
| 1510 | + x.sName === "dColGap" || | ||
| 1511 | + x.sName === "sPaperDirection", | ||
| 1512 | + default: x => x.sName === "sMagnification" || x.sName === "dPartsLength" || x.sName === "dPartsWidth" || x.sName === "dSumPQty", | ||
| 1508 | }; | 1513 | }; |
| 1509 | -if (selectedNode.sProductType === "不干胶") { | 1514 | + if (selectedNode.sProductType === "不干胶") { |
| 1510 | upViewProps12.viewConfigs = upViewProps12.viewConfigs.filter(filterConditions.juantong); | 1515 | upViewProps12.viewConfigs = upViewProps12.viewConfigs.filter(filterConditions.juantong); |
| 1511 | - } else if (!(selectedNode.sTypeKey === "huace" && slaveRowData.sBoxModel === "封面")) { | 1516 | + } |
| 1517 | + if (!(selectedNode.sTypeKey === "huace" && slaveRowData.sBoxModel === "封面")) { | ||
| 1512 | upViewProps12.viewConfigs = upViewProps12.viewConfigs.filter(filterConditions.default); | 1518 | upViewProps12.viewConfigs = upViewProps12.viewConfigs.filter(filterConditions.default); |
| 1513 | } | 1519 | } |
| 1514 | // 拼板信息表单 | 1520 | // 拼板信息表单 |