src/tabviews/custom/components/module/invoice/subTable/index.jsx
@@ -138,7 +138,7 @@ * @description 数据加载 */ async loadData () { const { config } = this.props const { config, tax_type } = this.props const { search, pageIndex, pageSize } = this.state this.setState({ @@ -167,6 +167,11 @@ item.key = index item.$Index = start + index + '' if (tax_type) { item.tax_rate = tax_type === 'special_invoice' ? item.general_tax_rate : item.small_tax_rate item.tax_rate = isNaN(item.tax_rate) ? 0 : +item.tax_rate } return item })