kts-component-invoice-operate 3.2.155 → 3.2.156-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/Invoice/InvoiceController/index.d.ts +2 -0
- package/dist/index.esm.js +57 -80
- package/dist/index.js +57 -80
- package/docs-dist/umi.css +1 -1
- package/docs-dist/umi.js +1 -1
- package/package.json +1 -1
- package/src/Invoice/InvoiceController/index.ts +2 -0
- package/src/Invoice/_test/children/index.tsx +12 -0
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/index.tsx +3 -2
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/Expand/index.tsx +10 -6
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/useDelItem/dist/index.js +32 -0
- package/src/Invoice/ui/default/GoodsList/ui/TableRow/index.less +12 -1
- package/src/Invoice/ui/default/GoodsList/ui/TableRow/index.tsx +19 -5
- package/src/Invoice/ui/default/GoodsList/ui/TableVirtual/index.tsx +0 -1
- package/src/Invoice/ui/digtal/RealEstateInfo/index.tsx +6 -8
- package/src/Invoice/ui/digtal/Stakeholder/index.tsx +1 -1
- package/docs-dist/static/I001.4ff48f20.svg +0 -1
- package/docs-dist/static/I002.38b94da1.svg +0 -1
- /package/docs-dist/static/{arrowDown.22c7885c.svg → arrowDown.a1cbf0d8.svg} +0 -0
- /package/docs-dist/static/{arrowUp.d707a3e4.svg → arrowUp.4c482054.svg} +0 -0
- /package/docs-dist/static/{fork.43eb4ffa.svg → fork.5431267d.svg} +0 -0
- /package/docs-dist/static/{plus.384f41d9.svg → plus.44013ce3.svg} +0 -0
- /package/docs-dist/static/{plus.0e60e9ea.svg → plus.4fd1af30.svg} +0 -0
|
@@ -42,4 +42,6 @@ export default class InvoiceController extends InvoiceControllerForm {
|
|
|
42
42
|
getGoodsSearch: typeof getGoodsSearch;
|
|
43
43
|
/** 获取货物的税率可选列表, 如果没传taxClassificationCode,返回undefined */
|
|
44
44
|
getGoodsTaxRateList?: (taxClassificationCode: string) => Promise<number[] | undefined | null>;
|
|
45
|
+
/** 商品列表配置器 */
|
|
46
|
+
setColumnsConfig?: (columns: any[]) => any[];
|
|
45
47
|
}
|
package/dist/index.esm.js
CHANGED
|
@@ -9741,6 +9741,7 @@ var InvoiceController = /*#__PURE__*/function (_InvoiceControllerFor) {
|
|
|
9741
9741
|
_this.getTaxCategoryCodeList = void 0;
|
|
9742
9742
|
_this.getGoodsSearch = getGoodsSearch;
|
|
9743
9743
|
_this.getGoodsTaxRateList = void 0;
|
|
9744
|
+
_this.setColumnsConfig = void 0;
|
|
9744
9745
|
return _this;
|
|
9745
9746
|
} // ----------------- 发票头 模块相关 -----------------
|
|
9746
9747
|
|
|
@@ -10676,7 +10677,7 @@ function Search() {
|
|
|
10676
10677
|
});
|
|
10677
10678
|
}
|
|
10678
10679
|
|
|
10679
|
-
var css_248z$5 = ".kts-invoice-operate-goods-list-itemName-drag-container-u {\n position: relative;\n}\n.kts-invoice-operate-goods-list-itemName-drag-container-u::after {\n content: \" \";\n width: 100%;\n height: 2px;\n background: #0074ff;\n position: absolute;\n left: 0;\n top: 0;\n z-index: 9999;\n}\n.kts-invoice-operate-goods-list-itemName-drag-container-d {\n position: relative;\n}\n.kts-invoice-operate-goods-list-itemName-drag-container-d::after {\n content: \" \";\n width: 100%;\n height: 2px;\n background: #0074ff;\n position: absolute;\n left: 0;\n bottom: 0;\n z-index: 9999;\n}\n";
|
|
10680
|
+
var css_248z$5 = ".kts-invoice-operate-goods-list-itemName-drag-container-u {\n position: relative;\n}\n.kts-invoice-operate-goods-list-itemName-drag-container-u::after {\n content: \" \";\n width: 100%;\n height: 2px;\n background: #0074ff;\n position: absolute;\n left: 0;\n top: 0;\n z-index: 9999;\n}\n.kts-invoice-operate-goods-list-itemName-drag-container-d {\n position: relative;\n}\n.kts-invoice-operate-goods-list-itemName-drag-container-d::after {\n content: \" \";\n width: 100%;\n height: 2px;\n background: #0074ff;\n position: absolute;\n left: 0;\n bottom: 0;\n z-index: 9999;\n}\n.ktsAntX-table .ktsAntX-table-row.ktsAntX-table-row-level-0.kts-invoice-operate-goods-expanded .ktsAntX-table-cell-ellipsis,\n.ktsAntX-table .ktsAntX-table-row.ktsAntX-table-row-level-0.kts-invoice-operate-goods-expanded {\n background: #f0f0f0;\n}\n.ktsAntX-table .ktsAntX-table-row.ktsAntX-table-row-level-0.kts-invoice-operate-goods-expanded-level-1 .ktsAntX-table-cell-ellipsis,\n.ktsAntX-table .ktsAntX-table-row.ktsAntX-table-row-level-0.kts-invoice-operate-goods-expanded-level-1 {\n background: #f6f6f6;\n}\n";
|
|
10680
10681
|
styleInject(css_248z$5);
|
|
10681
10682
|
|
|
10682
10683
|
function TableRow(props) {
|
|
@@ -10685,6 +10686,11 @@ function TableRow(props) {
|
|
|
10685
10686
|
var goodsMap = controller.useMemo(function (s) {
|
|
10686
10687
|
return s.goodsListState.goodsMap;
|
|
10687
10688
|
}, []);
|
|
10689
|
+
/** 子级展开的货物 */
|
|
10690
|
+
|
|
10691
|
+
var expandedRowKeys = controller.useMemo(function (s) {
|
|
10692
|
+
return s.goodsListState.expandedRowKeys;
|
|
10693
|
+
}, []);
|
|
10688
10694
|
/** 当前拖动中的货品索引 */
|
|
10689
10695
|
|
|
10690
10696
|
var current = controller.useMemo(function (s) {
|
|
@@ -10715,6 +10721,19 @@ function TableRow(props) {
|
|
|
10715
10721
|
return undefined;
|
|
10716
10722
|
}
|
|
10717
10723
|
}, [good, goodsMap]);
|
|
10724
|
+
/** 扩展行样式 */
|
|
10725
|
+
|
|
10726
|
+
var expandedRow = React.useMemo(function () {
|
|
10727
|
+
if (expandedRowKeys.indexOf(rowKey) > -1) return 'kts-invoice-operate-goods-expanded';
|
|
10728
|
+
if (expandedRowKeys.map(function (e) {
|
|
10729
|
+
return goodsMap.get(e);
|
|
10730
|
+
}).map(function (e) {
|
|
10731
|
+
return e === null || e === void 0 ? void 0 : e.children;
|
|
10732
|
+
}).flat(1).map(function (e) {
|
|
10733
|
+
return e === null || e === void 0 ? void 0 : e.$index;
|
|
10734
|
+
}).indexOf(rowKey) > -1) return 'kts-invoice-operate-goods-expanded-level-1';
|
|
10735
|
+
return undefined;
|
|
10736
|
+
}, [rowKey, expandedRowKeys, good]);
|
|
10718
10737
|
return rowKey === current && current ? /*#__PURE__*/React.createElement("tr", {
|
|
10719
10738
|
style: {
|
|
10720
10739
|
height: 32.67,
|
|
@@ -10730,7 +10749,7 @@ function TableRow(props) {
|
|
|
10730
10749
|
bottom: 0
|
|
10731
10750
|
}
|
|
10732
10751
|
})) : /*#__PURE__*/React.createElement("tr", _objectSpread2(_objectSpread2({}, props), {}, {
|
|
10733
|
-
className: classNames(props.className, discount, rowKey === container && current ? 'kts-invoice-operate-goods-list-itemName-drag-container-' + site : undefined)
|
|
10752
|
+
className: classNames(props.className, discount, expandedRow, rowKey === container && current ? 'kts-invoice-operate-goods-list-itemName-drag-container-' + site : undefined)
|
|
10734
10753
|
}));
|
|
10735
10754
|
}
|
|
10736
10755
|
|
|
@@ -13044,44 +13063,6 @@ function DragDiv(props) {
|
|
|
13044
13063
|
}, /*#__PURE__*/React.createElement("span", null, props.itemName), /*#__PURE__*/React.createElement("span", null, props.itemModelName), /*#__PURE__*/React.createElement("span", null, props.unit));
|
|
13045
13064
|
}
|
|
13046
13065
|
|
|
13047
|
-
var _path$4, _path2$1, _path3$1;
|
|
13048
|
-
|
|
13049
|
-
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); }
|
|
13050
|
-
|
|
13051
|
-
function SvgI001$1(props) {
|
|
13052
|
-
return /*#__PURE__*/createElement("svg", _extends$4({
|
|
13053
|
-
className: "I001_svg__icon",
|
|
13054
|
-
viewBox: "0 0 1024 1024",
|
|
13055
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
13056
|
-
width: 200,
|
|
13057
|
-
height: 200
|
|
13058
|
-
}, props), _path$4 || (_path$4 = /*#__PURE__*/createElement("path", {
|
|
13059
|
-
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"
|
|
13060
|
-
})), _path2$1 || (_path2$1 = /*#__PURE__*/createElement("path", {
|
|
13061
|
-
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"
|
|
13062
|
-
})), _path3$1 || (_path3$1 = /*#__PURE__*/createElement("path", {
|
|
13063
|
-
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"
|
|
13064
|
-
})));
|
|
13065
|
-
}
|
|
13066
|
-
|
|
13067
|
-
var _path$5, _path2$2;
|
|
13068
|
-
|
|
13069
|
-
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); }
|
|
13070
|
-
|
|
13071
|
-
function SvgI002(props) {
|
|
13072
|
-
return /*#__PURE__*/createElement("svg", _extends$5({
|
|
13073
|
-
className: "I002_svg__icon",
|
|
13074
|
-
viewBox: "0 0 1024 1024",
|
|
13075
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
13076
|
-
width: 200,
|
|
13077
|
-
height: 200
|
|
13078
|
-
}, props), _path$5 || (_path$5 = /*#__PURE__*/createElement("path", {
|
|
13079
|
-
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"
|
|
13080
|
-
})), _path2$2 || (_path2$2 = /*#__PURE__*/createElement("path", {
|
|
13081
|
-
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"
|
|
13082
|
-
})));
|
|
13083
|
-
}
|
|
13084
|
-
|
|
13085
13066
|
function Expand(props) {
|
|
13086
13067
|
var _goodsMap$get;
|
|
13087
13068
|
|
|
@@ -13100,11 +13081,10 @@ function Expand(props) {
|
|
|
13100
13081
|
type: 'text',
|
|
13101
13082
|
style: {
|
|
13102
13083
|
width: 'auto',
|
|
13103
|
-
color: "#0074ff"
|
|
13084
|
+
color: "#0074ff",
|
|
13085
|
+
padding: 0
|
|
13104
13086
|
},
|
|
13105
|
-
icon
|
|
13106
|
-
component: SvgI002
|
|
13107
|
-
}),
|
|
13087
|
+
// icon={<Icon component={I002Svg} />}
|
|
13108
13088
|
onClick: controller.pipeline( /*#__PURE__*/function () {
|
|
13109
13089
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(s, e) {
|
|
13110
13090
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
@@ -13128,17 +13108,16 @@ function Expand(props) {
|
|
|
13128
13108
|
return _ref.apply(this, arguments);
|
|
13129
13109
|
};
|
|
13130
13110
|
}())
|
|
13131
|
-
});
|
|
13111
|
+
}, "\u6536\u8D77");
|
|
13132
13112
|
} else {
|
|
13133
13113
|
return /*#__PURE__*/React.createElement(Button$1, {
|
|
13134
13114
|
type: 'text',
|
|
13135
13115
|
style: {
|
|
13136
13116
|
width: 'auto',
|
|
13137
|
-
color: "#0074ff"
|
|
13117
|
+
color: "#0074ff",
|
|
13118
|
+
padding: 0
|
|
13138
13119
|
},
|
|
13139
|
-
icon
|
|
13140
|
-
component: SvgI001$1
|
|
13141
|
-
}),
|
|
13120
|
+
// icon={<Icon component={I001Svg} />}
|
|
13142
13121
|
onClick: controller.pipeline( /*#__PURE__*/function () {
|
|
13143
13122
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(s, e) {
|
|
13144
13123
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
@@ -13160,7 +13139,7 @@ function Expand(props) {
|
|
|
13160
13139
|
return _ref2.apply(this, arguments);
|
|
13161
13140
|
};
|
|
13162
13141
|
}())
|
|
13163
|
-
});
|
|
13142
|
+
}, "\u5C55\u5F00");
|
|
13164
13143
|
}
|
|
13165
13144
|
} else {
|
|
13166
13145
|
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
@@ -13305,7 +13284,7 @@ var useColumns = (function (form) {
|
|
|
13305
13284
|
}, {
|
|
13306
13285
|
title: ' ',
|
|
13307
13286
|
key: 'expand',
|
|
13308
|
-
width:
|
|
13287
|
+
width: 50,
|
|
13309
13288
|
align: 'center',
|
|
13310
13289
|
render: function render(_, record) {
|
|
13311
13290
|
return /*#__PURE__*/React.createElement(Expand, {
|
|
@@ -14140,7 +14119,7 @@ var useColumns = (function (form) {
|
|
|
14140
14119
|
});
|
|
14141
14120
|
});
|
|
14142
14121
|
}, [isTaxIncluded, editGood, goodsList, controller, changeField, deduction, isMyShow, searchValue, model, columnsReplenish, columnshide, isStart]);
|
|
14143
|
-
return columns;
|
|
14122
|
+
return controller.setColumnsConfig ? controller.setColumnsConfig(columns) : columns;
|
|
14144
14123
|
});
|
|
14145
14124
|
/** 字段 */
|
|
14146
14125
|
|
|
@@ -17037,42 +17016,42 @@ var Tag = /*#__PURE__*/function (_React$Component2) {
|
|
|
17037
17016
|
return Tag;
|
|
17038
17017
|
}(React.Component);
|
|
17039
17018
|
|
|
17040
|
-
var _path$
|
|
17019
|
+
var _path$4;
|
|
17041
17020
|
|
|
17042
|
-
function _extends$
|
|
17021
|
+
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); }
|
|
17043
17022
|
|
|
17044
17023
|
function SvgArrowUp(props) {
|
|
17045
|
-
return /*#__PURE__*/createElement("svg", _extends$
|
|
17024
|
+
return /*#__PURE__*/createElement("svg", _extends$4({
|
|
17046
17025
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17047
17026
|
width: 13,
|
|
17048
17027
|
height: 13,
|
|
17049
17028
|
fill: "none"
|
|
17050
|
-
}, props), _path$
|
|
17029
|
+
}, props), _path$4 || (_path$4 = /*#__PURE__*/createElement("path", {
|
|
17051
17030
|
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"
|
|
17052
17031
|
})));
|
|
17053
17032
|
}
|
|
17054
17033
|
|
|
17055
|
-
var _path$
|
|
17034
|
+
var _path$5;
|
|
17056
17035
|
|
|
17057
|
-
function _extends$
|
|
17036
|
+
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); }
|
|
17058
17037
|
|
|
17059
17038
|
function SvgArrowDown(props) {
|
|
17060
|
-
return /*#__PURE__*/createElement("svg", _extends$
|
|
17039
|
+
return /*#__PURE__*/createElement("svg", _extends$5({
|
|
17061
17040
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17062
17041
|
width: 12,
|
|
17063
17042
|
height: 13,
|
|
17064
17043
|
fill: "none"
|
|
17065
|
-
}, props), _path$
|
|
17044
|
+
}, props), _path$5 || (_path$5 = /*#__PURE__*/createElement("path", {
|
|
17066
17045
|
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"
|
|
17067
17046
|
})));
|
|
17068
17047
|
}
|
|
17069
17048
|
|
|
17070
17049
|
var _g, _defs$2;
|
|
17071
17050
|
|
|
17072
|
-
function _extends$
|
|
17051
|
+
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); }
|
|
17073
17052
|
|
|
17074
17053
|
function SvgPlus(props) {
|
|
17075
|
-
return /*#__PURE__*/createElement("svg", _extends$
|
|
17054
|
+
return /*#__PURE__*/createElement("svg", _extends$6({
|
|
17076
17055
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17077
17056
|
width: 16,
|
|
17078
17057
|
height: 15,
|
|
@@ -17125,10 +17104,8 @@ var RULES = {
|
|
|
17125
17104
|
}];
|
|
17126
17105
|
},
|
|
17127
17106
|
sellerTelPhone: function sellerTelPhone(label) {
|
|
17128
|
-
return [{
|
|
17129
|
-
|
|
17130
|
-
message: "".concat(label, "\u5FC5\u586B")
|
|
17131
|
-
}, {
|
|
17107
|
+
return [// { required: true, message: `${label}必填` },
|
|
17108
|
+
{
|
|
17132
17109
|
max: 100,
|
|
17133
17110
|
message: "".concat(label, "\u5185\u5BB9\u8D85\u957F")
|
|
17134
17111
|
}, {
|
|
@@ -17852,10 +17829,10 @@ function TableVirtual$1 (props) {
|
|
|
17852
17829
|
|
|
17853
17830
|
var _g$1, _defs$3;
|
|
17854
17831
|
|
|
17855
|
-
function _extends$
|
|
17832
|
+
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); }
|
|
17856
17833
|
|
|
17857
17834
|
function SvgFork(props) {
|
|
17858
|
-
return /*#__PURE__*/createElement("svg", _extends$
|
|
17835
|
+
return /*#__PURE__*/createElement("svg", _extends$7({
|
|
17859
17836
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17860
17837
|
width: 16,
|
|
17861
17838
|
height: 16,
|
|
@@ -19459,18 +19436,18 @@ var TaxIncludedSwitch$1 = (function () {
|
|
|
19459
19436
|
}));
|
|
19460
19437
|
});
|
|
19461
19438
|
|
|
19462
|
-
var _path$
|
|
19439
|
+
var _path$6;
|
|
19463
19440
|
|
|
19464
|
-
function _extends$
|
|
19441
|
+
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); }
|
|
19465
19442
|
|
|
19466
19443
|
function SvgMagnifier$1(props) {
|
|
19467
|
-
return /*#__PURE__*/createElement("svg", _extends$
|
|
19444
|
+
return /*#__PURE__*/createElement("svg", _extends$8({
|
|
19468
19445
|
className: "magnifier_svg__icon",
|
|
19469
19446
|
viewBox: "0 0 1024 1024",
|
|
19470
19447
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19471
19448
|
width: 200,
|
|
19472
19449
|
height: 200
|
|
19473
|
-
}, props), _path$
|
|
19450
|
+
}, props), _path$6 || (_path$6 = /*#__PURE__*/createElement("path", {
|
|
19474
19451
|
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"
|
|
19475
19452
|
})));
|
|
19476
19453
|
}
|
|
@@ -19620,10 +19597,10 @@ function TableRow$1(props) {
|
|
|
19620
19597
|
|
|
19621
19598
|
var _g$2, _defs$4;
|
|
19622
19599
|
|
|
19623
|
-
function _extends$
|
|
19600
|
+
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); }
|
|
19624
19601
|
|
|
19625
19602
|
function SvgPlus$1(props) {
|
|
19626
|
-
return /*#__PURE__*/createElement("svg", _extends$
|
|
19603
|
+
return /*#__PURE__*/createElement("svg", _extends$9({
|
|
19627
19604
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19628
19605
|
width: 16,
|
|
19629
19606
|
height: 15
|
|
@@ -19868,18 +19845,18 @@ function ItemNameInput$1(props) {
|
|
|
19868
19845
|
})));
|
|
19869
19846
|
}
|
|
19870
19847
|
|
|
19871
|
-
var _path$
|
|
19848
|
+
var _path$7;
|
|
19872
19849
|
|
|
19873
|
-
function _extends$
|
|
19850
|
+
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); }
|
|
19874
19851
|
|
|
19875
|
-
function SvgI001$
|
|
19876
|
-
return /*#__PURE__*/createElement("svg", _extends$
|
|
19852
|
+
function SvgI001$1(props) {
|
|
19853
|
+
return /*#__PURE__*/createElement("svg", _extends$a({
|
|
19877
19854
|
className: "I001_svg__icon",
|
|
19878
19855
|
viewBox: "0 0 1024 1024",
|
|
19879
19856
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19880
19857
|
width: 200,
|
|
19881
19858
|
height: 200
|
|
19882
|
-
}, props), _path$
|
|
19859
|
+
}, props), _path$7 || (_path$7 = /*#__PURE__*/createElement("path", {
|
|
19883
19860
|
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"
|
|
19884
19861
|
})));
|
|
19885
19862
|
}
|
|
@@ -20180,7 +20157,7 @@ function Drag$2(props) {
|
|
|
20180
20157
|
className: "kts-invoice-operate-goods-list-itemName-drag",
|
|
20181
20158
|
onMouseOver: controller.saveEditGood
|
|
20182
20159
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
20183
|
-
component: SvgI001$
|
|
20160
|
+
component: SvgI001$1
|
|
20184
20161
|
}));
|
|
20185
20162
|
}, [onMouseDown, controller]);
|
|
20186
20163
|
|
package/dist/index.js
CHANGED
|
@@ -9751,6 +9751,7 @@ var InvoiceController = /*#__PURE__*/function (_InvoiceControllerFor) {
|
|
|
9751
9751
|
_this.getTaxCategoryCodeList = void 0;
|
|
9752
9752
|
_this.getGoodsSearch = getGoodsSearch;
|
|
9753
9753
|
_this.getGoodsTaxRateList = void 0;
|
|
9754
|
+
_this.setColumnsConfig = void 0;
|
|
9754
9755
|
return _this;
|
|
9755
9756
|
} // ----------------- 发票头 模块相关 -----------------
|
|
9756
9757
|
|
|
@@ -10686,7 +10687,7 @@ function Search() {
|
|
|
10686
10687
|
});
|
|
10687
10688
|
}
|
|
10688
10689
|
|
|
10689
|
-
var css_248z$5 = ".kts-invoice-operate-goods-list-itemName-drag-container-u {\n position: relative;\n}\n.kts-invoice-operate-goods-list-itemName-drag-container-u::after {\n content: \" \";\n width: 100%;\n height: 2px;\n background: #0074ff;\n position: absolute;\n left: 0;\n top: 0;\n z-index: 9999;\n}\n.kts-invoice-operate-goods-list-itemName-drag-container-d {\n position: relative;\n}\n.kts-invoice-operate-goods-list-itemName-drag-container-d::after {\n content: \" \";\n width: 100%;\n height: 2px;\n background: #0074ff;\n position: absolute;\n left: 0;\n bottom: 0;\n z-index: 9999;\n}\n";
|
|
10690
|
+
var css_248z$5 = ".kts-invoice-operate-goods-list-itemName-drag-container-u {\n position: relative;\n}\n.kts-invoice-operate-goods-list-itemName-drag-container-u::after {\n content: \" \";\n width: 100%;\n height: 2px;\n background: #0074ff;\n position: absolute;\n left: 0;\n top: 0;\n z-index: 9999;\n}\n.kts-invoice-operate-goods-list-itemName-drag-container-d {\n position: relative;\n}\n.kts-invoice-operate-goods-list-itemName-drag-container-d::after {\n content: \" \";\n width: 100%;\n height: 2px;\n background: #0074ff;\n position: absolute;\n left: 0;\n bottom: 0;\n z-index: 9999;\n}\n.ktsAntX-table .ktsAntX-table-row.ktsAntX-table-row-level-0.kts-invoice-operate-goods-expanded .ktsAntX-table-cell-ellipsis,\n.ktsAntX-table .ktsAntX-table-row.ktsAntX-table-row-level-0.kts-invoice-operate-goods-expanded {\n background: #f0f0f0;\n}\n.ktsAntX-table .ktsAntX-table-row.ktsAntX-table-row-level-0.kts-invoice-operate-goods-expanded-level-1 .ktsAntX-table-cell-ellipsis,\n.ktsAntX-table .ktsAntX-table-row.ktsAntX-table-row-level-0.kts-invoice-operate-goods-expanded-level-1 {\n background: #f6f6f6;\n}\n";
|
|
10690
10691
|
styleInject(css_248z$5);
|
|
10691
10692
|
|
|
10692
10693
|
function TableRow(props) {
|
|
@@ -10695,6 +10696,11 @@ function TableRow(props) {
|
|
|
10695
10696
|
var goodsMap = controller.useMemo(function (s) {
|
|
10696
10697
|
return s.goodsListState.goodsMap;
|
|
10697
10698
|
}, []);
|
|
10699
|
+
/** 子级展开的货物 */
|
|
10700
|
+
|
|
10701
|
+
var expandedRowKeys = controller.useMemo(function (s) {
|
|
10702
|
+
return s.goodsListState.expandedRowKeys;
|
|
10703
|
+
}, []);
|
|
10698
10704
|
/** 当前拖动中的货品索引 */
|
|
10699
10705
|
|
|
10700
10706
|
var current = controller.useMemo(function (s) {
|
|
@@ -10725,6 +10731,19 @@ function TableRow(props) {
|
|
|
10725
10731
|
return undefined;
|
|
10726
10732
|
}
|
|
10727
10733
|
}, [good, goodsMap]);
|
|
10734
|
+
/** 扩展行样式 */
|
|
10735
|
+
|
|
10736
|
+
var expandedRow = React__default['default'].useMemo(function () {
|
|
10737
|
+
if (expandedRowKeys.indexOf(rowKey) > -1) return 'kts-invoice-operate-goods-expanded';
|
|
10738
|
+
if (expandedRowKeys.map(function (e) {
|
|
10739
|
+
return goodsMap.get(e);
|
|
10740
|
+
}).map(function (e) {
|
|
10741
|
+
return e === null || e === void 0 ? void 0 : e.children;
|
|
10742
|
+
}).flat(1).map(function (e) {
|
|
10743
|
+
return e === null || e === void 0 ? void 0 : e.$index;
|
|
10744
|
+
}).indexOf(rowKey) > -1) return 'kts-invoice-operate-goods-expanded-level-1';
|
|
10745
|
+
return undefined;
|
|
10746
|
+
}, [rowKey, expandedRowKeys, good]);
|
|
10728
10747
|
return rowKey === current && current ? /*#__PURE__*/React__default['default'].createElement("tr", {
|
|
10729
10748
|
style: {
|
|
10730
10749
|
height: 32.67,
|
|
@@ -10740,7 +10759,7 @@ function TableRow(props) {
|
|
|
10740
10759
|
bottom: 0
|
|
10741
10760
|
}
|
|
10742
10761
|
})) : /*#__PURE__*/React__default['default'].createElement("tr", _objectSpread2(_objectSpread2({}, props), {}, {
|
|
10743
|
-
className: classNames__default['default'](props.className, discount, rowKey === container && current ? 'kts-invoice-operate-goods-list-itemName-drag-container-' + site : undefined)
|
|
10762
|
+
className: classNames__default['default'](props.className, discount, expandedRow, rowKey === container && current ? 'kts-invoice-operate-goods-list-itemName-drag-container-' + site : undefined)
|
|
10744
10763
|
}));
|
|
10745
10764
|
}
|
|
10746
10765
|
|
|
@@ -13054,44 +13073,6 @@ function DragDiv(props) {
|
|
|
13054
13073
|
}, /*#__PURE__*/React__default['default'].createElement("span", null, props.itemName), /*#__PURE__*/React__default['default'].createElement("span", null, props.itemModelName), /*#__PURE__*/React__default['default'].createElement("span", null, props.unit));
|
|
13055
13074
|
}
|
|
13056
13075
|
|
|
13057
|
-
var _path$4, _path2$1, _path3$1;
|
|
13058
|
-
|
|
13059
|
-
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); }
|
|
13060
|
-
|
|
13061
|
-
function SvgI001$1(props) {
|
|
13062
|
-
return /*#__PURE__*/React.createElement("svg", _extends$4({
|
|
13063
|
-
className: "I001_svg__icon",
|
|
13064
|
-
viewBox: "0 0 1024 1024",
|
|
13065
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
13066
|
-
width: 200,
|
|
13067
|
-
height: 200
|
|
13068
|
-
}, props), _path$4 || (_path$4 = /*#__PURE__*/React.createElement("path", {
|
|
13069
|
-
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"
|
|
13070
|
-
})), _path2$1 || (_path2$1 = /*#__PURE__*/React.createElement("path", {
|
|
13071
|
-
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"
|
|
13072
|
-
})), _path3$1 || (_path3$1 = /*#__PURE__*/React.createElement("path", {
|
|
13073
|
-
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"
|
|
13074
|
-
})));
|
|
13075
|
-
}
|
|
13076
|
-
|
|
13077
|
-
var _path$5, _path2$2;
|
|
13078
|
-
|
|
13079
|
-
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); }
|
|
13080
|
-
|
|
13081
|
-
function SvgI002(props) {
|
|
13082
|
-
return /*#__PURE__*/React.createElement("svg", _extends$5({
|
|
13083
|
-
className: "I002_svg__icon",
|
|
13084
|
-
viewBox: "0 0 1024 1024",
|
|
13085
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
13086
|
-
width: 200,
|
|
13087
|
-
height: 200
|
|
13088
|
-
}, props), _path$5 || (_path$5 = /*#__PURE__*/React.createElement("path", {
|
|
13089
|
-
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"
|
|
13090
|
-
})), _path2$2 || (_path2$2 = /*#__PURE__*/React.createElement("path", {
|
|
13091
|
-
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"
|
|
13092
|
-
})));
|
|
13093
|
-
}
|
|
13094
|
-
|
|
13095
13076
|
function Expand(props) {
|
|
13096
13077
|
var _goodsMap$get;
|
|
13097
13078
|
|
|
@@ -13110,11 +13091,10 @@ function Expand(props) {
|
|
|
13110
13091
|
type: 'text',
|
|
13111
13092
|
style: {
|
|
13112
13093
|
width: 'auto',
|
|
13113
|
-
color: "#0074ff"
|
|
13094
|
+
color: "#0074ff",
|
|
13095
|
+
padding: 0
|
|
13114
13096
|
},
|
|
13115
|
-
icon
|
|
13116
|
-
component: SvgI002
|
|
13117
|
-
}),
|
|
13097
|
+
// icon={<Icon component={I002Svg} />}
|
|
13118
13098
|
onClick: controller.pipeline( /*#__PURE__*/function () {
|
|
13119
13099
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(s, e) {
|
|
13120
13100
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
@@ -13138,17 +13118,16 @@ function Expand(props) {
|
|
|
13138
13118
|
return _ref.apply(this, arguments);
|
|
13139
13119
|
};
|
|
13140
13120
|
}())
|
|
13141
|
-
});
|
|
13121
|
+
}, "\u6536\u8D77");
|
|
13142
13122
|
} else {
|
|
13143
13123
|
return /*#__PURE__*/React__default['default'].createElement(ktsXui.Button, {
|
|
13144
13124
|
type: 'text',
|
|
13145
13125
|
style: {
|
|
13146
13126
|
width: 'auto',
|
|
13147
|
-
color: "#0074ff"
|
|
13127
|
+
color: "#0074ff",
|
|
13128
|
+
padding: 0
|
|
13148
13129
|
},
|
|
13149
|
-
icon
|
|
13150
|
-
component: SvgI001$1
|
|
13151
|
-
}),
|
|
13130
|
+
// icon={<Icon component={I001Svg} />}
|
|
13152
13131
|
onClick: controller.pipeline( /*#__PURE__*/function () {
|
|
13153
13132
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(s, e) {
|
|
13154
13133
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
@@ -13170,7 +13149,7 @@ function Expand(props) {
|
|
|
13170
13149
|
return _ref2.apply(this, arguments);
|
|
13171
13150
|
};
|
|
13172
13151
|
}())
|
|
13173
|
-
});
|
|
13152
|
+
}, "\u5C55\u5F00");
|
|
13174
13153
|
}
|
|
13175
13154
|
} else {
|
|
13176
13155
|
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null);
|
|
@@ -13315,7 +13294,7 @@ var useColumns = (function (form) {
|
|
|
13315
13294
|
}, {
|
|
13316
13295
|
title: ' ',
|
|
13317
13296
|
key: 'expand',
|
|
13318
|
-
width:
|
|
13297
|
+
width: 50,
|
|
13319
13298
|
align: 'center',
|
|
13320
13299
|
render: function render(_, record) {
|
|
13321
13300
|
return /*#__PURE__*/React__default['default'].createElement(Expand, {
|
|
@@ -14150,7 +14129,7 @@ var useColumns = (function (form) {
|
|
|
14150
14129
|
});
|
|
14151
14130
|
});
|
|
14152
14131
|
}, [isTaxIncluded, editGood, goodsList, controller, changeField, deduction, isMyShow, searchValue, model, columnsReplenish, columnshide, isStart]);
|
|
14153
|
-
return columns;
|
|
14132
|
+
return controller.setColumnsConfig ? controller.setColumnsConfig(columns) : columns;
|
|
14154
14133
|
});
|
|
14155
14134
|
/** 字段 */
|
|
14156
14135
|
|
|
@@ -17047,42 +17026,42 @@ var Tag = /*#__PURE__*/function (_React$Component2) {
|
|
|
17047
17026
|
return Tag;
|
|
17048
17027
|
}(React__default['default'].Component);
|
|
17049
17028
|
|
|
17050
|
-
var _path$
|
|
17029
|
+
var _path$4;
|
|
17051
17030
|
|
|
17052
|
-
function _extends$
|
|
17031
|
+
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); }
|
|
17053
17032
|
|
|
17054
17033
|
function SvgArrowUp(props) {
|
|
17055
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
17034
|
+
return /*#__PURE__*/React.createElement("svg", _extends$4({
|
|
17056
17035
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17057
17036
|
width: 13,
|
|
17058
17037
|
height: 13,
|
|
17059
17038
|
fill: "none"
|
|
17060
|
-
}, props), _path$
|
|
17039
|
+
}, props), _path$4 || (_path$4 = /*#__PURE__*/React.createElement("path", {
|
|
17061
17040
|
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"
|
|
17062
17041
|
})));
|
|
17063
17042
|
}
|
|
17064
17043
|
|
|
17065
|
-
var _path$
|
|
17044
|
+
var _path$5;
|
|
17066
17045
|
|
|
17067
|
-
function _extends$
|
|
17046
|
+
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); }
|
|
17068
17047
|
|
|
17069
17048
|
function SvgArrowDown(props) {
|
|
17070
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
17049
|
+
return /*#__PURE__*/React.createElement("svg", _extends$5({
|
|
17071
17050
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17072
17051
|
width: 12,
|
|
17073
17052
|
height: 13,
|
|
17074
17053
|
fill: "none"
|
|
17075
|
-
}, props), _path$
|
|
17054
|
+
}, props), _path$5 || (_path$5 = /*#__PURE__*/React.createElement("path", {
|
|
17076
17055
|
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"
|
|
17077
17056
|
})));
|
|
17078
17057
|
}
|
|
17079
17058
|
|
|
17080
17059
|
var _g, _defs$2;
|
|
17081
17060
|
|
|
17082
|
-
function _extends$
|
|
17061
|
+
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); }
|
|
17083
17062
|
|
|
17084
17063
|
function SvgPlus(props) {
|
|
17085
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
17064
|
+
return /*#__PURE__*/React.createElement("svg", _extends$6({
|
|
17086
17065
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17087
17066
|
width: 16,
|
|
17088
17067
|
height: 15,
|
|
@@ -17135,10 +17114,8 @@ var RULES = {
|
|
|
17135
17114
|
}];
|
|
17136
17115
|
},
|
|
17137
17116
|
sellerTelPhone: function sellerTelPhone(label) {
|
|
17138
|
-
return [{
|
|
17139
|
-
|
|
17140
|
-
message: "".concat(label, "\u5FC5\u586B")
|
|
17141
|
-
}, {
|
|
17117
|
+
return [// { required: true, message: `${label}必填` },
|
|
17118
|
+
{
|
|
17142
17119
|
max: 100,
|
|
17143
17120
|
message: "".concat(label, "\u5185\u5BB9\u8D85\u957F")
|
|
17144
17121
|
}, {
|
|
@@ -17862,10 +17839,10 @@ function TableVirtual$1 (props) {
|
|
|
17862
17839
|
|
|
17863
17840
|
var _g$1, _defs$3;
|
|
17864
17841
|
|
|
17865
|
-
function _extends$
|
|
17842
|
+
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); }
|
|
17866
17843
|
|
|
17867
17844
|
function SvgFork(props) {
|
|
17868
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
17845
|
+
return /*#__PURE__*/React.createElement("svg", _extends$7({
|
|
17869
17846
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17870
17847
|
width: 16,
|
|
17871
17848
|
height: 16,
|
|
@@ -19469,18 +19446,18 @@ var TaxIncludedSwitch$1 = (function () {
|
|
|
19469
19446
|
}));
|
|
19470
19447
|
});
|
|
19471
19448
|
|
|
19472
|
-
var _path$
|
|
19449
|
+
var _path$6;
|
|
19473
19450
|
|
|
19474
|
-
function _extends$
|
|
19451
|
+
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); }
|
|
19475
19452
|
|
|
19476
19453
|
function SvgMagnifier$1(props) {
|
|
19477
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
19454
|
+
return /*#__PURE__*/React.createElement("svg", _extends$8({
|
|
19478
19455
|
className: "magnifier_svg__icon",
|
|
19479
19456
|
viewBox: "0 0 1024 1024",
|
|
19480
19457
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19481
19458
|
width: 200,
|
|
19482
19459
|
height: 200
|
|
19483
|
-
}, props), _path$
|
|
19460
|
+
}, props), _path$6 || (_path$6 = /*#__PURE__*/React.createElement("path", {
|
|
19484
19461
|
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"
|
|
19485
19462
|
})));
|
|
19486
19463
|
}
|
|
@@ -19630,10 +19607,10 @@ function TableRow$1(props) {
|
|
|
19630
19607
|
|
|
19631
19608
|
var _g$2, _defs$4;
|
|
19632
19609
|
|
|
19633
|
-
function _extends$
|
|
19610
|
+
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); }
|
|
19634
19611
|
|
|
19635
19612
|
function SvgPlus$1(props) {
|
|
19636
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
19613
|
+
return /*#__PURE__*/React.createElement("svg", _extends$9({
|
|
19637
19614
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19638
19615
|
width: 16,
|
|
19639
19616
|
height: 15
|
|
@@ -19878,18 +19855,18 @@ function ItemNameInput$1(props) {
|
|
|
19878
19855
|
})));
|
|
19879
19856
|
}
|
|
19880
19857
|
|
|
19881
|
-
var _path$
|
|
19858
|
+
var _path$7;
|
|
19882
19859
|
|
|
19883
|
-
function _extends$
|
|
19860
|
+
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); }
|
|
19884
19861
|
|
|
19885
|
-
function SvgI001$
|
|
19886
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
19862
|
+
function SvgI001$1(props) {
|
|
19863
|
+
return /*#__PURE__*/React.createElement("svg", _extends$a({
|
|
19887
19864
|
className: "I001_svg__icon",
|
|
19888
19865
|
viewBox: "0 0 1024 1024",
|
|
19889
19866
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19890
19867
|
width: 200,
|
|
19891
19868
|
height: 200
|
|
19892
|
-
}, props), _path$
|
|
19869
|
+
}, props), _path$7 || (_path$7 = /*#__PURE__*/React.createElement("path", {
|
|
19893
19870
|
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"
|
|
19894
19871
|
})));
|
|
19895
19872
|
}
|
|
@@ -20190,7 +20167,7 @@ function Drag$2(props) {
|
|
|
20190
20167
|
className: "kts-invoice-operate-goods-list-itemName-drag",
|
|
20191
20168
|
onMouseOver: controller.saveEditGood
|
|
20192
20169
|
}, /*#__PURE__*/React__default['default'].createElement(Icon, {
|
|
20193
|
-
component: SvgI001$
|
|
20170
|
+
component: SvgI001$1
|
|
20194
20171
|
}));
|
|
20195
20172
|
}, [onMouseDown, controller]);
|
|
20196
20173
|
|