Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop
This commit is contained in:
		| @ -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' | ||||||
|       }, |       }, | ||||||
|  | |||||||
| @ -412,9 +412,9 @@ export class OrderManagementBulkComponent implements OnInit { | |||||||
|         className: 'text-right', |         className: 'text-right', | ||||||
|         render: 'mybidDetailInfo' |         render: 'mybidDetailInfo' | ||||||
|       }, |       }, | ||||||
|       { 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: 'enterpriseProjectName', width: '220px', className: 'text-left' }, |       { title: '所属项目', index: 'enterpriseProjectName', width: '250px', className: 'text-left' }, | ||||||
|       { title: '关联运单号', index: 'wayBillCode', width: '180px', className: 'text-left' }, |       { title: '关联运单号', index: 'wayBillCode', width: '180px', className: 'text-left' }, | ||||||
|       { title: '货源编号', index: 'resourceCode', width: '180px', className: 'text-left' }, |       { title: '货源编号', index: 'resourceCode', width: '180px', className: 'text-left' }, | ||||||
|       { title: '装货地', index: 'loadingAddressArr', width: '180px', className: 'text-left' }, |       { title: '装货地', index: 'loadingAddressArr', width: '180px', className: 'text-left' }, | ||||||
| @ -477,7 +477,7 @@ export class OrderManagementBulkComponent implements OnInit { | |||||||
|       { |       { | ||||||
|         title: '操作', |         title: '操作', | ||||||
|         fixed: 'right', |         fixed: 'right', | ||||||
|         width: '120px', |         width: '130px', | ||||||
|         className: 'text-left', |         className: 'text-left', | ||||||
|         buttons: [ |         buttons: [ | ||||||
|           { |           { | ||||||
|  | |||||||
| @ -4,7 +4,7 @@ | |||||||
|  * @Author       : Shiming |  * @Author       : Shiming | ||||||
|  * @Date         : 2022-01-12 10:52:50 |  * @Date         : 2022-01-12 10:52:50 | ||||||
|  * @LastEditors  : Shiming |  * @LastEditors  : Shiming | ||||||
|  * @LastEditTime : 2022-02-21 20:16:13 |  * @LastEditTime : 2022-02-24 15:57:34 | ||||||
|  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\receipts-audit\\receipts-audit.component.html |  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\receipts-audit\\receipts-audit.component.html | ||||||
|  * Copyright (C) 2022 huzhenhong. All rights reserved. |  * Copyright (C) 2022 huzhenhong. All rights reserved. | ||||||
| --> | --> | ||||||
| @ -68,14 +68,24 @@ | |||||||
|         {{ item.freightPrice | currency }} |         {{ item.freightPrice | currency }} | ||||||
|       </ng-template> |       </ng-template> | ||||||
|       <ng-template st-row="loadingLadingBillFilePath" let-item let-index="index"> |       <ng-template st-row="loadingLadingBillFilePath" let-item let-index="index"> | ||||||
|         <div> |         <div class="imgBox"> | ||||||
|           <span><img style="height: 60px; padding-right: 5px" [src]="item.loadingLadingBillFilePath" alt="" /></span> |           <div *ngIf="item.loadingLadingBillFilePath"> | ||||||
|           <span><img style="height: 60px" [src]="item.loadingPeopleVehiclesGoodsFilePath" alt="" /></span> |             <app-imagelist style="width: 40px" [imgList]="[item.loadingLadingBillFilePath]"> </app-imagelist> | ||||||
|  |           </div> | ||||||
|  |           <div *ngIf="item.loadingPeopleVehiclesGoodsFilePath"> | ||||||
|  |             <app-imagelist style="width: 40px" [imgList]="[item.loadingPeopleVehiclesGoodsFilePath]"> </app-imagelist> | ||||||
|  |           </div> | ||||||
|         </div> |         </div> | ||||||
|       </ng-template> |       </ng-template> | ||||||
|       <ng-template st-row="unloadingLadingBillFilePath" let-item let-index="index"> |       <ng-template st-row="unloadingLadingBillFilePath" let-item let-index="index"> | ||||||
|         <span><img style="height: 60px; padding-right: 5px" [src]="item.unloadingLadingBillFilePath" alt="" /></span> |         <div class="imgBox"> | ||||||
|         <span><img style="height: 60px" [src]="item.unloadingPeopleVehiclesGoodsFilePath" alt="" /></span> |         <div *ngIf="item.unloadingLadingBillFilePath"> | ||||||
|  |           <app-imagelist style="width: 40px" [imgList]="[item.unloadingLadingBillFilePath]"> </app-imagelist> | ||||||
|  |         </div> | ||||||
|  |         <div *ngIf="item.unloadingPeopleVehiclesGoodsFilePath"> | ||||||
|  |           <app-imagelist style="width: 40px" [imgList]="[item.unloadingPeopleVehiclesGoodsFilePath]"> </app-imagelist> | ||||||
|  |         </div> | ||||||
|  |         </div> | ||||||
|       </ng-template> |       </ng-template> | ||||||
|       <ng-template st-row="loadingTime" let-item let-index="index"> |       <ng-template st-row="loadingTime" let-item let-index="index"> | ||||||
|         <div *ngIf="item?.loadingTime">装 | {{ item?.loadingTime }}</div> |         <div *ngIf="item?.loadingTime">装 | {{ item?.loadingTime }}</div> | ||||||
|  | |||||||
| @ -10,4 +10,13 @@ | |||||||
|           line-height:32px;  |           line-height:32px;  | ||||||
|           background-color: #d7d7d7; |           background-color: #d7d7d7; | ||||||
|      } |      } | ||||||
|  |      ::ng-deep { | ||||||
|  |         .imgBox { | ||||||
|  |           display: flex; | ||||||
|  |           img { | ||||||
|  |               width: 60px !important;  | ||||||
|           } |           } | ||||||
|  |       } | ||||||
|  |       } | ||||||
|  |  } | ||||||
|  |   | ||||||
| @ -277,9 +277,9 @@ export class OrderManagementReceiptsAuditComponent implements OnInit { | |||||||
|         className: 'text-right', |         className: 'text-right', | ||||||
|         render: 'mybidDetailInfo' |         render: 'mybidDetailInfo' | ||||||
|       }, |       }, | ||||||
|       { 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: 'enterpriseProjectName', width: '220px', className: 'text-left' }, |       { title: '所属项目', index: 'enterpriseProjectName', width: '250px', className: 'text-left' }, | ||||||
|       { title: '货源编号', index: 'resourceCode', width: '180px', className: 'text-left' }, |       { title: '货源编号', index: 'resourceCode', width: '180px', className: 'text-left' }, | ||||||
|       { title: '装货地', index: 'loadingAddressArr', width: '180px', className: 'text-left' }, |       { title: '装货地', index: 'loadingAddressArr', width: '180px', className: 'text-left' }, | ||||||
|       { |       { | ||||||
|  | |||||||
| @ -249,7 +249,7 @@ export class OrderManagementRiskComponent implements OnInit { | |||||||
|         index: 'abnormalCause' |         index: 'abnormalCause' | ||||||
|       }, |       }, | ||||||
|       { title: '托运人', index: 'shipperName', width: '200px', className: 'text-left' }, |       { title: '托运人', index: 'shipperName', width: '200px', className: 'text-left' }, | ||||||
|       { title: '网络货运人', index: 'enterpriseInfoName', width: '220px', className: 'text-left' }, |       { title: '网络货运人', index: 'enterpriseInfoName', width: '250px', className: 'text-left' }, | ||||||
|       { |       { | ||||||
|         title: '运费明细', |         title: '运费明细', | ||||||
|         className: 'text-right', |         className: 'text-right', | ||||||
| @ -295,7 +295,7 @@ export class OrderManagementRiskComponent implements OnInit { | |||||||
|       { |       { | ||||||
|         title: '运输信息', |         title: '运输信息', | ||||||
|         className: 'text-left', |         className: 'text-left', | ||||||
|         width: '200px', |         width: '280px', | ||||||
|         render: 'timeer' |         render: 'timeer' | ||||||
|       }, |       }, | ||||||
|       { |       { | ||||||
|  | |||||||
| @ -365,8 +365,8 @@ resourceStatus: any; | |||||||
|         className: 'text-right', |         className: 'text-right', | ||||||
|         render: 'mybidDetailInfo', |         render: 'mybidDetailInfo', | ||||||
|       }, |       }, | ||||||
|       { 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: 'wayBillCode', width: '170px', className: 'text-left' }, |       { title: '关联运单号', index: 'wayBillCode', width: '170px', className: 'text-left' }, | ||||||
|       { title: '货源编号', index: 'resourceCode', width: '170px', className: 'text-left' }, |       { title: '货源编号', index: 'resourceCode', width: '170px', className: 'text-left' }, | ||||||
|       { title: '装货地', index: 'loadingAddressArr', width: '180px', className: 'text-left' }, |       { title: '装货地', index: 'loadingAddressArr', width: '180px', className: 'text-left' }, | ||||||
| @ -408,7 +408,7 @@ resourceStatus: any; | |||||||
|       { |       { | ||||||
|         title: '操作', |         title: '操作', | ||||||
|         fixed: 'right', |         fixed: 'right', | ||||||
|         width: '120px', |         width: '130px', | ||||||
|         className: 'text-left', |         className: 'text-left', | ||||||
|         buttons: [ |         buttons: [ | ||||||
|           |           | ||||||
|  | |||||||
| @ -140,7 +140,7 @@ export class SupplyManagementBulkPublishComponent implements OnInit { | |||||||
|           } |           } | ||||||
|         }, |         }, | ||||||
|         deadlineTime: { |         deadlineTime: { | ||||||
|           title: '截止日期', |           title: '有效期', | ||||||
|           type: 'string', |           type: 'string', | ||||||
|           format: 'date-time', |           format: 'date-time', | ||||||
|           ui: { |           ui: { | ||||||
| @ -156,7 +156,7 @@ export class SupplyManagementBulkPublishComponent implements OnInit { | |||||||
|             }, |             }, | ||||||
|             validator: (val) => { |             validator: (val) => { | ||||||
|                 if( new Date(val) <new Date()){ |                 if( new Date(val) <new Date()){ | ||||||
|                   return [{ keyword: 'validTime', message: '截止日期需大于当前时间' }]; |                   return [{ keyword: 'validTime', message: '有效期时间需大于当前时间' }]; | ||||||
|                 } |                 } | ||||||
|                 return []; |                 return []; | ||||||
|             }, |             }, | ||||||
|  | |||||||
| @ -163,7 +163,7 @@ export class SupplyManagementBulkReleasePublishComponent implements OnInit { | |||||||
|           } |           } | ||||||
|         }, |         }, | ||||||
|         deadlineTime: { |         deadlineTime: { | ||||||
|           title: '截止日期', |           title: '有效期', | ||||||
|           type: 'string', |           type: 'string', | ||||||
|           format: 'date-time', |           format: 'date-time', | ||||||
|           ui: { |           ui: { | ||||||
| @ -179,7 +179,7 @@ export class SupplyManagementBulkReleasePublishComponent implements OnInit { | |||||||
|             }, |             }, | ||||||
|             validator: (val) => { |             validator: (val) => { | ||||||
|                 if( new Date(val) <new Date()){ |                 if( new Date(val) <new Date()){ | ||||||
|                   return [{ keyword: 'validTime', message: '截止日期需大于当前时间' }]; |                   return [{ keyword: 'validTime', message: '有效期时间需大于当前时间' }]; | ||||||
|                 } |                 } | ||||||
|                 return []; |                 return []; | ||||||
|             }, |             }, | ||||||
|  | |||||||
| @ -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) { | ||||||
|  | |||||||
| @ -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> | ||||||
|  | |||||||
| @ -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); | ||||||
|   } |   } | ||||||
|  | |||||||
| @ -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 | ||||||
|  | |||||||
| @ -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', }, | ||||||
|  | |||||||
| @ -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',}, | ||||||
|  | |||||||
| @ -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' | ||||||
|       }, |       }, | ||||||
|       { |       { | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user