@kmkf-fe-packages/basic-components 2.2.44-beta.35 → 2.2.44-beta.37
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 +18 -3
- package/dist/index.js +18 -3
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -18892,8 +18892,8 @@ var GoodList$6 = function GoodList(props, ref) {
|
|
|
18892
18892
|
getCheckboxProps: function getCheckboxProps(record) {
|
|
18893
18893
|
var options = {
|
|
18894
18894
|
disabled: (props.selectedRows || []).map(function (row) {
|
|
18895
|
-
return row.
|
|
18896
|
-
}).includes(record.
|
|
18895
|
+
return row.specId || record.id;
|
|
18896
|
+
}).includes(record.specId || record.id),
|
|
18897
18897
|
name: record.id
|
|
18898
18898
|
};
|
|
18899
18899
|
return options;
|
|
@@ -22557,7 +22557,22 @@ var getColumns$9 = function getColumns(_ref) {
|
|
|
22557
22557
|
}, {
|
|
22558
22558
|
dataIndex: 'divideSellTotal',
|
|
22559
22559
|
title: "\u5B9E\u4ED8\u91D1\u989D",
|
|
22560
|
-
width: 150
|
|
22560
|
+
width: 150,
|
|
22561
|
+
render: function render(val, record, index) {
|
|
22562
|
+
return record.canEdit && !disabled ? /*#__PURE__*/React.createElement(InputNumber, {
|
|
22563
|
+
style: {
|
|
22564
|
+
width: 130
|
|
22565
|
+
},
|
|
22566
|
+
value: val,
|
|
22567
|
+
min: 0,
|
|
22568
|
+
precision: 2,
|
|
22569
|
+
onChange: function onChange(num) {
|
|
22570
|
+
updateDataHandle({
|
|
22571
|
+
divideSellTotal: num
|
|
22572
|
+
}, index);
|
|
22573
|
+
}
|
|
22574
|
+
}) : /*#__PURE__*/React.createElement("span", null, val);
|
|
22575
|
+
}
|
|
22561
22576
|
}, {
|
|
22562
22577
|
dataIndex: 'isGift',
|
|
22563
22578
|
title: "\u662F\u5426\u8D60\u54C1",
|
package/dist/index.js
CHANGED
|
@@ -18907,8 +18907,8 @@ var GoodList$6 = function GoodList(props, ref) {
|
|
|
18907
18907
|
getCheckboxProps: function getCheckboxProps(record) {
|
|
18908
18908
|
var options = {
|
|
18909
18909
|
disabled: (props.selectedRows || []).map(function (row) {
|
|
18910
|
-
return row.
|
|
18911
|
-
}).includes(record.
|
|
18910
|
+
return row.specId || record.id;
|
|
18911
|
+
}).includes(record.specId || record.id),
|
|
18912
18912
|
name: record.id
|
|
18913
18913
|
};
|
|
18914
18914
|
return options;
|
|
@@ -22572,7 +22572,22 @@ var getColumns$9 = function getColumns(_ref) {
|
|
|
22572
22572
|
}, {
|
|
22573
22573
|
dataIndex: 'divideSellTotal',
|
|
22574
22574
|
title: "\u5B9E\u4ED8\u91D1\u989D",
|
|
22575
|
-
width: 150
|
|
22575
|
+
width: 150,
|
|
22576
|
+
render: function render(val, record, index) {
|
|
22577
|
+
return record.canEdit && !disabled ? /*#__PURE__*/React__default['default'].createElement(antd.InputNumber, {
|
|
22578
|
+
style: {
|
|
22579
|
+
width: 130
|
|
22580
|
+
},
|
|
22581
|
+
value: val,
|
|
22582
|
+
min: 0,
|
|
22583
|
+
precision: 2,
|
|
22584
|
+
onChange: function onChange(num) {
|
|
22585
|
+
updateDataHandle({
|
|
22586
|
+
divideSellTotal: num
|
|
22587
|
+
}, index);
|
|
22588
|
+
}
|
|
22589
|
+
}) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
|
|
22590
|
+
}
|
|
22576
22591
|
}, {
|
|
22577
22592
|
dataIndex: 'isGift',
|
|
22578
22593
|
title: "\u662F\u5426\u8D60\u54C1",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "2.2.44-beta.
|
|
3
|
+
"version": "2.2.44-beta.37",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"watch": "nodemon --ignore dist/ --ignore node_modules/ --watch src/ -C -e ts,tsx,less --debug -x 'yarn async'"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@kmkf-fe-packages/kmkf-utils": "2.2.44-beta.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "2.2.44-beta.37",
|
|
24
24
|
"ahooks": "^3.7.4",
|
|
25
25
|
"ali-react-table": "2.6.1",
|
|
26
26
|
"bignumber.js": "^9.1.2",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"publishConfig": {
|
|
67
67
|
"access": "public"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "00120f1480c48dcc34d68ab0ea0cdb1540b6e4ca"
|
|
70
70
|
}
|