@kmkf-fe-packages/basic-components 2.2.13-beta.106 → 2.2.13-beta.108
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 +6 -3
- package/dist/index.js +6 -3
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -12944,6 +12944,9 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
12944
12944
|
return item.value === (value === null || value === void 0 ? void 0 : value.interceptType);
|
|
12945
12945
|
})) === null || _find3 === void 0 ? void 0 : (_find3$config = _find3.config) === null || _find3$config === void 0 ? void 0 : _find3$config.showSenderMobile;
|
|
12946
12946
|
}, [value === null || value === void 0 ? void 0 : value.interceptType, typeOptions, value === null || value === void 0 ? void 0 : value.interceptCompany]);
|
|
12947
|
+
var senderMobileLabel = useMemo(function () {
|
|
12948
|
+
return (value === null || value === void 0 ? void 0 : value.interceptCompany) === 'ZTO' ? '发件人/收件人手机号' : '发件人手机号';
|
|
12949
|
+
}, [value === null || value === void 0 ? void 0 : value.interceptCompany]);
|
|
12947
12950
|
var showKcode = useMemo(function () {
|
|
12948
12951
|
var isShow = false;
|
|
12949
12952
|
if (value === null || value === void 0 ? void 0 : value.interceptCompany) {
|
|
@@ -13178,14 +13181,14 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
13178
13181
|
return option.label.includes(input);
|
|
13179
13182
|
}
|
|
13180
13183
|
})), /*#__PURE__*/React.createElement(Item, {
|
|
13181
|
-
label:
|
|
13184
|
+
label: senderMobileLabel,
|
|
13182
13185
|
// required={true}
|
|
13183
13186
|
key: 'interceptSenderMobile',
|
|
13184
13187
|
hidden: !showSenderMobile
|
|
13185
13188
|
}, /*#__PURE__*/React.createElement(Input, {
|
|
13186
13189
|
value: value === null || value === void 0 ? void 0 : value.interceptSenderMobile,
|
|
13187
13190
|
disabled: disabled || isEdit,
|
|
13188
|
-
placeholder:
|
|
13191
|
+
placeholder: senderMobileLabel,
|
|
13189
13192
|
onChange: function onChange(e) {
|
|
13190
13193
|
return changeHandle(e.target.value, 'interceptSenderMobile');
|
|
13191
13194
|
}
|
|
@@ -13493,7 +13496,7 @@ var LogisticsTrajectory = function LogisticsTrajectory(props) {
|
|
|
13493
13496
|
style: {
|
|
13494
13497
|
marginTop: '8px'
|
|
13495
13498
|
},
|
|
13496
|
-
placeholder: company === 'ZTO' ? '
|
|
13499
|
+
placeholder: company === 'ZTO' ? '发件人/收件人手机号' : '手机号',
|
|
13497
13500
|
onChange: function onChange(e) {
|
|
13498
13501
|
return handleInputChange(e, 'trajectoryPhone');
|
|
13499
13502
|
},
|
package/dist/index.js
CHANGED
|
@@ -12959,6 +12959,9 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
12959
12959
|
return item.value === (value === null || value === void 0 ? void 0 : value.interceptType);
|
|
12960
12960
|
})) === null || _find3 === void 0 ? void 0 : (_find3$config = _find3.config) === null || _find3$config === void 0 ? void 0 : _find3$config.showSenderMobile;
|
|
12961
12961
|
}, [value === null || value === void 0 ? void 0 : value.interceptType, typeOptions, value === null || value === void 0 ? void 0 : value.interceptCompany]);
|
|
12962
|
+
var senderMobileLabel = React.useMemo(function () {
|
|
12963
|
+
return (value === null || value === void 0 ? void 0 : value.interceptCompany) === 'ZTO' ? '发件人/收件人手机号' : '发件人手机号';
|
|
12964
|
+
}, [value === null || value === void 0 ? void 0 : value.interceptCompany]);
|
|
12962
12965
|
var showKcode = React.useMemo(function () {
|
|
12963
12966
|
var isShow = false;
|
|
12964
12967
|
if (value === null || value === void 0 ? void 0 : value.interceptCompany) {
|
|
@@ -13193,14 +13196,14 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
13193
13196
|
return option.label.includes(input);
|
|
13194
13197
|
}
|
|
13195
13198
|
})), /*#__PURE__*/React__default['default'].createElement(Item, {
|
|
13196
|
-
label:
|
|
13199
|
+
label: senderMobileLabel,
|
|
13197
13200
|
// required={true}
|
|
13198
13201
|
key: 'interceptSenderMobile',
|
|
13199
13202
|
hidden: !showSenderMobile
|
|
13200
13203
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Input, {
|
|
13201
13204
|
value: value === null || value === void 0 ? void 0 : value.interceptSenderMobile,
|
|
13202
13205
|
disabled: disabled || isEdit,
|
|
13203
|
-
placeholder:
|
|
13206
|
+
placeholder: senderMobileLabel,
|
|
13204
13207
|
onChange: function onChange(e) {
|
|
13205
13208
|
return changeHandle(e.target.value, 'interceptSenderMobile');
|
|
13206
13209
|
}
|
|
@@ -13508,7 +13511,7 @@ var LogisticsTrajectory = function LogisticsTrajectory(props) {
|
|
|
13508
13511
|
style: {
|
|
13509
13512
|
marginTop: '8px'
|
|
13510
13513
|
},
|
|
13511
|
-
placeholder: company === 'ZTO' ? '
|
|
13514
|
+
placeholder: company === 'ZTO' ? '发件人/收件人手机号' : '手机号',
|
|
13512
13515
|
onChange: function onChange(e) {
|
|
13513
13516
|
return handleInputChange(e, 'trajectoryPhone');
|
|
13514
13517
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "2.2.13-beta.
|
|
3
|
+
"version": "2.2.13-beta.108",
|
|
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": "f158c3333248dfc684757d1efa02cad4578644fc"
|
|
70
70
|
}
|