Commit 7c4f13f3e07804b506af374b230d5bfeaacd5c30
1 parent
eeb5d453
解决长宽高下拉报错问题;
Showing
1 changed file
with
1 additions
and
6 deletions
src/components/QuickQuote/index.jsx
| ... | ... | @@ -1360,7 +1360,6 @@ const TreeComponent = props => { |
| 1360 | 1360 | }; |
| 1361 | 1361 | }); |
| 1362 | 1362 | }; |
| 1363 | - console.log(selectedNode, "selectedNode"); | |
| 1364 | 1363 | if (selectedNode.sTypeKey === "juantong") { |
| 1365 | 1364 | props.onSaveState({ |
| 1366 | 1365 | masterData: { ...props.masterData, sFormId: "101251240115016002356125200" }, |
| ... | ... | @@ -1378,6 +1377,7 @@ const TreeComponent = props => { |
| 1378 | 1377 | <Tree |
| 1379 | 1378 | className={"hide-file-icon"} |
| 1380 | 1379 | onSelect={(e, select) => { |
| 1380 | + props.onSaveState({ currentBoxModel: undefined }); | |
| 1381 | 1381 | props.setState(pre => { |
| 1382 | 1382 | const { masterData = {} } = pre; |
| 1383 | 1383 | const { sProductName, sProductUnit } = masterData; |
| ... | ... | @@ -1647,9 +1647,6 @@ const BoxComponent = props => { |
| 1647 | 1647 | ) { |
| 1648 | 1648 | return false; |
| 1649 | 1649 | } |
| 1650 | - if (item.sName === "iRateType") { | |
| 1651 | - console.log(item, "iRateType"); | |
| 1652 | - } | |
| 1653 | 1650 | if (Number(selectedNode.iRateType) === 0 && item.sName === "iPage") { |
| 1654 | 1651 | return false; |
| 1655 | 1652 | } else { |
| ... | ... | @@ -2205,7 +2202,6 @@ const BoxComponent = props => { |
| 2205 | 2202 | dSvgBoxHeight: 200, |
| 2206 | 2203 | showNew: 1, |
| 2207 | 2204 | }; |
| 2208 | - console.log(boxList, "boxList"); | |
| 2209 | 2205 | |
| 2210 | 2206 | // upViewProps.viewRow = |
| 2211 | 2207 | |
| ... | ... | @@ -2221,7 +2217,6 @@ const BoxComponent = props => { |
| 2221 | 2217 | { src: slaveRowData.sPackDetailPathUpLoad, alt: "展开图" }, |
| 2222 | 2218 | { src: slaveRowData.sPackPath, alt: "立体图" }, |
| 2223 | 2219 | ]; |
| 2224 | - console.log(state, "activeKey"); | |
| 2225 | 2220 | const { activeKey = 0 } = state; |
| 2226 | 2221 | return ( |
| 2227 | 2222 | <Tabs | ... | ... |