解决冲突
This commit is contained in:
@ -412,12 +412,12 @@ export class insuranceManagementListComponent implements OnInit {
|
||||
{
|
||||
title: '货主',
|
||||
className: 'text-left',
|
||||
width: '180px',
|
||||
width: '250px',
|
||||
index: 'shipperAppUserName'
|
||||
},
|
||||
{
|
||||
title: '所属项目',
|
||||
width: '200px',
|
||||
width: '250px',
|
||||
className: 'text-left',
|
||||
index: 'enterpriseProjectName'
|
||||
},
|
||||
|
||||
@ -826,7 +826,6 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
|
||||
nzContent: TranAgreementComponent,
|
||||
nzWidth: 900,
|
||||
nzFooter: null,
|
||||
nzComponentParams: { type: 'next' }
|
||||
});
|
||||
modalRef.afterClose.subscribe(result => {
|
||||
if (result) {
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
|
||||
<h2 >
|
||||
委托运输协议
|
||||
<h2 style="text-align: center;">
|
||||
{{ agreement?.agreementName }}
|
||||
</h2>
|
||||
<div *nzModalFooter>
|
||||
<button nz-button nzType="primary" (click)="handleOk()" >我已阅读并同意签署</button>
|
||||
|
||||
@ -4,12 +4,13 @@
|
||||
* @Author : Shiming
|
||||
* @Date : 2022-01-06 15:01:40
|
||||
* @LastEditors : Shiming
|
||||
* @LastEditTime : 2022-01-18 17:29:05
|
||||
* @LastEditTime : 2022-02-24 16:24:32
|
||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\components\\tran-agreement\\tran-agreement.component.ts
|
||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||
*/
|
||||
import { Component } from '@angular/core';
|
||||
import { NzModalRef } from 'ng-zorro-antd/modal';
|
||||
import { SupplyManagementService } from '../../services/supply-management.service';
|
||||
|
||||
@Component({
|
||||
selector: 'publish-goods-tran-agreement',
|
||||
@ -18,11 +19,19 @@ import { NzModalRef } from 'ng-zorro-antd/modal';
|
||||
})
|
||||
export class TranAgreementComponent {
|
||||
|
||||
type: any;
|
||||
constructor(private modal: NzModalRef) {
|
||||
agreement:any;
|
||||
constructor(private modal: NzModalRef,public service: SupplyManagementService,) {
|
||||
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.service.request(this.service.$api_getAgreementInfoByType,{type:'6'}).subscribe((res) => {
|
||||
if (res) {
|
||||
this.agreement = res;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
handleOk(){
|
||||
this.modal.close(true);
|
||||
}
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
* @Author : Shiming
|
||||
* @Date : 2021-12-03 11:10:14
|
||||
* @LastEditors : Shiming
|
||||
* @LastEditTime : 2022-02-17 16:58:46
|
||||
* @LastEditTime : 2022-02-24 16:23:02
|
||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\services\\supply-management.service.ts
|
||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||
*/
|
||||
@ -111,7 +111,8 @@ export class SupplyManagementService extends BaseService {
|
||||
public $api_getOperationLogRecordsList = '/api/mdc/pbc/operationLogRecords/getOperationLogRecordsList';
|
||||
// 获取数据字典
|
||||
$api_getDictValue = `/api/mdc/pbc/dictItems/getDictValue`;
|
||||
|
||||
// 获取协议信息
|
||||
public $api_getAgreementInfoByType = '/api/mdc/pbc/agreementInfo/getAgreementInfoByType';
|
||||
/**
|
||||
* 获取车型、车长字典数据
|
||||
* @returns
|
||||
|
||||
@ -199,7 +199,7 @@ export class VehicleComponentsListComponent implements OnInit {
|
||||
// { title: '', type: 'checkbox', className: 'text-center' },
|
||||
{ title: '车牌号', width: '150px', className: 'text-center', index: 'carNo' },
|
||||
{ title: '车牌颜色', width: '150px', className: 'text-center', index: 'carNoColorLabel' },
|
||||
{ title: '车型-车长-载重', width: '150px', className: 'text-center', render: 'carLength' },
|
||||
{ title: '车型-车长-载重', width: '180px', className: 'text-center', render: 'carLength' },
|
||||
{
|
||||
title: '运营状态',
|
||||
width: '150px',
|
||||
@ -238,7 +238,7 @@ export class VehicleComponentsListComponent implements OnInit {
|
||||
3: { text: '已到期', color: 'error' }
|
||||
}
|
||||
},
|
||||
{ title: '所有人', width: '150px', className: 'text-center', index: 'carOwner' },
|
||||
{ title: '所有人', width: '200px', className: 'text-center', index: 'carOwner' },
|
||||
{ title: '是否挂靠', width: '150px', className: 'text-center', render: 'isSelf' },
|
||||
{ title: '挂靠协议', width: '150px', className: 'text-center', render: 'approvalAuditStatus' },
|
||||
// { title: '是否已备案', className: 'text-center', render: 'putOnRecord', },
|
||||
|
||||
@ -33,8 +33,8 @@ export class WaybillManagementAbnormalAppearComponent implements OnInit {
|
||||
columns: STColumn[] = [
|
||||
{ title: '异常编号', index: 'exceptionCode',width: '180px',className: 'text-left', },
|
||||
{ title: '关联运单号', index: 'wayBillCode',width: '180px',className: 'text-left', },
|
||||
{ title: '网络货运人', index: 'enterpriseInfoName',width: '220px',className: 'text-left', },
|
||||
{ title: '货主', index: 'shipperAppUserName' ,width: '220px',className: 'text-left',},
|
||||
{ title: '网络货运人', index: 'enterpriseInfoName',width: '250px',className: 'text-left', },
|
||||
{ title: '货主', index: 'shipperAppUserName' ,width: '250px',className: 'text-left',},
|
||||
{ title: '装货地', index: 'loadingAddressArr' ,width: '220px',className: 'text-left',},
|
||||
{ title: '卸货地', index: 'unloadingAddressArr' ,width: '220px',className: 'text-left',},
|
||||
{ title: '承运司机', index: 'driver' ,width: '250px',className: 'text-left',},
|
||||
|
||||
@ -304,7 +304,7 @@ export class WaybillManagementVehicleComponent implements OnInit {
|
||||
{
|
||||
title: '货物信息',
|
||||
className: 'text-left',
|
||||
width: '180px',
|
||||
width: '250px',
|
||||
render: 'goodsInfos'
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user