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 (