Commit 1b0f10c1d870cb71d71acc854d4a24e1eaef3bc0

Authored by zhangzzzz
1 parent ad257f3e

去console.log;

src/components/Common/BoxDesignCompontent/svg.js
... ... @@ -234,7 +234,6 @@ const SvgBox = props => {
234 234 svgContainerRef.current.style.height = `${dSvgBoxHeight ? dSvgBoxHeight : 250}px`;
235 235 }
236 236 } else if (props.showNew === 1) {
237   - console.log("🚀 ~ initSVG ~ props:", props)
238 237 let ySvg = topOffect(boxList, boxLength, boxWidth, boxHeight) * scale;
239 238 let leftSize = 0;
240 239 let topSize = 0;
... ...
src/components/Common/BoxProject/svg.js
... ... @@ -10,7 +10,6 @@ import {
10 10 createNoneProject,
11 11 } from "../BoxDesign/createAirplaneBox";
12 12 const SvgBox = props => {
13   - console.log("🚀 ~ propsprops:", props);
14 13 const svgContainerRef = useRef(null);
15 14 const svgRef = useRef(null);
16 15 const [boxKey, setBoxKey] = useState(new Date().getTime());
... ...
src/components/Common/CommonViewTable/index.js
... ... @@ -362,7 +362,6 @@ export default class CommonViewTable extends Component {
362 362 }
363 363  
364 364 const viewRowNew = this.props.getViewRow?.(child) || viewRow;
365   - console.log("🚀 ~ CommonViewTable ~ viewConfigs&&viewConfigs.map ~ viewRowNew:", viewRowNew)
366 365  
367 366 const showTypeProps = {
368 367 app,
... ...
src/components/Common/ShowImgMaterial/index.js
... ... @@ -302,7 +302,6 @@ export default class ShowImg extends Component {
302 302  
303 303 // //横向+竖 添加HTML
304 304 getHHPHtml = (dMatLength, dMatWidth, dLength, dWidth, dBoold, dBite, wlfx, bBox) => {
305   - console.log("🚀 ~ ShowImg ~ bBox:", bBox)
306 305 const elements = [];
307 306 var p_dMatLength = dMatLength;
308 307 var p_dMatWidth = dMatWidth; //减去咬口后的高度
... ...
src/components/Common/Typesetting/typesetting.js
... ... @@ -21,7 +21,6 @@ const Typesetting = props => {
21 21 boxHeight,
22 22 textSize,
23 23 } = props;
24   - console.log("🚀 ~ typesettingsss:", props)
25 24 if (!slaveRowData) return
26 25 const {
27 26 dSBLB, // 上边留白
... ... @@ -551,9 +550,7 @@ const Typesetting = props => {
551 550 }, 0); // 使用 0 延迟,将任务放入事件队列
552 551 }
553 552 const isMax = slaveDataDetail?.dMaxLength && Number(slaveDataDetail?.dMaxLength) >= Number(slaveRowData?.dMachineLength);
554   - console.log("🚀 ~ isMax:", isMax,slaveDataDetail,slaveRowData)
555 553 const isShow = slaveRowData && slaveRowData.dMachineLength && slaveRowData.dMaxWidth && slaveRowData.dMaxLength && isMax && innerDivs.length;
556   - console.log(innerDivs,cols,rows,'innerDivs');
557 554  
558 555 const onClick = () => {
559 556 setIsModalOpen(true);
... ...
src/components/QuickQuote/index.jsx
... ... @@ -906,7 +906,6 @@ const QuickQuoteEvent = props => {
906 906 // 入口
907 907 const QuickQuote = baseProps => {
908 908 const props = QuickQuoteEvent(baseProps);
909   - console.log("🚀 ~ QuickQuote:", props)
910 909  
911 910 const [treeClassName, setTreeClassName] = useState("");
912 911  
... ... @@ -1093,7 +1092,6 @@ const ContentComponent = props => {
1093 1092 const { selectedNode = {}, extraParts = {} } = props.state;
1094 1093 const { showName } = selectedNode;
1095 1094 const extraPartsList = extraParts[showName] || [];
1096   - console.log("🚀 ~ extraPartsList:", extraPartsList)
1097 1095 let { sAllPartsName = "" } = selectedNode;
1098 1096 let bEmpty = false;
1099 1097 if (commonUtils.isEmptyObject(selectedNode)) {
... ... @@ -1104,7 +1102,6 @@ const ContentComponent = props => {
1104 1102 }
1105 1103  
1106 1104 const boxModelList = sAllPartsName.split(",");
1107   - console.log("🚀 ~ boxModelList:", boxModelList)
1108 1105 const [activeKey, setActiveKey] = useState(0);
1109 1106  
1110 1107 useEffect(() => {
... ... @@ -1166,7 +1163,6 @@ const ContentComponent = props => {
1166 1163 }
1167 1164 };
1168 1165  
1169   - console.log("🚀 ~ props:", props)
1170 1166 return (
1171 1167 <>
1172 1168 {/* <Divider {...dividerProps}>产品参数</Divider> */}
... ... @@ -1267,7 +1263,6 @@ const BoxComponent = props =&gt; {
1267 1263 };
1268 1264  
1269 1265 const getUpViewPropsByITag = iTag => {
1270   - console.log(slaveConfig,'slaveConfig1');
1271 1266  
1272 1267 const config = slaveConfig.gdsconfigformslave.filter(item => {
1273 1268 if (item.sName === "dSumPQty" && selectedNode.sTypeKey !== "huace") {
... ... @@ -1303,6 +1298,7 @@ const BoxComponent = props =&gt; {
1303 1298  
1304 1299 const [downAbleConfigsNew, setDownAbleConfigsNew] = useState([]);
1305 1300 useEffect(() => {
  1301 + console.log('=====downAbleConfigs', downAbleConfigs)
1306 1302 setDownAbleConfigsNew(downAbleConfigs);
1307 1303 }, [selectedNode.showName, boxModel]);
1308 1304  
... ... @@ -1572,7 +1568,6 @@ const BoxComponent = props =&gt; {
1572 1568 let boxList = [];
1573 1569 if (slaveRowData.sColumnNameConfig && masterData.dLength && masterData.dWidth && masterData.dHeight) {
1574 1570 const slaveNewData = JSON.parse(slaveRowData.sColumnNameConfig);
1575   - console.log("🚀 ~ slaveRowData:", slaveRowData)
1576 1571 const tables = [
1577 1572 { name: "盒型类别", value: slaveRowData.sBoxType, type: null },
1578 1573 { name: "盒身", value: slaveRowData.sBoxBody, type: slaveRowData.sTypes },
... ...
src/mobile/components/SelectInput.jsx
... ... @@ -9,7 +9,6 @@ import styles from &quot;./selectInput.less&quot;;
9 9 import debounce from "lodash/debounce";
10 10  
11 11 const SelectInput = props => {
12   - console.log("🚀 ~ selectInputValue:", props);
13 12 const [value, setValue] = useState(props.sValue || ""); // 如果存在 name 属性,将其值赋值给 value
14 13 const [values, setValues] = useState("");
15 14 const [searchValue, setSearchValue] = useState("");
... ... @@ -82,7 +81,6 @@ const SelectInput = props =&gt; {
82 81 debouncedChangeOption(val);
83 82 };
84 83 useEffect(() => {
85   - console.log("🚀 ~ useEffect ~ itemDetailssss:", itemDetail)
86 84  
87 85 if (!visible) return;
88 86 let { sDropDownType } = itemDetail;
... ...
src/mobile/quotation/detail.jsx
... ... @@ -14,7 +14,6 @@ import Typesetting from &quot;@/components/Common/Typesetting/typesetting&quot;;
14 14 import DynamicSVG from "@/components/Common/BoxDesignCompontent/svg";
15 15 import ShowImgM from "@/components/Common/BoxShowImgMaterial/indexNew";
16 16 const QuickQuoteEvent = props => {
17   - console.log("🚀 ~ QuickQuoteEvent:", props);
18 17 const { location } = props;
19 18 const selectedNode = JSON.parse(location.state).quotationData;
20 19 const addState = {};
... ... @@ -915,7 +914,6 @@ const QuotationAllprogressDetail = baseProps =&gt; {
915 914  
916 915 const QuotationDetail = props => {
917 916 const { location, app, sModelsId, state, masterData, selectedNode = {} } = props;
918   - console.log("🚀 ~ QuotationDetail:", props);
919 917 const { token } = app;
920 918 const { formData = [], masterConfig } = state || {};
921 919 const { quotationData } = JSON.parse(location.state) || {};
... ... @@ -931,7 +929,6 @@ const QuotationDetail = props =&gt; {
931 929 viewRow: { ...masterData, sProductClassifyId: selectedNode.sId },
932 930 tableName: "master",
933 931 };
934   - console.log("🚀 ~ viewProps:", viewProps);
935 932  
936 933 return (
937 934 <div>
... ... @@ -947,7 +944,6 @@ const QuotationDetail = props =&gt; {
947 944 );
948 945 };
949 946 const MasterComponent = props => {
950   - console.log("🚀 ~ MasterComponent:", props);
951 947 const { viewConfigs, masterData } = props;
952 948  
953 949 const customer = viewConfigs?.find(x => x.sName === "sCustomerName") || {};
... ... @@ -1097,7 +1093,6 @@ const QuotationTabs = props =&gt; {
1097 1093 const BoxComponent = props => {
1098 1094 const { state, boxModel } = props;
1099 1095 const { activeKey, slaveConfig, masterData, selectedNode, boxConfig, downAbleConfigs = [], slaveData } = state || {};
1100   - console.log("🚀 ~ BoxComponent:", slaveData);
1101 1096 const { sModelsId } = props;
1102 1097 const [selectList, setSelectList] = useState([]);
1103 1098 const [boxTypeList, setBoxTypeList] = useState([]);
... ... @@ -1445,7 +1440,6 @@ const BoxComponent = props =&gt; {
1445 1440 });
1446 1441 const slaveDataDetail = slaveData.find(item => item.sTreeNodeName === selectedNode.showName && item.sBoxModel === boxModel) || {};
1447 1442  
1448   - console.log("🚀 ~ slaveDataDetail:", slaveNewData)
1449 1443 const rowData = {
1450 1444 ...slaveDataDetail,
1451 1445 ...data,
... ...
src/mobile/quotation/detailNew.jsx
... ... @@ -14,7 +14,6 @@ import Typesetting from &quot;@/components/Common/Typesetting/typesetting&quot;;
14 14 import DynamicSVG from "@/components/Common/BoxDesignCompontent/svg";
15 15 import ShowImgM from "@/components/Common/BoxShowImgMaterial/indexNew";
16 16 const QuickQuoteEvent = props => {
17   - console.log("🚀 ~ QuickQuoteEvent:", props);
18 17 const { location } = props;
19 18 const selectedNode = JSON.parse(location.state).quotationData;
20 19 const addState = {};
... ...
src/mobile/quotation/index.jsx
... ... @@ -22,7 +22,6 @@ const QuotationAllprogress = baseProps =&gt; {
22 22 };
23 23 const dataUrl = `${commonConfig.server_host}filterTree/getFilterTree/${configDataId}?sModelsId=${sModelsId}&sName=${formSrcRoute}`;
24 24 const dataReturn = (await commonServices.postValueService(token, condition, dataUrl)).data;
25   - console.log("🚀 ~ getQuotationList ~ dataReturn:", dataReturn)
26 25 // if (dataReturn.dataset.rows) return
27 26 const treeDataList = dataReturn.dataset.rows[0].children.map(item => {
28 27 return item;
... ...
src/utils/request.js
... ... @@ -39,7 +39,6 @@ export default function request(url, options) {
39 39 .then(checkStatus)
40 40 .then(parseJSON)
41 41 .then((data) => {
42   - console.log('=====data', data);
43 42 // window.fetchCount -= 1;
44 43 // if (window.fetchCount <= 0) {
45 44 // fetchLoading();
... ...