车辆对接

This commit is contained in:
wangshiming
2022-01-05 20:15:37 +08:00
parent c7f9874e43
commit cd0035940a
43 changed files with 906 additions and 642 deletions

View File

@ -1,4 +1,10 @@
<page-header-wrapper [title]="''"></page-header-wrapper>
<page-header-wrapper [title]="'整车代发货源'" [logo]="logo">
<ng-template #logo>
<button nz-button nz-tooltip nzTooltipTitle="返回上一页" (click)="goBack()">
<i nz-icon nzType="left" nzTheme="outline"></i>
</button>
</ng-template>
</page-header-wrapper>
<nz-card>
<div class="card-title">货源单设置</div>
<div nz-row>

View File

@ -13,7 +13,7 @@ import {
SFUISchema
} from '@delon/form';
import { SettingsService, _HttpClient } from '@delon/theme';
import { EACacheService } from '@shared';
import { EACacheService, ShipperBaseService } from '@shared';
import format from 'date-fns/format';
import { NzModalRef, NzModalService } from 'ng-zorro-antd/modal';
import { of } from 'rxjs';
@ -70,7 +70,8 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
private router: Router,
private route: ActivatedRoute,
private eaCacheSrv: EACacheService,
private amapService: AmapService
private amapService: AmapService,
public service2: ShipperBaseService
) {
this.validateForm1 = fb.group({
loadingTime: [null, [Validators.required]],
@ -151,14 +152,27 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
allowClear: true,
} as SFSelectWidgetSchema
},
enterpriseInfoName: {
type: 'string',
title: '网络货运人',
ui: {
widget: 'custom'
},
default: '天津市怡亚通XXXX有限公司'
},
// enterpriseInfoName: {
// type: 'string',
// title: '网络货运人',
// ui: {
// widget: 'custom'
// },
// default: '天津市怡亚通XXXX有限公司'
// },
enterpriseInfoName: {
type: 'string',
title: '网络货运人',
ui: {
widget: 'select',
placeholder: '请选择',
visibleIf: {
_$expand: (value: boolean) => value,
},
allowClear: true,
asyncData: () => this.service2.getNetworkFreightForwarder(),
},
},
externalResourceCode: {
type: 'string',
title: '外部货源号',
@ -808,4 +822,7 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
close() {
window.history.go(-1);
}
goBack() {
window.history.go(-1);
}
}