Commit 0088b65e239f55d8dacb2ec2e48ee3481233fbe3

Authored by 陈鑫涛
1 parent 657943ec

快速报价盒型

src/components/Common/BoxDesignCompontent/index.js
@@ -339,8 +339,6 @@ const BoxDesignCompontent = baseProps => { @@ -339,8 +339,6 @@ const BoxDesignCompontent = baseProps => {
339 const getImage = fileName => { 339 const getImage = fileName => {
340 // const imageUrl = `${commonConfig.file_host}file/download?savePathStr=${fileName}&sModelsId=100&token=${props.token}`; 340 // const imageUrl = `${commonConfig.file_host}file/download?savePathStr=${fileName}&sModelsId=100&token=${props.token}`;
341 const imageUrl = `${commonConfig.file_host}file/download?savePathStr=${fileName}&scale=0.1&sModelsId=100&token=${props.token}` 341 const imageUrl = `${commonConfig.file_host}file/download?savePathStr=${fileName}&scale=0.1&sModelsId=100&token=${props.token}`
342 - console.log("🚀 ~ imageUrl:", imageUrl)  
343 -  
344 return imageUrl; 342 return imageUrl;
345 }; 343 };
346 // 下来框 344 // 下来框
src/components/QuickQuote/index.jsx
@@ -1376,15 +1376,12 @@ const BoxComponent = props => { @@ -1376,15 +1376,12 @@ const BoxComponent = props => {
1376 // const upViewProps11 = getUpViewPropsByITag(11); 1376 // const upViewProps11 = getUpViewPropsByITag(11);
1377 // 印刷参数表单 1377 // 印刷参数表单
1378 let upViewProps12 = getUpViewPropsByITag(12); 1378 let upViewProps12 = getUpViewPropsByITag(12);
  1379 +
1379 if (!(selectedNode.sTypeKey === "huace" && slaveRowData.sBoxModel === "封面")) { 1380 if (!(selectedNode.sTypeKey === "huace" && slaveRowData.sBoxModel === "封面")) {
1380 - upViewProps12.viewConfigs = upViewProps12.viewConfigs.slice(0, 6); 1381 + upViewProps12.viewConfigs = upViewProps12.viewConfigs.filter(
  1382 + x => x.sName === "sMagnification" || x.sName === "dPartsLength" || x.sName === "dPartsWidth"
  1383 + );
1381 } 1384 }
1382 - //  
1383 - upViewProps12.viewConfigs = upViewProps12.viewConfigs.map(item => {  
1384 - if (item.sName === "bFlap") {  
1385 - }  
1386 - return item;  
1387 - });  
1388 1385
1389 // useEffect(() => { 1386 // useEffect(() => {
1390 1387
@@ -1541,7 +1538,7 @@ const BoxComponent = props => { @@ -1541,7 +1538,7 @@ const BoxComponent = props => {
1541 const className = target.getAttribute("class"); 1538 const className = target.getAttribute("class");
1542 const nodeName = target.nodeName; 1539 const nodeName = target.nodeName;
1543 if (className?.includes("select") && nodeName === "DIV") return; 1540 if (className?.includes("select") && nodeName === "DIV") return;
1544 - 1541 +
1545 props.setState(pre => ({ 1542 props.setState(pre => ({
1546 ...pre, 1543 ...pre,
1547 backendParamsConfig: commonUtils.convertStrToObj( 1544 backendParamsConfig: commonUtils.convertStrToObj(