fix bug
This commit is contained in:
		@ -54,10 +54,10 @@ export class TaxManagementIndividualDeclareComponent implements OnInit {
 | 
			
		||||
   */
 | 
			
		||||
  get reqParams() {
 | 
			
		||||
    console.log();
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    const params = Object.assign({}, this.sf?.value || {});
 | 
			
		||||
    if(this.selectedIndex) {
 | 
			
		||||
      params.declareStatus = this.selectedIndex
 | 
			
		||||
    if (this.selectedIndex) {
 | 
			
		||||
      params.declareStatus = this.selectedIndex;
 | 
			
		||||
    }
 | 
			
		||||
    delete params._$expand;
 | 
			
		||||
    return { ...params };
 | 
			
		||||
@ -265,7 +265,14 @@ export class TaxManagementIndividualDeclareComponent implements OnInit {
 | 
			
		||||
      { 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: 'jsyj',
 | 
			
		||||
        className: 'text-center',
 | 
			
		||||
        width: '200px',
 | 
			
		||||
        type: 'widget',
 | 
			
		||||
        widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.ynse }) }
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        title: '税率',
 | 
			
		||||
        index: 'sl',
 | 
			
		||||
@ -282,14 +289,38 @@ export class TaxManagementIndividualDeclareComponent implements OnInit {
 | 
			
		||||
        type: 'widget',
 | 
			
		||||
        widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.ynse }) }
 | 
			
		||||
      },
 | 
			
		||||
      { title: '减免税额', index: 'jmse', className: 'text-center', width: '180px' ,  type: 'widget',
 | 
			
		||||
      widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.jmse }) } },
 | 
			
		||||
      { title: '已缴纳税额', index: 'yjnse', className: 'text-center', width: '180px',  type: 'widget',
 | 
			
		||||
      widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.yjnse }) } },
 | 
			
		||||
      { title: '应代征税额', index: 'dzse', className: 'text-center', width: '180px',  type: 'widget',
 | 
			
		||||
      widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.dzse }) } },
 | 
			
		||||
      { title: '已代征税额', index: 'ydzse', className: 'text-center', width: '150px',  type: 'widget',
 | 
			
		||||
      widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.ydzse }) } },
 | 
			
		||||
      {
 | 
			
		||||
        title: '减免税额',
 | 
			
		||||
        index: 'jmse',
 | 
			
		||||
        className: 'text-center',
 | 
			
		||||
        width: '180px',
 | 
			
		||||
        type: 'widget',
 | 
			
		||||
        widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.jmse }) }
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        title: '已缴纳税额',
 | 
			
		||||
        index: 'yjnse',
 | 
			
		||||
        className: 'text-center',
 | 
			
		||||
        width: '180px',
 | 
			
		||||
        type: 'widget',
 | 
			
		||||
        widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.yjnse }) }
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        title: '应代征税额',
 | 
			
		||||
        index: 'dzse',
 | 
			
		||||
        className: 'text-center',
 | 
			
		||||
        width: '180px',
 | 
			
		||||
        type: 'widget',
 | 
			
		||||
        widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.dzse }) }
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        title: '已代征税额',
 | 
			
		||||
        index: 'ydzse',
 | 
			
		||||
        className: 'text-center',
 | 
			
		||||
        width: '150px',
 | 
			
		||||
        type: 'widget',
 | 
			
		||||
        widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.ydzse }) }
 | 
			
		||||
      },
 | 
			
		||||
      { title: '申报日期', render: 'sbrq', className: 'text-center', width: '150px' }
 | 
			
		||||
    ];
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user