This commit is contained in:
qsh
2025-09-17 11:56:09 +08:00
parent c41f0896e9
commit 50f218b8f5
3 changed files with 19 additions and 16 deletions

View File

@@ -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()
// 产品