This commit is contained in:
2025-07-17 11:45:03 +08:00
parent a03780b352
commit f80a0e5539
2 changed files with 12 additions and 10 deletions

View File

@ -67,8 +67,9 @@
<MOSTY.Department
style="width: 100%;"
clearable
@getDepValue="getdep($event,item.depMc)"
v-model="listQuery[item.prop]"
:placeholder="listQuery[item.prop] ? listQuery[item.prop+'mc']:''"
:placeholder="listQuery[item.depMc] ? listQuery[item.depMc]:'请选择'"
/>
</template>
@ -206,6 +207,9 @@ const submit = (resfun) => {
});
};
const getdep = (e,val) =>{
if(val)listQuery.value[val] = e ? e.orgName : '';
}
const reset = () =>{
elform.value.resetFields()
}