diff --git a/proxy.conf.js b/proxy.conf.js
index e283d993..e671177b 100644
--- a/proxy.conf.js
+++ b/proxy.conf.js
@@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2022-01-18 09:51:21
* @LastEditors : Shiming
- * @LastEditTime : 2022-05-13 09:36:19
+ * @LastEditTime : 2022-05-13 14:44:24
* @FilePath : \\tms-obc-web\\proxy.conf.js
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
diff --git a/src/app/routes/commom/components/basic-table/basic-table.component.ts b/src/app/routes/commom/components/basic-table/basic-table.component.ts
index f25482d7..c017940b 100644
--- a/src/app/routes/commom/components/basic-table/basic-table.component.ts
+++ b/src/app/routes/commom/components/basic-table/basic-table.component.ts
@@ -59,8 +59,6 @@ export class BasicTableComponent implements AfterViewInit, OnDestroy, OnReuseDes
}
openDrawer() {
- console.log(this.sfValue);
-
if (this.searchDrawerService.drawer?.length > 0) {
this.searchDrawerService.create(this.sfValue, this.schema);
} else {
diff --git a/src/app/routes/financial-management/components/receivable-order/receivable-order-detail/receivable-order-detail.component.ts b/src/app/routes/financial-management/components/receivable-order/receivable-order-detail/receivable-order-detail.component.ts
index 807bf227..05e30c19 100644
--- a/src/app/routes/financial-management/components/receivable-order/receivable-order-detail/receivable-order-detail.component.ts
+++ b/src/app/routes/financial-management/components/receivable-order/receivable-order-detail/receivable-order-detail.component.ts
@@ -142,7 +142,7 @@ export class ReceivableOrderDetailComponent implements OnInit {
private initST(): STColumn[] {
return [
{ title: '序号', render: 'no', width: 80 },
- { title: '费用号', index: 'feeLId', width: 100 },
+ { title: '费用号', index: 'feeHCode', width: 100 },
{ title: '费用日期', index: 'feedate', type: 'date', width: 150 },
{ title: '订单号', index: 'billHCode', width: 100 },
// { title: '订单日期', index: 'billTime', width: 150 },
diff --git a/src/app/routes/partner/channel-sales/components/edit/edit.component.ts b/src/app/routes/partner/channel-sales/components/edit/edit.component.ts
index 27bd17ea..adddf086 100644
--- a/src/app/routes/partner/channel-sales/components/edit/edit.component.ts
+++ b/src/app/routes/partner/channel-sales/components/edit/edit.component.ts
@@ -53,7 +53,7 @@ export class ParterChannelSalesEditComponent implements OnInit {
delete value1.employeeVO;
let value = res.employeeVO;
List.push({ label: value.empName + '/' + value.empNo, value: value.empNo });
- res.roleInfoVOList.forEach((element: any) => {
+ res?.roleInfoVOList?.forEach((element: any) => {
List3.push(element.id);
});
setTimeout(() => {
@@ -222,7 +222,7 @@ export class ParterChannelSalesEditComponent implements OnInit {
delete params.telephone;
this.service.request(this.service.$api_save, { ...params, employeeVO: this.currentOAItem }).subscribe(res => {
if (res) {
- this.service.msgSrv.success(res.msg);
+ this.service.msgSrv.success('新增成功!');
this.modalRef.destroy(true);
}
});
diff --git a/src/app/routes/partner/partner-list/components/add-personal-partner/add-personal-partner.component.ts b/src/app/routes/partner/partner-list/components/add-personal-partner/add-personal-partner.component.ts
index ff731ffa..080c1e62 100644
--- a/src/app/routes/partner/partner-list/components/add-personal-partner/add-personal-partner.component.ts
+++ b/src/app/routes/partner/partner-list/components/add-personal-partner/add-personal-partner.component.ts
@@ -114,7 +114,7 @@ export class AddPersonalPartnerComponent {
side: isFront
};
this.service.request(this.service.$api_ocr_recognize_id_card, params).subscribe(res => {
- if (res) {
+ if (res.name) {
console.log(res);
// 法定代表人证件照
@@ -140,6 +140,8 @@ export class AddPersonalPartnerComponent {
this.sf.setValue('/adminUserInfo/_isLoingDate', true);
}
}
+ } else {
+ this.sf.setValue('/adminUserInfo/_isLoingDate', false);
}
});
}
diff --git a/src/app/routes/partner/recorded/components/detail/detail.component.html b/src/app/routes/partner/recorded/components/detail/detail.component.html
index a3421887..5bcfb26c 100644
--- a/src/app/routes/partner/recorded/components/detail/detail.component.html
+++ b/src/app/routes/partner/recorded/components/detail/detail.component.html
@@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2022-01-05 20:15:41
* @LastEditors : Shiming
- * @LastEditTime : 2022-05-11 15:06:17
+ * @LastEditTime : 2022-05-13 14:21:37
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\recorded\\components\\detail\\detail.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved.
-->
diff --git a/src/app/routes/partner/recorded/components/detail/detail.component.ts b/src/app/routes/partner/recorded/components/detail/detail.component.ts
index d5a1877e..61f55aa2 100644
--- a/src/app/routes/partner/recorded/components/detail/detail.component.ts
+++ b/src/app/routes/partner/recorded/components/detail/detail.component.ts
@@ -36,53 +36,38 @@ export class PartnerRecordedDetailComponent implements OnInit {
console.log(res);
// submitTime creattime
let isEnd = false;
- if (res.reAuditTime) {
- isEnd = true;
- if (res.sts === '3') {
- this.timeLineData.push({ time: res.successTime, value: `到账成功`, color: 'green' });
- } else {
- this.timeLineData.push({ time: res.successTime, value: `提现失败`, color: 'red' });
- }
- }
- if (res.agreeTime && res.refundStatus !== '4') {
- this.timeLineData.push({ time: res.agreeTime, value: `银行处理中`, color: 'gray' });
- }
- if (res.reAuditTime) {
- if (res.refundStatus === '4') {
+ if (res.sts == '2') {
isEnd = true;
+ this.timeLineData.push({ time: res.modifyTime, value: `入账成功`, color: 'green' });
+ } else if (res.sts == '3'){
+ isEnd = true;
+ this.timeLineData.push({ time: res.modifyTime, value: `入账失败`, color: 'red' });
+ }
+ // if (res.agreeTime && res.refundStatus !== '4') {
+ // this.timeLineData.push({ time: res.agreeTime, value: `银行处理中`, color: 'gray' });
+ // }
+ if (res.reAuditTime) {
+ if (res.sts === '2') {
this.timeLineData.push({
time: res.reAuditTime,
- value: `拒绝提现
操作人员:${res.handlerUserIdLabel}`,
- color: 'red'
- });
- } else {
- this.timeLineData.push({
- time: res.reAuditTime,
- value: `审核通过
操作人员:${res.handlerUserIdLabel}`,
+ value: `审核通过
操作人员:${res.reAuditName}`,
color: 'gray'
});
}
}
- if (res.agreeTime) {
- if (res.refundStatus === '4') {
- isEnd = true;
+ if (res.firstAuditTime) {
+ if (res.sts === '1') {
this.timeLineData.push({
- time: res.agreeTime,
- value: `拒绝提现
操作人员:${res.handlerUserIdLabel}`,
- color: 'red'
- });
- } else {
- this.timeLineData.push({
- time: res.agreeTime,
- value: `审核通过
操作人员:${res.handlerUserIdLabel}`,
+ time: res.firstAuditTime,
+ value: `审核通过
操作人员:${res.fristAuditName}`,
color: 'gray'
});
}
}
- if (res.createTime) {
+ if (res.sts) {
this.timeLineData.push({
- time: res.createTime,
- value: `提交提现申请
提现${res.amount}元至${res.bankName}(${res.bankCardNumber})
操作人员:${res.userIdLabel}`,
+ time: res.submitTime,
+ value: `提交入账申请
入账${res.entryAmount}元至${res.fictitiousAccount}
操作人员:${res.submitUserName}`,
color: 'gray'
});
}
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 fc135f18..a96db086 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
@@ -354,7 +354,7 @@ export class NetworkFreightNewComponent implements OnInit {
type: 'string',
title: '行业',
enum: [
- { label: '道路运输业', value: 54},
+ { label: '普通货物道路运输', value: 5431},
],
default: 0,
ui: {
diff --git a/src/app/routes/tax-management/components/individual-declare/individual-declare.component.ts b/src/app/routes/tax-management/components/individual-declare/individual-declare.component.ts
index bd102b3d..96dd3167 100644
--- a/src/app/routes/tax-management/components/individual-declare/individual-declare.component.ts
+++ b/src/app/routes/tax-management/components/individual-declare/individual-declare.component.ts
@@ -299,7 +299,7 @@ export class TaxManagementIndividualDeclareComponent extends BasicTableComponent
unnormal(value: any) {
this.modal.confirm({
nzTitle: '税务审核结果',
- nzContent: '订单结算时间所在月份与申报月份不一致',
+ nzContent: `${value?.exceptionInfo}`,
nzOkText: '确定',
nzCancelText: '',
nzOnOk: () => {
diff --git a/src/app/routes/tax-management/components/individual-income/individual-income.component.ts b/src/app/routes/tax-management/components/individual-income/individual-income.component.ts
index e2a1ad34..754cbb65 100644
--- a/src/app/routes/tax-management/components/individual-income/individual-income.component.ts
+++ b/src/app/routes/tax-management/components/individual-income/individual-income.component.ts
@@ -322,7 +322,7 @@ export class TaxManagementIndividualIncomeComponent extends BasicTableComponent
}
// this.modal.warning({
// nzTitle: '申报提示',
- // nzContent: '订单结算时间所在月份与申报月份不一致......'
+ // nzContent: `${value?.exceptionInfo}`,
// });
// this.service.request(this.service.$api_recall_reporting, { rows: this.selectedRows }).subscribe((res: any) => {
// if (res) {
diff --git a/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.html b/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.html
index b7fc6428..6e9d626a 100644
--- a/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.html
+++ b/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.html
@@ -56,7 +56,7 @@
-
+
diff --git a/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.ts b/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.ts
index 5c26cc75..b7391876 100644
--- a/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.ts
+++ b/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.ts
@@ -251,7 +251,7 @@ export class TaxManagementInvoiceReportingComponent extends BasicTableComponent
});
this.modal.confirm({
nzTitle: '税务审核结果',
- nzContent: '订单结算时间所在月份与申报月份不一致',
+ nzContent: `${value?.exceptionInfo}`,
nzOkText: '确定',
nzCancelText: '',
nzOnOk: () => {
diff --git a/src/app/routes/tax-management/components/order-reporting/order-reporting.component.html b/src/app/routes/tax-management/components/order-reporting/order-reporting.component.html
index c857bbf0..b4ed1992 100644
--- a/src/app/routes/tax-management/components/order-reporting/order-reporting.component.html
+++ b/src/app/routes/tax-management/components/order-reporting/order-reporting.component.html
@@ -109,7 +109,7 @@
-
+
diff --git a/src/app/routes/tax-management/components/order-reporting/order-reporting.component.ts b/src/app/routes/tax-management/components/order-reporting/order-reporting.component.ts
index fb1280d1..50121b63 100644
--- a/src/app/routes/tax-management/components/order-reporting/order-reporting.component.ts
+++ b/src/app/routes/tax-management/components/order-reporting/order-reporting.component.ts
@@ -290,14 +290,14 @@ export class TaxManagementOrderReportingComponent extends BasicTableComponent im
resetData() {
let params: any = {};
if (this.selectedRows.length === 0) {
- params ={}
- } else{
- params =[]
+ params = {};
+ } else {
+ params = [];
this.selectedRows.forEach(item => {
params.push(item.billId);
});
}
-
+
this.service.request(this.service.$api_get_renewalOrderById, params).subscribe((res: any) => {
if (res) {
this.service.msgSrv.success('更新成功');
@@ -321,7 +321,7 @@ export class TaxManagementOrderReportingComponent extends BasicTableComponent im
});
this.modal.confirm({
nzTitle: '税务审核结果',
- nzContent: '订单结算时间所在月份与申报月份不一致',
+ nzContent: `${value?.exceptionInfo}`,
nzOkText: '确定',
nzCancelText: '',
nzOnOk: () => {
@@ -436,6 +436,7 @@ export class TaxManagementOrderReportingComponent extends BasicTableComponent im
const modalRef = this.modal.create({
nzTitle: '本地校验结果',
nzWidth: 1200,
+ nzNoAnimation: true,
nzContent: TaxManagementOrderVerifyResultComponent,
nzComponentParams: {
record: item
@@ -467,7 +468,7 @@ export class TaxManagementOrderReportingComponent extends BasicTableComponent im
* 异步导出
*/
export() {
- this.service.exportStart({...this.reqParams, pageSize: -1} ,this.service.$api_async_export_order_reporting_list);
+ this.service.exportStart({ ...this.reqParams, pageSize: -1 }, this.service.$api_async_export_order_reporting_list);
}
openWainingModal(content: string, title = '提示') {
@@ -479,10 +480,13 @@ export class TaxManagementOrderReportingComponent extends BasicTableComponent im
}
viewPhoto(images: any[]) {
-
if (images.length > 0) {
const imgs = images.map(item => ({ src: item }));
this.imageService.preview(imgs);
}
}
+
+ exportList() {
+ this.service.exportStart({ ...this.sf?.value, pageSize: -1 }, this.service.$api_getTaxOrderPage_page_export);
+ }
}
diff --git a/src/app/routes/tax-management/services/tax-management.service.ts b/src/app/routes/tax-management/services/tax-management.service.ts
index 6e274bba..898b1b9b 100644
--- a/src/app/routes/tax-management/services/tax-management.service.ts
+++ b/src/app/routes/tax-management/services/tax-management.service.ts
@@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2021-12-27 10:30:56
* @LastEditors : Shiming
- * @LastEditTime : 2022-05-11 14:53:31
+ * @LastEditTime : 2022-05-13 14:06:34
* @FilePath : \\tms-obc-web\\src\\app\\routes\\tax-management\\services\\tax-management.service.ts
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
@@ -37,6 +37,8 @@ export class TaxManagementService extends ShipperBaseService {
// 订单上报列表
$api_getTaxOrderPage_page = `/api/sdc/taxOrder/getTaxOrderPage`;
+ // 订单上报列表
+ $api_getTaxOrderPage_page_export = `/api/sdc/taxOrder/asyncExport`;
// 根据订单Id更新税务订单
$api_get_renewalOrderById = `/api/sdc/taxOrder/renewalOrderById`;
// 撤回税务订单
@@ -59,7 +61,7 @@ export class TaxManagementService extends ShipperBaseService {
// 获取发票上传列表
$api_getInvoiceReport_page = '/api/sdc/invoiceUploadInfo/list/page';
// 发票上传列表导出
- $api_invoiceUpload_export = '/api/sdc/invoiceUploadInfo/reportList';
+ $api_invoiceUpload_export = '/api/sdc/invoiceUploadInfo/exportInvoiceUpload';
// 个税明细导出接口
$api_taxIncome_export = '/api/sdc/taxIncome/asyncExport';
// 个税汇总导出接口
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 ddc2932f..51392472 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
@@ -21,23 +21,32 @@
-->
-