fix bug
This commit is contained in:
@ -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' },
|
||||
];
|
||||
}
|
||||
|
||||
@ -369,12 +390,16 @@ export class TaxManagementIndividualDeclareComponent implements OnInit {
|
||||
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);
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user