kts-component-invoice-operate 3.2.129 → 3.2.130

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -916,9 +916,12 @@ var ImportGoods = /*#__PURE__*/_createClass(function ImportGoods() {
916
916
  dataIndex: 'unit',
917
917
  key: 'unit'
918
918
  }, {
919
- title: '税率(%)',
919
+ title: '税率',
920
920
  dataIndex: 'taxRate',
921
- key: 'taxRate'
921
+ key: 'taxRate',
922
+ render: function render(text) {
923
+ return text || text === 0 ? "".concat(text, "%") : '';
924
+ }
922
925
  }, {
923
926
  title: '单价(含税)',
924
927
  dataIndex: 'priceIncludeTax',
@@ -13757,7 +13760,7 @@ var useColumns = (function (form) {
13757
13760
  }, {
13758
13761
  title: /*#__PURE__*/React.createElement(TitleText, {
13759
13762
  required: true
13760
- }, "\u7A0E\u7387%"),
13763
+ }, "\u7A0E\u7387"),
13761
13764
  dataIndex: 'taxRate',
13762
13765
  key: 'taxRate',
13763
13766
  align: 'right',
@@ -20603,7 +20606,7 @@ var useColumns$1 = (function (form) {
20603
20606
  }, {
20604
20607
  title: /*#__PURE__*/React.createElement(TitleText$1, {
20605
20608
  required: true
20606
- }, "\u7A0E\u7387%"),
20609
+ }, "\u7A0E\u7387"),
20607
20610
  dataIndex: 'taxRate',
20608
20611
  key: 'taxRate',
20609
20612
  align: 'right',
package/dist/index.js CHANGED
@@ -926,9 +926,12 @@ var ImportGoods = /*#__PURE__*/_createClass(function ImportGoods() {
926
926
  dataIndex: 'unit',
927
927
  key: 'unit'
928
928
  }, {
929
- title: '税率(%)',
929
+ title: '税率',
930
930
  dataIndex: 'taxRate',
931
- key: 'taxRate'
931
+ key: 'taxRate',
932
+ render: function render(text) {
933
+ return text || text === 0 ? "".concat(text, "%") : '';
934
+ }
932
935
  }, {
933
936
  title: '单价(含税)',
934
937
  dataIndex: 'priceIncludeTax',
@@ -13767,7 +13770,7 @@ var useColumns = (function (form) {
13767
13770
  }, {
13768
13771
  title: /*#__PURE__*/React__default['default'].createElement(TitleText, {
13769
13772
  required: true
13770
- }, "\u7A0E\u7387%"),
13773
+ }, "\u7A0E\u7387"),
13771
13774
  dataIndex: 'taxRate',
13772
13775
  key: 'taxRate',
13773
13776
  align: 'right',
@@ -20613,7 +20616,7 @@ var useColumns$1 = (function (form) {
20613
20616
  }, {
20614
20617
  title: /*#__PURE__*/React__default['default'].createElement(TitleText$1, {
20615
20618
  required: true
20616
- }, "\u7A0E\u7387%"),
20619
+ }, "\u7A0E\u7387"),
20617
20620
  dataIndex: 'taxRate',
20618
20621
  key: 'taxRate',
20619
20622
  align: 'right',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kts-component-invoice-operate",
3
- "version": "3.2.129",
3
+ "version": "3.2.130",
4
4
  "scripts": {
5
5
  "dev": "dumi dev",
6
6
  "start": "dumi dev",
@@ -37,9 +37,10 @@ export default class ImportGoods<ColumnType = any> {
37
37
  key: 'unit',
38
38
  },
39
39
  {
40
- title: '税率(%)',
40
+ title: '税率',
41
41
  dataIndex: 'taxRate',
42
42
  key: 'taxRate',
43
+ render: text => text || text === 0 ? `${text}%` : ''
43
44
  },
44
45
  {
45
46
  title: '单价(含税)',
@@ -475,7 +475,7 @@ export default (form: WrappedFormUtils) => {
475
475
  },
476
476
  },
477
477
  {
478
- title: <TitleText required >税率%</TitleText>,
478
+ title: <TitleText required >税率</TitleText>,
479
479
  dataIndex: 'taxRate',
480
480
  key: 'taxRate',
481
481
  align: 'right',
@@ -445,7 +445,7 @@ export default (form: WrappedFormUtils) => {
445
445
  },
446
446
  },
447
447
  {
448
- title: <TitleText required >税率%</TitleText>,
448
+ title: <TitleText required >税率</TitleText>,
449
449
  dataIndex: 'taxRate',
450
450
  key: 'taxRate',
451
451
  align: 'right',