diff --git a/src/views/gcaqjc/sjtjcx/syjc/toolbar.js b/src/views/gcaqjc/sjtjcx/syjc/toolbar.js index c01fbfac0..89650a99c 100644 --- a/src/views/gcaqjc/sjtjcx/syjc/toolbar.js +++ b/src/views/gcaqjc/sjtjcx/syjc/toolbar.js @@ -159,7 +159,7 @@ const ToolBar = ({ setSearchVal, onSave, storeData,role }) => { style={{ width: "150px" }} options={dmList} onChange={(v)=>{ - const dvcd = codeList.filter(o=>dmCode?o.profileCode===dmCode:true)?.[0]?.value + const dvcd = codeList.filter(o=>o.profileCode===v)?.[0]?.value form.setFieldValue('dvcd',dvcd) setDmCode(v) }}