@kmkf-fe-packages/basic-components 2.9.1-beta.19 → 2.9.1-beta.20
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 +4 -2
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -22148,7 +22148,8 @@ var getColumns$5 = function getColumns() {
|
|
|
22148
22148
|
min: 0,
|
|
22149
22149
|
precision: 2,
|
|
22150
22150
|
onChange: function onChange(num) {
|
|
22151
|
-
|
|
22151
|
+
updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'salePrice');
|
|
22152
|
+
if ((num || num === 0) && (record.qty || record.qty === 0)) updateHandle(num * (record.qty || 0), index, 'saleAmount');
|
|
22152
22153
|
}
|
|
22153
22154
|
}) : /*#__PURE__*/React.createElement("span", null, val || val === 0 ? Number(val).toFixed(4).replace(/\.?0+$/, '') : '');
|
|
22154
22155
|
}
|
|
@@ -22180,7 +22181,8 @@ var getColumns$5 = function getColumns() {
|
|
|
22180
22181
|
min: 1,
|
|
22181
22182
|
precision: 0,
|
|
22182
22183
|
onChange: function onChange(num) {
|
|
22183
|
-
|
|
22184
|
+
updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'qty');
|
|
22185
|
+
if ((num || num === 0) && (record.salePrice || record.salePrice === 0)) updateHandle(num * (record.salePrice || 0), index, 'saleAmount');
|
|
22184
22186
|
}
|
|
22185
22187
|
}) : /*#__PURE__*/React.createElement("span", null, val);
|
|
22186
22188
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "2.9.1-beta.
|
|
3
|
+
"version": "2.9.1-beta.20",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"publishConfig": {
|
|
67
67
|
"access": "public"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "1ad31320bdbe9819a59d6eef43ef9bdee92bfc97"
|
|
70
70
|
}
|