kts-component-invoice-operate 3.0.19 → 3.0.20

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
@@ -1997,8 +1997,8 @@ var Statistics = (function () {
1997
1997
  /** 税额 */
1998
1998
 
1999
1999
  var taxAmount = controller.useMemo(function (s) {
2000
- if (typeof s.goodsListState.taxRateList === 'number') {
2001
- return s.goodsListState.taxRateList;
2000
+ if (typeof s.goodsListState.amountTax === 'number') {
2001
+ return s.goodsListState.amountTax;
2002
2002
  }
2003
2003
 
2004
2004
  var sum = chain$1(bignumber(0));
package/dist/index.js CHANGED
@@ -2007,8 +2007,8 @@ var Statistics = (function () {
2007
2007
  /** 税额 */
2008
2008
 
2009
2009
  var taxAmount = controller.useMemo(function (s) {
2010
- if (typeof s.goodsListState.taxRateList === 'number') {
2011
- return s.goodsListState.taxRateList;
2010
+ if (typeof s.goodsListState.amountTax === 'number') {
2011
+ return s.goodsListState.amountTax;
2012
2012
  }
2013
2013
 
2014
2014
  var sum = mathjs.chain(mathjs.bignumber(0));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kts-component-invoice-operate",
3
- "version": "3.0.19",
3
+ "version": "3.0.20",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -58,8 +58,8 @@ export default () => {
58
58
 
59
59
  /** 税额 */
60
60
  const taxAmount = controller.useMemo((s) => {
61
- if (typeof s.goodsListState.taxRateList === 'number') {
62
- return s.goodsListState.taxRateList;
61
+ if (typeof s.goodsListState.amountTax === 'number') {
62
+ return s.goodsListState.amountTax;
63
63
  }
64
64
 
65
65
  let sum = chain(bignumber(0));