diff --git a/src/components/Common/BoxProject/svg.js b/src/components/Common/BoxProject/svg.js index 4ec6e66..9352674 100644 --- a/src/components/Common/BoxProject/svg.js +++ b/src/components/Common/BoxProject/svg.js @@ -10,7 +10,6 @@ import { createNoneProject, } from "../BoxDesign/createAirplaneBox"; const SvgBox = props => { - console.log("πŸš€ ~ propsprops:", props); const svgContainerRef = useRef(null); const svgRef = useRef(null); const [boxKey, setBoxKey] = useState(new Date().getTime()); diff --git a/src/components/Common/CommonViewTable/index.js b/src/components/Common/CommonViewTable/index.js index 1750116..09e7b83 100644 --- a/src/components/Common/CommonViewTable/index.js +++ b/src/components/Common/CommonViewTable/index.js @@ -362,7 +362,6 @@ export default class CommonViewTable extends Component { } const viewRowNew = this.props.getViewRow?.(child) || viewRow; - console.log("πŸš€ ~ CommonViewTable ~ viewConfigs&&viewConfigs.map ~ viewRowNew:", viewRowNew) const showTypeProps = { app, diff --git a/src/components/Common/ShowImgMaterial/index.js b/src/components/Common/ShowImgMaterial/index.js index 1d3b97d..24dc245 100644 --- a/src/components/Common/ShowImgMaterial/index.js +++ b/src/components/Common/ShowImgMaterial/index.js @@ -302,7 +302,6 @@ export default class ShowImg extends Component { // //ζ¨ͺ向+η«– 添加HTML getHHPHtml = (dMatLength, dMatWidth, dLength, dWidth, dBoold, dBite, wlfx, bBox) => { - console.log("πŸš€ ~ ShowImg ~ bBox:", bBox) const elements = []; var p_dMatLength = dMatLength; var p_dMatWidth = dMatWidth; //ε‡εŽ»ε’¬ε£εŽηš„ι«˜εΊ¦ diff --git a/src/components/QuickQuote/index.jsx b/src/components/QuickQuote/index.jsx index c0c4de9..769512d 100644 --- a/src/components/QuickQuote/index.jsx +++ b/src/components/QuickQuote/index.jsx @@ -1257,7 +1257,6 @@ const BoxComponent = props => { }; const getUpViewPropsByITag = iTag => { - const config = slaveConfig.gdsconfigformslave.filter(item => { if (item.sName === "dSumPQty" && selectedNode.sTypeKey !== "huace") { return false; @@ -1293,7 +1292,7 @@ const BoxComponent = props => { const [downAbleConfigsNew, setDownAbleConfigsNew] = useState([]); useEffect(() => { setDownAbleConfigsNew(downAbleConfigs); - }, [selectedNode.showName, boxModel]); + }, [selectedNode.showName, boxModel, downAbleConfigs.length]); // θŽ·ε–sTypeδΈΊ2ηš„ const downViewProps = { @@ -1416,7 +1415,7 @@ const BoxComponent = props => { props.setState(pre => { const { sBackProcessData = [] } = slaveData[slaveRowIndex]; const iIndex = sBackProcessData.findIndex(item => item[child.sName]); - slaveData[slaveRowIndex].sBackProcessData.splice(iIndex, 1); + slaveData[slaveRowIndex].sBackProcessData?.splice(iIndex, 1); return { ...pre, slaveData }; }); }} diff --git a/src/mobile/quotation/detail.jsx b/src/mobile/quotation/detail.jsx index 1601b22..479481a 100644 --- a/src/mobile/quotation/detail.jsx +++ b/src/mobile/quotation/detail.jsx @@ -14,7 +14,6 @@ import Typesetting from "@/components/Common/Typesetting/typesetting"; import DynamicSVG from "@/components/Common/BoxDesignCompontent/svg"; import ShowImgM from "@/components/Common/BoxShowImgMaterial/indexNew"; const QuickQuoteEvent = props => { - console.log("πŸš€ ~ QuickQuoteEvent:", props); const { location } = props; const selectedNode = JSON.parse(location.state).quotationData; const addState = {}; @@ -915,7 +914,6 @@ const QuotationAllprogressDetail = baseProps => { const QuotationDetail = props => { const { location, app, sModelsId, state, masterData, selectedNode = {} } = props; - console.log("πŸš€ ~ QuotationDetail:", props); const { token } = app; const { formData = [], masterConfig } = state || {}; const { quotationData } = JSON.parse(location.state) || {}; @@ -931,7 +929,6 @@ const QuotationDetail = props => { viewRow: { ...masterData, sProductClassifyId: selectedNode.sId }, tableName: "master", }; - console.log("πŸš€ ~ viewProps:", viewProps); return (
@@ -947,7 +944,6 @@ const QuotationDetail = props => { ); }; const MasterComponent = props => { - console.log("πŸš€ ~ MasterComponent:", props); const { viewConfigs, masterData } = props; const customer = viewConfigs?.find(x => x.sName === "sCustomerName") || {}; @@ -1097,7 +1093,6 @@ const QuotationTabs = props => { const BoxComponent = props => { const { state, boxModel } = props; const { activeKey, slaveConfig, masterData, selectedNode, boxConfig, downAbleConfigs = [], slaveData } = state || {}; - console.log("πŸš€ ~ BoxComponent:", slaveData); const { sModelsId } = props; const [selectList, setSelectList] = useState([]); const [boxTypeList, setBoxTypeList] = useState([]); @@ -1445,7 +1440,6 @@ const BoxComponent = props => { }); const slaveDataDetail = slaveData.find(item => item.sTreeNodeName === selectedNode.showName && item.sBoxModel === boxModel) || {}; - console.log("πŸš€ ~ slaveDataDetail:", slaveNewData) const rowData = { ...slaveDataDetail, ...data, diff --git a/src/utils/request.js b/src/utils/request.js index 998eac3..c2bbb6f 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -39,7 +39,6 @@ export default function request(url, options) { .then(checkStatus) .then(parseJSON) .then((data) => { - console.log('=====data', data); // window.fetchCount -= 1; // if (window.fetchCount <= 0) { // fetchLoading();