diff --git a/src/components/QuickQuote/index.jsx b/src/components/QuickQuote/index.jsx index 724885a..1f05c93 100644 --- a/src/components/QuickQuote/index.jsx +++ b/src/components/QuickQuote/index.jsx @@ -2698,19 +2698,20 @@ const BoxModelSelectedModal = props => { const column = commonFunc.getHeaderConfig(config); setBoxColumn(column); - const getSqlDropDownData = async ({ sId }, cb) => { + const getSqlDropDownData = async ({ sId, sSqlCondition = {} }, cb) => { const url = `${commonConfig.server_host}business/getSelectLimit/${sId}`; const body = { sKeyUpFilterName: "", pageNum: 1, pageSize: 1000, + sSqlCondition, }; const retrunData = await commonServices.postValueService(props.app.token, body, url); const dropDownData = retrunData.data?.dataset?.rows; cb(dropDownData); }; - getSqlDropDownData({ sId: "17428091410008594700322758474000" }, dropDownData => { + getSqlDropDownData({ sId: "17428091410008594700322758474000", sSqlCondition: { sProductClassifyId: selectedNode.sId } }, dropDownData => { const boxTypeList = Array.from(new Set(dropDownData.map(item => item.sBoxType || "其它"))); setBoxTypeList(boxTypeList); setBoxData(