kts-component-invoice-operate 3.2.212 → 3.2.213

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
@@ -19054,7 +19054,7 @@ var Statistics$1 = (function () {
19054
19054
  fontWeight: 'bold',
19055
19055
  marginLeft: 4
19056
19056
  }
19057
- }, lineAmountIncludeTax === '' ? '' : toStringChinese(lineAmountIncludeTax))), /*#__PURE__*/React.createElement("div", {
19057
+ }, lineAmountIncludeTax ? toStringChinese(lineAmountIncludeTax) : '')), /*#__PURE__*/React.createElement("div", {
19058
19058
  style: {
19059
19059
  flex: 1
19060
19060
  }
@@ -19068,7 +19068,7 @@ var Statistics$1 = (function () {
19068
19068
  minWidth: 119,
19069
19069
  maxWidth: 300
19070
19070
  }
19071
- }, "\xA5", lineAmountIncludeTax === '' ? '' : parseFloat(lineAmountIncludeTax).toFixed(2))));
19071
+ }, "\xA5", lineAmountIncludeTax ? parseFloat(lineAmountIncludeTax).toFixed(2) : '')));
19072
19072
  });
19073
19073
 
19074
19074
  var AddRowButton$1 = (function () {
package/dist/index.js CHANGED
@@ -19064,7 +19064,7 @@ var Statistics$1 = (function () {
19064
19064
  fontWeight: 'bold',
19065
19065
  marginLeft: 4
19066
19066
  }
19067
- }, lineAmountIncludeTax === '' ? '' : toStringChinese(lineAmountIncludeTax))), /*#__PURE__*/React__default['default'].createElement("div", {
19067
+ }, lineAmountIncludeTax ? toStringChinese(lineAmountIncludeTax) : '')), /*#__PURE__*/React__default['default'].createElement("div", {
19068
19068
  style: {
19069
19069
  flex: 1
19070
19070
  }
@@ -19078,7 +19078,7 @@ var Statistics$1 = (function () {
19078
19078
  minWidth: 119,
19079
19079
  maxWidth: 300
19080
19080
  }
19081
- }, "\xA5", lineAmountIncludeTax === '' ? '' : parseFloat(lineAmountIncludeTax).toFixed(2))));
19081
+ }, "\xA5", lineAmountIncludeTax ? parseFloat(lineAmountIncludeTax).toFixed(2) : '')));
19082
19082
  });
19083
19083
 
19084
19084
  var AddRowButton$1 = (function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kts-component-invoice-operate",
3
- "version": "3.2.212",
3
+ "version": "3.2.213",
4
4
  "scripts": {
5
5
  "dev": "dumi dev --max-old-space-size=6096",
6
6
  "start": "dumi dev",
@@ -87,11 +87,11 @@ export default () => {
87
87
  <div>价税合计(大写)</div>
88
88
  <div style={{ paddingLeft: 30 }} >
89
89
  <Icon style={{fontSize: 16}} component={ForkSvg} />
90
- <span style={{ fontWeight: 'bold', marginLeft: 4 }} >{lineAmountIncludeTax === '' ? '' :Money.toStringChinese(lineAmountIncludeTax)}</span>
90
+ <span style={{ fontWeight: 'bold', marginLeft: 4 }} >{lineAmountIncludeTax?Money.toStringChinese(lineAmountIncludeTax):''}</span>
91
91
  </div>
92
92
  <div style={{ flex: 1 }} />
93
93
  <div style={{ width: 90, color: '#9F613E' }} >(小写)</div>
94
- <div style={{ minWidth: 119, maxWidth: 300 }} >¥{lineAmountIncludeTax === '' ? '' :parseFloat(lineAmountIncludeTax).toFixed(2)}</div>
94
+ <div style={{ minWidth: 119, maxWidth: 300 }} >¥{lineAmountIncludeTax?parseFloat(lineAmountIncludeTax).toFixed(2):''}</div>
95
95
  </div>
96
96
  </div >
97
97
  );