kts-component-invoice-operate 3.0.1 → 3.0.3
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 +8 -7
- package/dist/index.js +8 -7
- package/package.json +1 -1
- package/src/Invoice/InvoiceController/InvoiceControllerForm/index.ts +3 -0
- package/src/Invoice/ui/GoodsList/ui/TableRow/index.tsx +0 -1
- package/src/Invoice/ui/GoodsList/ui/TableVirtual/index.tsx +1 -4
- package/d.dio +0 -10
package/dist/index.esm.js
CHANGED
|
@@ -781,14 +781,17 @@ var InvoiceControllerForm = /*#__PURE__*/function (_GreyReactBox) {
|
|
|
781
781
|
});
|
|
782
782
|
|
|
783
783
|
return sum.done().toNumber();
|
|
784
|
-
}());
|
|
784
|
+
}()); // 含税标记
|
|
785
|
+
|
|
786
|
+
|
|
787
|
+
_values.set('isTaxIncluded', this.state.goodsListState.isTaxIncluded);
|
|
785
788
|
|
|
786
789
|
return _context.abrupt("return", {
|
|
787
790
|
errors: _errors,
|
|
788
791
|
values: _values
|
|
789
792
|
});
|
|
790
793
|
|
|
791
|
-
case
|
|
794
|
+
case 33:
|
|
792
795
|
case "end":
|
|
793
796
|
return _context.stop();
|
|
794
797
|
}
|
|
@@ -2354,11 +2357,9 @@ function TableRow(props) {
|
|
|
2354
2357
|
return undefined;
|
|
2355
2358
|
}
|
|
2356
2359
|
}, [props['data-row-key'], goodsMap]);
|
|
2357
|
-
return (
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
}))
|
|
2361
|
-
);
|
|
2360
|
+
return React.createElement("tr", _objectSpread2(_objectSpread2({}, props), {}, {
|
|
2361
|
+
className: classnames(props.className, discount)
|
|
2362
|
+
}));
|
|
2362
2363
|
}
|
|
2363
2364
|
|
|
2364
2365
|
var _defs$1, _path$2;
|
package/dist/index.js
CHANGED
|
@@ -791,14 +791,17 @@ var InvoiceControllerForm = /*#__PURE__*/function (_GreyReactBox) {
|
|
|
791
791
|
});
|
|
792
792
|
|
|
793
793
|
return sum.done().toNumber();
|
|
794
|
-
}());
|
|
794
|
+
}()); // 含税标记
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
_values.set('isTaxIncluded', this.state.goodsListState.isTaxIncluded);
|
|
795
798
|
|
|
796
799
|
return _context.abrupt("return", {
|
|
797
800
|
errors: _errors,
|
|
798
801
|
values: _values
|
|
799
802
|
});
|
|
800
803
|
|
|
801
|
-
case
|
|
804
|
+
case 33:
|
|
802
805
|
case "end":
|
|
803
806
|
return _context.stop();
|
|
804
807
|
}
|
|
@@ -2364,11 +2367,9 @@ function TableRow(props) {
|
|
|
2364
2367
|
return undefined;
|
|
2365
2368
|
}
|
|
2366
2369
|
}, [props['data-row-key'], goodsMap]);
|
|
2367
|
-
return (
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
}))
|
|
2371
|
-
);
|
|
2370
|
+
return React__default['default'].createElement("tr", _objectSpread2(_objectSpread2({}, props), {}, {
|
|
2371
|
+
className: classnames__default['default'](props.className, discount)
|
|
2372
|
+
}));
|
|
2372
2373
|
}
|
|
2373
2374
|
|
|
2374
2375
|
var _defs$1, _path$2;
|
package/package.json
CHANGED
|
@@ -77,6 +77,9 @@ export default class InvoiceControllerForm extends GreyReactBox<InvoiceControlle
|
|
|
77
77
|
return sum.done().toNumber();
|
|
78
78
|
})());
|
|
79
79
|
|
|
80
|
+
// 含税标记
|
|
81
|
+
_values.set('isTaxIncluded', this.state.goodsListState.isTaxIncluded)
|
|
82
|
+
|
|
80
83
|
return { errors: _errors, values: _values };
|
|
81
84
|
}
|
|
82
85
|
}
|
|
@@ -23,7 +23,6 @@ export default function TableRow(props: any) {
|
|
|
23
23
|
}, [props['data-row-key'], goodsMap])
|
|
24
24
|
|
|
25
25
|
return (
|
|
26
|
-
// <tr {...props} className={`${isR ? 'kts-invoice-operate-goods-discount ' : ''}${props.className}`} />
|
|
27
26
|
<tr {...props} className={classnames(props.className, discount)} />
|
|
28
27
|
)
|
|
29
28
|
}
|
|
@@ -89,10 +89,7 @@ export default function <T = any>(props: TableProps<T>) {
|
|
|
89
89
|
}, [pointer, self, rowHeight]);
|
|
90
90
|
|
|
91
91
|
return (
|
|
92
|
-
<span
|
|
93
|
-
className="kts-invoice-operate-goods-table-virtual"
|
|
94
|
-
ref={(e) => { setSelf(e) }}
|
|
95
|
-
>
|
|
92
|
+
<span className="kts-invoice-operate-goods-table-virtual" ref={(e) => { setSelf(e) }} >
|
|
96
93
|
<Table {...props} dataSource={dataSource} />
|
|
97
94
|
</span>
|
|
98
95
|
);
|
package/d.dio
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<mxfile host="65bd71144e">
|
|
2
|
-
<diagram id="fPgEJXQJnfzUtXCRGjsd" name="第 1 页">
|
|
3
|
-
<mxGraphModel dx="1721" dy="1025" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
|
4
|
-
<root>
|
|
5
|
-
<mxCell id="0"/>
|
|
6
|
-
<mxCell id="1" parent="0"/>
|
|
7
|
-
</root>
|
|
8
|
-
</mxGraphModel>
|
|
9
|
-
</diagram>
|
|
10
|
-
</mxfile>
|