更新
This commit is contained in:
@ -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()
|
||||
}
|
||||
|
Reference in New Issue
Block a user