车辆对接
This commit is contained in:
@ -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 === '整车修改') {
|
||||
|
||||
Reference in New Issue
Block a user