上传
This commit is contained in:
@@ -157,6 +157,9 @@ const props = defineProps({
|
||||
},
|
||||
userOptions: {
|
||||
type: Array
|
||||
},
|
||||
allUserOptions: {
|
||||
type: Array
|
||||
}
|
||||
})
|
||||
|
||||
@@ -168,7 +171,7 @@ const formSchema = computed(() => {
|
||||
it.componentProps['disabled'] = formType.value != 'create'
|
||||
}
|
||||
if (it.field == 'convertPeople') {
|
||||
it.options = props.userOptions.map((it) => ({ ...it, name: it.nickname }))
|
||||
it.options = props.allUserOptions.map((it) => ({ ...it, name: it.nickname }))
|
||||
}
|
||||
})
|
||||
return [
|
||||
|
||||
@@ -122,7 +122,7 @@
|
||||
<el-form-item label="接待人" prop="receiver">
|
||||
<el-select v-model="form.receiver" placeholder="选择接待人" clearable filterable>
|
||||
<el-option
|
||||
v-for="item in userOptions"
|
||||
v-for="item in allUserOptions"
|
||||
:key="item.id"
|
||||
:label="item.nickname"
|
||||
:value="item.id"
|
||||
@@ -328,6 +328,7 @@ import { getDiyFieldList } from '@/api/clue/orderField'
|
||||
import { getPlaceList } from '@/api/school/place'
|
||||
import { getClassTypeList } from '@/api/school/class'
|
||||
import { getSimpleProductList } from '@/api/mall/product'
|
||||
|
||||
// import { getSimpleWarehouseList } from '@/api/mall/warehouse'
|
||||
import { formatDate } from '@/utils/formatTime'
|
||||
import { getDictOptions } from '@/utils/dict'
|
||||
@@ -358,7 +359,7 @@ const props = defineProps({
|
||||
schema: {
|
||||
type: Array
|
||||
},
|
||||
userOptions: {
|
||||
allUserOptions: {
|
||||
type: Array
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user