szh-new
张同海 6 months ago
parent 8c9b303c3f
commit 210bdf181c

@ -0,0 +1,3 @@
<template> </template>
<script lang="ts" setup></script>
<style lang="less"></style>

@ -69,14 +69,6 @@ if (FnblType.length) {
ListData.blType.push({ label: e.name, value: e.value }) ListData.blType.push({ label: e.name, value: e.value })
}) })
} }
//揽货人数据
const FnsaleId: any = await GetSaleList()
if (FnsaleId.succeeded) {
ListData.saleId = []
FnsaleId.data.forEach((e) => {
ListData.saleId.push({ ...e, label: e.userName, value: e.id })
})
}
const FnsaleDeptId: any = await GetDeptList() const FnsaleDeptId: any = await GetDeptList()
if (FnsaleDeptId.succeeded) { if (FnsaleDeptId.succeeded) {
@ -121,13 +113,6 @@ if (FnshipAgencyId.succeeded) {
ListData.shipAgencyId.push({ label: e.codeName, value: e.id }) ListData.shipAgencyId.push({ label: e.codeName, value: e.id })
}) })
} }
// const FnsaleId: any = await GetSaleUserList()
// if (FnsaleId.succeeded) {
// ListData.saleId = []
// FnsaleId.data.forEach((e) => {
// ListData.saleId.push({ ...e, label: `${e.userName}/${e.userCode}`, value: e.id })
// })
// }
const FncustomerService: any = await GetCustomerServiceList() const FncustomerService: any = await GetCustomerServiceList()
if (FncustomerService.succeeded) { if (FncustomerService.succeeded) {
@ -852,8 +837,15 @@ export const basicInfoFormSchema: FormSchema[] = [
componentProps: ({ formModel, formActionType }) => { componentProps: ({ formModel, formActionType }) => {
return { return {
allowClear: true, allowClear: true,
options: ListData.saleId,
showSearch: true, showSearch: true,
// options: ListData.saleId,
// const FnsaleId: any = await GetSaleList()
// if (FnsaleId.succeeded) {
// ListData.saleId = []
// FnsaleId.data.forEach((e) => {
// ListData.saleId.push({ ...e, label: e.userName, value: e.id })
// })
// }
filterOption: (input: string, option: any) => { filterOption: (input: string, option: any) => {
let RData = false let RData = false
if (option.userName.toLowerCase().indexOf(input.toLowerCase()) >= 0) { if (option.userName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {

Loading…
Cancel
Save