Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop
This commit is contained in:
@ -33,7 +33,7 @@
|
||||
</div>
|
||||
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
|
||||
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="search()" acl [acl-ability]="['INSURANCE-LIST-search']">查询</button>
|
||||
<button nz-button nzType="primary" [disabled]="false" acl [acl-ability]="['INSURANCE-LIST-export']">导出</button>
|
||||
<button nz-button nzType="primary" [disabled]="false" acl [acl-ability]="['INSURANCE-LIST-export']" (click)="exprot()">导出</button>
|
||||
<button nz-button [disabled]="false" (click)="resetSF()">重置</button>
|
||||
<button nz-button nzType="link" (click)="expandToggle()">
|
||||
{{ !_$expand ? '展开' : '收起' }}
|
||||
|
||||
@ -561,4 +561,7 @@ export class insuranceManagementListComponent implements OnInit {
|
||||
changeOrder() {
|
||||
this.router.navigate(['/insurance-management/list-set', 1]);
|
||||
}
|
||||
exprot() {
|
||||
this.service.downloadFile(this.service.$api_get_asyncExport, { ...this.reqParams, pageSize: -1 });
|
||||
}
|
||||
}
|
||||
|
||||
@ -29,6 +29,8 @@ export class InsuranceManagementService extends ShipperBaseService {
|
||||
$api_get_submitAuthInfo = `/api/sdc/premiumInfo/submitAuthInfo`;
|
||||
// 退保费
|
||||
$api_get_addINPBillRefundApplication = `/billRefundApplication/addINPBillRefundApplication`;
|
||||
// 保险费列表数据导出接口
|
||||
$api_get_asyncExport = `/api/sdc/premiumInfo/asyncExport`;
|
||||
|
||||
constructor(public injector: Injector) {
|
||||
super(injector);
|
||||
|
||||
@ -95,11 +95,16 @@ export class TaxManagementIndividualCollectComponent implements OnInit {
|
||||
default: ''
|
||||
},
|
||||
declareResult: {
|
||||
type: 'string',
|
||||
title: '申报结果',
|
||||
type: 'string',
|
||||
ui: {
|
||||
placeholder: '请选择',
|
||||
widget: 'select',
|
||||
widget: 'dict-select',
|
||||
params: { dictKey: 'service:type' },
|
||||
containsAllLabel: true,
|
||||
visibleIf: {
|
||||
_$expand: (value: boolean) => value
|
||||
}
|
||||
}
|
||||
},
|
||||
overdueStatus: {
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
* @Author : Shiming
|
||||
* @Date : 2022-03-30 14:00:43
|
||||
* @LastEditors : Shiming
|
||||
* @LastEditTime : 2022-03-31 10:36:57
|
||||
* @LastEditTime : 2022-04-09 14:13:42
|
||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\tax-management\\components\\individual-declare\\individual-declare.component.html
|
||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||
-->
|
||||
@ -44,7 +44,7 @@
|
||||
<st
|
||||
#st
|
||||
[scroll]="{ x: '1200px' }"
|
||||
[data]="service.$api_order_reporting_page"
|
||||
[data]="service.$api_get_taxDeclaration"
|
||||
[columns]="columns"
|
||||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
||||
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
||||
@ -74,8 +74,8 @@
|
||||
</div>
|
||||
<button nz-button nzType="primary" (click)="upload()">申报</button>
|
||||
<button nz-button nzType="primary" (click)="recall()">更正</button>
|
||||
<button nz-button nzType="primary" (click)="resetData()">修改起征点</button>
|
||||
<button nz-button nzType="primary" (click)="uploadSetting()">更新数据</button>
|
||||
<button nz-button nzType="primary" (click)="uploadSetting()">修改起征点</button>
|
||||
<button nz-button nzType="primary" (click)="resetData()">更新数据</button>
|
||||
</div>
|
||||
</ng-template>
|
||||
|
||||
|
||||
@ -109,35 +109,35 @@ export class TaxManagementIndividualDeclareComponent implements OnInit {
|
||||
this.schema = {
|
||||
properties: {
|
||||
_$expand: { type: 'boolean', ui: { hidden: true } },
|
||||
billCode: { title: '司机姓名', type: 'string', ui: { placeholder: '请输入' } },
|
||||
resourceCode: {
|
||||
driverName: { title: '司机姓名', type: 'string', ui: { placeholder: '请输入' } },
|
||||
telephone: {
|
||||
type: 'string',
|
||||
title: '联系电话',
|
||||
ui: {
|
||||
placeholder: '请输入'
|
||||
}
|
||||
},
|
||||
driverName: {
|
||||
cardNumber: {
|
||||
title: '证件号码',
|
||||
type: 'string',
|
||||
ui: {
|
||||
placeholder: '请输入证件号码'
|
||||
}
|
||||
},
|
||||
serviceType2: {
|
||||
declareStatus: {
|
||||
title: '申报状态',
|
||||
type: 'string',
|
||||
ui: {
|
||||
placeholder: '请选择',
|
||||
widget: 'dict-select',
|
||||
params: { dictKey: 'service:type' },
|
||||
params: { dictKey: 'taxincome:declare:status' },
|
||||
containsAllLabel: true,
|
||||
visibleIf: {
|
||||
_$expand: (value: boolean) => value
|
||||
}
|
||||
}
|
||||
},
|
||||
serviceType3: {
|
||||
declareResult: {
|
||||
title: '申报结果',
|
||||
type: 'string',
|
||||
ui: {
|
||||
@ -150,20 +150,22 @@ export class TaxManagementIndividualDeclareComponent implements OnInit {
|
||||
}
|
||||
}
|
||||
},
|
||||
serviceType1: {
|
||||
isOvertime: {
|
||||
title: '是否逾期',
|
||||
type: 'string',
|
||||
enum: [
|
||||
{ value: '', label: '全部' },
|
||||
{ value: false, label: '否' },
|
||||
{ value: true, label: '是' }
|
||||
],
|
||||
ui: {
|
||||
placeholder: '请选择',
|
||||
widget: 'dict-select',
|
||||
params: { dictKey: 'service:type' },
|
||||
containsAllLabel: true,
|
||||
visibleIf: {
|
||||
_$expand: (value: boolean) => value
|
||||
}
|
||||
}
|
||||
widget: 'select',
|
||||
containsAllLabel: true
|
||||
},
|
||||
default: ''
|
||||
},
|
||||
createTime: {
|
||||
taxDate: {
|
||||
title: '税款所属期',
|
||||
type: 'string',
|
||||
ui: {
|
||||
@ -175,7 +177,7 @@ export class TaxManagementIndividualDeclareComponent implements OnInit {
|
||||
}
|
||||
} as SFDateWidgetSchema
|
||||
},
|
||||
createTime3: {
|
||||
declareDate: {
|
||||
title: '申报日期',
|
||||
type: 'string',
|
||||
ui: {
|
||||
@ -187,7 +189,7 @@ export class TaxManagementIndividualDeclareComponent implements OnInit {
|
||||
}
|
||||
} as SFDateWidgetSchema
|
||||
},
|
||||
enterpriseInfoId: {
|
||||
ltdId: {
|
||||
type: 'string',
|
||||
title: '网络货运人',
|
||||
ui: {
|
||||
@ -214,38 +216,57 @@ export class TaxManagementIndividualDeclareComponent implements OnInit {
|
||||
initST() {
|
||||
this.columns = [
|
||||
{ title: '', type: 'checkbox', className: 'text-center', width: '60px' },
|
||||
{ title: '申报状态', render: 'orderStatus', className: 'text-center', width: '120px' },
|
||||
{ title: '是否逾期', render: 'localValid', className: 'text-center', width: '120px' },
|
||||
{
|
||||
title: '申报状态',
|
||||
index: 'declareStatus',
|
||||
className: 'text-center',
|
||||
width: '120px',
|
||||
type: 'badge',
|
||||
badge: {
|
||||
'0': { text: '待申报', color: 'default' },
|
||||
'1': { text: '待审核', color: 'processing' },
|
||||
'2': { text: '已通过', color: 'success' },
|
||||
'3': { text: '不通过', color: 'error' }
|
||||
}
|
||||
},
|
||||
{
|
||||
title: '是否逾期',
|
||||
index: 'overdueStatus',
|
||||
className: 'text-center',
|
||||
width: '120px',
|
||||
type: 'enum',
|
||||
enum: { false: '否', true: '是' }
|
||||
},
|
||||
{
|
||||
title: '税款所属期起',
|
||||
render: 'billComplianceVOS',
|
||||
index: 'skssqq',
|
||||
className: 'text-center',
|
||||
width: '150px'
|
||||
},
|
||||
{ title: '税款所属期止', render: 'freightDetails', className: 'text-center', width: '150px' },
|
||||
{ title: '税款所属期止', index: 'skssqz', className: 'text-center', width: '150px' },
|
||||
{
|
||||
title: '纳税人名称',
|
||||
render: 'serviceType',
|
||||
index: 'nsrmc',
|
||||
className: 'text-center',
|
||||
width: '180px'
|
||||
},
|
||||
{ title: '纳税人识别号', index: 'loadingPlace', render: 'loadingPlace', className: 'text-center', width: '200px' },
|
||||
{ title: '姓名', index: 'loadingPlace', render: 'loadingPlace', className: 'text-center', width: '200px' },
|
||||
{ title: '证件类型', index: 'loadingPlace', render: 'loadingPlace', className: 'text-center', width: '200px' },
|
||||
{ title: '证件号码', index: 'loadingPlace', render: 'loadingPlace', className: 'text-center', width: '200px' },
|
||||
{ title: '联系电话', index: 'loadingPlace', render: 'loadingPlace', className: 'text-center', width: '200px' },
|
||||
{ title: '国家(地区)', index: 'loadingPlace', render: 'loadingPlace', className: 'text-center', width: '200px' },
|
||||
{ title: '所属行业', index: 'loadingPlace', render: 'loadingPlace', className: 'text-center', width: '200px' },
|
||||
{ title: '征收项目', index: 'loadingPlace', render: 'loadingPlace', className: 'text-center', width: '200px' },
|
||||
{ title: '征收品目', index: 'loadingPlace', render: 'loadingPlace', className: 'text-center', width: '200px' },
|
||||
{ title: '计税依据', index: 'loadingPlace', render: 'loadingPlace', className: 'text-center', width: '200px' },
|
||||
{ title: '税率', index: 'loadingPlace', render: 'loadingPlace', className: 'text-center', width: '200px' },
|
||||
{ title: '应纳税额', render: 'transportInfo', className: 'text-center', width: '180px' },
|
||||
{ title: '减免税额', render: 'transportInfo', className: 'text-center', width: '180px' },
|
||||
{ title: '已缴纳税额', render: 'transportInfo', className: 'text-center', width: '180px' },
|
||||
{ title: '应代征税额', render: 'transportInfo', className: 'text-center', width: '180px' },
|
||||
{ title: '已代征税额', render: 'payeeName', className: 'text-center', width: '150px' },
|
||||
{ title: '申报日期', render: 'payeeName', className: 'text-center', width: '150px' },
|
||||
{ title: '纳税人识别号', index: 'nsrsbh', className: 'text-center', width: '200px' },
|
||||
{ title: '姓名', index: 'xm', className: 'text-center', width: '200px' },
|
||||
{ title: '证件类型', index: 'sfzjlx', className: 'text-center', width: '200px' },
|
||||
{ title: '证件号码', index: 'sfzjhm', className: 'text-center', width: '200px' },
|
||||
{ title: '联系电话', index: 'lxdh', className: 'text-center', width: '200px' },
|
||||
{ title: '国家(地区)', index: ' gjdq', className: 'text-center', width: '200px' },
|
||||
{ title: '所属行业', index: 'hy', className: 'text-center', width: '200px' },
|
||||
{ title: '征收项目', index: 'zsxm', className: 'text-center', width: '200px' },
|
||||
{ title: '征收品目', index: 'zsmp', className: 'text-center', width: '200px' },
|
||||
{ title: '计税依据', index: 'jsyj', className: 'text-center', width: '200px' },
|
||||
{ title: '税率', index: 'sl', render: 'sl', className: 'text-center', width: '200px' },
|
||||
{ title: '应纳税额', index: 'ynse', className: 'text-center', width: '180px' },
|
||||
{ title: '减免税额', index: 'jmse', className: 'text-center', width: '180px' },
|
||||
{ title: '已缴纳税额', index: 'yjnse', className: 'text-center', width: '180px' },
|
||||
{ title: '应代征税额', index: 'dzse', className: 'text-center', width: '180px' },
|
||||
{ title: '已代征税额', index: 'ydzse', className: 'text-center', width: '150px' },
|
||||
{ title: '申报日期', render: 'sbrq', className: 'text-center', width: '150px' },
|
||||
];
|
||||
}
|
||||
|
||||
@ -277,7 +298,7 @@ export class TaxManagementIndividualDeclareComponent implements OnInit {
|
||||
*撤销
|
||||
* @param record 记录实例
|
||||
*/
|
||||
resetData() {
|
||||
uploadSetting() {
|
||||
if (this.selectedRows.length === 0) {
|
||||
this.openWainingModal('请选择需要更新的数据!');
|
||||
return;
|
||||
@ -364,17 +385,21 @@ export class TaxManagementIndividualDeclareComponent implements OnInit {
|
||||
*
|
||||
* @param params 更新数据
|
||||
*/
|
||||
uploadSetting() {
|
||||
resetData() {
|
||||
if (this.selectedRows.length === 0) {
|
||||
this.openWainingModal('请选择需要上传的数据');
|
||||
return;
|
||||
}
|
||||
// this.service.request(this.service.$api_recall_reporting, { rows: this.selectedRows }).subscribe((res: any) => {
|
||||
// if (res) {
|
||||
// this.service.msgSrv.success('更新成功');
|
||||
// this.search();
|
||||
// }
|
||||
// })
|
||||
let params: any[] = [];
|
||||
this.selectedRows.forEach(item => {
|
||||
params.push(item.id);
|
||||
});
|
||||
this.service.request(this.service.$api_get_taxDeclaration_updateAll, params).subscribe((res: any) => {
|
||||
if (res) {
|
||||
this.service.msgSrv.success('更新成功');
|
||||
this.st.load(1);
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
* @Author : Shiming
|
||||
* @Date : 2021-12-27 10:30:56
|
||||
* @LastEditors : Shiming
|
||||
* @LastEditTime : 2022-04-08 15:28:39
|
||||
* @LastEditTime : 2022-04-09 14:22:35
|
||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\tax-management\\services\\tax-management.service.ts
|
||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||
*/
|
||||
@ -45,6 +45,11 @@ export class TaxManagementService extends ShipperBaseService {
|
||||
$api_get_uploadingTaxOrder = `/api/sdc/tax/uploadingTaxOrder`;
|
||||
// 上传税务订单
|
||||
$api_get_getTaxFieldCheckList = `/api/sdc/taxFieldCheck/getTaxFieldCheckList`;
|
||||
|
||||
// 查询税务申报
|
||||
$api_get_taxDeclaration = `/api/sdc/taxDeclaration/list/page`;
|
||||
// 更新所有税务申报
|
||||
$api_get_taxDeclaration_updateAll = `/api/sdc/taxDeclaration/updateAll`;
|
||||
$api_recall_reporting = ``; // 撤回
|
||||
$api_async_export_order_reporting_list = ``; // 导出订单上报
|
||||
$api_get_upload_setting = ``; // 修改上传设置
|
||||
|
||||
@ -229,6 +229,6 @@ export class ETCInvoicedRequestedComponent implements OnInit {
|
||||
}
|
||||
// 导出
|
||||
exprot() {
|
||||
this.service.exportStart(this.sf?.value, this.service.$api_get_asyncExportEtcApplyList);
|
||||
this.service.exportStart({...this.sf?.value, pageSize: -1}, this.service.$api_get_asyncExportEtcApplyList);
|
||||
}
|
||||
}
|
||||
|
||||
@ -62,7 +62,7 @@ export class UserCenterComponentsDriverConfigComponent implements OnInit {
|
||||
|
||||
exportList() {
|
||||
const params = this.reqParams;
|
||||
this.service.downloadFile(this.service.$api_export_driver_cap, { ...params, pageSize: -1 });
|
||||
this.service.downloadFile(this.service.$api_driver_exportConfig, { ...params, pageSize: -1 });
|
||||
}
|
||||
|
||||
private initSF(): SFSchema {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* @Author: your name
|
||||
* @Date: 2021-11-29 15:22:34
|
||||
* @LastEditTime : 2022-02-18 11:15:16
|
||||
* @LastEditTime : 2022-04-09 14:54:17
|
||||
* @LastEditors : Shiming
|
||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\usercenter\\services\\usercenter.service.ts
|
||||
@ -111,6 +111,8 @@ export class UsermanageService extends ShipperBaseService {
|
||||
$api_export_driver = '/api/mdc/cuc/driver/export';
|
||||
// 车队长导出-运营后台
|
||||
$api_export_driver_cap = '/api/mdc/userDriverExpand/export';
|
||||
// 司机配置列表导出-运营后台
|
||||
$api_driver_exportConfig = '/api/mdc/cuc/driver/exportConfig';
|
||||
|
||||
// 营业执照识别
|
||||
$api_ocr_recognize_business_license = '/api/mdc/pbc/hwc/ocr/recognizeBusinessLicense';
|
||||
|
||||
Reference in New Issue
Block a user