diff --git a/src/components/QuickQuote/index.jsx b/src/components/QuickQuote/index.jsx index e4f4929..4ca20e4 100644 --- a/src/components/QuickQuote/index.jsx +++ b/src/components/QuickQuote/index.jsx @@ -274,7 +274,7 @@ const QuickQuoteEvent = props => { dProductQty: changeValue.dProductQty, })); } - + if (sFieldName === "dLength" || sFieldName === "dWidth" || sFieldName === "dHeight") { if (props.currentBoxModel) { const boxModel = props.currentBoxModel.replace("slaveUp", "").replace("slaveDown", ""); @@ -1628,10 +1628,10 @@ const BoxComponent = props => { { id: 1, name: "每本张数" }, { id: 2, name: "片数" }, ]; - if (Number(selectedNode.iRateType) === 0 && item.sName === "sMagnification") { + if (Number(selectedNode.iRateType) === 0 && item.sName === "iPage") { return false; } else { - if (item.sName === "sMagnification") { + if (item.sName === "iPage") { item.showName = rateList.find(rate => rate.id === Number(selectedNode.iRateType))?.name || "倍率"; } } @@ -1709,7 +1709,7 @@ const BoxComponent = props => { const filterConditions = { juantong: x => - x.sName === "sMagnification" || + x.sName === "iPage" || x.sName === "dPartsLength" || x.sName === "dPartsWidth" || x.sName === "dRowGap" || @@ -1719,7 +1719,7 @@ const BoxComponent = props => { default: x => x.sName === "sPaperDirection" || x.sName === "dBleed" || - x.sName === "sMagnification" || + x.sName === "iPage" || x.sName === "dPartsLength" || x.sName === "dPartsWidth" || x.sName === "dSumPQty", diff --git a/src/components/QuoQuotation/QuotationPackTableTree/QuotationPackTableTree.js b/src/components/QuoQuotation/QuotationPackTableTree/QuotationPackTableTree.js index 79e590c..43d73dd 100644 --- a/src/components/QuoQuotation/QuotationPackTableTree/QuotationPackTableTree.js +++ b/src/components/QuoQuotation/QuotationPackTableTree/QuotationPackTableTree.js @@ -2664,6 +2664,7 @@ class QuotationPackTableTree extends Component { materialsConfig, materialsData, materialsDelData, processConfig, processData, processDelData, colorConfig, colorData, colorDelData, packConfig, packData, packDelData, } = this.props; + console.log("🚀 ~ QuotationPackTableTree ~ handleButtonClick= ~ slaveData:", slaveData) const data = []; slaveConfig.gdsconfigformslave.forEach((itemConfig) => { slaveData.filter(itemData => itemData.handleType === 'add' || itemData.handleType === 'update').forEach((itemData) => {