diff --git a/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.html b/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.html index 650f11fa..8816ed4d 100644 --- a/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.html +++ b/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.html @@ -36,7 +36,7 @@
- +
diff --git a/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.ts b/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.ts index 69227c4a..7c49fdab 100644 --- a/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.ts +++ b/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.ts @@ -171,6 +171,7 @@ export class AbnormalGoldComponent extends BasicTableComponent implements OnInit buttons: [ { text: '查看', + acl: { ability: ['FINANCIAL-ABNORMAL-view'] }, click: item => this.router.navigate(['/financial-management/abnormal-gold/detail/' + item.id]) } ] diff --git a/src/app/routes/financial-management/components/platform-account/platform-account.component.ts b/src/app/routes/financial-management/components/platform-account/platform-account.component.ts index 3c7c0268..eae0db6f 100644 --- a/src/app/routes/financial-management/components/platform-account/platform-account.component.ts +++ b/src/app/routes/financial-management/components/platform-account/platform-account.component.ts @@ -207,6 +207,7 @@ export class PlatformAccountComponent extends BasicTableComponent implements OnI { text: '提现', click: item => this.withdraw(item), + acl: { ability: ['FINANCIAL-PLATFORM-withdraw'] }, iif: _record => _record.bankType !== '1' }, // { @@ -216,6 +217,7 @@ export class PlatformAccountComponent extends BasicTableComponent implements OnI { text: '查看银行卡', click: item => this.viewBankcard(item), + acl: { ability: ['FINANCIAL-PLATFORM-viewBankcard'] }, iif: _record => _record.bankType !== '1' } ] diff --git a/src/app/routes/financial-management/components/transaction-flow/transaction-flow.component.html b/src/app/routes/financial-management/components/transaction-flow/transaction-flow.component.html index 84e9be34..352e338e 100644 --- a/src/app/routes/financial-management/components/transaction-flow/transaction-flow.component.html +++ b/src/app/routes/financial-management/components/transaction-flow/transaction-flow.component.html @@ -25,7 +25,7 @@
- +
item.tradeType !== '9' && item.tradeType !== '10', + acl: { ability: ['FINANCIAL-TRANSACTION-receiptApply'] }, click: item => this.service.getReceiptUrl(item.receiptUrl, { bankType: item.bankType, diff --git a/src/app/routes/financial-management/components/withdrawals-record/withdrawals-record.component.ts b/src/app/routes/financial-management/components/withdrawals-record/withdrawals-record.component.ts index 8d9625a0..84337b23 100644 --- a/src/app/routes/financial-management/components/withdrawals-record/withdrawals-record.component.ts +++ b/src/app/routes/financial-management/components/withdrawals-record/withdrawals-record.component.ts @@ -251,10 +251,12 @@ export class WithdrawalsRecordComponent extends BasicTableComponent { { text: '审核', iif: item => item.refundStatus === '1', + acl: { ability: ['FINANCIAL-WITHDRAWALS-audit'] }, click: item => this.auditAction(item) }, { text: '详情
', + acl: { ability: ['FINANCIAL-WITHDRAWALS-view'] }, click: item => this.router.navigate([`/financial-management/withdrawals-record/detail/${item.id}`], { queryParams: { type: item.accountType } @@ -262,6 +264,7 @@ export class WithdrawalsRecordComponent extends BasicTableComponent { }, { text: '查看回单', + acl: { ability: ['FINANCIAL-WITHDRAWALS-receiptApply'] }, iif: item => item.refundStatus === '3', click: item => this.service.getReceiptUrl(item.receiptUrl, { diff --git a/src/app/routes/financial-management/financial-managemen-routing.module.ts b/src/app/routes/financial-management/financial-managemen-routing.module.ts index 07e9f0d6..0d75969b 100644 --- a/src/app/routes/financial-management/financial-managemen-routing.module.ts +++ b/src/app/routes/financial-management/financial-managemen-routing.module.ts @@ -55,7 +55,7 @@ const routes: Routes = [ data: { guard: { ability: ['FINANCIAL-PLATFORM-DETAIL-detail'] } } }, { path: 'recharge-record', component: RechargeRecordComponent, data: { guard: { ability: ['FINANCIAL-RECHARGE-list'] } } }, - { path: 'withdrawals-record', component: WithdrawalsRecordComponent }, + { path: 'withdrawals-record', component: WithdrawalsRecordComponent, data: { guard: { ability: ['FINANCIAL-WITHDRAWALS-list'] } } }, { path: 'withdrawals-record/detail/:id', component: WithdrawalsDetailComponent }, { path: 'refund-record', component: RefundRecordComponent }, { path: 'voucher-management', component: VoucherManagementComponent, data: { guard: { ability: ['FINANCIAL-VOUCHER-list'] } } }, @@ -72,10 +72,10 @@ const routes: Routes = [ }, { path: 'cost-management/expenses-receivable/:id', component: ExpensesReceivableComponent }, { path: 'cost-management/expenses-payable/:id', component: ExpensesPayableComponent }, - { path: 'abnormal-gold', component: AbnormalGoldComponent }, + { path: 'abnormal-gold', component: AbnormalGoldComponent , data: { guard: { ability: ['FINANCIAL-ABNORMAL-list'] } } }, { path: 'abnormal-gold/detail/:id', component: AbnormalGoldDetailComponent }, { path: 'payment-record', component: PaymentRecordComponent }, - { path: 'transaction-flow', component: TransactionFlowComponent }, + { path: 'transaction-flow', component: TransactionFlowComponent , data: { guard: { ability: ['FINANCIAL-TRANSACTION-list'] } } }, { path: 'payment-order', component: PaymentOrderComponent, data: { guard: { ability: ['FINANCIAL-PAYMENT-ORDER-list'] } } }, { path: 'payment-order/detail/:id', component: PaymentOrderDetailComponent }, { path: 'receipt-order', component: ReceiptOrderComponent, data: { guard: { ability: ['FINANCIAL-RECEIPT-list'] } } }, diff --git a/src/app/routes/order-management/components/abnormal-warning/abnormal-warning.component.html b/src/app/routes/order-management/components/abnormal-warning/abnormal-warning.component.html index 26129d7a..e5312e5c 100644 --- a/src/app/routes/order-management/components/abnormal-warning/abnormal-warning.component.html +++ b/src/app/routes/order-management/components/abnormal-warning/abnormal-warning.component.html @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2022-01-12 10:52:50 * @LastEditors : Shiming - * @LastEditTime : 2022-04-08 16:34:26 + * @LastEditTime : 2022-04-29 10:41:20 * @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\abnormal-warning\\abnormal-warning.component.html * Copyright (C) 2022 huzhenhong. All rights reserved. --> @@ -35,25 +35,27 @@
- - + +
- - - + [page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }" + [loading]="false" + > -
{{ item?.driverName }}{{ item?.driverPhone ? "/" + item?.driverPhone : '' }}
+
{{ item?.driverName }}{{ item?.driverPhone ? '/' + item?.driverPhone : '' }}
-
{{ item?.longitude }} - {{ item?.latitude ? "," + item?.latitude : '' }}
+
{{ item?.longitude }} {{ item?.latitude ? ',' + item?.latitude : '' }}
@@ -118,7 +118,7 @@
- + diff --git a/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.html b/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.html index f97c7974..77d86ed1 100644 --- a/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.html +++ b/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.html @@ -214,58 +214,74 @@ i?.payeePhone : '' }}/{{ i?.payeeIdNo }}
- -
- - 附件信息 +
+
+ +
+ + 附件信息 +
+
+ + + 查看附件      + 补充协议 + + + + + + + + + + + + +
+
- - - 查看附件      - 补充协议 - - - - - - - - - - - - - -
- - 补充信息 +
+ +
+ + 补充信息 +
+
+ + + {{ i?.supplementaryInformationVO?.stateReceipt ? '是' : '否' }} + + + {{ i?.supplementaryInformationVO?.receiptType === '1' ? '电子回单' : '纸质回单' }} + + + + {{ i?.supplementaryInformationVO?.receiptUserName }} / {{ i?.supplementaryInformationVO?.phon }} + + + {{ i?.supplementaryInformationVO?.area }} + + + {{ i?.supplementaryInformationVO?.address }} + + + + {{ i?.goodsResource?.remarks }} + + + + + +
+
- - - {{ i?.supplementaryInformationVO?.stateReceipt ? '是' : '否' }} - - - {{ i?.supplementaryInformationVO?.receiptType === '1' ? '电子回单' : '纸质回单' }} - - - {{ i?.supplementaryInformationVO?.receiptUserName }} / {{ i?.supplementaryInformationVO?.phon }} - - - {{ i?.supplementaryInformationVO?.area }} - - - {{ i?.supplementaryInformationVO?.address }} - - - - - - - - {{ i?.goodsResource?.remarks }} - - - +

| 轨迹信息

diff --git a/src/app/routes/order-management/order-management-routing.module.ts b/src/app/routes/order-management/order-management-routing.module.ts index ed12435c..709d45b0 100644 --- a/src/app/routes/order-management/order-management-routing.module.ts +++ b/src/app/routes/order-management/order-management-routing.module.ts @@ -1,10 +1,10 @@ /* - * @Description : + * @Description : * @Version : 1.0 * @Author : Shiming * @Date : 2022-01-06 09:24:00 * @LastEditors : Shiming - * @LastEditTime : 2022-04-28 20:50:36 + * @LastEditTime : 2022-04-29 10:41:21 * @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\order-management-routing.module.ts * Copyright (C) 2022 huzhenhong. All rights reserved. */ @@ -25,22 +25,34 @@ import { OrderManagementVehicleDetailComponent } from './components/vehicle-deta import { OrderManagementVehicleComponent } from './components/vehicle/vehicle.component'; const routes: Routes = [ - { path: 'vehicle', component: OrderManagementVehicleComponent }, - { path: 'vehicle/vehicle-detail/:id', component: OrderManagementVehicleDetailComponent }, + { path: 'vehicle', component: OrderManagementVehicleComponent, data: { guard: { ability: ['ORDER-VEHICLE-search'] } } }, + { + path: 'vehicle/vehicle-detail/:id', + component: OrderManagementVehicleDetailComponent, + data: { guard: { ability: ['ORDER-VEHICLE-DETAIL-search'] } } + }, { path: 'vehicle-detailChange/:id', component: OrderManagementVehicleDetailChangeComponent }, - { path: 'bulk', component: OrderManagementBulkComponent }, - { path: 'bulk/bulk-detail/:id', component: OrderManagementBulkeDetailComponent }, + { path: 'bulk', component: OrderManagementBulkComponent, data: { guard: { ability: ['ORDER-BULK-search'] } } }, + { + path: 'bulk/bulk-detail/:id', + component: OrderManagementBulkeDetailComponent, + data: { guard: { ability: ['ORDER-BULK-DETAIL-search'] } } + }, { path: 'bulk-detailChange/:id', component: OrderManagementBulkDetailChangeComponent }, - { path: 'risk', component: OrderManagementRiskComponent }, + { path: 'risk', component: OrderManagementRiskComponent, data: { guard: { ability: ['ORDER-RISK-search'] } } }, { path: 'risk-detail/:id', component: OrderManagementRiskDetailComponent }, - { path: 'complaint', component: OrderManagementComplaintComponent }, + { path: 'complaint', component: OrderManagementComplaintComponent, data: { guard: { ability: ['ORDER-COMPLAINT-search'] } } }, { path: 'complaint-detail/:id', component: OrderManagementComplaintDetailComponent }, - { path: 'receipts-audit', component: OrderManagementReceiptsAuditComponent }, - { path: 'compliance-audit', component: OrderManagementComplianceAuditComponent }, - { path: 'abnormal-warning', component: OrderManagementAbnormalWarningComponent }, -] + { path: 'receipts-audit', component: OrderManagementReceiptsAuditComponent, data: { guard: { ability: ['ORDER-RECEIPTS-search'] } } }, + { + path: 'compliance-audit', + component: OrderManagementComplianceAuditComponent, + data: { guard: { ability: ['ORDER-COMPLIANCE-AUDIT-search'] } } + }, + { path: 'abnormal-warning', component: OrderManagementAbnormalWarningComponent, data: { guard: { ability: ['ORDER-ABNORMAL-search'] } } } +]; @NgModule({ imports: [RouterModule.forChild(routes)], exports: [RouterModule] }) -export class OrderManagementRoutingModule { } +export class OrderManagementRoutingModule {} diff --git a/src/app/routes/sys-setting/components/network-freight/network-freight.component.html b/src/app/routes/sys-setting/components/network-freight/network-freight.component.html index 50da782f..e234be75 100644 --- a/src/app/routes/sys-setting/components/network-freight/network-freight.component.html +++ b/src/app/routes/sys-setting/components/network-freight/network-freight.component.html @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2021-12-24 15:54:08 * @LastEditors : Shiming - * @LastEditTime : 2022-03-24 11:10:44 + * @LastEditTime : 2022-04-29 10:20:21 * @FilePath : \\tms-obc-web\\src\\app\\routes\\sys-setting\\components\\network-freight\\network-freight.component.html * Copyright (C) 2022 huzhenhong. All rights reserved. --> @@ -48,7 +48,7 @@
- +
', - click: item => this.creat(item) + click: item => this.creat(item), + acl: { ability: ['SYSTEM-NETWORK-FREIGHT-basicSetting'] }, }, { text: '财务设置
', - click: item => this.ticket(item) + click: item => this.ticket(item), + acl: { ability: ['SYSTEM-NETWORK-FREIGHT-finanical'] }, }, { text: '充值账户
', - click: item => this.settingPay(item) + click: item => this.settingPay(item), + acl: { ability: ['SYSTEM-NETWORK-FREIGHT-TOPUP'] }, }, { text: '应用设置
', - click: item => this.settingApp(item) + click: item => this.settingApp(item), + acl: { ability: ['SYSTEM-NETWORK-FREIGHT-APPLY'] }, }, { text: '系统配置
', - click: item => this.settingAction(item) + click: item => this.settingAction(item), + acl: { ability: ['SYSTEM-NETWORK-FREIGHT-SYSTEMCONFIG'] }, }, // { // text: '合同设置', diff --git a/src/app/routes/sys-setting/components/network-freight/new/new.component.html b/src/app/routes/sys-setting/components/network-freight/new/new.component.html index d509f252..ad77da91 100644 --- a/src/app/routes/sys-setting/components/network-freight/new/new.component.html +++ b/src/app/routes/sys-setting/components/network-freight/new/new.component.html @@ -8,7 +8,12 @@ * @FilePath : \\tms-obc-web\\src\\app\\routes\\sys-setting\\components\\network-freight\\new\\new.component.html * Copyright (C) 2022 huzhenhong. All rights reserved. --> - + + + @@ -17,15 +22,13 @@
正面照
示例
-
+
-
-
- 请上传道运证照片,支持JPG、PNG格式,文件小于5M。蓝牌绿牌车辆,可不用传道运证 -
-
+
+
请上传道运证照片,支持JPG、PNG格式,文件小于5M。蓝牌绿牌车辆,可不用传道运证
+
@@ -42,14 +45,14 @@ -
营业执照法人信息
+
营业执照法人信息
-
道运证信息
+
道运证信息
- +
请上传身份证原件的高清照片,若上传复印件,则需申请人签字;
@@ -83,7 +86,7 @@
- +
- \ No newline at end of file + diff --git a/src/app/routes/sys-setting/components/network-freight/new/new.component.ts b/src/app/routes/sys-setting/components/network-freight/new/new.component.ts index 70658250..b8736ed2 100644 --- a/src/app/routes/sys-setting/components/network-freight/new/new.component.ts +++ b/src/app/routes/sys-setting/components/network-freight/new/new.component.ts @@ -180,14 +180,8 @@ export class NetworkFreightNewComponent implements OnInit { if (this.sf1.value.isLoingDate) { this.sf1.value.operatingEndTime = ''; } - console.log(this.sf1.value); - console.log(this.sf1.valid); - console.log(this.sf?.value); - console.log(this.sf.valid); const sfVlaue = this.sf1.value; const params: any = {}; - console.log(this.sf1.value); - Object.assign(params, { ...this.sf?.value, enterpriseInfoDTO: { @@ -203,7 +197,6 @@ export class NetworkFreightNewComponent implements OnInit { roadTransportLicenceNo: this.sf1.value.legalPersonIdentityVO.roadTransportLicenceNo, //道路运输照片 }); delete params.enterpriseInfoDTO.legalPersonIdentityVO; - console.log(params); params.enterpriseInfoDTO.enterpriseAddressCode = this.sf1.value?.enterpriseAddressCode?.[2]; if (this.route.snapshot.params.id !== 'undefined') { params.id = this.route.snapshot.params.id; diff --git a/src/app/routes/ticket-management/components/cancellation-invoice/cancellation-invoice.component.ts b/src/app/routes/ticket-management/components/cancellation-invoice/cancellation-invoice.component.ts index 3fa501f9..c347a1be 100644 --- a/src/app/routes/ticket-management/components/cancellation-invoice/cancellation-invoice.component.ts +++ b/src/app/routes/ticket-management/components/cancellation-invoice/cancellation-invoice.component.ts @@ -392,6 +392,7 @@ export class CancellationInvoiceComponent implements OnInit { { type: 'divider' }, { text: '查看明细
', + acl: { ability: ['TICKET-CANCELLATION-view'] }, click: item => this.router.navigate(['ticket/cancellation-invoice/detail/' + item.id], { queryParams: { type: 1, expressno: item.expressno, ltdId: item.shipperId } @@ -399,11 +400,13 @@ export class CancellationInvoiceComponent implements OnInit { }, { text: '销货清单
', + acl: { ability: ['TICKET-CANCELLATION-downLoadDetail'] }, iif: item => item.isdetail, click: item => this.downLoadDetail(item) }, { text: '手工开票
', + acl: { ability: ['TICKET-CANCELLATION-apply'] }, iif: item => item.sts != '3' && item.sts != '4' , click: item => this.requestedAction(item) } diff --git a/src/app/routes/ticket-management/components/etc-blacklist/etc-blacklist.component.html b/src/app/routes/ticket-management/components/etc-blacklist/etc-blacklist.component.html index 94d5cf5f..454341fe 100644 --- a/src/app/routes/ticket-management/components/etc-blacklist/etc-blacklist.component.html +++ b/src/app/routes/ticket-management/components/etc-blacklist/etc-blacklist.component.html @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2022-04-06 10:57:56 * @LastEditors : Shiming - * @LastEditTime : 2022-04-09 17:07:02 + * @LastEditTime : 2022-04-29 14:34:09 * @FilePath : \\tms-obc-web\\src\\app\\routes\\ticket-management\\components\\etc-blacklist\\etc-blacklist.component.html * Copyright (C) 2022 huzhenhong. All rights reserved. --> @@ -28,17 +28,17 @@ >
- + - +
- - + +
已选择 {{ selectedRows.length }} 条数据 diff --git a/src/app/routes/ticket-management/components/etc-invoiced-list/etc-invoiced-list.component.html b/src/app/routes/ticket-management/components/etc-invoiced-list/etc-invoiced-list.component.html index daaaf323..407dba23 100644 --- a/src/app/routes/ticket-management/components/etc-invoiced-list/etc-invoiced-list.component.html +++ b/src/app/routes/ticket-management/components/etc-invoiced-list/etc-invoiced-list.component.html @@ -1,3 +1,13 @@ + @@ -11,7 +21,7 @@
- + - + - + +
已选择 {{ selectedRows.length }} 条运单 diff --git a/src/app/routes/ticket-management/components/express-info/express-info.component.html b/src/app/routes/ticket-management/components/express-info/express-info.component.html index e19f3d85..ec192d9d 100644 --- a/src/app/routes/ticket-management/components/express-info/express-info.component.html +++ b/src/app/routes/ticket-management/components/express-info/express-info.component.html @@ -17,7 +17,7 @@
- +
diff --git a/src/app/routes/ticket-management/components/express-info/express-info.component.ts b/src/app/routes/ticket-management/components/express-info/express-info.component.ts index c5d9659a..1cbf2974 100644 --- a/src/app/routes/ticket-management/components/express-info/express-info.component.ts +++ b/src/app/routes/ticket-management/components/express-info/express-info.component.ts @@ -1,3 +1,13 @@ +/* + * @Description : + * @Version : 1.0 + * @Author : Shiming + * @Date : 2022-04-28 20:27:22 + * @LastEditors : Shiming + * @LastEditTime : 2022-04-29 14:14:59 + * @FilePath : \\tms-obc-web\\src\\app\\routes\\ticket-management\\components\\express-info\\express-info.component.ts + * Copyright (C) 2022 huzhenhong. All rights reserved. + */ import { Component, OnInit, ViewChild } from '@angular/core'; import { STComponent, STColumn, STChange, STRequestOptions } from '@delon/abc/st'; import { SFComponent, SFDateWidgetSchema, SFSchema } from '@delon/form'; @@ -49,6 +59,7 @@ export class ExpressInfoComponent implements OnInit { width: 120, type: 'link', click: (record: any) => this.showDetail(record.expressCode), + acl: { ability: ['TICKET-EXPRESS-INFO-expressInvoices'] }, className: 'text-right' }, { title: '寄件人姓名', index: 'sname', width: 150 }, diff --git a/src/app/routes/ticket-management/components/input-invoice/input-invoice.component.html b/src/app/routes/ticket-management/components/input-invoice/input-invoice.component.html index 5c6ac9d3..d016b77f 100644 --- a/src/app/routes/ticket-management/components/input-invoice/input-invoice.component.html +++ b/src/app/routes/ticket-management/components/input-invoice/input-invoice.component.html @@ -12,7 +12,7 @@ [class.expend-options]="_$expand"> - + +
已选择 {{ selectedRows.length }} 张发票 diff --git a/src/app/routes/ticket-management/components/input-invoice/input-invoice.component.ts b/src/app/routes/ticket-management/components/input-invoice/input-invoice.component.ts index 5dc512c0..54322cb9 100644 --- a/src/app/routes/ticket-management/components/input-invoice/input-invoice.component.ts +++ b/src/app/routes/ticket-management/components/input-invoice/input-invoice.component.ts @@ -256,10 +256,12 @@ export class InputInvoiceComponent implements OnInit { buttons: [ { text: '浏览', + acl: { ability: ['TICKET-INPUT-INVOICE-view'] }, click: item => this.router.navigate(['/ticket/input-invoice/detail/' + item.id]) }, { text: '修改', + acl: { ability: ['TICKET-INPUT-INVOICE-edit'] }, click: item => this.router.navigate(['/ticket/input-invoice/edit/1']) } ] diff --git a/src/app/routes/ticket-management/components/invoice-requested/invoice-requested.component.html b/src/app/routes/ticket-management/components/invoice-requested/invoice-requested.component.html index 8b2f989e..f88880f2 100644 --- a/src/app/routes/ticket-management/components/invoice-requested/invoice-requested.component.html +++ b/src/app/routes/ticket-management/components/invoice-requested/invoice-requested.component.html @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2022-01-21 15:39:30 * @LastEditors : Shiming - * @LastEditTime : 2022-01-26 09:36:07 + * @LastEditTime : 2022-04-29 13:55:16 * @FilePath : \\tms-obc-web\\src\\app\\routes\\ticket-management\\components\\invoice-requested\\invoice-requested.component.html * Copyright (C) 2022 huzhenhong. All rights reserved. --> @@ -20,7 +20,7 @@
- +
- + + (click)="this.rejectAction(selectedRows)" acl [acl-ability]="['TICKET-INVOICE-REQUESTED-reject']">驳回 - + (click)="changeAddress(selectedRows)" acl [acl-ability]="['VEHICLE-LIST-search']">修改地址 +
diff --git a/src/app/routes/ticket-management/components/invoice-requested/invoice-requested.component.ts b/src/app/routes/ticket-management/components/invoice-requested/invoice-requested.component.ts index ca3afe4d..cce37763 100644 --- a/src/app/routes/ticket-management/components/invoice-requested/invoice-requested.component.ts +++ b/src/app/routes/ticket-management/components/invoice-requested/invoice-requested.component.ts @@ -513,25 +513,30 @@ export class InvoiceRequestedComponent { { text: '开票受理
', click: item => this.requestedInvoiceAction(item), + acl: { ability: ['TICKET-INVOICE-REQUESTED-requestedInvoiceAction'] }, iif: item => item.sts === '1' }, { text: '驳回申请
', click: item => this.rejectAction([item]), + acl: { ability: ['TICKET-INVOICE-REQUESTED-rejectAction'] }, iif: item => item.sts === '1' }, { text: '订单明细
', + acl: { ability: ['TICKET-INVOICE-REQUESTED-detail'] }, click: item => this.router.navigate([`/ticket/invoice-requested/detail/${item?.id}`], { queryParams: { sts: item.sts } }) }, { text: '查看原因
', click: item => this.showReason(item), + acl: { ability: ['TICKET-INVOICE-REQUESTED-viewResult'] }, iif: item => item.sts === '4' }, { text: '下载对账单', iif: item => item.sts === '3', + acl: { ability: ['TICKET-INVOICE-REQUESTED-downloadPDF'] }, click: item => this.downloadPdf(item) } ] diff --git a/src/app/routes/ticket-management/components/invoiced-list/invoiced-list.component.ts b/src/app/routes/ticket-management/components/invoiced-list/invoiced-list.component.ts index e818fdd1..dd85d9da 100644 --- a/src/app/routes/ticket-management/components/invoiced-list/invoiced-list.component.ts +++ b/src/app/routes/ticket-management/components/invoiced-list/invoiced-list.component.ts @@ -347,6 +347,7 @@ export class InvoicedListComponent implements OnInit { { type: 'divider' }, { text: '查看明细
', + acl: { ability: ['TICKET-INVOICE-LIST-view'] }, click: item => this.router.navigate(['/ticket/invoice-list/detail/' + item.id], { queryParams: { expressno: item.expressno, type: 2, ltdId: item.shipperId } @@ -354,26 +355,31 @@ export class InvoicedListComponent implements OnInit { }, { text: '取消开票
', + acl: { ability: ['TICKET-INVOICE-LIST-canceInvoice'] }, click: item => this.canceInvoice(item), iif: item => item.sts === '1' }, { text: '发票作废
', + acl: { ability: ['TICKET-INVOICE-LIST-deletedInvoice'] }, click: item => this.deletedInvoice(item), iif: item => item.sts === '3' }, { text: '查看物流
', + acl: { ability: ['TICKET-INVOICE-LIST-showExpress'] }, click: item => this.showlogosticsLogs(item), iif: item => item.expresscompany }, { text: '填写物流
', + acl: { ability: ['TICKET-INVOICE-LIST-writeExpress'] }, click: item => this.requestedAction(item), iif: item => !item.expresscompany }, { text: '修改物流
', + acl: { ability: ['TICKET-INVOICE-LIST-updateExpress'] }, click: item => this.requestedAction(item), iif: item => item.expresscompany } diff --git a/src/app/routes/ticket-management/ticket-management-routing.module.ts b/src/app/routes/ticket-management/ticket-management-routing.module.ts index 51369dec..fa616e5c 100644 --- a/src/app/routes/ticket-management/ticket-management-routing.module.ts +++ b/src/app/routes/ticket-management/ticket-management-routing.module.ts @@ -1,3 +1,13 @@ +/* + * @Description : + * @Version : 1.0 + * @Author : Shiming + * @Date : 2022-04-28 20:27:08 + * @LastEditors : Shiming + * @LastEditTime : 2022-04-29 14:40:29 + * @FilePath : \\tms-obc-web\\src\\app\\routes\\ticket-management\\ticket-management-routing.module.ts + * Copyright (C) 2022 huzhenhong. All rights reserved. + */ import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { BillingOrderComponent } from './components/billing-order/billing-order.component'; @@ -16,21 +26,21 @@ import { InvoiceRequestedComponent } from './components/invoice-requested/invoic import { InvoicedListComponent } from './components/invoiced-list/invoiced-list.component'; const routes: Routes = [ - { path: 'invoice-requested', component: InvoiceRequestedComponent }, + { path: 'invoice-requested', component: InvoiceRequestedComponent, data: { guard: { ability: ['TICKET-INVOICE-REQUESTED-list'] } } }, { path: 'invoice-requested/detail/:id', component: InvoiceRequestedDetailComponent }, - { path: 'invoice-list', component: InvoicedListComponent }, + { path: 'invoice-list', component: InvoicedListComponent , data: { guard: { ability: ['TICKET-INVOICE-LIST-list'] } }}, { path: 'invoice-list/detail/:id', component: InvoiceDetailComponent }, - { path: 'cancellation-invoice', component: CancellationInvoiceComponent }, + { path: 'cancellation-invoice', component: CancellationInvoiceComponent , data: { guard: { ability: ['TICKET-CANCELLATION-list'] } }}, { path: 'cancellation-invoice/detail/:id', component: InvoiceDetailComponent }, - { path: 'etc-invoice-requested', component: ETCInvoicedRequestedComponent }, - { path: 'etc-invoice-list', component: ETCInvoicedListComponent }, - { path: 'etc-invoiced-logs', component: ETCInvoicedLogsComponent }, - { path: 'etc-blacklist', component: ETCBlacklistComponent }, - { path: 'input-invoice', component: InputInvoiceComponent }, + { path: 'etc-invoice-requested', component: ETCInvoicedRequestedComponent , data: { guard: { ability: ['TICKET-ETC-INVOICE-REQUESTED-list'] } } }, + { path: 'etc-invoice-list', component: ETCInvoicedListComponent, data: { guard: { ability: ['TICKET-ETC-INVOICE-LIST-list'] } } }, + { path: 'etc-invoiced-logs', component: ETCInvoicedLogsComponent , data: { guard: { ability: ['TICKET-ETC-INVOICE-LOGS-list'] } }}, + { path: 'etc-blacklist', component: ETCBlacklistComponent , data: { guard: { ability: ['TICKET-ETC-BLACK_LIST-freightList'] } }}, + { path: 'input-invoice', component: InputInvoiceComponent , data: { guard: { ability: ['TICKET-INPUT-INVOICE-list'] } }}, { path: 'input-invoice/detail/:id', component: InputInvoiceDetailComponent }, { path: 'input-invoice/edit/:id', component: EditCollectionInvoiceComponent }, - { path: 'express-info', component: ExpressInfoComponent }, - { path: 'billing-order', component: BillingOrderComponent } + { path: 'express-info', component: ExpressInfoComponent , data: { guard: { ability: ['TICKET-EXPRESS-INFO-list'] } }}, + { path: 'billing-order', component: BillingOrderComponent, data: { guard: { ability: ['TICKET-BILLING-ORDER-search'] } } } ]; @NgModule({ diff --git a/src/app/routes/waybill-management/components/bulk-detail/bulk-detail.component.html b/src/app/routes/waybill-management/components/bulk-detail/bulk-detail.component.html index aaa5cea3..bff8ed33 100644 --- a/src/app/routes/waybill-management/components/bulk-detail/bulk-detail.component.html +++ b/src/app/routes/waybill-management/components/bulk-detail/bulk-detail.component.html @@ -6,6 +6,7 @@ * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @FilePath : \\tms-obc-web\\src\\app\\routes\\waybill-management\\components\\bulk-detail\\bulk-detail.component.html --> +
- + {{i?.goodsInfos?.[0]?.goodsName}} - - {{i?.goodsInfos?.[0]?.weight}}吨,{{i?.goodsInfos?.[0]?.volume}}方,{{i?.goodsInfos?.[0]?.number}}件 @@ -204,60 +203,70 @@
车队长:{{ i?.payeeName }}/{{ i?.payeePhone }}
- -
- - 附件信息 +
+
+ +
+ + 附件信息 +
+
+ + + 查看附件      + 补充协议 + + + + + + + + + + + + +
+
- - - 查看附件      - 补充协议 - - - - - - - - - - - - - - -
- - 补充信息 -
- - - {{i?.receiptType == 1 ?'是':'否'}} - - - {{i?.receiptTypeLabel}} - - - {{i?.receiptUser}} / {{i?.receiptUserPhone}} - - - {{i?.receiptPlace}} - - - {{i?.receiptAddress}} - +
+ +
+ + 补充信息 +
+
+ + + {{i?.receiptType == 1 ?'是':'否'}} + + + {{i?.receiptTypeLabel}} + - - - - - - - {{i?.goodsResource?.remarks}} - - - + + {{i?.receiptUser}} / {{i?.receiptUserPhone}} + + + {{i?.receiptPlace}} + + + {{i?.receiptAddress}} + + + {{i?.goodsResource?.remarks}} + + + + + +
+
+
+

| 轨迹信息

diff --git a/src/app/routes/waybill-management/components/vehicle-detail/vehicle-detail.component.html b/src/app/routes/waybill-management/components/vehicle-detail/vehicle-detail.component.html index e048bdc3..f21d4a47 100644 --- a/src/app/routes/waybill-management/components/vehicle-detail/vehicle-detail.component.html +++ b/src/app/routes/waybill-management/components/vehicle-detail/vehicle-detail.component.html @@ -129,12 +129,10 @@ 基本信息
- + {{i?.goodsInfos?.[0]?.goodsName}} - - {{i?.goodsInfos?.[0]?.weight}}吨,{{i?.goodsInfos?.[0]?.volume}}方,{{i?.goodsInfos?.[0]?.number}}件 @@ -179,10 +177,10 @@
运费信息 - (到货后{{i?.paymentDays}}天内支付运费) + (到货后{{i?.paymentDays}}天内支付运费)
- + {{ item.price | currency }} @@ -200,62 +198,73 @@
车队长:{{ i?.payee?.name }}/{{ i?.payee?.phone }}/{{ i?.payee?.idNo }}
+
+
+ +
+ + 附件信息 +
+
+ + + 查看附件      + 补充协议 + + + + - -
- - 附件信息 + + + + + + + + +
+
- - - 查看附件      - 补充协议 - - - - - - - - - - - - -
- -
- - 补充信息 +
+ +
+ + 补充信息 +
+
+ + + {{ i?.supplementaryInformationVO?.stateReceipt ? '是' : '否' }} + + + {{ i?.supplementaryInformationVO?.receiptType === '1' ? '电子回单' : '纸质回单' }} + + + {{ + i?.supplementaryInformationVO?.receiptUserName }} / {{ i?.supplementaryInformationVO?.phon }} + + {{ i?.supplementaryInformationVO?.area }} + + + {{ i?.supplementaryInformationVO?.address }} + + + + {{ i?.supplementaryInformationVO?.remarks }} + + + + + + +
+
- - - {{ i?.supplementaryInformationVO?.stateReceipt ? '是' : '否' }} - - - {{ i?.supplementaryInformationVO?.receiptType === '1' ? '电子回单' : '纸质回单' }} - - {{ - i?.supplementaryInformationVO?.receiptUserName }} / {{ i?.supplementaryInformationVO?.phon }} - - {{ i?.supplementaryInformationVO?.area }} - - - {{ i?.supplementaryInformationVO?.address }} - - - {{ i?.supplementaryInformationVO?.remarks }} - - - - - - - - - - - +

| 轨迹信息

diff --git a/src/app/shared/components/imagelist/imagelist.component.html b/src/app/shared/components/imagelist/imagelist.component.html index 10a80404..d5efe61f 100644 --- a/src/app/shared/components/imagelist/imagelist.component.html +++ b/src/app/shared/components/imagelist/imagelist.component.html @@ -1,5 +1,5 @@