@kmkf-fe-packages/basic-components 0.29.0 → 0.29.1-rc.9
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,7 +9698,9 @@ 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
|
|
9701
|
+
isEditing = _props$isEditing === void 0 ? false : _props$isEditing,
|
|
9702
|
+
_props$showState = props.showState,
|
|
9703
|
+
showState = _props$showState === void 0 ? false : _props$showState;
|
|
9702
9704
|
var _useState = useState(''),
|
|
9703
9705
|
_useState2 = _slicedToArray(_useState, 2),
|
|
9704
9706
|
initCompany = _useState2[0],
|
|
@@ -9833,7 +9835,8 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
9833
9835
|
interceptReceiverMobile: undefined,
|
|
9834
9836
|
interceptLogisticsStatus: undefined,
|
|
9835
9837
|
interceptLogisticsStatusOther: undefined,
|
|
9836
|
-
interceptLogisticsSnapshot: undefined
|
|
9838
|
+
interceptLogisticsSnapshot: undefined,
|
|
9839
|
+
qySelfInterceptLogisticsStatus: undefined
|
|
9837
9840
|
});
|
|
9838
9841
|
}
|
|
9839
9842
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
@@ -9978,6 +9981,24 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
9978
9981
|
onChange: function onChange(e) {
|
|
9979
9982
|
return changeHandle(e.target.value, 'interceptLogisticsStatusOther');
|
|
9980
9983
|
}
|
|
9984
|
+
})), /*#__PURE__*/React.createElement(Item, {
|
|
9985
|
+
label: '拦截状态',
|
|
9986
|
+
key: 'qySelfInterceptLogisticsStatus',
|
|
9987
|
+
hidden: showState
|
|
9988
|
+
}, /*#__PURE__*/React.createElement(Select, {
|
|
9989
|
+
value: value === null || value === void 0 ? void 0 : value.qySelfInterceptLogisticsStatus,
|
|
9990
|
+
disabled: disabled || isEdit,
|
|
9991
|
+
placeholder: "\u62E6\u622A\u72B6\u6001",
|
|
9992
|
+
onChange: function onChange(val) {
|
|
9993
|
+
return changeHandle(val, 'qySelfInterceptLogisticsStatus');
|
|
9994
|
+
},
|
|
9995
|
+
options: [{
|
|
9996
|
+
label: '拦截成功',
|
|
9997
|
+
value: '拦截成功'
|
|
9998
|
+
}, {
|
|
9999
|
+
label: '拦截失败',
|
|
10000
|
+
value: '拦截失败'
|
|
10001
|
+
}]
|
|
9981
10002
|
})));
|
|
9982
10003
|
};
|
|
9983
10004
|
|
|
@@ -12598,7 +12619,7 @@ var index$1 = (function (props) {
|
|
|
12598
12619
|
getWdtOrderList(value.orderNo);
|
|
12599
12620
|
}
|
|
12600
12621
|
}
|
|
12601
|
-
}, [value, type]);
|
|
12622
|
+
}, [value === null || value === void 0 ? void 0 : value.orderNo, type]);
|
|
12602
12623
|
var columns = useMemo(function () {
|
|
12603
12624
|
var _columnsNameMap$type, _columnsNameMap$type2;
|
|
12604
12625
|
return [{
|
package/dist/index.js
CHANGED
|
@@ -9709,7 +9709,9 @@ 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
|
|
9712
|
+
isEditing = _props$isEditing === void 0 ? false : _props$isEditing,
|
|
9713
|
+
_props$showState = props.showState,
|
|
9714
|
+
showState = _props$showState === void 0 ? false : _props$showState;
|
|
9713
9715
|
var _useState = React.useState(''),
|
|
9714
9716
|
_useState2 = _slicedToArray(_useState, 2),
|
|
9715
9717
|
initCompany = _useState2[0],
|
|
@@ -9844,7 +9846,8 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
9844
9846
|
interceptReceiverMobile: undefined,
|
|
9845
9847
|
interceptLogisticsStatus: undefined,
|
|
9846
9848
|
interceptLogisticsStatusOther: undefined,
|
|
9847
|
-
interceptLogisticsSnapshot: undefined
|
|
9849
|
+
interceptLogisticsSnapshot: undefined,
|
|
9850
|
+
qySelfInterceptLogisticsStatus: undefined
|
|
9848
9851
|
});
|
|
9849
9852
|
}
|
|
9850
9853
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
@@ -9989,6 +9992,24 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
9989
9992
|
onChange: function onChange(e) {
|
|
9990
9993
|
return changeHandle(e.target.value, 'interceptLogisticsStatusOther');
|
|
9991
9994
|
}
|
|
9995
|
+
})), /*#__PURE__*/React__default['default'].createElement(Item, {
|
|
9996
|
+
label: '拦截状态',
|
|
9997
|
+
key: 'qySelfInterceptLogisticsStatus',
|
|
9998
|
+
hidden: showState
|
|
9999
|
+
}, /*#__PURE__*/React__default['default'].createElement(antd.Select, {
|
|
10000
|
+
value: value === null || value === void 0 ? void 0 : value.qySelfInterceptLogisticsStatus,
|
|
10001
|
+
disabled: disabled || isEdit,
|
|
10002
|
+
placeholder: "\u62E6\u622A\u72B6\u6001",
|
|
10003
|
+
onChange: function onChange(val) {
|
|
10004
|
+
return changeHandle(val, 'qySelfInterceptLogisticsStatus');
|
|
10005
|
+
},
|
|
10006
|
+
options: [{
|
|
10007
|
+
label: '拦截成功',
|
|
10008
|
+
value: '拦截成功'
|
|
10009
|
+
}, {
|
|
10010
|
+
label: '拦截失败',
|
|
10011
|
+
value: '拦截失败'
|
|
10012
|
+
}]
|
|
9992
10013
|
})));
|
|
9993
10014
|
};
|
|
9994
10015
|
|
|
@@ -12609,7 +12630,7 @@ var index$1 = (function (props) {
|
|
|
12609
12630
|
getWdtOrderList(value.orderNo);
|
|
12610
12631
|
}
|
|
12611
12632
|
}
|
|
12612
|
-
}, [value, type]);
|
|
12633
|
+
}, [value === null || value === void 0 ? void 0 : value.orderNo, type]);
|
|
12613
12634
|
var columns = React.useMemo(function () {
|
|
12614
12635
|
var _columnsNameMap$type, _columnsNameMap$type2;
|
|
12615
12636
|
return [{
|
|
@@ -11,12 +11,14 @@ interface LogisticsInterceptionValueType {
|
|
|
11
11
|
interceptLogisticsStatus: string | number;
|
|
12
12
|
interceptLogisticsStatusOther: string;
|
|
13
13
|
interceptLogisticsSnapshot: string;
|
|
14
|
+
qySelfInterceptLogisticsStatus: string;
|
|
14
15
|
}
|
|
15
16
|
interface LogisticsInterceptionProps {
|
|
16
17
|
value: Partial<LogisticsInterceptionValueType>;
|
|
17
18
|
expressInterceptData: any[];
|
|
18
19
|
required: boolean;
|
|
19
20
|
disabled: boolean;
|
|
21
|
+
showState?: boolean;
|
|
20
22
|
isEditing: boolean;
|
|
21
23
|
onChange: (value: Partial<LogisticsInterceptionValueType>) => void;
|
|
22
24
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.1-rc.9",
|
|
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.29.0",
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.29.1-rc.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": "cc7333a75e7bec0ffa98f8d707eff2cf0b95a62b"
|
|
68
68
|
}
|