车辆接口更新
This commit is contained in:
		| @ -4,7 +4,7 @@ | ||||
|  * @Author       : Shiming | ||||
|  * @Date         : 2022-01-12 10:52:50 | ||||
|  * @LastEditors  : Shiming | ||||
|  * @LastEditTime : 2022-01-25 17:22:38 | ||||
|  * @LastEditTime : 2022-01-25 20:01:20 | ||||
|  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\insurance-management\\components\\list\\list.component.html | ||||
|  * Copyright (C) 2022 huzhenhong. All rights reserved. | ||||
| --> | ||||
| @ -43,11 +43,9 @@ | ||||
|   <nz-tabset (nzSelectedIndexChange)="selectChange($event)"  | ||||
|   [nzTabBarExtraContent]="extraTemplate"> | ||||
|   <nz-tab [nzTitle]="'全部('+tabs?.totalCount+')'"></nz-tab> | ||||
|   <nz-tab [nzTitle]="'待接单('+tabs?.receivedQuantity+')'"></nz-tab> | ||||
|   <nz-tab [nzTitle]="'待发车('+tabs?.stayQuantity+')'"></nz-tab> | ||||
|   <nz-tab [nzTitle]="'运输中('+tabs?.GoingQuantity+')'"></nz-tab> | ||||
|   <nz-tab [nzTitle]="'待签收('+tabs?.signQuantity+')'"></nz-tab> | ||||
|   <nz-tab [nzTitle]="'已完成('+tabs?.compolatelQuantity+')'"></nz-tab> | ||||
|   <nz-tab [nzTitle]="'待投保('+tabs?.receivedQuantity+')'"></nz-tab> | ||||
|   <nz-tab [nzTitle]="'已投保('+tabs?.stayQuantity+')'"></nz-tab> | ||||
|   <nz-tab [nzTitle]="'投保失败('+tabs?.GoingQuantity+')'"></nz-tab> | ||||
|   <nz-tab [nzTitle]="'已取消('+tabs?.cancelQuantity+')'"></nz-tab> | ||||
| </nz-tabset> | ||||
|   <div style="margin-top: 15px;"> | ||||
| @ -108,7 +106,7 @@ | ||||
| <ng-template #extraTemplate> | ||||
|   <div> | ||||
|     <button  nz-button nzType="primary" > | ||||
| 批量签收 | ||||
| </button>  | ||||
|       保险配置 | ||||
|     </button>  | ||||
|   </div> | ||||
| </ng-template> | ||||
| @ -24,10 +24,6 @@ export class insuranceManagementListComponent implements OnInit { | ||||
|   isVisibleEvaluate = false; | ||||
|   isVisible = false; | ||||
|   _$expand = false; | ||||
|   changeId: any; // 主页面查看运费变更记录id - 用于运费变更记录 | ||||
|   changeViewId: any; // 查看运费变更记录id - 用于查看 | ||||
|   ViewCause: any; // 变更运费查看数据 | ||||
|   sfViewFormData: any; // 变更运费查看的sf 数据 | ||||
|   @ViewChild('st') private readonly st!: STComponent; | ||||
|   @ViewChild('stFloat') private readonly stFloat!: STComponent; | ||||
|   @ViewChild('stFloatView') private readonly stFloatView!: STComponent; | ||||
| @ -57,8 +53,6 @@ export class insuranceManagementListComponent implements OnInit { | ||||
|     cancelQuantity: 0, | ||||
|     receivedQuantity: 0, | ||||
|     stayQuantity: 0, | ||||
|     signQuantity: 0, | ||||
|     compolatelQuantity: 0, | ||||
|     GoingQuantity: 0, | ||||
|     totalCount: 0 | ||||
|   }; | ||||
| @ -91,11 +85,6 @@ export class insuranceManagementListComponent implements OnInit { | ||||
|   get selectedRows() { | ||||
|     return this.st?.list.filter(item => item.checked) || []; | ||||
|   } | ||||
|   get changeParams() { | ||||
|     return { | ||||
|       id: this.changeId | ||||
|     }; | ||||
|   } | ||||
|   search() { | ||||
|     this.st?.load(1); | ||||
|     this.getGoodsSourceStatistical(); | ||||
| @ -105,8 +94,6 @@ export class insuranceManagementListComponent implements OnInit { | ||||
|       cancelQuantity: 0, | ||||
|       receivedQuantity: 0, | ||||
|       stayQuantity: 0, | ||||
|       signQuantity: 0, | ||||
|       compolatelQuantity: 0, | ||||
|       GoingQuantity: 0, | ||||
|       totalCount: 0 | ||||
|     }; | ||||
| @ -328,42 +315,7 @@ export class insuranceManagementListComponent implements OnInit { | ||||
|     }; | ||||
|     this.ui = { '*': { spanLabelFixed: 110, grid: { span: 8, gutter: 4 } } }; | ||||
|   } | ||||
|   /** | ||||
|    * 初始化查询表单 | ||||
|    */ | ||||
|   initSFView() { | ||||
|     this.schemaView = { | ||||
|       properties: { | ||||
|         freightPrice: { | ||||
|           type: 'string', | ||||
|           title: '运费单价' | ||||
|         }, | ||||
|         rule: { | ||||
|           title: '', | ||||
|           type: 'string', | ||||
|           ui: { | ||||
|             widget: 'dict-select', | ||||
|             params: { dictKey: 'goodresource:rounding:rules' }, | ||||
|             visibleIf: { | ||||
|               _$expand: (value: boolean) => value | ||||
|             } | ||||
|           } as SFSelectWidgetSchema | ||||
|         }, | ||||
|         settlementBasis: { | ||||
|           type: 'string', | ||||
|           title: '结算重量', | ||||
|           ui: { | ||||
|             widget: 'dict-select', | ||||
|             params: { dictKey: 'goodresource:settlement:type' }, | ||||
|             visibleIf: { | ||||
|               _$expand: (value: boolean) => value | ||||
|             } | ||||
|           } as SFSelectWidgetSchema | ||||
|         } | ||||
|       } | ||||
|     }; | ||||
|     this.uiView = { '*': { spanLabelFixed: 80, grid: { span: 12, gutter: 4 } } }; | ||||
|   } | ||||
|  | ||||
|  | ||||
|   /** | ||||
|    * 初始化数据列表 | ||||
| @ -372,26 +324,26 @@ export class insuranceManagementListComponent implements OnInit { | ||||
|     this.columns = [ | ||||
|       { title: '', type: 'checkbox', fixed: 'left', width: '50px', className: 'text-center' }, | ||||
|       { | ||||
|         title: '订单号', | ||||
|         title: '投保编号', | ||||
|         width: '180px', | ||||
|         fixed: 'left', | ||||
|         className: 'text-left', | ||||
|         render: 'billCode' | ||||
|       }, | ||||
|       { | ||||
|         title: '运费明细', | ||||
|         title: '保单号', | ||||
|         width: '250px', | ||||
|         className: 'text-right', | ||||
|         render: 'mybidDetailInfo' | ||||
|       }, | ||||
|       { title: '网络货运人', index: 'enterpriseInfoName', width: '220px', className: 'text-left' }, | ||||
|       { title: '货主', index: 'shipperAppUserName', width: '220px', className: 'text-left' }, | ||||
|       { title: '所属项目', index: 'enterpriseProjectName', width: '220px', className: 'text-left' }, | ||||
|       { title: '关联运单号', index: 'wayBillCode', width: '180px', className: 'text-left' }, | ||||
|       { title: '货源编号', index: 'resourceCode', width: '180px', className: 'text-left' }, | ||||
|       { title: '装货地', index: 'loadingAddressArr', width: '180px', className: 'text-left' }, | ||||
|       { title: '类型', index: 'enterpriseInfoName', width: '220px', className: 'text-left' }, | ||||
|       { title: '始发地', index: 'shipperAppUserName', width: '220px', className: 'text-left' }, | ||||
|       { title: '目的地', index: 'enterpriseProjectName', width: '220px', className: 'text-left' }, | ||||
|       { title: '距离', index: 'wayBillCode', width: '180px', className: 'text-left' }, | ||||
|       { title: '保额(元)', index: 'resourceCode', width: '180px', className: 'text-left' }, | ||||
|       { title: '保费(元)', index: 'loadingAddressArr', width: '180px', className: 'text-left' }, | ||||
|       { | ||||
|         title: '卸货地', | ||||
|         title: '实际保费(元)', | ||||
|         className: 'text-left', | ||||
|         width: '180px', | ||||
|         index: 'unloadingAddressArr' | ||||
| @ -403,49 +355,73 @@ export class insuranceManagementListComponent implements OnInit { | ||||
|         render: 'goodsName' | ||||
|       }, | ||||
|       { | ||||
|         title: '运费单价', | ||||
|         title: '车牌号', | ||||
|         className: 'text-right', | ||||
|         width: '180px', | ||||
|         render: 'freightPrice' | ||||
|       }, | ||||
|       { | ||||
|         title: '接单数量', | ||||
|         title: '关联订单号', | ||||
|         className: 'text-right', | ||||
|         index: 'goodsNumber', | ||||
|         width: '180px' | ||||
|       }, | ||||
|       { | ||||
|         title: '结算重量', | ||||
|         title: '货源编号', | ||||
|         className: 'text-right', | ||||
|         index: 'settlementWeight', | ||||
|         width: '150px' | ||||
|       }, | ||||
|       { | ||||
|         title: '承运司机', | ||||
|         title: '网络货运人', | ||||
|         className: 'text-left', | ||||
|         width: '250px', | ||||
|         index: 'driverName', | ||||
|         render: 'driverName' | ||||
|       }, | ||||
|       { | ||||
|         title: '收款人', | ||||
|         title: '货主', | ||||
|         className: 'text-left', | ||||
|         width: '180px', | ||||
|         index: 'payeeName', | ||||
|         render: 'payeeName' | ||||
|       }, | ||||
|       { | ||||
|         title: '装卸货时间', | ||||
|         title: '所属项目', | ||||
|         width: '200px', | ||||
|         className: 'text-left', | ||||
|         render: 'loadingTime' | ||||
|       }, | ||||
|       { | ||||
|         title: '投保时间', | ||||
|         width: '180px', | ||||
|         className: 'text-left', | ||||
|         index: 'createTime' | ||||
|       }, | ||||
|       { | ||||
|         title: '生效时间', | ||||
|         width: '180px', | ||||
|         className: 'text-left', | ||||
|         index: 'createTime' | ||||
|       }, | ||||
|       { | ||||
|         title: '录单时间', | ||||
|         width: '180px', | ||||
|         className: 'text-left', | ||||
|         index: 'createTime' | ||||
|       }, | ||||
|       { | ||||
|         title: '创建时间', | ||||
|         width: '180px', | ||||
|         className: 'text-left', | ||||
|         index: 'createTime' | ||||
|       }, | ||||
|       { | ||||
|         title: '失败原因', | ||||
|         width: '180px', | ||||
|         className: 'text-left', | ||||
|         index: 'createTime' | ||||
|       }, | ||||
|       { | ||||
|         title: '操作', | ||||
|         fixed: 'right', | ||||
| @ -453,71 +429,32 @@ export class insuranceManagementListComponent implements OnInit { | ||||
|         className: 'text-left', | ||||
|         buttons: [ | ||||
|           { | ||||
|             text: '取消订单 ', | ||||
|             text: '再次投保', | ||||
|             click: _record => console.log(''), | ||||
|             iif: item => | ||||
|               item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3' || item.billStatus == '1' | ||||
|             // iif: item => | ||||
|             //   item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3' || item.billStatus == '1' | ||||
|           }, | ||||
|           { | ||||
|             text: '修改订单 ', | ||||
|             text: '查看保单', | ||||
|             click: _record => console.log(''), | ||||
|             // iif: item => | ||||
|             //   item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3' || item.billStatus == '1' | ||||
|           }, | ||||
|           { | ||||
|             text: '退保费', | ||||
|             click: _record => this.changeOrder(_record), | ||||
|             iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3' | ||||
|           } | ||||
|         ] | ||||
|       } | ||||
|     ]; | ||||
|   } | ||||
|   initSTFloat() { | ||||
|     this.columnsFloat = [ | ||||
|       { | ||||
|         title: '序号', | ||||
|         className: 'text-center', | ||||
|         render: 'order' | ||||
|       }, | ||||
|       { | ||||
|         title: '操作时间', | ||||
|         className: 'text-center', | ||||
|         index: 'applyTime' | ||||
|       }, | ||||
|       { | ||||
|         title: '操作人', | ||||
|         className: 'text-center', | ||||
|         index: 'applyUserName' | ||||
|       }, | ||||
|       { title: '状态', index: 'handleStatusLabel', className: 'text-center' }, | ||||
|       { | ||||
|         title: '操作', | ||||
|         fixed: 'right', | ||||
|         className: 'text-left', | ||||
|         buttons: [ | ||||
|           { | ||||
|             text: '查看', | ||||
|             click: _record => console.log('') | ||||
|           }, | ||||
|           // { | ||||
|           //   text: '查看协议', | ||||
|           //   click: (_record, _modal, _instance) => this.view(_record) | ||||
|           // }, | ||||
|           { | ||||
|             text: '撤销', | ||||
|             click: _record => console.log(''), | ||||
|             iif: item => item.handleStatus === '1' || item.handleStatus === 1 | ||||
|           } | ||||
|         ] | ||||
|       } | ||||
|     ]; | ||||
|   } | ||||
|  | ||||
|   /** | ||||
|    * 查询字段个数 | ||||
|    */ | ||||
|   get queryFieldCount(): number { | ||||
|     return Object.keys(this.schema?.properties || {}).length; | ||||
|   } | ||||
|   get changeViewParams() { | ||||
|     return { | ||||
|       id: this.changeViewId | ||||
|     }; | ||||
|   } | ||||
|   /** | ||||
|    * 伸缩查询条件 | ||||
|    */ | ||||
|  | ||||
| @ -117,8 +117,8 @@ | ||||
|  | ||||
|   <nz-card nzTitle="服务信息"> | ||||
|     <sv-container> | ||||
|       <sv label="服务类型"> | ||||
|         {{i?.carrierInformationVO?.serviceTypeLabel}} | ||||
|       <sv label="增值服务套餐"> | ||||
|         {{i?.insuranceType}} | ||||
|       </sv> | ||||
|       <sv label="货物价值"> | ||||
|         {{i?.goodsValue}} | ||||
|  | ||||
| @ -4,7 +4,7 @@ | ||||
|  * @Author       : Shiming | ||||
|  * @Date         : 2021-12-24 15:54:08 | ||||
|  * @LastEditors  : Shiming | ||||
|  * @LastEditTime : 2022-01-25 17:43:07 | ||||
|  * @LastEditTime : 2022-01-25 19:44:15 | ||||
|  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\sys-setting\\components\\network-freight\\network-freight.component.html | ||||
|  * Copyright (C) 2022 huzhenhong. All rights reserved. | ||||
| --> | ||||
| @ -60,6 +60,18 @@ | ||||
|   <ng-template st-row="electronicInvoiceAccount" let-item let-index="index"> | ||||
|     <a href="javascript:;" (click)="setMakeInvoice()">设置</a> | ||||
|   </ng-template> | ||||
|   <ng-template st-row="etcAccount" let-item let-index="index"> | ||||
|     <a href="javascript:;" (click)="setMakeInvoice()">设置</a> | ||||
|   </ng-template> | ||||
|   <ng-template st-row="electronicContractAccount" let-item let-index="index"> | ||||
|     <a href="javascript:;" (click)="setMakeInvoice()">设置</a> | ||||
|   </ng-template> | ||||
|   <ng-template st-row="bankName" let-item let-index="index"> | ||||
|     <a href="javascript:;" (click)="setMakeInvoice()">开通子账户</a> | ||||
|   </ng-template> | ||||
|   <ng-template st-row="virtualAccount" let-item let-index="index"> | ||||
|     <a href="javascript:;" (click)="setMakeInvoice()">开通子账户</a> | ||||
|   </ng-template> | ||||
|   </st> | ||||
| </nz-card> | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user