kts-component-invoice-operate 3.0.18 → 3.0.19
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/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/index.d.ts +2 -0
- package/dist/index.esm.js +5 -0
- package/dist/index.js +5 -0
- package/package.json +1 -1
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/index.ts +3 -0
- package/src/Invoice/ui/GoodsList/ui/Statistics/index.tsx +4 -0
package/dist/index.esm.js
CHANGED
|
@@ -1003,6 +1003,7 @@ var GoodsListState = /*#__PURE__*/_createClass(function GoodsListState() {
|
|
|
1003
1003
|
this.goodsMenuExpand = [];
|
|
1004
1004
|
this.amountIncludeTax = void 0;
|
|
1005
1005
|
this.amountExcludeTax = void 0;
|
|
1006
|
+
this.amountTax = void 0;
|
|
1006
1007
|
this.selectedGoodIndex = [];
|
|
1007
1008
|
this.discountGoodIndex = [];
|
|
1008
1009
|
this.endowCode = new EndowCode();
|
|
@@ -1996,6 +1997,10 @@ var Statistics = (function () {
|
|
|
1996
1997
|
/** 税额 */
|
|
1997
1998
|
|
|
1998
1999
|
var taxAmount = controller.useMemo(function (s) {
|
|
2000
|
+
if (typeof s.goodsListState.taxRateList === 'number') {
|
|
2001
|
+
return s.goodsListState.taxRateList;
|
|
2002
|
+
}
|
|
2003
|
+
|
|
1999
2004
|
var sum = chain$1(bignumber(0));
|
|
2000
2005
|
var editGood = s.goodsListState.editGood; // 正在编辑的货物
|
|
2001
2006
|
|
package/dist/index.js
CHANGED
|
@@ -1013,6 +1013,7 @@ var GoodsListState = /*#__PURE__*/_createClass(function GoodsListState() {
|
|
|
1013
1013
|
this.goodsMenuExpand = [];
|
|
1014
1014
|
this.amountIncludeTax = void 0;
|
|
1015
1015
|
this.amountExcludeTax = void 0;
|
|
1016
|
+
this.amountTax = void 0;
|
|
1016
1017
|
this.selectedGoodIndex = [];
|
|
1017
1018
|
this.discountGoodIndex = [];
|
|
1018
1019
|
this.endowCode = new EndowCode();
|
|
@@ -2006,6 +2007,10 @@ var Statistics = (function () {
|
|
|
2006
2007
|
/** 税额 */
|
|
2007
2008
|
|
|
2008
2009
|
var taxAmount = controller.useMemo(function (s) {
|
|
2010
|
+
if (typeof s.goodsListState.taxRateList === 'number') {
|
|
2011
|
+
return s.goodsListState.taxRateList;
|
|
2012
|
+
}
|
|
2013
|
+
|
|
2009
2014
|
var sum = mathjs.chain(mathjs.bignumber(0));
|
|
2010
2015
|
var editGood = s.goodsListState.editGood; // 正在编辑的货物
|
|
2011
2016
|
|
package/package.json
CHANGED
|
@@ -58,6 +58,10 @@ 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;
|
|
63
|
+
}
|
|
64
|
+
|
|
61
65
|
let sum = chain(bignumber(0));
|
|
62
66
|
const editGood = s.goodsListState.editGood; // 正在编辑的货物
|
|
63
67
|
s.goodsListState.goodsList.forEach((e) => {
|