|
|
@ -121,7 +121,9 @@ const FnsaleId: any = await GetSaleUserList()
|
|
|
|
if (FnsaleId.succeeded) {
|
|
|
|
if (FnsaleId.succeeded) {
|
|
|
|
ListData.saleId = []
|
|
|
|
ListData.saleId = []
|
|
|
|
FnsaleId.data.forEach((e) => {
|
|
|
|
FnsaleId.data.forEach((e) => {
|
|
|
|
ListData.saleId.push({ label: e.userName, value: e.id })
|
|
|
|
console.log(e, 111)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ListData.saleId.push({ ...e, label: `${e.userName}/${e.userCode}`, value: e.id })
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
const FnreceiptPlaceId: any = await GetClientPortSelectList()
|
|
|
|
const FnreceiptPlaceId: any = await GetClientPortSelectList()
|
|
|
@ -1032,7 +1034,13 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
|
options: ListData.saleId,
|
|
|
|
options: ListData.saleId,
|
|
|
|
showSearch: true,
|
|
|
|
showSearch: true,
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
let RData = false
|
|
|
|
|
|
|
|
if (option.userName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
} else if (option.userCode.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return RData
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -1050,7 +1058,13 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
|
options: ListData.saleId,
|
|
|
|
options: ListData.saleId,
|
|
|
|
showSearch: true,
|
|
|
|
showSearch: true,
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
let RData = false
|
|
|
|
|
|
|
|
if (option.userName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
} else if (option.userCode.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return RData
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onChange: (e) => {
|
|
|
|
onChange: (e) => {
|
|
|
|
if (e) {
|
|
|
|
if (e) {
|
|
|
@ -1220,7 +1234,13 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
|
options: ListData.saleId,
|
|
|
|
options: ListData.saleId,
|
|
|
|
showSearch: true,
|
|
|
|
showSearch: true,
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
let RData = false
|
|
|
|
|
|
|
|
if (option.userName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
} else if (option.userCode.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return RData
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -1402,7 +1422,7 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
label: '结算方式',
|
|
|
|
label: '结算方式',
|
|
|
|
component: 'Select',
|
|
|
|
component: 'Select',
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
dynamicDisabled: false,
|
|
|
|
dynamicDisabled: true,
|
|
|
|
defaultValue: '',
|
|
|
|
defaultValue: '',
|
|
|
|
colProps: { span: 4 },
|
|
|
|
colProps: { span: 4 },
|
|
|
|
componentProps: {
|
|
|
|
componentProps: {
|
|
|
@ -1419,7 +1439,7 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
label: '结算日期',
|
|
|
|
label: '结算日期',
|
|
|
|
component: 'DatePicker',
|
|
|
|
component: 'DatePicker',
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
dynamicDisabled: false,
|
|
|
|
dynamicDisabled: true,
|
|
|
|
defaultValue: '',
|
|
|
|
defaultValue: '',
|
|
|
|
colProps: { span: 4 },
|
|
|
|
colProps: { span: 4 },
|
|
|
|
componentProps: {
|
|
|
|
componentProps: {
|
|
|
@ -1464,10 +1484,18 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
colProps: { span: 4 },
|
|
|
|
colProps: { span: 4 },
|
|
|
|
componentProps: {
|
|
|
|
componentProps: {
|
|
|
|
allowClear: true,
|
|
|
|
allowClear: true,
|
|
|
|
options: ListData.carrier,
|
|
|
|
options: ListData.customername,
|
|
|
|
showSearch: true,
|
|
|
|
showSearch: true,
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
let RData = false
|
|
|
|
|
|
|
|
if (option.codeName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
} else if (option.shortName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
} else if (option.enShortName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return RData
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -1481,10 +1509,18 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
colProps: { span: 4 },
|
|
|
|
colProps: { span: 4 },
|
|
|
|
componentProps: {
|
|
|
|
componentProps: {
|
|
|
|
allowClear: true,
|
|
|
|
allowClear: true,
|
|
|
|
options: ListData.forwarderId,
|
|
|
|
options: ListData.customername,
|
|
|
|
showSearch: true,
|
|
|
|
showSearch: true,
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
let RData = false
|
|
|
|
|
|
|
|
if (option.codeName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
} else if (option.shortName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
} else if (option.enShortName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return RData
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -1609,10 +1645,18 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
colProps: { span: 4 },
|
|
|
|
colProps: { span: 4 },
|
|
|
|
componentProps: {
|
|
|
|
componentProps: {
|
|
|
|
allowClear: true,
|
|
|
|
allowClear: true,
|
|
|
|
options: ListData.shipAgencyId,
|
|
|
|
options: ListData.customername,
|
|
|
|
showSearch: true,
|
|
|
|
showSearch: true,
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
let RData = false
|
|
|
|
|
|
|
|
if (option.codeName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
} else if (option.shortName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
} else if (option.enShortName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return RData
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -1637,7 +1681,13 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
options: ListData.saleId,
|
|
|
|
options: ListData.saleId,
|
|
|
|
showSearch: true,
|
|
|
|
showSearch: true,
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
let RData = false
|
|
|
|
|
|
|
|
if (option.userName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
} else if (option.userCode.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return RData
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onChange: (e) => {
|
|
|
|
onChange: (e) => {
|
|
|
|
if (e) {
|
|
|
|
if (e) {
|
|
|
@ -1666,7 +1716,13 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
options: ListData.saleId,
|
|
|
|
options: ListData.saleId,
|
|
|
|
showSearch: true,
|
|
|
|
showSearch: true,
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
let RData = false
|
|
|
|
|
|
|
|
if (option.userName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
} else if (option.userCode.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return RData
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -1683,7 +1739,13 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
options: ListData.saleId,
|
|
|
|
options: ListData.saleId,
|
|
|
|
showSearch: true,
|
|
|
|
showSearch: true,
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
let RData = false
|
|
|
|
|
|
|
|
if (option.userName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
} else if (option.userCode.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return RData
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -1700,7 +1762,13 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
options: ListData.saleId,
|
|
|
|
options: ListData.saleId,
|
|
|
|
showSearch: true,
|
|
|
|
showSearch: true,
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
let RData = false
|
|
|
|
|
|
|
|
if (option.userName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
} else if (option.userCode.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return RData
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -1724,9 +1792,25 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
label: '海外客服',
|
|
|
|
label: '海外客服',
|
|
|
|
field: 'foreignCustomerService',
|
|
|
|
field: 'foreignCustomerService',
|
|
|
|
component: 'Input',
|
|
|
|
component: 'Select',
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
|
|
|
|
dynamicDisabled: false,
|
|
|
|
|
|
|
|
defaultValue: '',
|
|
|
|
colProps: { span: 4 },
|
|
|
|
colProps: { span: 4 },
|
|
|
|
|
|
|
|
componentProps: {
|
|
|
|
|
|
|
|
allowClear: true,
|
|
|
|
|
|
|
|
options: ListData.saleId,
|
|
|
|
|
|
|
|
showSearch: true,
|
|
|
|
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
|
|
|
|
let RData = false
|
|
|
|
|
|
|
|
if (option.userName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
} else if (option.userCode.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return RData
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
label: '所属部门',
|
|
|
|
label: '所属部门',
|
|
|
@ -1915,11 +1999,19 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
|
|
|
|
defaultValue: '',
|
|
|
|
defaultValue: '',
|
|
|
|
colProps: { span: 5 },
|
|
|
|
colProps: { span: 5 },
|
|
|
|
componentProps: {
|
|
|
|
componentProps: {
|
|
|
|
options: ListData.yard,
|
|
|
|
|
|
|
|
allowClear: true,
|
|
|
|
allowClear: true,
|
|
|
|
|
|
|
|
options: ListData.customername,
|
|
|
|
showSearch: true,
|
|
|
|
showSearch: true,
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
let RData = false
|
|
|
|
|
|
|
|
if (option.codeName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
} else if (option.shortName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
} else if (option.enShortName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return RData
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -2072,11 +2164,19 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
|
|
|
|
defaultValue: '',
|
|
|
|
defaultValue: '',
|
|
|
|
colProps: { span: 5 },
|
|
|
|
colProps: { span: 5 },
|
|
|
|
componentProps: {
|
|
|
|
componentProps: {
|
|
|
|
options: ListData.customser,
|
|
|
|
|
|
|
|
allowClear: true,
|
|
|
|
allowClear: true,
|
|
|
|
|
|
|
|
options: ListData.customername,
|
|
|
|
showSearch: true,
|
|
|
|
showSearch: true,
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
let RData = false
|
|
|
|
|
|
|
|
if (option.codeName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
} else if (option.shortName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
} else if (option.enShortName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return RData
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -2145,11 +2245,19 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
|
|
|
|
defaultValue: '',
|
|
|
|
defaultValue: '',
|
|
|
|
colProps: { span: 5 },
|
|
|
|
colProps: { span: 5 },
|
|
|
|
componentProps: {
|
|
|
|
componentProps: {
|
|
|
|
options: ListData.trucker,
|
|
|
|
|
|
|
|
allowClear: true,
|
|
|
|
allowClear: true,
|
|
|
|
|
|
|
|
options: ListData.customername,
|
|
|
|
showSearch: true,
|
|
|
|
showSearch: true,
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
let RData = false
|
|
|
|
|
|
|
|
if (option.codeName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
} else if (option.shortName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
} else if (option.enShortName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return RData
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -2645,7 +2753,7 @@ export const cargoInfoFormSchema2: FormSchema[] = [
|
|
|
|
defaultValue: '',
|
|
|
|
defaultValue: '',
|
|
|
|
colProps: { span: 6 },
|
|
|
|
colProps: { span: 6 },
|
|
|
|
componentProps: {
|
|
|
|
componentProps: {
|
|
|
|
options: ListData.FngoodsName,
|
|
|
|
options: ListData.goodsName,
|
|
|
|
allowClear: true,
|
|
|
|
allowClear: true,
|
|
|
|
showSearch: true,
|
|
|
|
showSearch: true,
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
@ -3696,7 +3804,13 @@ export const BatchModificationFormSchema: FormSchema[] = [
|
|
|
|
options: ListData.saleId,
|
|
|
|
options: ListData.saleId,
|
|
|
|
showSearch: true,
|
|
|
|
showSearch: true,
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
let RData = false
|
|
|
|
|
|
|
|
if (option.userName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
} else if (option.userCode.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return RData
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onChange: (e) => {
|
|
|
|
onChange: (e) => {
|
|
|
|
if (e) {
|
|
|
|
if (e) {
|
|
|
@ -3914,7 +4028,13 @@ export const BatchModificationFormSchema: FormSchema[] = [
|
|
|
|
options: ListData.saleId,
|
|
|
|
options: ListData.saleId,
|
|
|
|
showSearch: true,
|
|
|
|
showSearch: true,
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
let RData = false
|
|
|
|
|
|
|
|
if (option.userName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
} else if (option.userCode.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return RData
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -3962,7 +4082,13 @@ export const BatchModificationFormSchema: FormSchema[] = [
|
|
|
|
options: ListData.saleId,
|
|
|
|
options: ListData.saleId,
|
|
|
|
showSearch: true,
|
|
|
|
showSearch: true,
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
let RData = false
|
|
|
|
|
|
|
|
if (option.userName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
} else if (option.userCode.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return RData
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -4068,7 +4194,13 @@ export const BatchModificationFormSchema: FormSchema[] = [
|
|
|
|
options: ListData.saleId,
|
|
|
|
options: ListData.saleId,
|
|
|
|
showSearch: true,
|
|
|
|
showSearch: true,
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
let RData = false
|
|
|
|
|
|
|
|
if (option.userName.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
} else if (option.userCode.toLowerCase().indexOf(input.toLowerCase()) >= 0) {
|
|
|
|
|
|
|
|
RData = true
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return RData
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|