kts-component-invoice-operate 3.2.65 → 3.2.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js
CHANGED
|
@@ -12062,7 +12062,7 @@ function Drag$1(props) {
|
|
|
12062
12062
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(s) {
|
|
12063
12063
|
var _rowDom$dataset;
|
|
12064
12064
|
|
|
12065
|
-
var rowDom, container, row, currentGood, currentIndex, containerIndex, _currentIndex, _containerIndex,
|
|
12065
|
+
var rowDom, container, row, currentGood, currentIndex, containerIndex, _currentIndex, _containerIndex, rect, mouseY;
|
|
12066
12066
|
|
|
12067
12067
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
12068
12068
|
while (1) {
|
|
@@ -12143,10 +12143,8 @@ function Drag$1(props) {
|
|
|
12143
12143
|
case 20:
|
|
12144
12144
|
// 折扣行 拖动的 相当于 自己的 被折扣行
|
|
12145
12145
|
if (row.lineAttribute === LineAttributeType$1.折扣行) {
|
|
12146
|
-
t = s.goodsListState.goodsList.map(
|
|
12147
|
-
|
|
12148
|
-
}).indexOf(container) - 1;
|
|
12149
|
-
s.goodsListState.drag.container = s.goodsListState.goodsList[t].$index;
|
|
12146
|
+
// const t = s.goodsListState.goodsList.map(e => e.$index).indexOf(container) - 1;
|
|
12147
|
+
// s.goodsListState.drag.container = s.goodsListState.goodsList[t].$index;
|
|
12150
12148
|
s.goodsListState.drag.site = 'd';
|
|
12151
12149
|
} else if (row.lineAttribute === LineAttributeType$1.被折扣行) {
|
|
12152
12150
|
s.goodsListState.drag.site = 'u';
|
|
@@ -18274,7 +18272,7 @@ function Drag$2(props) {
|
|
|
18274
18272
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(s) {
|
|
18275
18273
|
var _rowDom$dataset;
|
|
18276
18274
|
|
|
18277
|
-
var rowDom, container, row, currentGood, currentIndex, containerIndex, _currentIndex, _containerIndex,
|
|
18275
|
+
var rowDom, container, row, currentGood, currentIndex, containerIndex, _currentIndex, _containerIndex, rect, mouseY;
|
|
18278
18276
|
|
|
18279
18277
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
18280
18278
|
while (1) {
|
|
@@ -18355,10 +18353,8 @@ function Drag$2(props) {
|
|
|
18355
18353
|
case 20:
|
|
18356
18354
|
// 折扣行 拖动的 相当于 自己的 被折扣行
|
|
18357
18355
|
if (row.lineAttribute === LineAttributeType$1.折扣行) {
|
|
18358
|
-
t = s.goodsListState.goodsList.map(
|
|
18359
|
-
|
|
18360
|
-
}).indexOf(container) - 1;
|
|
18361
|
-
s.goodsListState.drag.container = s.goodsListState.goodsList[t].$index;
|
|
18356
|
+
// const t = s.goodsListState.goodsList.map(e => e.$index).indexOf(container) - 1;
|
|
18357
|
+
// s.goodsListState.drag.container = s.goodsListState.goodsList[t].$index;
|
|
18362
18358
|
s.goodsListState.drag.site = 'd';
|
|
18363
18359
|
} else if (row.lineAttribute === LineAttributeType$1.被折扣行) {
|
|
18364
18360
|
s.goodsListState.drag.site = 'u';
|
package/dist/index.js
CHANGED
|
@@ -12072,7 +12072,7 @@ function Drag$1(props) {
|
|
|
12072
12072
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(s) {
|
|
12073
12073
|
var _rowDom$dataset;
|
|
12074
12074
|
|
|
12075
|
-
var rowDom, container, row, currentGood, currentIndex, containerIndex, _currentIndex, _containerIndex,
|
|
12075
|
+
var rowDom, container, row, currentGood, currentIndex, containerIndex, _currentIndex, _containerIndex, rect, mouseY;
|
|
12076
12076
|
|
|
12077
12077
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
12078
12078
|
while (1) {
|
|
@@ -12153,10 +12153,8 @@ function Drag$1(props) {
|
|
|
12153
12153
|
case 20:
|
|
12154
12154
|
// 折扣行 拖动的 相当于 自己的 被折扣行
|
|
12155
12155
|
if (row.lineAttribute === LineAttributeType$1.折扣行) {
|
|
12156
|
-
t = s.goodsListState.goodsList.map(
|
|
12157
|
-
|
|
12158
|
-
}).indexOf(container) - 1;
|
|
12159
|
-
s.goodsListState.drag.container = s.goodsListState.goodsList[t].$index;
|
|
12156
|
+
// const t = s.goodsListState.goodsList.map(e => e.$index).indexOf(container) - 1;
|
|
12157
|
+
// s.goodsListState.drag.container = s.goodsListState.goodsList[t].$index;
|
|
12160
12158
|
s.goodsListState.drag.site = 'd';
|
|
12161
12159
|
} else if (row.lineAttribute === LineAttributeType$1.被折扣行) {
|
|
12162
12160
|
s.goodsListState.drag.site = 'u';
|
|
@@ -18284,7 +18282,7 @@ function Drag$2(props) {
|
|
|
18284
18282
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(s) {
|
|
18285
18283
|
var _rowDom$dataset;
|
|
18286
18284
|
|
|
18287
|
-
var rowDom, container, row, currentGood, currentIndex, containerIndex, _currentIndex, _containerIndex,
|
|
18285
|
+
var rowDom, container, row, currentGood, currentIndex, containerIndex, _currentIndex, _containerIndex, rect, mouseY;
|
|
18288
18286
|
|
|
18289
18287
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
18290
18288
|
while (1) {
|
|
@@ -18365,10 +18363,8 @@ function Drag$2(props) {
|
|
|
18365
18363
|
case 20:
|
|
18366
18364
|
// 折扣行 拖动的 相当于 自己的 被折扣行
|
|
18367
18365
|
if (row.lineAttribute === LineAttributeType$1.折扣行) {
|
|
18368
|
-
t = s.goodsListState.goodsList.map(
|
|
18369
|
-
|
|
18370
|
-
}).indexOf(container) - 1;
|
|
18371
|
-
s.goodsListState.drag.container = s.goodsListState.goodsList[t].$index;
|
|
18366
|
+
// const t = s.goodsListState.goodsList.map(e => e.$index).indexOf(container) - 1;
|
|
18367
|
+
// s.goodsListState.drag.container = s.goodsListState.goodsList[t].$index;
|
|
18372
18368
|
s.goodsListState.drag.site = 'd';
|
|
18373
18369
|
} else if (row.lineAttribute === LineAttributeType$1.被折扣行) {
|
|
18374
18370
|
s.goodsListState.drag.site = 'u';
|
package/package.json
CHANGED
|
@@ -72,8 +72,8 @@ export default function Drag(props: IDragProps) {
|
|
|
72
72
|
|
|
73
73
|
// 折扣行 拖动的 相当于 自己的 被折扣行
|
|
74
74
|
if (row.lineAttribute === LineAttributeType.折扣行) {
|
|
75
|
-
const t = s.goodsListState.goodsList.map(e => e.$index).indexOf(container) - 1;
|
|
76
|
-
s.goodsListState.drag.container = s.goodsListState.goodsList[t].$index;
|
|
75
|
+
// const t = s.goodsListState.goodsList.map(e => e.$index).indexOf(container) - 1;
|
|
76
|
+
// s.goodsListState.drag.container = s.goodsListState.goodsList[t].$index;
|
|
77
77
|
s.goodsListState.drag.site = 'd'
|
|
78
78
|
} else if (row.lineAttribute === LineAttributeType.被折扣行) {
|
|
79
79
|
s.goodsListState.drag.site = 'u'
|
|
@@ -72,8 +72,8 @@ export default function Drag(props: IDragProps) {
|
|
|
72
72
|
|
|
73
73
|
// 折扣行 拖动的 相当于 自己的 被折扣行
|
|
74
74
|
if (row.lineAttribute === LineAttributeType.折扣行) {
|
|
75
|
-
const t = s.goodsListState.goodsList.map(e => e.$index).indexOf(container) - 1;
|
|
76
|
-
s.goodsListState.drag.container = s.goodsListState.goodsList[t].$index;
|
|
75
|
+
// const t = s.goodsListState.goodsList.map(e => e.$index).indexOf(container) - 1;
|
|
76
|
+
// s.goodsListState.drag.container = s.goodsListState.goodsList[t].$index;
|
|
77
77
|
s.goodsListState.drag.site = 'd'
|
|
78
78
|
} else if (row.lineAttribute === LineAttributeType.被折扣行) {
|
|
79
79
|
s.goodsListState.drag.site = 'u'
|