Commit 7c4f13f3e07804b506af374b230d5bfeaacd5c30

Authored by zhangzzzz
1 parent eeb5d453

解决长宽高下拉报错问题;

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