diff --git a/src/app/routes/financial-management/services/freight-account.service.ts b/src/app/routes/financial-management/services/freight-account.service.ts
index 300228ef..a3478e5c 100644
--- a/src/app/routes/financial-management/services/freight-account.service.ts
+++ b/src/app/routes/financial-management/services/freight-account.service.ts
@@ -1,3 +1,11 @@
+/*
+ * @Author: your name
+ * @Date: 2021-12-30 19:36:30
+ * @LastEditTime: 2021-12-31 13:50:41
+ * @LastEditors: your name
+ * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
+ * @FilePath: \tms-obc-web\src\app\routes\financial-management\services\freight-account.service.ts
+ */
import { Injectable, Injector } from '@angular/core';
import { BaseService, ShipperBaseService } from '@shared';
@@ -28,13 +36,13 @@ export class FreightAccountService extends ShipperBaseService {
$api_get_order_payment_page = '/api/fcc/billPaymentApplicationOBC/list/page';
// 查询提现申请表
- $api_get_refund_page = '/api/fcc/refundApplicationSMC/list/page';
+ $api_get_refund_page = '/api/fcc/refundApplicationOBC/list/page';
// 获取提现申请表详情
- $api_get_refund_detail = '/api/fcc/refundApplicationSMC/get';
+ $api_get_refund_detail = '/api/fcc/refundApplicationOBC/get';
// 同意提现
- $api_agree_refund = '/api/fcc/refundApplicationSMC/agreeRefund';
+ $api_agree_refund = '/api/fcc/refundApplicationOBC/agreeRefund';
// 拒绝提现
- $api_disagree_refund = '/api/fcc/refundApplicationSMC/disagreeRefund';
+ $api_disagree_refund = '/api/fcc/refundApplicationOBC/disagreeRefund';
// 查询充值信息表
$api_get_recharge_page = '/api/fcc/rechargeInfo/list/getPageByOperator';
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 e8f57fed..6dee6695 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
@@ -162,29 +162,10 @@ export class InvoiceRequestedComponent implements OnInit {
nzTitle: '开票',
nzContent: RequestedInvoiceModalComponent,
nzWidth: 1200,
- nzFooter: [
- {
- type: 'default',
- label: '移除',
- onClick: com => {
- com?.removeOrder(com.data);
- }
- },
- {
- type: 'default',
- label: '手工处理',
- onClick: () => {
- modal.destroy();
- }
- },
- {
- type: 'primary',
- label: '自动开票',
- onClick: () => {
- modal.destroy();
- }
- }
- ]
+ nzComponentParams: {
+ id: item.id
+ },
+ nzFooter: null
});
}
diff --git a/src/app/routes/ticket-management/components/invoice-requested/requested-detail/requested-detail.component.ts b/src/app/routes/ticket-management/components/invoice-requested/requested-detail/requested-detail.component.ts
index ddf14138..8fa4924e 100644
--- a/src/app/routes/ticket-management/components/invoice-requested/requested-detail/requested-detail.component.ts
+++ b/src/app/routes/ticket-management/components/invoice-requested/requested-detail/requested-detail.component.ts
@@ -1,7 +1,8 @@
+import { Input } from '@angular/core';
/*
* @Author: your name
* @Date: 2021-12-23 16:50:17
- * @LastEditTime: 2021-12-30 15:07:42
+ * @LastEditTime: 2021-12-31 13:15:13
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \tms-obc-web\src\app\routes\ticket-management\components\invoice-requested\requested-detail\requested-detail.component.ts
@@ -19,6 +20,7 @@ export class RequestedDetailComponent implements OnInit {
i: any;
status: any;
Id: any;
+ @Input() id: any;
headerInfo: any;
constructor(
public service: TicketService,
@@ -28,12 +30,23 @@ export class RequestedDetailComponent implements OnInit {
this.initData();
}
initData() {
- this.service.request(this.service.$api_get_invoice_requested_header_detail, { id: this.Id }).subscribe(res => {
- console.log(res);
- if (res) {
- this.headerInfo = res;
- }
- });
+ if(this.id) {
+ this.service.request(this.service.$api_get_invoice_requested_header_detail, { id: this.id }).subscribe(res => {
+ console.log(res);
+ if (res) {
+ this.headerInfo = res;
+ }
+ });
+ }
+ if(this.Id) {
+ this.service.request(this.service.$api_get_invoice_requested_header_detail, { id: this.Id }).subscribe(res => {
+ console.log(res);
+ if (res) {
+ this.headerInfo = res;
+ }
+ });
+ }
+
}
}
diff --git a/src/app/routes/ticket-management/components/invoice-requested/requested-invoice-modal/requested-invoice-modal.component.html b/src/app/routes/ticket-management/components/invoice-requested/requested-invoice-modal/requested-invoice-modal.component.html
index d4ec97ad..32bb832f 100644
--- a/src/app/routes/ticket-management/components/invoice-requested/requested-invoice-modal/requested-invoice-modal.component.html
+++ b/src/app/routes/ticket-management/components/invoice-requested/requested-invoice-modal/requested-invoice-modal.component.html
@@ -1,3 +1,27 @@
-