fix bug
This commit is contained in:
@ -95,11 +95,16 @@ export class TaxManagementIndividualCollectComponent implements OnInit {
|
|||||||
default: ''
|
default: ''
|
||||||
},
|
},
|
||||||
declareResult: {
|
declareResult: {
|
||||||
type: 'string',
|
|
||||||
title: '申报结果',
|
title: '申报结果',
|
||||||
|
type: 'string',
|
||||||
ui: {
|
ui: {
|
||||||
placeholder: '请选择',
|
placeholder: '请选择',
|
||||||
widget: 'select',
|
widget: 'dict-select',
|
||||||
|
params: { dictKey: 'service:type' },
|
||||||
|
containsAllLabel: true,
|
||||||
|
visibleIf: {
|
||||||
|
_$expand: (value: boolean) => value
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
overdueStatus: {
|
overdueStatus: {
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-03-30 14:00:43
|
* @Date : 2022-03-30 14:00:43
|
||||||
* @LastEditors : Shiming
|
* @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
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\tax-management\\components\\individual-declare\\individual-declare.component.html
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
@ -44,7 +44,7 @@
|
|||||||
<st
|
<st
|
||||||
#st
|
#st
|
||||||
[scroll]="{ x: '1200px' }"
|
[scroll]="{ x: '1200px' }"
|
||||||
[data]="service.$api_order_reporting_page"
|
[data]="service.$api_get_taxDeclaration"
|
||||||
[columns]="columns"
|
[columns]="columns"
|
||||||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
||||||
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
||||||
@ -74,8 +74,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<button nz-button nzType="primary" (click)="upload()">申报</button>
|
<button nz-button nzType="primary" (click)="upload()">申报</button>
|
||||||
<button nz-button nzType="primary" (click)="recall()">更正</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>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|
||||||
|
|||||||
@ -109,35 +109,35 @@ export class TaxManagementIndividualDeclareComponent implements OnInit {
|
|||||||
this.schema = {
|
this.schema = {
|
||||||
properties: {
|
properties: {
|
||||||
_$expand: { type: 'boolean', ui: { hidden: true } },
|
_$expand: { type: 'boolean', ui: { hidden: true } },
|
||||||
billCode: { title: '司机姓名', type: 'string', ui: { placeholder: '请输入' } },
|
driverName: { title: '司机姓名', type: 'string', ui: { placeholder: '请输入' } },
|
||||||
resourceCode: {
|
telephone: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '联系电话',
|
title: '联系电话',
|
||||||
ui: {
|
ui: {
|
||||||
placeholder: '请输入'
|
placeholder: '请输入'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
driverName: {
|
cardNumber: {
|
||||||
title: '证件号码',
|
title: '证件号码',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
ui: {
|
ui: {
|
||||||
placeholder: '请输入证件号码'
|
placeholder: '请输入证件号码'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
serviceType2: {
|
declareStatus: {
|
||||||
title: '申报状态',
|
title: '申报状态',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
ui: {
|
ui: {
|
||||||
placeholder: '请选择',
|
placeholder: '请选择',
|
||||||
widget: 'dict-select',
|
widget: 'dict-select',
|
||||||
params: { dictKey: 'service:type' },
|
params: { dictKey: 'taxincome:declare:status' },
|
||||||
containsAllLabel: true,
|
containsAllLabel: true,
|
||||||
visibleIf: {
|
visibleIf: {
|
||||||
_$expand: (value: boolean) => value
|
_$expand: (value: boolean) => value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
serviceType3: {
|
declareResult: {
|
||||||
title: '申报结果',
|
title: '申报结果',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
ui: {
|
ui: {
|
||||||
@ -150,20 +150,22 @@ export class TaxManagementIndividualDeclareComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
serviceType1: {
|
isOvertime: {
|
||||||
title: '是否逾期',
|
title: '是否逾期',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
enum: [
|
||||||
|
{ value: '', label: '全部' },
|
||||||
|
{ value: false, label: '否' },
|
||||||
|
{ value: true, label: '是' }
|
||||||
|
],
|
||||||
ui: {
|
ui: {
|
||||||
placeholder: '请选择',
|
placeholder: '请选择',
|
||||||
widget: 'dict-select',
|
widget: 'select',
|
||||||
params: { dictKey: 'service:type' },
|
containsAllLabel: true
|
||||||
containsAllLabel: true,
|
},
|
||||||
visibleIf: {
|
default: ''
|
||||||
_$expand: (value: boolean) => value
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
createTime: {
|
taxDate: {
|
||||||
title: '税款所属期',
|
title: '税款所属期',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
ui: {
|
ui: {
|
||||||
@ -175,7 +177,7 @@ export class TaxManagementIndividualDeclareComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
} as SFDateWidgetSchema
|
} as SFDateWidgetSchema
|
||||||
},
|
},
|
||||||
createTime3: {
|
declareDate: {
|
||||||
title: '申报日期',
|
title: '申报日期',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
ui: {
|
ui: {
|
||||||
@ -187,7 +189,7 @@ export class TaxManagementIndividualDeclareComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
} as SFDateWidgetSchema
|
} as SFDateWidgetSchema
|
||||||
},
|
},
|
||||||
enterpriseInfoId: {
|
ltdId: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '网络货运人',
|
title: '网络货运人',
|
||||||
ui: {
|
ui: {
|
||||||
@ -214,38 +216,57 @@ export class TaxManagementIndividualDeclareComponent implements OnInit {
|
|||||||
initST() {
|
initST() {
|
||||||
this.columns = [
|
this.columns = [
|
||||||
{ title: '', type: 'checkbox', className: 'text-center', width: '60px' },
|
{ 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: '税款所属期起',
|
title: '税款所属期起',
|
||||||
render: 'billComplianceVOS',
|
index: 'skssqq',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
width: '150px'
|
width: '150px'
|
||||||
},
|
},
|
||||||
{ title: '税款所属期止', render: 'freightDetails', className: 'text-center', width: '150px' },
|
{ title: '税款所属期止', index: 'skssqz', className: 'text-center', width: '150px' },
|
||||||
{
|
{
|
||||||
title: '纳税人名称',
|
title: '纳税人名称',
|
||||||
render: 'serviceType',
|
index: 'nsrmc',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
width: '180px'
|
width: '180px'
|
||||||
},
|
},
|
||||||
{ title: '纳税人识别号', index: 'loadingPlace', render: 'loadingPlace', className: 'text-center', width: '200px' },
|
{ title: '纳税人识别号', index: 'nsrsbh', className: 'text-center', width: '200px' },
|
||||||
{ title: '姓名', index: 'loadingPlace', render: 'loadingPlace', className: 'text-center', width: '200px' },
|
{ title: '姓名', index: 'xm', className: 'text-center', width: '200px' },
|
||||||
{ title: '证件类型', index: 'loadingPlace', render: 'loadingPlace', className: 'text-center', width: '200px' },
|
{ title: '证件类型', index: 'sfzjlx', className: 'text-center', width: '200px' },
|
||||||
{ title: '证件号码', index: 'loadingPlace', render: 'loadingPlace', className: 'text-center', width: '200px' },
|
{ title: '证件号码', index: 'sfzjhm', className: 'text-center', width: '200px' },
|
||||||
{ title: '联系电话', index: 'loadingPlace', render: 'loadingPlace', className: 'text-center', width: '200px' },
|
{ title: '联系电话', index: 'lxdh', className: 'text-center', width: '200px' },
|
||||||
{ title: '国家(地区)', index: 'loadingPlace', render: 'loadingPlace', className: 'text-center', width: '200px' },
|
{ title: '国家(地区)', index: ' gjdq', className: 'text-center', width: '200px' },
|
||||||
{ title: '所属行业', index: 'loadingPlace', render: 'loadingPlace', className: 'text-center', width: '200px' },
|
{ title: '所属行业', index: 'hy', className: 'text-center', width: '200px' },
|
||||||
{ title: '征收项目', index: 'loadingPlace', render: 'loadingPlace', className: 'text-center', width: '200px' },
|
{ title: '征收项目', index: 'zsxm', className: 'text-center', width: '200px' },
|
||||||
{ title: '征收品目', index: 'loadingPlace', render: 'loadingPlace', className: 'text-center', width: '200px' },
|
{ title: '征收品目', index: 'zsmp', className: 'text-center', width: '200px' },
|
||||||
{ title: '计税依据', index: 'loadingPlace', render: 'loadingPlace', className: 'text-center', width: '200px' },
|
{ title: '计税依据', index: 'jsyj', className: 'text-center', width: '200px' },
|
||||||
{ title: '税率', index: 'loadingPlace', render: 'loadingPlace', className: 'text-center', width: '200px' },
|
{ title: '税率', index: 'sl', render: 'sl', className: 'text-center', width: '200px' },
|
||||||
{ title: '应纳税额', render: 'transportInfo', className: 'text-center', width: '180px' },
|
{ title: '应纳税额', index: 'ynse', className: 'text-center', width: '180px' },
|
||||||
{ title: '减免税额', render: 'transportInfo', className: 'text-center', width: '180px' },
|
{ title: '减免税额', index: 'jmse', className: 'text-center', width: '180px' },
|
||||||
{ title: '已缴纳税额', render: 'transportInfo', className: 'text-center', width: '180px' },
|
{ title: '已缴纳税额', index: 'yjnse', className: 'text-center', width: '180px' },
|
||||||
{ title: '应代征税额', render: 'transportInfo', className: 'text-center', width: '180px' },
|
{ title: '应代征税额', index: 'dzse', className: 'text-center', width: '180px' },
|
||||||
{ title: '已代征税额', render: 'payeeName', className: 'text-center', width: '150px' },
|
{ title: '已代征税额', index: 'ydzse', className: 'text-center', width: '150px' },
|
||||||
{ title: '申报日期', render: 'payeeName', className: 'text-center', width: '150px' },
|
{ title: '申报日期', render: 'sbrq', className: 'text-center', width: '150px' },
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -369,12 +390,16 @@ export class TaxManagementIndividualDeclareComponent implements OnInit {
|
|||||||
this.openWainingModal('请选择需要上传的数据');
|
this.openWainingModal('请选择需要上传的数据');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// this.service.request(this.service.$api_recall_reporting, { rows: this.selectedRows }).subscribe((res: any) => {
|
let params: any[] = [];
|
||||||
// if (res) {
|
this.selectedRows.forEach(item => {
|
||||||
// this.service.msgSrv.success('更新成功');
|
params.push(item.id);
|
||||||
// this.search();
|
});
|
||||||
// }
|
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
|
* @Author : Shiming
|
||||||
* @Date : 2021-12-27 10:30:56
|
* @Date : 2021-12-27 10:30:56
|
||||||
* @LastEditors : Shiming
|
* @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
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\tax-management\\services\\tax-management.service.ts
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* 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_uploadingTaxOrder = `/api/sdc/tax/uploadingTaxOrder`;
|
||||||
// 上传税务订单
|
// 上传税务订单
|
||||||
$api_get_getTaxFieldCheckList = `/api/sdc/taxFieldCheck/getTaxFieldCheckList`;
|
$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_recall_reporting = ``; // 撤回
|
||||||
$api_async_export_order_reporting_list = ``; // 导出订单上报
|
$api_async_export_order_reporting_list = ``; // 导出订单上报
|
||||||
$api_get_upload_setting = ``; // 修改上传设置
|
$api_get_upload_setting = ``; // 修改上传设置
|
||||||
|
|||||||
Reference in New Issue
Block a user