@kmkf-fe-packages/basic-components 0.28.2-rc.9 → 0.29.0
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
|
@@ -9698,9 +9698,7 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
9698
9698
|
_props$disabled = props.disabled,
|
|
9699
9699
|
disabled = _props$disabled === void 0 ? false : _props$disabled,
|
|
9700
9700
|
_props$isEditing = props.isEditing,
|
|
9701
|
-
isEditing = _props$isEditing === void 0 ? false : _props$isEditing
|
|
9702
|
-
_props$showState = props.showState,
|
|
9703
|
-
showState = _props$showState === void 0 ? false : _props$showState;
|
|
9701
|
+
isEditing = _props$isEditing === void 0 ? false : _props$isEditing;
|
|
9704
9702
|
var _useState = useState(''),
|
|
9705
9703
|
_useState2 = _slicedToArray(_useState, 2),
|
|
9706
9704
|
initCompany = _useState2[0],
|
|
@@ -9835,8 +9833,7 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
9835
9833
|
interceptReceiverMobile: undefined,
|
|
9836
9834
|
interceptLogisticsStatus: undefined,
|
|
9837
9835
|
interceptLogisticsStatusOther: undefined,
|
|
9838
|
-
interceptLogisticsSnapshot: undefined
|
|
9839
|
-
qySelfInterceptStatus: undefined
|
|
9836
|
+
interceptLogisticsSnapshot: undefined
|
|
9840
9837
|
});
|
|
9841
9838
|
}
|
|
9842
9839
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
@@ -9981,24 +9978,6 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
9981
9978
|
onChange: function onChange(e) {
|
|
9982
9979
|
return changeHandle(e.target.value, 'interceptLogisticsStatusOther');
|
|
9983
9980
|
}
|
|
9984
|
-
})), /*#__PURE__*/React.createElement(Item, {
|
|
9985
|
-
label: '拦截状态',
|
|
9986
|
-
key: 'qySelfInterceptStatus',
|
|
9987
|
-
hidden: showState
|
|
9988
|
-
}, /*#__PURE__*/React.createElement(Select, {
|
|
9989
|
-
value: value === null || value === void 0 ? void 0 : value.qySelfInterceptStatus,
|
|
9990
|
-
disabled: disabled || isEdit,
|
|
9991
|
-
placeholder: "\u62E6\u622A\u72B6\u6001",
|
|
9992
|
-
onChange: function onChange(val) {
|
|
9993
|
-
return changeHandle(val, 'qySelfInterceptStatus');
|
|
9994
|
-
},
|
|
9995
|
-
options: [{
|
|
9996
|
-
label: '拦截成功',
|
|
9997
|
-
value: '拦截成功'
|
|
9998
|
-
}, {
|
|
9999
|
-
label: '拦截失败',
|
|
10000
|
-
value: '拦截失败'
|
|
10001
|
-
}]
|
|
10002
9981
|
})));
|
|
10003
9982
|
};
|
|
10004
9983
|
|
package/dist/index.js
CHANGED
|
@@ -9709,9 +9709,7 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
9709
9709
|
_props$disabled = props.disabled,
|
|
9710
9710
|
disabled = _props$disabled === void 0 ? false : _props$disabled,
|
|
9711
9711
|
_props$isEditing = props.isEditing,
|
|
9712
|
-
isEditing = _props$isEditing === void 0 ? false : _props$isEditing
|
|
9713
|
-
_props$showState = props.showState,
|
|
9714
|
-
showState = _props$showState === void 0 ? false : _props$showState;
|
|
9712
|
+
isEditing = _props$isEditing === void 0 ? false : _props$isEditing;
|
|
9715
9713
|
var _useState = React.useState(''),
|
|
9716
9714
|
_useState2 = _slicedToArray(_useState, 2),
|
|
9717
9715
|
initCompany = _useState2[0],
|
|
@@ -9846,8 +9844,7 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
9846
9844
|
interceptReceiverMobile: undefined,
|
|
9847
9845
|
interceptLogisticsStatus: undefined,
|
|
9848
9846
|
interceptLogisticsStatusOther: undefined,
|
|
9849
|
-
interceptLogisticsSnapshot: undefined
|
|
9850
|
-
qySelfInterceptStatus: undefined
|
|
9847
|
+
interceptLogisticsSnapshot: undefined
|
|
9851
9848
|
});
|
|
9852
9849
|
}
|
|
9853
9850
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
@@ -9992,24 +9989,6 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
9992
9989
|
onChange: function onChange(e) {
|
|
9993
9990
|
return changeHandle(e.target.value, 'interceptLogisticsStatusOther');
|
|
9994
9991
|
}
|
|
9995
|
-
})), /*#__PURE__*/React__default['default'].createElement(Item, {
|
|
9996
|
-
label: '拦截状态',
|
|
9997
|
-
key: 'qySelfInterceptStatus',
|
|
9998
|
-
hidden: showState
|
|
9999
|
-
}, /*#__PURE__*/React__default['default'].createElement(antd.Select, {
|
|
10000
|
-
value: value === null || value === void 0 ? void 0 : value.qySelfInterceptStatus,
|
|
10001
|
-
disabled: disabled || isEdit,
|
|
10002
|
-
placeholder: "\u62E6\u622A\u72B6\u6001",
|
|
10003
|
-
onChange: function onChange(val) {
|
|
10004
|
-
return changeHandle(val, 'qySelfInterceptStatus');
|
|
10005
|
-
},
|
|
10006
|
-
options: [{
|
|
10007
|
-
label: '拦截成功',
|
|
10008
|
-
value: '拦截成功'
|
|
10009
|
-
}, {
|
|
10010
|
-
label: '拦截失败',
|
|
10011
|
-
value: '拦截失败'
|
|
10012
|
-
}]
|
|
10013
9992
|
})));
|
|
10014
9993
|
};
|
|
10015
9994
|
|
|
@@ -11,14 +11,12 @@ interface LogisticsInterceptionValueType {
|
|
|
11
11
|
interceptLogisticsStatus: string | number;
|
|
12
12
|
interceptLogisticsStatusOther: string;
|
|
13
13
|
interceptLogisticsSnapshot: string;
|
|
14
|
-
qySelfInterceptStatus: string;
|
|
15
14
|
}
|
|
16
15
|
interface LogisticsInterceptionProps {
|
|
17
16
|
value: Partial<LogisticsInterceptionValueType>;
|
|
18
17
|
expressInterceptData: any[];
|
|
19
18
|
required: boolean;
|
|
20
19
|
disabled: boolean;
|
|
21
|
-
showState?: boolean;
|
|
22
20
|
isEditing: boolean;
|
|
23
21
|
onChange: (value: Partial<LogisticsInterceptionValueType>) => void;
|
|
24
22
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
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": "^0.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.29.0",
|
|
24
24
|
"ahooks": "^3.7.4",
|
|
25
25
|
"kmkf-monitor": "^0.8.8",
|
|
26
26
|
"lodash": "^4.17.21",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"publishConfig": {
|
|
65
65
|
"access": "public"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "aa1d1ca47391d70cec8f8783fe302e23ed640f58"
|
|
68
68
|
}
|