diff --git a/src/app/routes/ticket-management/components/etc-invoiced-list/etc-invoiced-list.component.ts b/src/app/routes/ticket-management/components/etc-invoiced-list/etc-invoiced-list.component.ts
index 10f55e9e..b740463f 100644
--- a/src/app/routes/ticket-management/components/etc-invoiced-list/etc-invoiced-list.component.ts
+++ b/src/app/routes/ticket-management/components/etc-invoiced-list/etc-invoiced-list.component.ts
@@ -45,7 +45,9 @@ export class ETCInvoicedListComponent implements OnInit {
nzOkText: '导出'
});
modal.afterClose.subscribe(res => {
- this.st.load();
+ if(res){
+ this.st.load();
+ }
});
}
diff --git a/src/app/routes/ticket-management/components/etc-invoiced-list/transaction-details/transaction-details.component.less b/src/app/routes/ticket-management/components/etc-invoiced-list/transaction-details/transaction-details.component.less
deleted file mode 100644
index e69de29b..00000000
diff --git a/src/app/routes/ticket-management/components/etc-invoiced-list/transaction-details/transaction-details.component.ts b/src/app/routes/ticket-management/components/etc-invoiced-list/transaction-details/transaction-details.component.ts
index 2ab85061..9af44778 100644
--- a/src/app/routes/ticket-management/components/etc-invoiced-list/transaction-details/transaction-details.component.ts
+++ b/src/app/routes/ticket-management/components/etc-invoiced-list/transaction-details/transaction-details.component.ts
@@ -12,31 +12,29 @@ import { TicketService } from '../../../services/ticket.service';
export class TransactionDetailsComponent implements OnInit {
data = [];
selectedData = [];
- url = `/rule?_allow_anonymous=true`;
+ url = `/api/fcc/ficoEtcInvoiceH/list/page`;
@ViewChild('st', { static: true })
st!: STComponent;
@ViewChild('sf', { static: false })
sf!: SFComponent;
columns: STColumn[] = [
- { title: '交易id', index: 'no' },
- { title: '交易流水号', index: 'callNo' },
- { title: '交易金额', index: 'callNo' },
- { title: '开票状态', index: 'callNo' },
- { title: '交易时间', index: 'updatedAt', type: 'date' }
+ { title: '交易id', index: 'id' },
+ { title: '交易流水号', index: 'tradeFlowNo' },
+ { title: '交易金额', index: 'fee' },
+ { title: '开票状态', index: 'state', type: 'enum', enum: { '0': '待开具', '1': '开具中', '2': '已开具', '3': '开票失败' } },
+ { title: '交易时间', index: 'exTime', type: 'date' }
];
searchSchema: SFSchema = {
properties: {
- receiveName: {
+ state: {
type: 'string',
title: '开票状态',
enum: [
{ label: '全部', value: '' },
- { label: '待受理', value: '待受理' },
- { label: '待开票', value: '待开票' },
- { label: '开票中', value: '开票中' },
- { label: '已开票', value: '已开票' },
- { label: '已撤销', value: '已撤销' },
- { label: '已拒绝', value: '已拒绝' }
+ { label: '待开具', value: '1' },
+ { label: '开具中', value: '2' },
+ { label: '已开具', value: '3' },
+ { label: '交易异常', value: '4' }
],
ui: {
widget: 'select',
@@ -44,7 +42,7 @@ export class TransactionDetailsComponent implements OnInit {
},
default: ''
},
- createTime: {
+ exTime: {
title: '交易时间',
type: 'string',
ui: {
@@ -64,7 +62,11 @@ export class TransactionDetailsComponent implements OnInit {
beforeReq = (requestOptions: STRequestOptions) => {
if (this.sf) {
Object.assign(requestOptions.body, {
- ...this.sf.value
+ ...this.sf.value,
+ exTime: {
+ start: this.sf.value.exTime?.[0] || null,
+ end: this.sf.value.exTime?.[1] || null
+ }
});
}
return requestOptions;
diff --git a/src/app/routes/ticket-management/components/etc-invoiced-logs/etc-invoiced-logs.component.html b/src/app/routes/ticket-management/components/etc-invoiced-logs/etc-invoiced-logs.component.html
index 358a2075..3db97ad6 100644
--- a/src/app/routes/ticket-management/components/etc-invoiced-logs/etc-invoiced-logs.component.html
+++ b/src/app/routes/ticket-management/components/etc-invoiced-logs/etc-invoiced-logs.component.html
@@ -23,13 +23,13 @@
-
- 特朗普
13789040523
+ {{item.driverName}}
{{item.driverCellphone}}
\ No newline at end of file
diff --git a/src/app/routes/ticket-management/components/etc-invoiced-logs/etc-invoiced-logs.component.ts b/src/app/routes/ticket-management/components/etc-invoiced-logs/etc-invoiced-logs.component.ts
index 2a6020f6..58a00dd9 100644
--- a/src/app/routes/ticket-management/components/etc-invoiced-logs/etc-invoiced-logs.component.ts
+++ b/src/app/routes/ticket-management/components/etc-invoiced-logs/etc-invoiced-logs.component.ts
@@ -27,7 +27,15 @@ export class ETCInvoicedLogsComponent implements OnInit {
beforeReq = (requestOptions: STRequestOptions) => {
if (this.sf) {
Object.assign(requestOptions.body, {
- ...this.sf.value
+ ...this.sf.value,
+ exTime: {
+ start: this.sf.value.exTime?.[0] || null,
+ end: this.sf.value.exTime?.[1] || null
+ },
+ invoiceMakeTime: {
+ start: this.sf.value.invoiceMakeTime?.[0] || null,
+ end: this.sf.value.invoiceMakeTime?.[1] || null
+ }
});
}
return requestOptions;
@@ -63,7 +71,7 @@ export class ETCInvoicedLogsComponent implements OnInit {
hidden: true
}
},
- orderSn: {
+ invoiceNum: {
type: 'string',
title: '发票号码',
ui: {
@@ -71,21 +79,21 @@ export class ETCInvoicedLogsComponent implements OnInit {
autocomplete: 'off'
}
},
- orderS2n1: {
+ billCode: {
type: 'string',
title: '订单号',
ui: {
placeholder: '请输入'
}
},
- orderSn1: {
+ waybillCode: {
type: 'string',
title: '运单号',
ui: {
placeholder: '请输入'
}
},
- orderSn2: {
+ carNo: {
type: 'string',
title: '车牌号',
ui: {
@@ -95,7 +103,7 @@ export class ETCInvoicedLogsComponent implements OnInit {
}
}
},
- createTime: {
+ exTime: {
title: '交易时间',
type: 'string',
ui: {
@@ -106,7 +114,7 @@ export class ETCInvoicedLogsComponent implements OnInit {
}
} as SFDateWidgetSchema
},
- createTime2: {
+ invoiceMakeTime: {
title: '开票日期',
type: 'string',
ui: {
@@ -117,13 +125,11 @@ export class ETCInvoicedLogsComponent implements OnInit {
}
} as SFDateWidgetSchema
},
- receiveName2: {
+ sellerName: {
type: 'string',
title: '销售方',
- enum: [{ label: '全部', value: '全部' }],
ui: {
- widget: 'select',
- placeholder: '请选择',
+ placeholder: '请输入',
visibleIf: {
expand: (value: boolean) => value
}
@@ -149,25 +155,25 @@ export class ETCInvoicedLogsComponent implements OnInit {
private initST(): STColumn[] {
return [
- { title: '发票号码', index: 'no', width: 100, type: 'link', click: item => this.routeTo(item) },
- { title: '发票代码', index: 'callNo', width: 100 },
- { title: '订单号', index: 'callNo', width: 100 },
- { title: '运单号', index: 'callNo', width: 100 },
- { title: '入站口', index: 'callNo', width: 100 },
- { title: '出站口', index: 'callNo', width: 100 },
+ { title: '发票号码', index: 'invoiceNum', width: 100, type: 'link', click: item => this.routeTo(item) },
+ { title: '发票代码', index: 'invoiceCode', width: 100 },
+ { title: '订单号', index: 'billCode', width: 100 },
+ { title: '运单号', index: 'waybillCode', width: 100 },
+ { title: '入站口', index: 'enStationName', width: 100 },
+ { title: '出站口', index: 'exStationName', width: 100 },
{ title: '司机', render: 'call3No', width: 140 },
- { title: '车牌号', index: 'callNo', width: 100 },
- { title: '里程(km)', index: 'callNo', width: 120 },
- { title: '交易id', index: 'callNo', width: 100 },
- { title: '交易金额(元)', index: 'callNo', width: 130 },
- { title: '税率', index: 'callNo', width: 90 },
- { title: '金额(元)', index: 'callNo', width: 120 },
- { title: '税额(元)', index: 'callNo', width: 120 },
- { title: '价税合计(元)', index: 'callNo', width: 130 },
- { title: '交易时间', index: 'updatedAt', type: 'date', width: 150 },
- { title: '开票日期', index: 'updatedAt', type: 'date', width: 150 },
- { title: '销售方', index: 'callNo', width: 90 },
- { title: '网络货运人', index: 'callNo', width: 120 }
+ { title: '车牌号', index: 'carNo', width: 100 },
+ { title: '里程(km)', index: 'mileage', width: 120 },
+ { title: '交易id', index: 'tradeId', width: 100 },
+ { title: '交易金额(元)', index: 'fee', width: 130 },
+ { title: '税率', index: 'taxRate', width: 90 },
+ { title: '金额(元)', index: 'invoiceAmount', width: 120 },
+ { title: '税额(元)', index: 'totalTaxAmount', width: 120 },
+ { title: '价税合计(元)', index: 'totalAmount', width: 130 },
+ { title: '交易时间', index: 'exTime', type: 'date', width: 150 },
+ { title: '开票日期', index: 'invoiceMakeTime', type: 'date', width: 150 },
+ { title: '销售方', index: 'sellerName', width: 90 },
+ { title: '网络货运人', index: 'enterpriseInfoName', width: 120 }
];
}
}
diff --git a/src/app/routes/ticket-management/services/ticket.service.ts b/src/app/routes/ticket-management/services/ticket.service.ts
index 92187439..a3592c32 100644
--- a/src/app/routes/ticket-management/services/ticket.service.ts
+++ b/src/app/routes/ticket-management/services/ticket.service.ts
@@ -76,6 +76,8 @@ export class TicketService extends ShipperBaseService {
$api_get_apply_invoice = '/api/sdc/invoiceEtcOperate/applyForInvoicingBatch';
// ETC开票记录界面查询
$api_get_invoice_record_page = '/api/sdc/invoiceEtcOperate/list/listEtcRecordPageList';
+ // 查询ETC发票明细表
+ $api_get_invoice_logs_page = '/api/fcc/ficoEtcInvoiceL/list/page';
// 进项发票查询
$api_get_input_invoice_page = '/api/fcc/ficoInpinvH/getListPage';
diff --git a/src/app/routes/usercenter/components/freight/enterprise-audit/view/view.component.html b/src/app/routes/usercenter/components/freight/enterprise-audit/view/view.component.html
index cfca010c..017f5691 100644
--- a/src/app/routes/usercenter/components/freight/enterprise-audit/view/view.component.html
+++ b/src/app/routes/usercenter/components/freight/enterprise-audit/view/view.component.html
@@ -225,8 +225,7 @@
-
-
+
diff --git a/src/app/routes/usercenter/components/freight/enterprise-audit/view/view.component.ts b/src/app/routes/usercenter/components/freight/enterprise-audit/view/view.component.ts
index d729517c..9ac10fbc 100644
--- a/src/app/routes/usercenter/components/freight/enterprise-audit/view/view.component.ts
+++ b/src/app/routes/usercenter/components/freight/enterprise-audit/view/view.component.ts
@@ -48,6 +48,7 @@ export class FreightComponentsEnterpriseAuditViewComponent implements OnInit {
disabledUpload = false;
values: string[] | null = null;
+ ltdId: any[] = [];
constructor(private nzModalService: NzModalService, public service: UsermanageService, private route: ActivatedRoute) {}
ngOnInit() {
@@ -55,6 +56,14 @@ export class FreightComponentsEnterpriseAuditViewComponent implements OnInit {
// this.launchSign();
}
+ loadltdId() {
+ this.service.getNetworkFreightForwarder().subscribe(res => {
+ if (res) {
+ this.ltdId = res;
+ }
+ });
+ }
+
initData() {
this.service
.request(this.service.$api_get_freight_detail, {
diff --git a/src/app/routes/usercenter/components/freight/list/detail/detail.component.html b/src/app/routes/usercenter/components/freight/list/detail/detail.component.html
index a9efb750..9811386d 100644
--- a/src/app/routes/usercenter/components/freight/list/detail/detail.component.html
+++ b/src/app/routes/usercenter/components/freight/list/detail/detail.component.html
@@ -298,8 +298,7 @@
-
-
+
diff --git a/src/app/routes/usercenter/components/freight/list/detail/detail.component.ts b/src/app/routes/usercenter/components/freight/list/detail/detail.component.ts
index 586bf9cd..0d83b363 100644
--- a/src/app/routes/usercenter/components/freight/list/detail/detail.component.ts
+++ b/src/app/routes/usercenter/components/freight/list/detail/detail.component.ts
@@ -29,6 +29,7 @@ export class FreightComponentsListDetailComponent implements OnInit {
uploadURl = apiConf.waterFileUpload;
disabledUpload = false;
enterpriseAddressCode: any = [];
+ ltdId: any = [];
approvalOpinion = '';
networkTransporter = null;
@@ -41,7 +42,18 @@ export class FreightComponentsListDetailComponent implements OnInit {
ngOnInit() {
this.initData();
+ this.loadltdId();
}
+ loadltdId() {
+ this.service.getNetworkFreightForwarder().subscribe(res => {
+ if (res) {
+ this.ltdId = res;
+ console.log(this.ltdId );
+
+ }
+ });
+ }
+
initData() {
this.service
.request(this.service.$api_get_freight_detail, {