sc
This commit is contained in:
@@ -172,7 +172,7 @@
|
||||
import { getSimpleFieldList } from '@/api/clue/orderField'
|
||||
import * as SignApi from '@/api/clue/sign'
|
||||
import { getSimpleProductList } from '@/api/mall/product'
|
||||
import { getSimpleUserList as getUserOption, getAllUserList } from '@/api/system/user'
|
||||
import { getSimpleUserList as getUserOption, getAllUserListWithHire } from '@/api/system/user'
|
||||
|
||||
import DialogFeeback from './DialogFeeback.vue'
|
||||
import DialogAfterSale from './DialogAfterSale.vue'
|
||||
@@ -258,9 +258,10 @@ async function getCurdSchemas() {
|
||||
// const mainOrderFields = data.filter((it) => it.paramLevel == 1)
|
||||
data.forEach((elem) => {
|
||||
if (elem.isSearch) {
|
||||
if (['createUser'].includes(elem.field)) {
|
||||
elem.search.options = userOptions.value
|
||||
} else if (['convertPeople', 'receiver'].includes(elem.field)) {
|
||||
// if (['createUser'].includes(elem.field)) {
|
||||
// elem.search.options = userOptions.value
|
||||
// } else
|
||||
if (['convertPeople', 'receiver', 'createUser'].includes(elem.field)) {
|
||||
elem.search.options = allUserOptions.value
|
||||
}
|
||||
}
|
||||
@@ -318,7 +319,7 @@ function handleAddFee(row) {
|
||||
|
||||
async function getOptions() {
|
||||
userOptions.value = await getUserOption()
|
||||
allUserOptions.value = await getAllUserList()
|
||||
allUserOptions.value = await getAllUserListWithHire()
|
||||
getCurdSchemas()
|
||||
|
||||
// 产品
|
||||
|
||||
Reference in New Issue
Block a user