批量审核

This commit is contained in:
wangshiming
2022-01-18 09:51:11 +08:00
parent 47a0cecb9a
commit 545d674d44
9 changed files with 54 additions and 31 deletions

View File

@ -105,9 +105,26 @@ tabs = {
type: 'string',
title: '货源编号'
},
no1: {
shipperAppUserId: {
type: 'string',
title: '货主'
title: '货主',
ui: {
widget: 'select',
serverSearch: true,
searchDebounceTime: 300,
searchLoadingText: '搜索中...',
onSearch: (q: any) => {
console.log(q)
if (!!q) {
return this.service
.request(this.service.$api_enterpriceList, { enterpriseName: q})
.pipe(map((res: any) => (res as any[]).map((i) => ({ label: i.enterpriseName, value: i.id } as SFSchemaEnum))))
.toPromise();
} else {
return of([]);
}
},
} as SFSelectWidgetSchema,
},
loadingPlace: {
type: 'string',
@ -362,7 +379,7 @@ tabs = {
{
title: '运费明细',
width: '220px',
className: 'text-left',
className: 'text-right',
render: 'billExpenseDetailVOList'
},
{ title: '网络货运人', index: 'enterpriseInfoName', width: '180px', className: 'text-left' },