sc
This commit is contained in:
@@ -135,6 +135,18 @@
|
|||||||
<div style="color: blue; font-weight: bold; font-size: 16px">{{ profitNum }}</div>
|
<div style="color: blue; font-weight: bold; font-size: 16px">{{ profitNum }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</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
|
<el-col
|
||||||
:xl="6"
|
:xl="6"
|
||||||
:lg="6"
|
:lg="6"
|
||||||
@@ -328,6 +340,7 @@ import { getConfigByConfigKey } from '@/api/system/set'
|
|||||||
import { getSimpleFieldList as getClueField } from '@/api/clue/clueField'
|
import { getSimpleFieldList as getClueField } from '@/api/clue/clueField'
|
||||||
import { getSimpleFieldList } from '@/api/clue/orderField'
|
import { getSimpleFieldList } from '@/api/clue/orderField'
|
||||||
import { getExtraFeeSimpleList } from '@/api/clue/extraFee'
|
import { getExtraFeeSimpleList } from '@/api/clue/extraFee'
|
||||||
|
import { getAllUserList } from '@/api/system/user'
|
||||||
|
|
||||||
import { formatDate } from '@/utils/formatTime'
|
import { formatDate } from '@/utils/formatTime'
|
||||||
import { getDictOptions } from '@/utils/dict'
|
import { getDictOptions } from '@/utils/dict'
|
||||||
@@ -408,7 +421,7 @@ async function resetForm() {
|
|||||||
payAmount: 0,
|
payAmount: 0,
|
||||||
remark: undefined,
|
remark: undefined,
|
||||||
isCompanyReceipts: data?.configValue == 'true',
|
isCompanyReceipts: data?.configValue == 'true',
|
||||||
receiver: remarkInfo.value.enterUser,
|
receiver: undefined,
|
||||||
extraPay: [],
|
extraPay: [],
|
||||||
otherPay: [],
|
otherPay: [],
|
||||||
signProducts: [],
|
signProducts: [],
|
||||||
@@ -481,6 +494,7 @@ const placeOptions = computed(() => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
const classOptions = ref([])
|
const classOptions = ref([])
|
||||||
|
const allUserOptions = ref([])
|
||||||
|
|
||||||
async function getClassTypeOptions() {
|
async function getClassTypeOptions() {
|
||||||
const data = await getClassTypeList({ placeId: form.value.signPlace, status: 0 })
|
const data = await getClassTypeList({ placeId: form.value.signPlace, status: 0 })
|
||||||
@@ -531,6 +545,9 @@ function getOptions() {
|
|||||||
getExtraFeeSimpleList().then((data) => {
|
getExtraFeeSimpleList().then((data) => {
|
||||||
extraPayOptions.value = data
|
extraPayOptions.value = data
|
||||||
})
|
})
|
||||||
|
getAllUserList().then((data) => {
|
||||||
|
allUserOptions.value = data
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
function changeSchool() {
|
function changeSchool() {
|
||||||
|
|||||||
Reference in New Issue
Block a user