解决冲突

This commit is contained in:
wangshiming
2022-02-24 16:31:01 +08:00
parent 0e4a6c792b
commit b0a301564b
8 changed files with 24 additions and 16 deletions

View File

@ -412,12 +412,12 @@ export class insuranceManagementListComponent implements OnInit {
{ {
title: '货主', title: '货主',
className: 'text-left', className: 'text-left',
width: '180px', width: '250px',
index: 'shipperAppUserName' index: 'shipperAppUserName'
}, },
{ {
title: '所属项目', title: '所属项目',
width: '200px', width: '250px',
className: 'text-left', className: 'text-left',
index: 'enterpriseProjectName' index: 'enterpriseProjectName'
}, },

View File

@ -826,7 +826,6 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
nzContent: TranAgreementComponent, nzContent: TranAgreementComponent,
nzWidth: 900, nzWidth: 900,
nzFooter: null, nzFooter: null,
nzComponentParams: { type: 'next' }
}); });
modalRef.afterClose.subscribe(result => { modalRef.afterClose.subscribe(result => {
if (result) { if (result) {

View File

@ -1,6 +1,5 @@
<h2 style="text-align: center;">
<h2 > {{ agreement?.agreementName }}
委托运输协议
</h2> </h2>
<div *nzModalFooter> <div *nzModalFooter>
<button nz-button nzType="primary" (click)="handleOk()" >我已阅读并同意签署</button> <button nz-button nzType="primary" (click)="handleOk()" >我已阅读并同意签署</button>

View File

@ -4,12 +4,13 @@
* @Author : Shiming * @Author : Shiming
* @Date : 2022-01-06 15:01:40 * @Date : 2022-01-06 15:01:40
* @LastEditors : Shiming * @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 * @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\components\\tran-agreement\\tran-agreement.component.ts
* Copyright (C) 2022 huzhenhong. All rights reserved. * Copyright (C) 2022 huzhenhong. All rights reserved.
*/ */
import { Component } from '@angular/core'; import { Component } from '@angular/core';
import { NzModalRef } from 'ng-zorro-antd/modal'; import { NzModalRef } from 'ng-zorro-antd/modal';
import { SupplyManagementService } from '../../services/supply-management.service';
@Component({ @Component({
selector: 'publish-goods-tran-agreement', selector: 'publish-goods-tran-agreement',
@ -18,11 +19,19 @@ import { NzModalRef } from 'ng-zorro-antd/modal';
}) })
export class TranAgreementComponent { export class TranAgreementComponent {
type: any; agreement:any;
constructor(private modal: NzModalRef) { 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(){ handleOk(){
this.modal.close(true); this.modal.close(true);
} }

View File

@ -4,7 +4,7 @@
* @Author : Shiming * @Author : Shiming
* @Date : 2021-12-03 11:10:14 * @Date : 2021-12-03 11:10:14
* @LastEditors : Shiming * @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 * @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\services\\supply-management.service.ts
* Copyright (C) 2022 huzhenhong. All rights reserved. * Copyright (C) 2022 huzhenhong. All rights reserved.
*/ */
@ -111,7 +111,8 @@ export class SupplyManagementService extends BaseService {
public $api_getOperationLogRecordsList = '/api/mdc/pbc/operationLogRecords/getOperationLogRecordsList'; public $api_getOperationLogRecordsList = '/api/mdc/pbc/operationLogRecords/getOperationLogRecordsList';
// 获取数据字典 // 获取数据字典
$api_getDictValue = `/api/mdc/pbc/dictItems/getDictValue`; $api_getDictValue = `/api/mdc/pbc/dictItems/getDictValue`;
// 获取协议信息
public $api_getAgreementInfoByType = '/api/mdc/pbc/agreementInfo/getAgreementInfoByType';
/** /**
* 获取车型、车长字典数据 * 获取车型、车长字典数据
* @returns * @returns

View File

@ -199,7 +199,7 @@ export class VehicleComponentsListComponent implements OnInit {
// { title: '', type: 'checkbox', className: 'text-center' }, // { title: '', type: 'checkbox', className: 'text-center' },
{ title: '车牌号', width: '150px', className: 'text-center', index: 'carNo' }, { title: '车牌号', width: '150px', className: 'text-center', index: 'carNo' },
{ title: '车牌颜色', width: '150px', className: 'text-center', index: 'carNoColorLabel' }, { 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: '运营状态', title: '运营状态',
width: '150px', width: '150px',
@ -238,7 +238,7 @@ export class VehicleComponentsListComponent implements OnInit {
3: { text: '已到期', color: 'error' } 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: 'isSelf' },
{ title: '挂靠协议', width: '150px', className: 'text-center', render: 'approvalAuditStatus' }, { title: '挂靠协议', width: '150px', className: 'text-center', render: 'approvalAuditStatus' },
// { title: '是否已备案', className: 'text-center', render: 'putOnRecord', }, // { title: '是否已备案', className: 'text-center', render: 'putOnRecord', },

View File

@ -33,8 +33,8 @@ export class WaybillManagementAbnormalAppearComponent implements OnInit {
columns: STColumn[] = [ columns: STColumn[] = [
{ title: '异常编号', index: 'exceptionCode',width: '180px',className: 'text-left', }, { title: '异常编号', index: 'exceptionCode',width: '180px',className: 'text-left', },
{ title: '关联运单号', index: 'wayBillCode',width: '180px',className: 'text-left', }, { title: '关联运单号', index: 'wayBillCode',width: '180px',className: 'text-left', },
{ title: '网络货运人', index: 'enterpriseInfoName',width: '220px',className: 'text-left', }, { title: '网络货运人', index: 'enterpriseInfoName',width: '250px',className: 'text-left', },
{ title: '货主', index: 'shipperAppUserName' ,width: '220px',className: 'text-left',}, { title: '货主', index: 'shipperAppUserName' ,width: '250px',className: 'text-left',},
{ title: '装货地', index: 'loadingAddressArr' ,width: '220px',className: 'text-left',}, { title: '装货地', index: 'loadingAddressArr' ,width: '220px',className: 'text-left',},
{ title: '卸货地', index: 'unloadingAddressArr' ,width: '220px',className: 'text-left',}, { title: '卸货地', index: 'unloadingAddressArr' ,width: '220px',className: 'text-left',},
{ title: '承运司机', index: 'driver' ,width: '250px',className: 'text-left',}, { title: '承运司机', index: 'driver' ,width: '250px',className: 'text-left',},

View File

@ -304,7 +304,7 @@ export class WaybillManagementVehicleComponent implements OnInit {
{ {
title: '货物信息', title: '货物信息',
className: 'text-left', className: 'text-left',
width: '180px', width: '250px',
render: 'goodsInfos' render: 'goodsInfos'
}, },
{ {