kts-component-invoice-operate 3.2.152 → 3.2.154
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/IGood/index.d.ts +4 -0
- package/dist/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/index.d.ts +2 -0
- package/dist/Invoice/_test/children/index.d.ts +4 -0
- package/dist/Invoice/ui/default/GoodsList/hook/useColumns/ui/Expand/index.d.ts +6 -0
- package/dist/Invoice/ui/default/GoodsList/hook/useRowSelection/index.d.ts +6 -0
- package/dist/index.esm.js +259 -81
- package/dist/index.js +258 -80
- package/docs-dist/static/I001.4ff48f20.svg +1 -0
- package/docs-dist/static/I002.38b94da1.svg +1 -0
- package/docs-dist/umi.css +1 -1
- package/docs-dist/umi.js +1 -1
- package/package.json +1 -1
- package/src/Invoice/Invoice-digtal/_test/realEstateInfo/index.tsx +0 -1
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/IGood/index.ts +6 -0
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/index.ts +3 -0
- package/src/Invoice/InvoiceController/fns/saveEditGood.ts +1 -1
- package/src/Invoice/_test/children/index.tsx +203 -0
- package/src/Invoice/index.md +3 -0
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/index.tsx +14 -1
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/Expand/index.tsx +53 -0
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/Expand/svg/I001.svg +1 -0
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/Expand/svg/I002.svg +1 -0
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/index.tsx +1 -0
- package/src/Invoice/ui/default/GoodsList/hook/useOnRow/index.tsx +1 -0
- package/src/Invoice/ui/default/GoodsList/hook/useRowSelection/index.tsx +8 -2
- package/src/Invoice/ui/default/GoodsList/index.less +8 -1
- package/src/Invoice/ui/default/GoodsList/ui/TableVirtual/index.tsx +35 -12
- package/src/Invoice/ui/digtal/RealEstateInfo/index.tsx +3 -18
package/dist/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/IGood/index.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ import LineAttributeType from '../LineAttributeType';
|
|
|
2
2
|
export default interface IGood {
|
|
3
3
|
/** 数据索引 */
|
|
4
4
|
$index: string;
|
|
5
|
+
/** 级别 */
|
|
6
|
+
level?: number;
|
|
5
7
|
/** 序号 */
|
|
6
8
|
serialNo?: number;
|
|
7
9
|
/** 折扣组 uuid */
|
|
@@ -50,4 +52,6 @@ export default interface IGood {
|
|
|
50
52
|
favouredPolicyName?: string;
|
|
51
53
|
/** 税收分类名称 */
|
|
52
54
|
productName?: string;
|
|
55
|
+
/** 孩子 */
|
|
56
|
+
children?: IGood[];
|
|
53
57
|
}
|
|
@@ -55,6 +55,8 @@ export default class GoodsListState {
|
|
|
55
55
|
goodsList: IGood[];
|
|
56
56
|
/** 货物字典 */
|
|
57
57
|
goodsMap: Map<string, IGood>;
|
|
58
|
+
/** 子级展开的货物 */
|
|
59
|
+
expandedRowKeys: string[];
|
|
58
60
|
/** 货物菜单扩展 */
|
|
59
61
|
goodsMenuExpand: ((index: string, controller: InvoiceController) => React.ReactNode)[];
|
|
60
62
|
/** 金额含税(受控,输入后不再自动计算) */
|
|
@@ -4,5 +4,11 @@ declare const _default: () => {
|
|
|
4
4
|
columnTitle: JSX.Element;
|
|
5
5
|
onSelect: (record: any, selected: any) => Promise<void>;
|
|
6
6
|
selectedRowKeys: string[];
|
|
7
|
+
getCheckboxProps: (record: any) => {
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
style: {
|
|
10
|
+
display: string;
|
|
11
|
+
} | undefined;
|
|
12
|
+
};
|
|
7
13
|
};
|
|
8
14
|
export default _default;
|
package/dist/index.esm.js
CHANGED
|
@@ -4,7 +4,7 @@ import GreyReactBox, { decorator } from 'grey-react-box';
|
|
|
4
4
|
import { chain as chain$1, bignumber, format as format$1, create, all, equal } from 'mathjs';
|
|
5
5
|
import { message, Form, Input, Icon as Icon$1, Tag as Tag$1, Select, Button, Tooltip, Switch as Switch$1, Typography, Menu, Dropdown, AutoComplete as AutoComplete$2, Spin, Checkbox, Drawer, Descriptions, Empty, Divider, Popover as Popover$1, Table as Table$1, Tree, Modal as Modal$1, Row as Row$2, Col as Col$2 } from 'kts-components-antd-x3';
|
|
6
6
|
import { v4 } from 'uuid';
|
|
7
|
-
import { message as message$1, TableManual, Switch, AutoComplete as AutoComplete$1, Popover, Dropdown as Dropdown$1, Row, Col,
|
|
7
|
+
import { message as message$1, TableManual, Switch, AutoComplete as AutoComplete$1, Popover, Button as Button$1, Dropdown as Dropdown$1, Row, Col, Tooltip as Tooltip$1, Checkbox as Checkbox$1, Input as Input$1, Select as Select$1, Spin as Spin$1, Menu as Menu$1, Form as Form$1, Drawer as Drawer$1, Space, Radio, InputNumber, Popconfirm, Modal, Tree as Tree$1 } from 'kts-xui';
|
|
8
8
|
import classNames from 'classnames';
|
|
9
9
|
import { Table } from 'kts-components-antd-x4-v4';
|
|
10
10
|
import { render } from 'react-dom';
|
|
@@ -1110,6 +1110,7 @@ var GoodsListState = /*#__PURE__*/_createClass(function GoodsListState() {
|
|
|
1110
1110
|
this.searchValue = '';
|
|
1111
1111
|
this.goodsList = [];
|
|
1112
1112
|
this.goodsMap = new Map();
|
|
1113
|
+
this.expandedRowKeys = [];
|
|
1113
1114
|
this.goodsMenuExpand = [];
|
|
1114
1115
|
this.amountIncludeTax = void 0;
|
|
1115
1116
|
this.amountExcludeTax = void 0;
|
|
@@ -10047,7 +10048,12 @@ var css_248z$2 = ".kts-invoice-operate-goods-table-virtual .ktsAntX-table-body {
|
|
|
10047
10048
|
styleInject(css_248z$2);
|
|
10048
10049
|
|
|
10049
10050
|
function TableVirtual (props) {
|
|
10050
|
-
var _props$
|
|
10051
|
+
var _props$dataSource;
|
|
10052
|
+
|
|
10053
|
+
var controller = Invoice.useInvoiceController();
|
|
10054
|
+
var expandedRowKeys = controller.useMemo(function (s) {
|
|
10055
|
+
return s.goodsListState.expandedRowKeys;
|
|
10056
|
+
}, []);
|
|
10051
10057
|
|
|
10052
10058
|
var _React$useState = React.useState(null),
|
|
10053
10059
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
@@ -10086,14 +10092,39 @@ function TableVirtual (props) {
|
|
|
10086
10092
|
}
|
|
10087
10093
|
|
|
10088
10094
|
return placeholder;
|
|
10089
|
-
}, [self, tableBody]);
|
|
10095
|
+
}, [self, tableBody]);
|
|
10096
|
+
/** 处理扩展行 */
|
|
10097
|
+
|
|
10098
|
+
var goodsList = React.useMemo(function () {
|
|
10099
|
+
if (!props.dataSource) return [];
|
|
10100
|
+
var gl = props.dataSource.map(function (e) {
|
|
10101
|
+
return _objectSpread2(_objectSpread2({}, e), {}, {
|
|
10102
|
+
level: 0
|
|
10103
|
+
});
|
|
10104
|
+
});
|
|
10105
|
+
|
|
10106
|
+
for (var i = 0; i < gl.length; i++) {
|
|
10107
|
+
var e = gl[i];
|
|
10108
|
+
|
|
10109
|
+
if (expandedRowKeys.includes(e.$index) && e.children) {
|
|
10110
|
+
var c = e.children.map(function (t) {
|
|
10111
|
+
return _objectSpread2(_objectSpread2({}, t), {}, {
|
|
10112
|
+
level: 1
|
|
10113
|
+
});
|
|
10114
|
+
});
|
|
10115
|
+
gl.splice.apply(gl, [i + 1, 0].concat(_toConsumableArray(c)));
|
|
10116
|
+
}
|
|
10117
|
+
}
|
|
10118
|
+
|
|
10119
|
+
return gl;
|
|
10120
|
+
}, [props.dataSource, expandedRowKeys]); // 设置占位dom的搞
|
|
10090
10121
|
|
|
10091
10122
|
var placeholderHeight = React.useMemo(function () {
|
|
10092
|
-
if (!self || !rowHeight || !
|
|
10093
|
-
var placeholderHeight = rowHeight *
|
|
10123
|
+
if (!self || !rowHeight || !goodsList || !placeholder) return;
|
|
10124
|
+
var placeholderHeight = rowHeight * goodsList.length;
|
|
10094
10125
|
placeholder.style.height = "".concat(placeholderHeight, "px");
|
|
10095
10126
|
return placeholderHeight;
|
|
10096
|
-
}, [self, rowHeight,
|
|
10127
|
+
}, [self, rowHeight, goodsList, placeholder]);
|
|
10097
10128
|
/** 可以容纳的行数 */
|
|
10098
10129
|
|
|
10099
10130
|
var rowSize = React.useMemo(function () {
|
|
@@ -10102,20 +10133,17 @@ function TableVirtual (props) {
|
|
|
10102
10133
|
}, [tableBody, rowHeight, placeholderHeight]); // 计算渲染的行
|
|
10103
10134
|
|
|
10104
10135
|
var dataSource = React.useMemo(function () {
|
|
10105
|
-
|
|
10106
|
-
|
|
10107
|
-
|
|
10108
|
-
|
|
10109
|
-
if (!rowSize) return [props.dataSource[0]];
|
|
10110
|
-
return (_props$dataSource = props.dataSource) === null || _props$dataSource === void 0 ? void 0 : _props$dataSource.slice(pointer, pointer + 2 * rowSize);
|
|
10111
|
-
}, [props.dataSource, pointer, rowSize]); // 监听滚动
|
|
10136
|
+
if (goodsList.length < 10) return goodsList;
|
|
10137
|
+
if (!rowSize) return [goodsList[0]];
|
|
10138
|
+
return goodsList === null || goodsList === void 0 ? void 0 : goodsList.slice(pointer, pointer + 2 * rowSize);
|
|
10139
|
+
}, [pointer, rowSize, goodsList]); // 监听滚动
|
|
10112
10140
|
|
|
10113
10141
|
React.useEffect(function () {
|
|
10114
|
-
if (!self || !placeholder || !
|
|
10142
|
+
if (!self || !placeholder || !goodsList || !rowHeight || !tableBody) return;
|
|
10115
10143
|
|
|
10116
10144
|
var onScroll = function onScroll() {
|
|
10117
|
-
if (!
|
|
10118
|
-
setPointer(Math.floor((
|
|
10145
|
+
if (!goodsList || !tableBody) return;
|
|
10146
|
+
setPointer(Math.floor((goodsList.length - rowSize) * (tableBody.scrollTop / (placeholder.clientHeight - tableBody.clientHeight))));
|
|
10119
10147
|
};
|
|
10120
10148
|
|
|
10121
10149
|
onScroll();
|
|
@@ -10123,7 +10151,7 @@ function TableVirtual (props) {
|
|
|
10123
10151
|
return function () {
|
|
10124
10152
|
tableBody.removeEventListener('scroll', onScroll);
|
|
10125
10153
|
};
|
|
10126
|
-
}, [self, placeholder,
|
|
10154
|
+
}, [self, placeholder, goodsList, rowHeight, rowSize]); // 移动列表
|
|
10127
10155
|
|
|
10128
10156
|
React.useEffect(function () {
|
|
10129
10157
|
if (!self) return;
|
|
@@ -10136,7 +10164,8 @@ function TableVirtual (props) {
|
|
|
10136
10164
|
var cont = self.querySelector('.kts-invoice-operate-goods-table-virtual .ktsAntX-table-body');
|
|
10137
10165
|
if (!cont) return;
|
|
10138
10166
|
cont.scrollTop = 0;
|
|
10139
|
-
}, [(_props$
|
|
10167
|
+
}, [(_props$dataSource = props.dataSource) === null || _props$dataSource === void 0 ? void 0 : _props$dataSource.length]);
|
|
10168
|
+
console.log('===> pointer', pointer, dataSource);
|
|
10140
10169
|
return /*#__PURE__*/React.createElement("span", {
|
|
10141
10170
|
className: "kts-invoice-operate-goods-table-virtual",
|
|
10142
10171
|
ref: function ref(e) {
|
|
@@ -11151,6 +11180,10 @@ var RowMenu = (function (props) {
|
|
|
11151
11180
|
}));
|
|
11152
11181
|
}, [itemList]);
|
|
11153
11182
|
|
|
11183
|
+
if (props.goods.level && props.goods.level > 0) {
|
|
11184
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
11185
|
+
}
|
|
11186
|
+
|
|
11154
11187
|
if (itemList.length === 0) {
|
|
11155
11188
|
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
11156
11189
|
}
|
|
@@ -13009,6 +13042,129 @@ function DragDiv(props) {
|
|
|
13009
13042
|
}, /*#__PURE__*/React.createElement("span", null, props.itemName), /*#__PURE__*/React.createElement("span", null, props.itemModelName), /*#__PURE__*/React.createElement("span", null, props.unit));
|
|
13010
13043
|
}
|
|
13011
13044
|
|
|
13045
|
+
var _path$4, _path2$1, _path3$1;
|
|
13046
|
+
|
|
13047
|
+
function _extends$4() { _extends$4 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$4.apply(this, arguments); }
|
|
13048
|
+
|
|
13049
|
+
function SvgI001$1(props) {
|
|
13050
|
+
return /*#__PURE__*/createElement("svg", _extends$4({
|
|
13051
|
+
className: "I001_svg__icon",
|
|
13052
|
+
viewBox: "0 0 1024 1024",
|
|
13053
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13054
|
+
width: 200,
|
|
13055
|
+
height: 200
|
|
13056
|
+
}, props), _path$4 || (_path$4 = /*#__PURE__*/createElement("path", {
|
|
13057
|
+
d: "M879.973 997.088H146.455c-67.235 0-122.213-54.978-122.213-122.213V141.236c0-67.235 54.978-122.212 122.213-122.212h733.639c67.235 0 122.212 54.977 122.212 122.212v733.64c0 67.113-54.977 122.212-122.333 122.212zM146.455 80.069c-36.652 0-61.167 24.394-61.167 61.167v733.64c0 36.65 24.394 61.166 61.167 61.166h733.639c36.651 0 61.167-24.394 61.167-61.167V141.236c0-36.651-24.394-61.167-61.167-61.167h-733.64zm0 0"
|
|
13058
|
+
})), _path2$1 || (_path2$1 = /*#__PURE__*/createElement("path", {
|
|
13059
|
+
d: "M757.76 538.578H268.667c-18.326 0-30.583-12.257-30.583-30.583s12.257-30.583 30.583-30.583H757.76c18.326 0 30.583 12.257 30.583 30.583s-12.257 30.583-30.583 30.583zm0 0"
|
|
13060
|
+
})), _path3$1 || (_path3$1 = /*#__PURE__*/createElement("path", {
|
|
13061
|
+
d: "M513.214 783.125c-18.326 0-30.584-12.258-30.584-30.584V263.45c0-18.326 12.258-30.584 30.584-30.584s30.583 12.258 30.583 30.584V752.54c0 18.326-12.258 30.584-30.583 30.584zm0 0"
|
|
13062
|
+
})));
|
|
13063
|
+
}
|
|
13064
|
+
|
|
13065
|
+
var _path$5, _path2$2;
|
|
13066
|
+
|
|
13067
|
+
function _extends$5() { _extends$5 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$5.apply(this, arguments); }
|
|
13068
|
+
|
|
13069
|
+
function SvgI002(props) {
|
|
13070
|
+
return /*#__PURE__*/createElement("svg", _extends$5({
|
|
13071
|
+
className: "I002_svg__icon",
|
|
13072
|
+
viewBox: "0 0 1024 1024",
|
|
13073
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13074
|
+
width: 200,
|
|
13075
|
+
height: 200
|
|
13076
|
+
}, props), _path$5 || (_path$5 = /*#__PURE__*/createElement("path", {
|
|
13077
|
+
d: "M879.973 997.088H146.455c-67.235 0-122.213-54.978-122.213-122.213V141.236c0-67.235 54.978-122.212 122.213-122.212h733.639c67.235 0 122.212 54.977 122.212 122.212v733.64c0 67.113-54.977 122.212-122.333 122.212zM146.455 80.069c-36.652 0-61.167 24.394-61.167 61.167v733.64c0 36.65 24.394 61.166 61.167 61.166h733.639c36.651 0 61.167-24.394 61.167-61.167V141.236c0-36.651-24.394-61.167-61.167-61.167h-733.64zm0 0"
|
|
13078
|
+
})), _path2$2 || (_path2$2 = /*#__PURE__*/createElement("path", {
|
|
13079
|
+
d: "M757.76 538.578H268.667c-18.326 0-30.583-12.257-30.583-30.583s12.257-30.583 30.583-30.583H757.76c18.326 0 30.583 12.257 30.583 30.583s-12.257 30.583-30.583 30.583zm0 0"
|
|
13080
|
+
})));
|
|
13081
|
+
}
|
|
13082
|
+
|
|
13083
|
+
function Expand(props) {
|
|
13084
|
+
var _goodsMap$get;
|
|
13085
|
+
|
|
13086
|
+
var record = props.record;
|
|
13087
|
+
var controller = Invoice.useInvoiceController();
|
|
13088
|
+
var goodsMap = controller.useMemo(function (s) {
|
|
13089
|
+
return s.goodsListState.goodsMap;
|
|
13090
|
+
}, []);
|
|
13091
|
+
var expandedRowKeys = controller.useMemo(function (s) {
|
|
13092
|
+
return s.goodsListState.expandedRowKeys;
|
|
13093
|
+
}, []);
|
|
13094
|
+
|
|
13095
|
+
if ((_goodsMap$get = goodsMap.get(record.$index)) === null || _goodsMap$get === void 0 ? void 0 : _goodsMap$get.children) {
|
|
13096
|
+
if (expandedRowKeys.includes(record.$index)) {
|
|
13097
|
+
return /*#__PURE__*/React.createElement(Button$1, {
|
|
13098
|
+
type: 'text',
|
|
13099
|
+
style: {
|
|
13100
|
+
width: 'auto',
|
|
13101
|
+
color: "#0074ff"
|
|
13102
|
+
},
|
|
13103
|
+
icon: /*#__PURE__*/React.createElement(Icon, {
|
|
13104
|
+
component: SvgI002
|
|
13105
|
+
}),
|
|
13106
|
+
onClick: controller.pipeline( /*#__PURE__*/function () {
|
|
13107
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(s, e) {
|
|
13108
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
13109
|
+
while (1) {
|
|
13110
|
+
switch (_context.prev = _context.next) {
|
|
13111
|
+
case 0:
|
|
13112
|
+
e === null || e === void 0 ? void 0 : e.stopPropagation();
|
|
13113
|
+
s.goodsListState.expandedRowKeys = s.goodsListState.expandedRowKeys.filter(function (e) {
|
|
13114
|
+
return e !== record.$index;
|
|
13115
|
+
});
|
|
13116
|
+
|
|
13117
|
+
case 2:
|
|
13118
|
+
case "end":
|
|
13119
|
+
return _context.stop();
|
|
13120
|
+
}
|
|
13121
|
+
}
|
|
13122
|
+
}, _callee);
|
|
13123
|
+
}));
|
|
13124
|
+
|
|
13125
|
+
return function (_x, _x2) {
|
|
13126
|
+
return _ref.apply(this, arguments);
|
|
13127
|
+
};
|
|
13128
|
+
}())
|
|
13129
|
+
});
|
|
13130
|
+
} else {
|
|
13131
|
+
return /*#__PURE__*/React.createElement(Button$1, {
|
|
13132
|
+
type: 'text',
|
|
13133
|
+
style: {
|
|
13134
|
+
width: 'auto',
|
|
13135
|
+
color: "#0074ff"
|
|
13136
|
+
},
|
|
13137
|
+
icon: /*#__PURE__*/React.createElement(Icon, {
|
|
13138
|
+
component: SvgI001$1
|
|
13139
|
+
}),
|
|
13140
|
+
onClick: controller.pipeline( /*#__PURE__*/function () {
|
|
13141
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(s, e) {
|
|
13142
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
13143
|
+
while (1) {
|
|
13144
|
+
switch (_context2.prev = _context2.next) {
|
|
13145
|
+
case 0:
|
|
13146
|
+
e === null || e === void 0 ? void 0 : e.stopPropagation();
|
|
13147
|
+
s.goodsListState.expandedRowKeys = [].concat(_toConsumableArray(s.goodsListState.expandedRowKeys), [record.$index]);
|
|
13148
|
+
|
|
13149
|
+
case 2:
|
|
13150
|
+
case "end":
|
|
13151
|
+
return _context2.stop();
|
|
13152
|
+
}
|
|
13153
|
+
}
|
|
13154
|
+
}, _callee2);
|
|
13155
|
+
}));
|
|
13156
|
+
|
|
13157
|
+
return function (_x3, _x4) {
|
|
13158
|
+
return _ref2.apply(this, arguments);
|
|
13159
|
+
};
|
|
13160
|
+
}())
|
|
13161
|
+
});
|
|
13162
|
+
}
|
|
13163
|
+
} else {
|
|
13164
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
13165
|
+
}
|
|
13166
|
+
}
|
|
13167
|
+
|
|
13012
13168
|
var useColumns = (function (form) {
|
|
13013
13169
|
var getFieldDecorator = form.getFieldDecorator,
|
|
13014
13170
|
getFieldValue = form.getFieldValue;
|
|
@@ -13046,6 +13202,11 @@ var useColumns = (function (form) {
|
|
|
13046
13202
|
var editGood = controller.useMemo(function (e) {
|
|
13047
13203
|
return e.goodsListState.editGood;
|
|
13048
13204
|
}, []);
|
|
13205
|
+
/** 正在编辑的货物 */
|
|
13206
|
+
|
|
13207
|
+
var goodsList = controller.useMemo(function (e) {
|
|
13208
|
+
return e.goodsListState.goodsList;
|
|
13209
|
+
}, []);
|
|
13049
13210
|
/** 商品表格隐藏列 */
|
|
13050
13211
|
|
|
13051
13212
|
var columnshide = controller.useMemo(function (e) {
|
|
@@ -13139,6 +13300,16 @@ var useColumns = (function (form) {
|
|
|
13139
13300
|
record: record
|
|
13140
13301
|
});
|
|
13141
13302
|
}
|
|
13303
|
+
}, {
|
|
13304
|
+
title: ' ',
|
|
13305
|
+
key: 'expand',
|
|
13306
|
+
width: 40,
|
|
13307
|
+
align: 'center',
|
|
13308
|
+
render: function render(_, record) {
|
|
13309
|
+
return /*#__PURE__*/React.createElement(Expand, {
|
|
13310
|
+
record: record
|
|
13311
|
+
});
|
|
13312
|
+
}
|
|
13142
13313
|
}, {
|
|
13143
13314
|
title: '序号',
|
|
13144
13315
|
key: 'serialNo',
|
|
@@ -13949,6 +14120,11 @@ var useColumns = (function (form) {
|
|
|
13949
14120
|
}) // 是否启动拖拽
|
|
13950
14121
|
.filter(function (e) {
|
|
13951
14122
|
return e.key !== 'drag' || isStart;
|
|
14123
|
+
}) // 是否启动展开
|
|
14124
|
+
.filter(function (e) {
|
|
14125
|
+
return e.key === 'expand' ? goodsList.some(function (e) {
|
|
14126
|
+
return !!e.children;
|
|
14127
|
+
}) : true;
|
|
13952
14128
|
}) // 只读
|
|
13953
14129
|
.filter(function (e) {
|
|
13954
14130
|
if (model === 'readOnly') {
|
|
@@ -13961,7 +14137,7 @@ var useColumns = (function (form) {
|
|
|
13961
14137
|
ellipsis: true
|
|
13962
14138
|
});
|
|
13963
14139
|
});
|
|
13964
|
-
}, [isTaxIncluded, editGood, controller, changeField, deduction, isMyShow, searchValue, model, columnsReplenish, columnshide, isStart]);
|
|
14140
|
+
}, [isTaxIncluded, editGood, goodsList, controller, changeField, deduction, isMyShow, searchValue, model, columnsReplenish, columnshide, isStart]);
|
|
13965
14141
|
return columns;
|
|
13966
14142
|
});
|
|
13967
14143
|
/** 字段 */
|
|
@@ -14168,7 +14344,7 @@ var useOnRow = (function () {
|
|
|
14168
14344
|
while (1) {
|
|
14169
14345
|
switch (_context2.prev = _context2.next) {
|
|
14170
14346
|
case 0:
|
|
14171
|
-
if (!(
|
|
14347
|
+
if (!(record.level && record.level > 0)) {
|
|
14172
14348
|
_context2.next = 2;
|
|
14173
14349
|
break;
|
|
14174
14350
|
}
|
|
@@ -14176,38 +14352,46 @@ var useOnRow = (function () {
|
|
|
14176
14352
|
return _context2.abrupt("return");
|
|
14177
14353
|
|
|
14178
14354
|
case 2:
|
|
14355
|
+
if (!(model === 'readOnly')) {
|
|
14356
|
+
_context2.next = 4;
|
|
14357
|
+
break;
|
|
14358
|
+
}
|
|
14359
|
+
|
|
14360
|
+
return _context2.abrupt("return");
|
|
14361
|
+
|
|
14362
|
+
case 4:
|
|
14179
14363
|
editGood = controller.state.goodsListState.editGood;
|
|
14180
14364
|
|
|
14181
14365
|
if (!(record.lineAttribute !== LineAttributeType$1.正常)) {
|
|
14182
|
-
_context2.next =
|
|
14366
|
+
_context2.next = 7;
|
|
14183
14367
|
break;
|
|
14184
14368
|
}
|
|
14185
14369
|
|
|
14186
14370
|
return _context2.abrupt("return");
|
|
14187
14371
|
|
|
14188
|
-
case
|
|
14372
|
+
case 7:
|
|
14189
14373
|
if (!editGood) {
|
|
14190
|
-
_context2.next =
|
|
14374
|
+
_context2.next = 18;
|
|
14191
14375
|
break;
|
|
14192
14376
|
}
|
|
14193
14377
|
|
|
14194
14378
|
if (!(editGood.$index === record.$index)) {
|
|
14195
|
-
_context2.next =
|
|
14379
|
+
_context2.next = 10;
|
|
14196
14380
|
break;
|
|
14197
14381
|
}
|
|
14198
14382
|
|
|
14199
14383
|
return _context2.abrupt("return");
|
|
14200
14384
|
|
|
14201
|
-
case 8:
|
|
14202
|
-
_context2.next = 10;
|
|
14203
|
-
return controller.saveEditGood();
|
|
14204
|
-
|
|
14205
14385
|
case 10:
|
|
14206
14386
|
_context2.next = 12;
|
|
14207
|
-
return controller.
|
|
14387
|
+
return controller.saveEditGood();
|
|
14208
14388
|
|
|
14209
14389
|
case 12:
|
|
14210
14390
|
_context2.next = 14;
|
|
14391
|
+
return controller.wait();
|
|
14392
|
+
|
|
14393
|
+
case 14:
|
|
14394
|
+
_context2.next = 16;
|
|
14211
14395
|
return controller.pipeline( /*#__PURE__*/function () {
|
|
14212
14396
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(s) {
|
|
14213
14397
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
@@ -14237,15 +14421,15 @@ var useOnRow = (function () {
|
|
|
14237
14421
|
};
|
|
14238
14422
|
}())();
|
|
14239
14423
|
|
|
14240
|
-
case
|
|
14241
|
-
_context2.next =
|
|
14424
|
+
case 16:
|
|
14425
|
+
_context2.next = 20;
|
|
14242
14426
|
break;
|
|
14243
14427
|
|
|
14244
|
-
case
|
|
14245
|
-
_context2.next =
|
|
14428
|
+
case 18:
|
|
14429
|
+
_context2.next = 20;
|
|
14246
14430
|
return controller.setEditGood(record);
|
|
14247
14431
|
|
|
14248
|
-
case
|
|
14432
|
+
case 20:
|
|
14249
14433
|
case "end":
|
|
14250
14434
|
return _context2.stop();
|
|
14251
14435
|
}
|
|
@@ -14623,11 +14807,20 @@ var useRowSelection = (function () {
|
|
|
14623
14807
|
columnWidth: 45,
|
|
14624
14808
|
columnTitle: columnTitle,
|
|
14625
14809
|
onSelect: onSelect,
|
|
14626
|
-
selectedRowKeys: selectedRowKeys
|
|
14810
|
+
selectedRowKeys: selectedRowKeys,
|
|
14811
|
+
getCheckboxProps: function getCheckboxProps(record) {
|
|
14812
|
+
console.log('===> getCheckboxProps', record, record.level);
|
|
14813
|
+
return {
|
|
14814
|
+
disabled: record.level > 0,
|
|
14815
|
+
style: record.level > 0 ? {
|
|
14816
|
+
display: 'none'
|
|
14817
|
+
} : undefined
|
|
14818
|
+
};
|
|
14819
|
+
}
|
|
14627
14820
|
};
|
|
14628
14821
|
});
|
|
14629
14822
|
|
|
14630
|
-
var css_248z$a = ".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 .ktsAntX-table .ktsAntX-table-row.kts-invoice-operate-goods-be-discount .ktsAntX-table-cell,\n.kts-invoice-operate-goods-list .ktsAntX-table .ktsAntX-table-row.kts-invoice-operate-goods-discount .ktsAntX-table-cell {\n background: #f5f5f5;\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 .ktsAntX-checkbox-wrapper .ktsAntX-checkbox-checked .ktsAntX-checkbox-inner::after {\n width: 5px;\n height: 10px;\n}\n.kts-invoice-operate-goods-list-table .ktsAnt3x-form-item-control.has-error {\n border: 1px solid #f00;\n}\n";
|
|
14823
|
+
var css_248z$a = ".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 .ktsAntX-table .ktsAntX-table-row.kts-invoice-operate-goods-be-discount .ktsAntX-table-cell,\n.kts-invoice-operate-goods-list .ktsAntX-table .ktsAntX-table-row.kts-invoice-operate-goods-discount .ktsAntX-table-cell {\n background: #f5f5f5;\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 .ktsAntX-checkbox-wrapper .ktsAntX-checkbox-checked .ktsAntX-checkbox-inner::after {\n width: 5px;\n height: 10px;\n}\n.kts-invoice-operate-goods-list-table .ktsAntX-table-row-indent + .ktsAntX-table-row-expand-icon {\n display: none;\n}\n.kts-invoice-operate-goods-list-table .ktsAnt3x-form-item-control.has-error {\n border: 1px solid #f00;\n}\n";
|
|
14631
14824
|
styleInject(css_248z$a);
|
|
14632
14825
|
|
|
14633
14826
|
var keys$1 = {};
|
|
@@ -16818,42 +17011,42 @@ var Tag = /*#__PURE__*/function (_React$Component2) {
|
|
|
16818
17011
|
return Tag;
|
|
16819
17012
|
}(React.Component);
|
|
16820
17013
|
|
|
16821
|
-
var _path$
|
|
17014
|
+
var _path$6;
|
|
16822
17015
|
|
|
16823
|
-
function _extends$
|
|
17016
|
+
function _extends$6() { _extends$6 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$6.apply(this, arguments); }
|
|
16824
17017
|
|
|
16825
17018
|
function SvgArrowUp(props) {
|
|
16826
|
-
return /*#__PURE__*/createElement("svg", _extends$
|
|
17019
|
+
return /*#__PURE__*/createElement("svg", _extends$6({
|
|
16827
17020
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16828
17021
|
width: 13,
|
|
16829
17022
|
height: 13,
|
|
16830
17023
|
fill: "none"
|
|
16831
|
-
}, props), _path$
|
|
17024
|
+
}, props), _path$6 || (_path$6 = /*#__PURE__*/createElement("path", {
|
|
16832
17025
|
d: "M9.557 8.573a.338.338 0 01-.252-.114L6.508 5.367 3.711 8.46a.333.333 0 01-.497.005.404.404 0 01-.005-.538l3.048-3.37a.339.339 0 01.251-.114c.095 0 .185.041.252.114l3.048 3.37a.404.404 0 01-.005.538.337.337 0 01-.246.11z"
|
|
16833
17026
|
})));
|
|
16834
17027
|
}
|
|
16835
17028
|
|
|
16836
|
-
var _path$
|
|
17029
|
+
var _path$7;
|
|
16837
17030
|
|
|
16838
|
-
function _extends$
|
|
17031
|
+
function _extends$7() { _extends$7 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$7.apply(this, arguments); }
|
|
16839
17032
|
|
|
16840
17033
|
function SvgArrowDown(props) {
|
|
16841
|
-
return /*#__PURE__*/createElement("svg", _extends$
|
|
17034
|
+
return /*#__PURE__*/createElement("svg", _extends$7({
|
|
16842
17035
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16843
17036
|
width: 12,
|
|
16844
17037
|
height: 13,
|
|
16845
17038
|
fill: "none"
|
|
16846
|
-
}, props), _path$
|
|
17039
|
+
}, props), _path$7 || (_path$7 = /*#__PURE__*/createElement("path", {
|
|
16847
17040
|
d: "M2.943 4.427c.092 0 .183.038.252.114l2.797 3.092L8.789 4.54a.333.333 0 01.497-.005.404.404 0 01.005.538l-3.048 3.37a.339.339 0 01-.251.114.339.339 0 01-.252-.114l-3.048-3.37a.404.404 0 01.005-.538.337.337 0 01.246-.11z"
|
|
16848
17041
|
})));
|
|
16849
17042
|
}
|
|
16850
17043
|
|
|
16851
17044
|
var _g, _defs$2;
|
|
16852
17045
|
|
|
16853
|
-
function _extends$
|
|
17046
|
+
function _extends$8() { _extends$8 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$8.apply(this, arguments); }
|
|
16854
17047
|
|
|
16855
17048
|
function SvgPlus(props) {
|
|
16856
|
-
return /*#__PURE__*/createElement("svg", _extends$
|
|
17049
|
+
return /*#__PURE__*/createElement("svg", _extends$8({
|
|
16857
17050
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16858
17051
|
width: 16,
|
|
16859
17052
|
height: 15,
|
|
@@ -17633,10 +17826,10 @@ function TableVirtual$1 (props) {
|
|
|
17633
17826
|
|
|
17634
17827
|
var _g$1, _defs$3;
|
|
17635
17828
|
|
|
17636
|
-
function _extends$
|
|
17829
|
+
function _extends$9() { _extends$9 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$9.apply(this, arguments); }
|
|
17637
17830
|
|
|
17638
17831
|
function SvgFork(props) {
|
|
17639
|
-
return /*#__PURE__*/createElement("svg", _extends$
|
|
17832
|
+
return /*#__PURE__*/createElement("svg", _extends$9({
|
|
17640
17833
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17641
17834
|
width: 16,
|
|
17642
17835
|
height: 16,
|
|
@@ -19240,18 +19433,18 @@ var TaxIncludedSwitch$1 = (function () {
|
|
|
19240
19433
|
}));
|
|
19241
19434
|
});
|
|
19242
19435
|
|
|
19243
|
-
var _path$
|
|
19436
|
+
var _path$8;
|
|
19244
19437
|
|
|
19245
|
-
function _extends$
|
|
19438
|
+
function _extends$a() { _extends$a = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$a.apply(this, arguments); }
|
|
19246
19439
|
|
|
19247
19440
|
function SvgMagnifier$1(props) {
|
|
19248
|
-
return /*#__PURE__*/createElement("svg", _extends$
|
|
19441
|
+
return /*#__PURE__*/createElement("svg", _extends$a({
|
|
19249
19442
|
className: "magnifier_svg__icon",
|
|
19250
19443
|
viewBox: "0 0 1024 1024",
|
|
19251
19444
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19252
19445
|
width: 200,
|
|
19253
19446
|
height: 200
|
|
19254
|
-
}, props), _path$
|
|
19447
|
+
}, props), _path$8 || (_path$8 = /*#__PURE__*/createElement("path", {
|
|
19255
19448
|
d: "M985.781 918.594L820.773 765.526c27.373-32.973 49.655-69.577 66.437-109.258 22.933-54.219 34.56-111.795 34.56-171.13 0-59.333-11.627-116.91-34.56-171.13-22.143-52.354-53.838-99.365-94.2-139.729s-87.377-72.056-139.73-94.199c-54.219-22.933-111.795-34.561-171.13-34.561S365.24 57.148 311.022 80.08c-52.354 22.143-99.365 53.837-139.73 94.2s-72.057 87.375-94.2 139.73c-22.932 54.218-34.56 111.795-34.56 171.13 0 59.334 11.628 116.91 34.56 171.129 22.144 52.354 53.838 99.365 94.2 139.729s87.376 72.057 139.73 94.2c54.219 22.933 111.795 34.56 171.13 34.56s116.91-11.627 171.13-34.56c45.352-19.181 86.686-45.543 123.171-78.487l165.803 153.804a31.886 31.886 0 0021.756 8.54c8.593 0 17.163-3.442 23.467-10.238 12.019-12.956 11.26-33.205-1.698-45.223zm-503.63-57.836c-207.117 0-375.62-168.502-375.62-375.62 0-207.117 168.503-375.62 375.62-375.62s375.62 168.503 375.62 375.62c0 207.118-168.503 375.62-375.62 375.62z"
|
|
19256
19449
|
})));
|
|
19257
19450
|
}
|
|
@@ -19401,10 +19594,10 @@ function TableRow$1(props) {
|
|
|
19401
19594
|
|
|
19402
19595
|
var _g$2, _defs$4;
|
|
19403
19596
|
|
|
19404
|
-
function _extends$
|
|
19597
|
+
function _extends$b() { _extends$b = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$b.apply(this, arguments); }
|
|
19405
19598
|
|
|
19406
19599
|
function SvgPlus$1(props) {
|
|
19407
|
-
return /*#__PURE__*/createElement("svg", _extends$
|
|
19600
|
+
return /*#__PURE__*/createElement("svg", _extends$b({
|
|
19408
19601
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19409
19602
|
width: 16,
|
|
19410
19603
|
height: 15
|
|
@@ -19649,18 +19842,18 @@ function ItemNameInput$1(props) {
|
|
|
19649
19842
|
})));
|
|
19650
19843
|
}
|
|
19651
19844
|
|
|
19652
|
-
var _path$
|
|
19845
|
+
var _path$9;
|
|
19653
19846
|
|
|
19654
|
-
function _extends$
|
|
19847
|
+
function _extends$c() { _extends$c = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$c.apply(this, arguments); }
|
|
19655
19848
|
|
|
19656
|
-
function SvgI001$
|
|
19657
|
-
return /*#__PURE__*/createElement("svg", _extends$
|
|
19849
|
+
function SvgI001$2(props) {
|
|
19850
|
+
return /*#__PURE__*/createElement("svg", _extends$c({
|
|
19658
19851
|
className: "I001_svg__icon",
|
|
19659
19852
|
viewBox: "0 0 1024 1024",
|
|
19660
19853
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19661
19854
|
width: 200,
|
|
19662
19855
|
height: 200
|
|
19663
|
-
}, props), _path$
|
|
19856
|
+
}, props), _path$9 || (_path$9 = /*#__PURE__*/createElement("path", {
|
|
19664
19857
|
d: "M304.874-5.815h123.758v123.758H304.874V-5.815zm281.277 0H709.91v123.758H586.151V-5.815zM304.874 286.75h123.758v123.758H304.874V286.75zm281.277 0H709.91v123.758H586.151V286.75zM304.874 579.212h123.758V702.97H304.874V579.212zm281.277 0H709.91V702.97H586.151V579.212zM304.874 871.83h123.758v123.758H304.874V871.83zm281.277 0H709.91v123.758H586.151V871.83z"
|
|
19665
19858
|
})));
|
|
19666
19859
|
}
|
|
@@ -19961,7 +20154,7 @@ function Drag$2(props) {
|
|
|
19961
20154
|
className: "kts-invoice-operate-goods-list-itemName-drag",
|
|
19962
20155
|
onMouseOver: controller.saveEditGood
|
|
19963
20156
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
19964
|
-
component: SvgI001$
|
|
20157
|
+
component: SvgI001$2
|
|
19965
20158
|
}));
|
|
19966
20159
|
}, [onMouseDown, controller]);
|
|
19967
20160
|
|
|
@@ -22922,27 +23115,12 @@ var RealEstateInfo = decorator(Form.create())(function (props) {
|
|
|
22922
23115
|
}, "\u516C\u9877"), /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
22923
23116
|
value: "\u4EA9"
|
|
22924
23117
|
}, "\u4EA9"), /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
22925
|
-
value: "
|
|
22926
|
-
},
|
|
22927
|
-
|
|
22928
|
-
|
|
22929
|
-
|
|
22930
|
-
|
|
22931
|
-
}, "2"))), /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
22932
|
-
value: "Km2"
|
|
22933
|
-
}, /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement("span", null, "Km"), /*#__PURE__*/React.createElement("span", {
|
|
22934
|
-
style: {
|
|
22935
|
-
verticalAlign: 'super',
|
|
22936
|
-
fontSize: 'smaller'
|
|
22937
|
-
}
|
|
22938
|
-
}, "2"))), /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
22939
|
-
value: "m2"
|
|
22940
|
-
}, /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement("span", null, "m"), /*#__PURE__*/React.createElement("span", {
|
|
22941
|
-
style: {
|
|
22942
|
-
verticalAlign: 'super',
|
|
22943
|
-
fontSize: 'smaller'
|
|
22944
|
-
}
|
|
22945
|
-
}, "2")))))))));
|
|
23118
|
+
value: "h\u33A1"
|
|
23119
|
+
}, "h\u33A1"), /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
23120
|
+
value: "k\u33A1"
|
|
23121
|
+
}, "k\u33A1"), /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
23122
|
+
value: "\u33A1"
|
|
23123
|
+
}, "\u33A1")))))));
|
|
22946
23124
|
});
|
|
22947
23125
|
|
|
22948
23126
|
var MyDiv$3 = /*#__PURE__*/function (_React$Component) {
|