kts-component-invoice-operate 3.2.64 → 3.2.65
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
|
@@ -12147,9 +12147,9 @@ function Drag$1(props) {
|
|
|
12147
12147
|
return e.$index;
|
|
12148
12148
|
}).indexOf(container) - 1;
|
|
12149
12149
|
s.goodsListState.drag.container = s.goodsListState.goodsList[t].$index;
|
|
12150
|
-
s.goodsListState.drag.site = 'u';
|
|
12151
|
-
} else if (row.lineAttribute === LineAttributeType$1.被折扣行) {
|
|
12152
12150
|
s.goodsListState.drag.site = 'd';
|
|
12151
|
+
} else if (row.lineAttribute === LineAttributeType$1.被折扣行) {
|
|
12152
|
+
s.goodsListState.drag.site = 'u';
|
|
12153
12153
|
} else {
|
|
12154
12154
|
rect = rowDom.getBoundingClientRect();
|
|
12155
12155
|
mouseY = e.clientY - rect.top;
|
|
@@ -18359,9 +18359,9 @@ function Drag$2(props) {
|
|
|
18359
18359
|
return e.$index;
|
|
18360
18360
|
}).indexOf(container) - 1;
|
|
18361
18361
|
s.goodsListState.drag.container = s.goodsListState.goodsList[t].$index;
|
|
18362
|
-
s.goodsListState.drag.site = 'u';
|
|
18363
|
-
} else if (row.lineAttribute === LineAttributeType$1.被折扣行) {
|
|
18364
18362
|
s.goodsListState.drag.site = 'd';
|
|
18363
|
+
} else if (row.lineAttribute === LineAttributeType$1.被折扣行) {
|
|
18364
|
+
s.goodsListState.drag.site = 'u';
|
|
18365
18365
|
} else {
|
|
18366
18366
|
rect = rowDom.getBoundingClientRect();
|
|
18367
18367
|
mouseY = e.clientY - rect.top;
|
package/dist/index.js
CHANGED
|
@@ -12157,9 +12157,9 @@ function Drag$1(props) {
|
|
|
12157
12157
|
return e.$index;
|
|
12158
12158
|
}).indexOf(container) - 1;
|
|
12159
12159
|
s.goodsListState.drag.container = s.goodsListState.goodsList[t].$index;
|
|
12160
|
-
s.goodsListState.drag.site = 'u';
|
|
12161
|
-
} else if (row.lineAttribute === LineAttributeType$1.被折扣行) {
|
|
12162
12160
|
s.goodsListState.drag.site = 'd';
|
|
12161
|
+
} else if (row.lineAttribute === LineAttributeType$1.被折扣行) {
|
|
12162
|
+
s.goodsListState.drag.site = 'u';
|
|
12163
12163
|
} else {
|
|
12164
12164
|
rect = rowDom.getBoundingClientRect();
|
|
12165
12165
|
mouseY = e.clientY - rect.top;
|
|
@@ -18369,9 +18369,9 @@ function Drag$2(props) {
|
|
|
18369
18369
|
return e.$index;
|
|
18370
18370
|
}).indexOf(container) - 1;
|
|
18371
18371
|
s.goodsListState.drag.container = s.goodsListState.goodsList[t].$index;
|
|
18372
|
-
s.goodsListState.drag.site = 'u';
|
|
18373
|
-
} else if (row.lineAttribute === LineAttributeType$1.被折扣行) {
|
|
18374
18372
|
s.goodsListState.drag.site = 'd';
|
|
18373
|
+
} else if (row.lineAttribute === LineAttributeType$1.被折扣行) {
|
|
18374
|
+
s.goodsListState.drag.site = 'u';
|
|
18375
18375
|
} else {
|
|
18376
18376
|
rect = rowDom.getBoundingClientRect();
|
|
18377
18377
|
mouseY = e.clientY - rect.top;
|
package/package.json
CHANGED
|
@@ -74,9 +74,9 @@ export default function Drag(props: IDragProps) {
|
|
|
74
74
|
if (row.lineAttribute === LineAttributeType.折扣行) {
|
|
75
75
|
const t = s.goodsListState.goodsList.map(e => e.$index).indexOf(container) - 1;
|
|
76
76
|
s.goodsListState.drag.container = s.goodsListState.goodsList[t].$index;
|
|
77
|
-
s.goodsListState.drag.site = 'u'
|
|
78
|
-
} else if (row.lineAttribute === LineAttributeType.被折扣行) {
|
|
79
77
|
s.goodsListState.drag.site = 'd'
|
|
78
|
+
} else if (row.lineAttribute === LineAttributeType.被折扣行) {
|
|
79
|
+
s.goodsListState.drag.site = 'u'
|
|
80
80
|
} else {
|
|
81
81
|
const rect = rowDom.getBoundingClientRect();
|
|
82
82
|
const mouseY = e.clientY - rect.top;
|
|
@@ -6,8 +6,8 @@ import { Button } from "kts-components-antd-x3";
|
|
|
6
6
|
import { IGood, Invoice } from '../../../../../../../..';
|
|
7
7
|
import mounting from "../../../../../../../tools/mounting";
|
|
8
8
|
import { LineAttributeType } from "../../../../../../../InvoiceController";
|
|
9
|
-
import './index.less';
|
|
10
9
|
import { Popover } from "kts-xui";
|
|
10
|
+
import './index.less';
|
|
11
11
|
|
|
12
12
|
export interface IDragProps {
|
|
13
13
|
record: IGood
|
|
@@ -74,9 +74,9 @@ export default function Drag(props: IDragProps) {
|
|
|
74
74
|
if (row.lineAttribute === LineAttributeType.折扣行) {
|
|
75
75
|
const t = s.goodsListState.goodsList.map(e => e.$index).indexOf(container) - 1;
|
|
76
76
|
s.goodsListState.drag.container = s.goodsListState.goodsList[t].$index;
|
|
77
|
-
s.goodsListState.drag.site = 'u'
|
|
78
|
-
} else if (row.lineAttribute === LineAttributeType.被折扣行) {
|
|
79
77
|
s.goodsListState.drag.site = 'd'
|
|
78
|
+
} else if (row.lineAttribute === LineAttributeType.被折扣行) {
|
|
79
|
+
s.goodsListState.drag.site = 'u'
|
|
80
80
|
} else {
|
|
81
81
|
const rect = rowDom.getBoundingClientRect();
|
|
82
82
|
const mouseY = e.clientY - rect.top;
|