kts-component-invoice-operate 3.1.0 → 3.1.1
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
|
@@ -2,10 +2,10 @@ import 'kts-components-antd-x3/dist/kts-components-antd-x3.css';
|
|
|
2
2
|
import React, { createElement } from 'react';
|
|
3
3
|
import GreyReactBox, { decorator } from 'grey-react-box';
|
|
4
4
|
import { chain as chain$1, bignumber, create, all } from 'mathjs';
|
|
5
|
-
import { message, Form, Input, Icon, Tag, Select, Button,
|
|
5
|
+
import { message, Form, Input, Icon, Tag, Select, Button, Tooltip, Switch as Switch$1, Typography, Menu, Dropdown, AutoComplete, Spin, Checkbox, Drawer, Descriptions, Empty, Divider, Popover, Table, Tree, Modal, Row, Col } from 'kts-components-antd-x3';
|
|
6
6
|
import { v4 } from 'uuid';
|
|
7
7
|
import classnames from 'classnames';
|
|
8
|
-
import { TableManual, Form as Form$1, Drawer as Drawer$1 } from 'kts-xui';
|
|
8
|
+
import { TableManual, Switch, Form as Form$1, Drawer as Drawer$1 } from 'kts-xui';
|
|
9
9
|
import { Input as Input$1, NumberPicker } from '@formily/antd-components';
|
|
10
10
|
import { createAsyncFormActions, FormEffectHooks, SchemaForm, FormButtonGroup, SchemaMarkupField } from '@formily/antd';
|
|
11
11
|
|
|
@@ -2028,7 +2028,7 @@ var Statistics = (function () {
|
|
|
2028
2028
|
className: "kts-invoice-operate-goods-list-statistics-row"
|
|
2029
2029
|
}, React.createElement("div", {
|
|
2030
2030
|
style: {
|
|
2031
|
-
width: 45
|
|
2031
|
+
width: 45.92
|
|
2032
2032
|
}
|
|
2033
2033
|
}), React.createElement("div", {
|
|
2034
2034
|
style: {
|
|
@@ -2060,7 +2060,7 @@ var Statistics = (function () {
|
|
|
2060
2060
|
className: "kts-invoice-operate-goods-list-statistics-row"
|
|
2061
2061
|
}, React.createElement("div", {
|
|
2062
2062
|
style: {
|
|
2063
|
-
width: 45
|
|
2063
|
+
width: 45.92
|
|
2064
2064
|
}
|
|
2065
2065
|
}), React.createElement("div", {
|
|
2066
2066
|
style: {
|
|
@@ -2214,8 +2214,6 @@ var TaxIncludedSwitch = (function () {
|
|
|
2214
2214
|
}, "\u542B\u7A0E:"), React.createElement(Switch, {
|
|
2215
2215
|
disabled: isSwitchTax === false,
|
|
2216
2216
|
checked: isTaxIncluded,
|
|
2217
|
-
checkedChildren: "\u5F00",
|
|
2218
|
-
unCheckedChildren: "\u5173",
|
|
2219
2217
|
defaultChecked: true,
|
|
2220
2218
|
onChange: onChange
|
|
2221
2219
|
}));
|
|
@@ -2263,7 +2261,7 @@ var DescribeSwitch = (function () {
|
|
|
2263
2261
|
marginRight: 3
|
|
2264
2262
|
},
|
|
2265
2263
|
type: "info-circle"
|
|
2266
|
-
})), "\u4F7F\u7528\u54EA\u65B9\u5546\u54C1\u63CF\u8FF0:"), React.createElement(Switch, {
|
|
2264
|
+
})), "\u4F7F\u7528\u54EA\u65B9\u5546\u54C1\u63CF\u8FF0:"), React.createElement(Switch$1, {
|
|
2267
2265
|
checked: isMyShow,
|
|
2268
2266
|
checkedChildren: "\u6211\u65B9",
|
|
2269
2267
|
unCheckedChildren: "\u5BF9\u65B9",
|
|
@@ -11063,7 +11061,7 @@ var useRowSelection = (function () {
|
|
|
11063
11061
|
};
|
|
11064
11062
|
});
|
|
11065
11063
|
|
|
11066
|
-
var css_248z$7 = ".kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-table-tax-rate .ktsAnt3x-select-selection-selected-value {\n float: right;\n}\n.kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-able {\n display: flex;\n padding: 10px;\n border-bottom: 1px solid #dcdcdc;\n}\n.kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-able-list {\n flex: 1;\n display: flex;\n gap: 10px;\n padding-right: 10px;\n}\n.kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-able-list button {\n padding-left: 10px;\n padding-right: 10px;\n border-radius: 12px;\n color: #0074ff;\n border: 1px solid #0074ff;\n height: 24px;\n line-height: 22px;\n cursor: pointer;\n font-size: 12px;\n}\n.kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-able-list button[disabled] {\n color: rgba(0, 0, 0, 0.25);\n border: 1px solid;\n}\n.kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-able-extend {\n flex: none;\n display: flex;\n gap: 5px;\n}\n.kts-invoice-operate-goods-list-table.kts-invoice-operate-prefab .ktsAnt3x-table-row {\n color: rgba(0, 0, 0, 0.25);\n background: #f5f5f5;\n}\n.kts-invoice-operate-goods-list-table-search-protrude {\n background: #ff0;\n color: #000;\n font-weight: bold;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-form-item {\n margin: 0;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-form-item-control {\n line-height: 1;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-input:focus {\n box-shadow: none;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-input,\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-select-selection--single {\n border: none;\n border-radius: 0;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-form-explain {\n display: none;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .has-error .ktsAnt3x-input {\n border: #f5222d solid 1px;\n}\n";
|
|
11064
|
+
var css_248z$7 = ".kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-table-tax-rate .ktsAnt3x-select-selection-selected-value {\n float: right;\n}\n.kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-able {\n display: flex;\n padding: 10px;\n border-bottom: 1px solid #dcdcdc;\n}\n.kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-able-list {\n flex: 1;\n display: flex;\n gap: 10px;\n padding-right: 10px;\n}\n.kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-able-list button {\n padding-left: 10px;\n padding-right: 10px;\n border-radius: 12px;\n color: #0074ff;\n border: 1px solid #0074ff;\n height: 24px;\n line-height: 22px;\n cursor: pointer;\n font-size: 12px;\n}\n.kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-able-list button[disabled] {\n color: rgba(0, 0, 0, 0.25);\n border: 1px solid;\n}\n.kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-able-extend {\n flex: none;\n display: flex;\n gap: 5px;\n}\n.kts-invoice-operate-goods-list-table.kts-invoice-operate-prefab .ktsAnt3x-table-row {\n color: rgba(0, 0, 0, 0.25);\n background: #f5f5f5;\n}\n.kts-invoice-operate-goods-list-table-search-protrude {\n background: #ff0;\n color: #000;\n font-weight: bold;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-form-item {\n margin: 0;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-form-item-control {\n line-height: 1;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-input:focus {\n box-shadow: none;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-input,\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-select-selection--single {\n border: none;\n border-radius: 0;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-form-explain {\n display: none;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .has-error .ktsAnt3x-input {\n border: #f5222d solid 1px;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAntX-checkbox-wrapper .ktsAntX-checkbox-checked .ktsAntX-checkbox-inner::after {\n width: 5px;\n height: 10px;\n}\n";
|
|
11067
11065
|
styleInject(css_248z$7);
|
|
11068
11066
|
|
|
11069
11067
|
var keys$1 = {};
|
package/dist/index.js
CHANGED
|
@@ -2038,7 +2038,7 @@ var Statistics = (function () {
|
|
|
2038
2038
|
className: "kts-invoice-operate-goods-list-statistics-row"
|
|
2039
2039
|
}, React__default['default'].createElement("div", {
|
|
2040
2040
|
style: {
|
|
2041
|
-
width: 45
|
|
2041
|
+
width: 45.92
|
|
2042
2042
|
}
|
|
2043
2043
|
}), React__default['default'].createElement("div", {
|
|
2044
2044
|
style: {
|
|
@@ -2070,7 +2070,7 @@ var Statistics = (function () {
|
|
|
2070
2070
|
className: "kts-invoice-operate-goods-list-statistics-row"
|
|
2071
2071
|
}, React__default['default'].createElement("div", {
|
|
2072
2072
|
style: {
|
|
2073
|
-
width: 45
|
|
2073
|
+
width: 45.92
|
|
2074
2074
|
}
|
|
2075
2075
|
}), React__default['default'].createElement("div", {
|
|
2076
2076
|
style: {
|
|
@@ -2221,11 +2221,9 @@ var TaxIncludedSwitch = (function () {
|
|
|
2221
2221
|
style: {
|
|
2222
2222
|
marginRight: 2
|
|
2223
2223
|
}
|
|
2224
|
-
}, "\u542B\u7A0E:"), React__default['default'].createElement(
|
|
2224
|
+
}, "\u542B\u7A0E:"), React__default['default'].createElement(ktsXui.Switch, {
|
|
2225
2225
|
disabled: isSwitchTax === false,
|
|
2226
2226
|
checked: isTaxIncluded,
|
|
2227
|
-
checkedChildren: "\u5F00",
|
|
2228
|
-
unCheckedChildren: "\u5173",
|
|
2229
2227
|
defaultChecked: true,
|
|
2230
2228
|
onChange: onChange
|
|
2231
2229
|
}));
|
|
@@ -11073,7 +11071,7 @@ var useRowSelection = (function () {
|
|
|
11073
11071
|
};
|
|
11074
11072
|
});
|
|
11075
11073
|
|
|
11076
|
-
var css_248z$7 = ".kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-table-tax-rate .ktsAnt3x-select-selection-selected-value {\n float: right;\n}\n.kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-able {\n display: flex;\n padding: 10px;\n border-bottom: 1px solid #dcdcdc;\n}\n.kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-able-list {\n flex: 1;\n display: flex;\n gap: 10px;\n padding-right: 10px;\n}\n.kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-able-list button {\n padding-left: 10px;\n padding-right: 10px;\n border-radius: 12px;\n color: #0074ff;\n border: 1px solid #0074ff;\n height: 24px;\n line-height: 22px;\n cursor: pointer;\n font-size: 12px;\n}\n.kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-able-list button[disabled] {\n color: rgba(0, 0, 0, 0.25);\n border: 1px solid;\n}\n.kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-able-extend {\n flex: none;\n display: flex;\n gap: 5px;\n}\n.kts-invoice-operate-goods-list-table.kts-invoice-operate-prefab .ktsAnt3x-table-row {\n color: rgba(0, 0, 0, 0.25);\n background: #f5f5f5;\n}\n.kts-invoice-operate-goods-list-table-search-protrude {\n background: #ff0;\n color: #000;\n font-weight: bold;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-form-item {\n margin: 0;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-form-item-control {\n line-height: 1;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-input:focus {\n box-shadow: none;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-input,\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-select-selection--single {\n border: none;\n border-radius: 0;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-form-explain {\n display: none;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .has-error .ktsAnt3x-input {\n border: #f5222d solid 1px;\n}\n";
|
|
11074
|
+
var css_248z$7 = ".kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-table-tax-rate .ktsAnt3x-select-selection-selected-value {\n float: right;\n}\n.kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-able {\n display: flex;\n padding: 10px;\n border-bottom: 1px solid #dcdcdc;\n}\n.kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-able-list {\n flex: 1;\n display: flex;\n gap: 10px;\n padding-right: 10px;\n}\n.kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-able-list button {\n padding-left: 10px;\n padding-right: 10px;\n border-radius: 12px;\n color: #0074ff;\n border: 1px solid #0074ff;\n height: 24px;\n line-height: 22px;\n cursor: pointer;\n font-size: 12px;\n}\n.kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-able-list button[disabled] {\n color: rgba(0, 0, 0, 0.25);\n border: 1px solid;\n}\n.kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-able-extend {\n flex: none;\n display: flex;\n gap: 5px;\n}\n.kts-invoice-operate-goods-list-table.kts-invoice-operate-prefab .ktsAnt3x-table-row {\n color: rgba(0, 0, 0, 0.25);\n background: #f5f5f5;\n}\n.kts-invoice-operate-goods-list-table-search-protrude {\n background: #ff0;\n color: #000;\n font-weight: bold;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-form-item {\n margin: 0;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-form-item-control {\n line-height: 1;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-input:focus {\n box-shadow: none;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-input,\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-select-selection--single {\n border: none;\n border-radius: 0;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-form-explain {\n display: none;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .has-error .ktsAnt3x-input {\n border: #f5222d solid 1px;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAntX-checkbox-wrapper .ktsAntX-checkbox-checked .ktsAntX-checkbox-inner::after {\n width: 5px;\n height: 10px;\n}\n";
|
|
11077
11075
|
styleInject(css_248z$7);
|
|
11078
11076
|
|
|
11079
11077
|
var keys$1 = {};
|
package/package.json
CHANGED
|
@@ -77,7 +77,7 @@ export default () => {
|
|
|
77
77
|
return (
|
|
78
78
|
<div className="kts-invoice-operate-goods-list-statistics">
|
|
79
79
|
<div className="kts-invoice-operate-goods-list-statistics-row">
|
|
80
|
-
<div style={{ width: 45 }} />
|
|
80
|
+
<div style={{ width: 45.92 }} />
|
|
81
81
|
<div style={{ flex: 1 }}>
|
|
82
82
|
<label>合计</label>
|
|
83
83
|
</div>
|
|
@@ -93,7 +93,7 @@ export default () => {
|
|
|
93
93
|
<div style={{ width: 111, border: 'none' }} />
|
|
94
94
|
</div>
|
|
95
95
|
<div className="kts-invoice-operate-goods-list-statistics-row">
|
|
96
|
-
<div style={{ width: 45 }} />
|
|
96
|
+
<div style={{ width: 45.92 }} />
|
|
97
97
|
<div style={{ flex: 5, border: 'none' }}>
|
|
98
98
|
<label>价税合计(大写)</label>
|
|
99
99
|
<label>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { Switch } from 'kts-
|
|
3
|
+
import { Switch } from 'kts-xui';
|
|
4
4
|
import Invoice from '../../../../';
|
|
5
5
|
|
|
6
6
|
export default () => {
|
|
@@ -23,8 +23,6 @@ export default () => {
|
|
|
23
23
|
<Switch
|
|
24
24
|
disabled={isSwitchTax === false}
|
|
25
25
|
checked={isTaxIncluded}
|
|
26
|
-
checkedChildren="开"
|
|
27
|
-
unCheckedChildren="关"
|
|
28
26
|
defaultChecked
|
|
29
27
|
onChange={onChange}
|
|
30
28
|
/>
|