qsh 1 month ago
parent 83abbc57b7
commit c79ee47609
  1. 19
      src/views/Clue/Pool/ClueEnroll.vue

@ -135,6 +135,18 @@
<div style="color: blue; font-weight: bold; font-size: 16px">{{ profitNum }}</div>
</el-form-item>
</el-col>
<el-col :xl="6" :lg="6" :md="8" :sm="24" :xs="24">
<el-form-item label="接待人" prop="receiver">
<el-select v-model="form.receiver" placeholder="选择接待人" clearable filterable>
<el-option
v-for="item in allUserOptions"
:key="item.id"
:label="item.nickname"
:value="item.id"
/>
</el-select>
</el-form-item>
</el-col>
<el-col
:xl="6"
:lg="6"
@ -328,6 +340,7 @@ import { getConfigByConfigKey } from '@/api/system/set'
import { getSimpleFieldList as getClueField } from '@/api/clue/clueField'
import { getSimpleFieldList } from '@/api/clue/orderField'
import { getExtraFeeSimpleList } from '@/api/clue/extraFee'
import { getAllUserList } from '@/api/system/user'
import { formatDate } from '@/utils/formatTime'
import { getDictOptions } from '@/utils/dict'
@ -408,7 +421,7 @@ async function resetForm() {
payAmount: 0,
remark: undefined,
isCompanyReceipts: data?.configValue == 'true',
receiver: remarkInfo.value.enterUser,
receiver: undefined,
extraPay: [],
otherPay: [],
signProducts: [],
@ -481,6 +494,7 @@ const placeOptions = computed(() => {
})
const classOptions = ref([])
const allUserOptions = ref([])
async function getClassTypeOptions() {
const data = await getClassTypeList({ placeId: form.value.signPlace, status: 0 })
@ -531,6 +545,9 @@ function getOptions() {
getExtraFeeSimpleList().then((data) => {
extraPayOptions.value = data
})
getAllUserList().then((data) => {
allUserOptions.value = data
})
}
function changeSchool() {

Loading…
Cancel
Save