kts-component-invoice-operate 3.0.23 → 3.1.0
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/ui/GoodsList/ui/TableVirtual/index.d.ts +2 -2
- package/dist/Invoice/ui/GoodsList/ui/TableVirtual.o/index.d.ts +4 -0
- package/dist/index.esm.js +22 -26
- package/dist/index.js +21 -25
- package/docs/index.md +2 -2
- package/docs-dist/umi.css +19 -19
- package/docs-dist/umi.js +1 -1
- package/package.json +3 -3
- package/src/Invoice/_test/endowCode/index.tsx +2 -2
- package/src/Invoice/ui/GoodsList/hook/useColumns/index.tsx +3 -2
- package/src/Invoice/ui/GoodsList/index.less +99 -71
- package/src/Invoice/ui/GoodsList/index.tsx +1 -1
- package/src/Invoice/ui/GoodsList/ui/Statistics/index.less +5 -5
- package/src/Invoice/ui/GoodsList/ui/Statistics/index.tsx +3 -7
- package/src/Invoice/ui/GoodsList/ui/TableVirtual/index.less +30 -35
- package/src/Invoice/ui/GoodsList/ui/TableVirtual/index.tsx +104 -94
- package/src/Invoice/ui/GoodsList/ui/TableVirtual.o/index.less +44 -0
- package/src/Invoice/ui/GoodsList/ui/TableVirtual.o/index.tsx +96 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { TableProps } from
|
|
2
|
+
import { TableProps } from "kts-xui";
|
|
3
3
|
import './index.less';
|
|
4
|
-
export default function <T = any>(props: TableProps<T>): JSX.Element;
|
|
4
|
+
export default function <T extends object = any>(props: TableProps<T>): JSX.Element;
|
package/dist/index.esm.js
CHANGED
|
@@ -2,12 +2,12 @@ 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,
|
|
5
|
+
import { message, Form, Input, Icon, Tag, Select, Button, Switch, Tooltip, 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
9
|
import { Input as Input$1, NumberPicker } from '@formily/antd-components';
|
|
9
10
|
import { createAsyncFormActions, FormEffectHooks, SchemaForm, FormButtonGroup, SchemaMarkupField } from '@formily/antd';
|
|
10
|
-
import { Form as Form$1, Drawer as Drawer$1 } from 'kts-xui';
|
|
11
11
|
|
|
12
12
|
function ownKeys(object, enumerableOnly) {
|
|
13
13
|
var keys = Object.keys(object);
|
|
@@ -1839,10 +1839,12 @@ var FormSpanString = /*#__PURE__*/function (_React$Component) {
|
|
|
1839
1839
|
// }
|
|
1840
1840
|
// }
|
|
1841
1841
|
|
|
1842
|
-
var css_248z$2 = ".kts-invoice-operate-goods-table-virtual .
|
|
1842
|
+
var css_248z$2 = ".kts-invoice-operate-goods-table-virtual .ktsAntX-table-body {\n height: 280px;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table.ktsAntX-table-bordered > .ktsAntX-table-container > .ktsAntX-table-header > table > thead > tr > th {\n padding: 0 10px;\n height: 32px;\n background: #f4f4f4;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table.ktsAntX-table-bordered > .ktsAntX-table-container > .ktsAntX-table-body > table > tbody > tr > td {\n padding: 0;\n height: 32px;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-body {\n position: relative;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-body > table {\n position: absolute;\n left: 0;\n top: 0;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody {\n position: relative;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-checkbox-wrapper .ktsAntX-checkbox-inner {\n width: 16px;\n height: 16px;\n border: 1px solid #d9d9d9;\n border-radius: 2px;\n top: 1px;\n}\n";
|
|
1843
1843
|
styleInject(css_248z$2);
|
|
1844
1844
|
|
|
1845
1845
|
function TableVirtual (props) {
|
|
1846
|
+
var _props$dataSource2;
|
|
1847
|
+
|
|
1846
1848
|
var _React$useState = React.useState(null),
|
|
1847
1849
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
1848
1850
|
self = _React$useState2[0],
|
|
@@ -1850,7 +1852,7 @@ function TableVirtual (props) {
|
|
|
1850
1852
|
|
|
1851
1853
|
var tableBody = React.useMemo(function () {
|
|
1852
1854
|
if (!self) return;
|
|
1853
|
-
return self.querySelector('.
|
|
1855
|
+
return self.querySelector('.ktsAntX-table-body');
|
|
1854
1856
|
}, [self]);
|
|
1855
1857
|
/** 显示指针 */
|
|
1856
1858
|
|
|
@@ -1863,7 +1865,7 @@ function TableVirtual (props) {
|
|
|
1863
1865
|
|
|
1864
1866
|
var rowHeight = React.useMemo(function () {
|
|
1865
1867
|
if (!self) return 33;
|
|
1866
|
-
var td = self.querySelector('.
|
|
1868
|
+
var td = self.querySelector('.ktsAntX-table-tbody .ktsAntX-table-row');
|
|
1867
1869
|
if (!td) return 33;
|
|
1868
1870
|
return td.clientHeight;
|
|
1869
1871
|
}, [self, props.dataSource]);
|
|
@@ -1921,16 +1923,22 @@ function TableVirtual (props) {
|
|
|
1921
1923
|
|
|
1922
1924
|
React.useEffect(function () {
|
|
1923
1925
|
if (!self) return;
|
|
1924
|
-
var table = self.querySelector('.
|
|
1926
|
+
var table = self.querySelector('.ktsAntX-table .ktsAntX-table-body>table');
|
|
1925
1927
|
if (!table) return;
|
|
1926
1928
|
table.style.top = "".concat(pointer * rowHeight, "px");
|
|
1927
1929
|
}, [pointer, self, rowHeight]);
|
|
1930
|
+
React.useEffect(function () {
|
|
1931
|
+
if (!self) return;
|
|
1932
|
+
var cont = self.querySelector('.kts-invoice-operate-goods-table-virtual .ktsAntX-table-body');
|
|
1933
|
+
if (!cont) return;
|
|
1934
|
+
cont.scrollTop = 0;
|
|
1935
|
+
}, [(_props$dataSource2 = props.dataSource) === null || _props$dataSource2 === void 0 ? void 0 : _props$dataSource2.length]);
|
|
1928
1936
|
return React.createElement("span", {
|
|
1929
1937
|
className: "kts-invoice-operate-goods-table-virtual",
|
|
1930
1938
|
ref: function ref(e) {
|
|
1931
1939
|
setSelf(e);
|
|
1932
1940
|
}
|
|
1933
|
-
}, React.createElement(
|
|
1941
|
+
}, React.createElement(TableManual, _objectSpread2(_objectSpread2({}, props), {}, {
|
|
1934
1942
|
dataSource: dataSource
|
|
1935
1943
|
})));
|
|
1936
1944
|
}
|
|
@@ -2056,30 +2064,17 @@ var Statistics = (function () {
|
|
|
2056
2064
|
}
|
|
2057
2065
|
}), React.createElement("div", {
|
|
2058
2066
|
style: {
|
|
2059
|
-
flex:
|
|
2067
|
+
flex: 5,
|
|
2060
2068
|
border: 'none'
|
|
2061
2069
|
}
|
|
2062
2070
|
}, React.createElement("label", null, "\u4EF7\u7A0E\u5408\u8BA1\uFF08\u5927\u5199\uFF09"), React.createElement("label", null, nzhcn.toMoney(lineAmountIncludeTax, {
|
|
2063
2071
|
outSymbol: false
|
|
2064
2072
|
}))), React.createElement("div", {
|
|
2065
2073
|
style: {
|
|
2066
|
-
flex:
|
|
2067
|
-
border: 'none',
|
|
2068
|
-
textAlign: 'right'
|
|
2069
|
-
}
|
|
2070
|
-
}, React.createElement("label", null, "\uFF08\u5C0F\u5199\uFF09")), React.createElement("div", {
|
|
2071
|
-
style: {
|
|
2072
|
-
flex: 'none',
|
|
2073
|
-
width: 119,
|
|
2074
|
-
textAlign: 'right',
|
|
2074
|
+
flex: 5,
|
|
2075
2075
|
border: 'none'
|
|
2076
2076
|
}
|
|
2077
|
-
}, React.createElement("label", null, parseFloat(lineAmountIncludeTax).toFixed(2)))
|
|
2078
|
-
style: {
|
|
2079
|
-
width: 301,
|
|
2080
|
-
border: 'none'
|
|
2081
|
-
}
|
|
2082
|
-
})));
|
|
2077
|
+
}, React.createElement("label", null, "\uFF08\u5C0F\u5199\uFF09 ", parseFloat(lineAmountIncludeTax).toFixed(2)))));
|
|
2083
2078
|
});
|
|
2084
2079
|
|
|
2085
2080
|
var AddRowButton = (function () {
|
|
@@ -10384,7 +10379,8 @@ var useColumns = (function (form) {
|
|
|
10384
10379
|
title: '操作',
|
|
10385
10380
|
key: 'operating',
|
|
10386
10381
|
align: 'right',
|
|
10387
|
-
width:
|
|
10382
|
+
width: 130,
|
|
10383
|
+
fixed: 'right',
|
|
10388
10384
|
render: function render(_value, record) {
|
|
10389
10385
|
return React.createElement(RowMenu, {
|
|
10390
10386
|
key: record.lineAttribute,
|
|
@@ -11067,7 +11063,7 @@ var useRowSelection = (function () {
|
|
|
11067
11063
|
};
|
|
11068
11064
|
});
|
|
11069
11065
|
|
|
11070
|
-
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
|
|
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";
|
|
11071
11067
|
styleInject(css_248z$7);
|
|
11072
11068
|
|
|
11073
11069
|
var keys$1 = {};
|
|
@@ -11899,7 +11895,7 @@ var Main = decorator(Form.create())(function (props) {
|
|
|
11899
11895
|
rowKey: "$index",
|
|
11900
11896
|
pagination: false,
|
|
11901
11897
|
scroll: {
|
|
11902
|
-
y:
|
|
11898
|
+
y: 280
|
|
11903
11899
|
},
|
|
11904
11900
|
components: {
|
|
11905
11901
|
body: {
|
package/dist/index.js
CHANGED
|
@@ -9,9 +9,9 @@ var mathjs = require('mathjs');
|
|
|
9
9
|
var ktsComponentsAntdX3 = require('kts-components-antd-x3');
|
|
10
10
|
var uuid = require('uuid');
|
|
11
11
|
var classnames = require('classnames');
|
|
12
|
+
var ktsXui = require('kts-xui');
|
|
12
13
|
var antdComponents = require('@formily/antd-components');
|
|
13
14
|
var antd = require('@formily/antd');
|
|
14
|
-
var ktsXui = require('kts-xui');
|
|
15
15
|
|
|
16
16
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
17
17
|
|
|
@@ -1849,10 +1849,12 @@ var FormSpanString = /*#__PURE__*/function (_React$Component) {
|
|
|
1849
1849
|
// }
|
|
1850
1850
|
// }
|
|
1851
1851
|
|
|
1852
|
-
var css_248z$2 = ".kts-invoice-operate-goods-table-virtual .
|
|
1852
|
+
var css_248z$2 = ".kts-invoice-operate-goods-table-virtual .ktsAntX-table-body {\n height: 280px;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table.ktsAntX-table-bordered > .ktsAntX-table-container > .ktsAntX-table-header > table > thead > tr > th {\n padding: 0 10px;\n height: 32px;\n background: #f4f4f4;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table.ktsAntX-table-bordered > .ktsAntX-table-container > .ktsAntX-table-body > table > tbody > tr > td {\n padding: 0;\n height: 32px;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-body {\n position: relative;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-body > table {\n position: absolute;\n left: 0;\n top: 0;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody {\n position: relative;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-checkbox-wrapper .ktsAntX-checkbox-inner {\n width: 16px;\n height: 16px;\n border: 1px solid #d9d9d9;\n border-radius: 2px;\n top: 1px;\n}\n";
|
|
1853
1853
|
styleInject(css_248z$2);
|
|
1854
1854
|
|
|
1855
1855
|
function TableVirtual (props) {
|
|
1856
|
+
var _props$dataSource2;
|
|
1857
|
+
|
|
1856
1858
|
var _React$useState = React__default['default'].useState(null),
|
|
1857
1859
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
1858
1860
|
self = _React$useState2[0],
|
|
@@ -1860,7 +1862,7 @@ function TableVirtual (props) {
|
|
|
1860
1862
|
|
|
1861
1863
|
var tableBody = React__default['default'].useMemo(function () {
|
|
1862
1864
|
if (!self) return;
|
|
1863
|
-
return self.querySelector('.
|
|
1865
|
+
return self.querySelector('.ktsAntX-table-body');
|
|
1864
1866
|
}, [self]);
|
|
1865
1867
|
/** 显示指针 */
|
|
1866
1868
|
|
|
@@ -1873,7 +1875,7 @@ function TableVirtual (props) {
|
|
|
1873
1875
|
|
|
1874
1876
|
var rowHeight = React__default['default'].useMemo(function () {
|
|
1875
1877
|
if (!self) return 33;
|
|
1876
|
-
var td = self.querySelector('.
|
|
1878
|
+
var td = self.querySelector('.ktsAntX-table-tbody .ktsAntX-table-row');
|
|
1877
1879
|
if (!td) return 33;
|
|
1878
1880
|
return td.clientHeight;
|
|
1879
1881
|
}, [self, props.dataSource]);
|
|
@@ -1931,16 +1933,22 @@ function TableVirtual (props) {
|
|
|
1931
1933
|
|
|
1932
1934
|
React__default['default'].useEffect(function () {
|
|
1933
1935
|
if (!self) return;
|
|
1934
|
-
var table = self.querySelector('.
|
|
1936
|
+
var table = self.querySelector('.ktsAntX-table .ktsAntX-table-body>table');
|
|
1935
1937
|
if (!table) return;
|
|
1936
1938
|
table.style.top = "".concat(pointer * rowHeight, "px");
|
|
1937
1939
|
}, [pointer, self, rowHeight]);
|
|
1940
|
+
React__default['default'].useEffect(function () {
|
|
1941
|
+
if (!self) return;
|
|
1942
|
+
var cont = self.querySelector('.kts-invoice-operate-goods-table-virtual .ktsAntX-table-body');
|
|
1943
|
+
if (!cont) return;
|
|
1944
|
+
cont.scrollTop = 0;
|
|
1945
|
+
}, [(_props$dataSource2 = props.dataSource) === null || _props$dataSource2 === void 0 ? void 0 : _props$dataSource2.length]);
|
|
1938
1946
|
return React__default['default'].createElement("span", {
|
|
1939
1947
|
className: "kts-invoice-operate-goods-table-virtual",
|
|
1940
1948
|
ref: function ref(e) {
|
|
1941
1949
|
setSelf(e);
|
|
1942
1950
|
}
|
|
1943
|
-
}, React__default['default'].createElement(
|
|
1951
|
+
}, React__default['default'].createElement(ktsXui.TableManual, _objectSpread2(_objectSpread2({}, props), {}, {
|
|
1944
1952
|
dataSource: dataSource
|
|
1945
1953
|
})));
|
|
1946
1954
|
}
|
|
@@ -2066,30 +2074,17 @@ var Statistics = (function () {
|
|
|
2066
2074
|
}
|
|
2067
2075
|
}), React__default['default'].createElement("div", {
|
|
2068
2076
|
style: {
|
|
2069
|
-
flex:
|
|
2077
|
+
flex: 5,
|
|
2070
2078
|
border: 'none'
|
|
2071
2079
|
}
|
|
2072
2080
|
}, React__default['default'].createElement("label", null, "\u4EF7\u7A0E\u5408\u8BA1\uFF08\u5927\u5199\uFF09"), React__default['default'].createElement("label", null, nzhcn.toMoney(lineAmountIncludeTax, {
|
|
2073
2081
|
outSymbol: false
|
|
2074
2082
|
}))), React__default['default'].createElement("div", {
|
|
2075
2083
|
style: {
|
|
2076
|
-
flex:
|
|
2077
|
-
border: 'none',
|
|
2078
|
-
textAlign: 'right'
|
|
2079
|
-
}
|
|
2080
|
-
}, React__default['default'].createElement("label", null, "\uFF08\u5C0F\u5199\uFF09")), React__default['default'].createElement("div", {
|
|
2081
|
-
style: {
|
|
2082
|
-
flex: 'none',
|
|
2083
|
-
width: 119,
|
|
2084
|
-
textAlign: 'right',
|
|
2085
|
-
border: 'none'
|
|
2086
|
-
}
|
|
2087
|
-
}, React__default['default'].createElement("label", null, parseFloat(lineAmountIncludeTax).toFixed(2))), React__default['default'].createElement("div", {
|
|
2088
|
-
style: {
|
|
2089
|
-
width: 301,
|
|
2084
|
+
flex: 5,
|
|
2090
2085
|
border: 'none'
|
|
2091
2086
|
}
|
|
2092
|
-
})));
|
|
2087
|
+
}, React__default['default'].createElement("label", null, "\uFF08\u5C0F\u5199\uFF09 ", parseFloat(lineAmountIncludeTax).toFixed(2)))));
|
|
2093
2088
|
});
|
|
2094
2089
|
|
|
2095
2090
|
var AddRowButton = (function () {
|
|
@@ -10394,7 +10389,8 @@ var useColumns = (function (form) {
|
|
|
10394
10389
|
title: '操作',
|
|
10395
10390
|
key: 'operating',
|
|
10396
10391
|
align: 'right',
|
|
10397
|
-
width:
|
|
10392
|
+
width: 130,
|
|
10393
|
+
fixed: 'right',
|
|
10398
10394
|
render: function render(_value, record) {
|
|
10399
10395
|
return React__default['default'].createElement(RowMenu, {
|
|
10400
10396
|
key: record.lineAttribute,
|
|
@@ -11077,7 +11073,7 @@ var useRowSelection = (function () {
|
|
|
11077
11073
|
};
|
|
11078
11074
|
});
|
|
11079
11075
|
|
|
11080
|
-
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
|
|
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";
|
|
11081
11077
|
styleInject(css_248z$7);
|
|
11082
11078
|
|
|
11083
11079
|
var keys$1 = {};
|
|
@@ -11909,7 +11905,7 @@ var Main = GreyReactBox.decorator(ktsComponentsAntdX3.Form.create())(function (p
|
|
|
11909
11905
|
rowKey: "$index",
|
|
11910
11906
|
pagination: false,
|
|
11911
11907
|
scroll: {
|
|
11912
|
-
y:
|
|
11908
|
+
y: 280
|
|
11913
11909
|
},
|
|
11914
11910
|
components: {
|
|
11915
11911
|
body: {
|
package/docs/index.md
CHANGED