车辆对接

This commit is contained in:
wangshiming
2021-12-29 19:40:50 +08:00
parent 5772be6e6f
commit f6f17a410d
4 changed files with 112 additions and 7 deletions

View File

@ -122,13 +122,11 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
title: '货主',
type: 'string',
maxLength: 30,
enum: [],
ui: {
widget: 'select',
serverSearch: true,
// serverSearch: true,
searchDebounceTime: 300,
searchLoadingText: '搜索中...',
onSearch: (q: any) => {
if (!!q) {
return this.service
@ -766,13 +764,18 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
res?.forEach((element: any) => {
List.push({ label: element.enterpriseName, value: element.id } )
});
console.log(List)
this.sf1.getProperty('/shipperAppUserId')!.schema.enum = List;
this.sf1.getProperty('/shipperAppUserId')!.widget.reset(List);
})
this.schema1.shipperAppUserId.enum = List
}
if(res?.shipperAppUserId) {
this.getRegionCode(res?.shipperAppUserId)
}
this.sf1data = {
enterpriseProjectId: res?.enterpriseProjectId ,
enterpriseInfoName: res?.enterpriseInfoName ,
externalResourceCode: res?.externalResourceCode ,
// enterpriseProjectId: res?.enterpriseProjectId,
enterpriseInfoName: res?.enterpriseInfoName,
externalResourceCode: res?.externalResourceCode,
dispatchId: res?.dispatchId ,
}
if(this.PageStatus === '整车修改') {