@kmkf-fe-packages/basic-components 0.29.1-rc.0 → 0.29.1
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
|
-
qySelfInterceptLogisticsStatus: 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: '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
|
-
}]
|
|
10002
9981
|
})));
|
|
10003
9982
|
};
|
|
10004
9983
|
|
|
@@ -12619,7 +12598,7 @@ var index$1 = (function (props) {
|
|
|
12619
12598
|
getWdtOrderList(value.orderNo);
|
|
12620
12599
|
}
|
|
12621
12600
|
}
|
|
12622
|
-
}, [value, type]);
|
|
12601
|
+
}, [value === null || value === void 0 ? void 0 : value.orderNo, type]);
|
|
12623
12602
|
var columns = useMemo(function () {
|
|
12624
12603
|
var _columnsNameMap$type, _columnsNameMap$type2;
|
|
12625
12604
|
return [{
|
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
|
-
qySelfInterceptLogisticsStatus: 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: '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
|
-
}]
|
|
10013
9992
|
})));
|
|
10014
9993
|
};
|
|
10015
9994
|
|
|
@@ -12630,7 +12609,7 @@ var index$1 = (function (props) {
|
|
|
12630
12609
|
getWdtOrderList(value.orderNo);
|
|
12631
12610
|
}
|
|
12632
12611
|
}
|
|
12633
|
-
}, [value, type]);
|
|
12612
|
+
}, [value === null || value === void 0 ? void 0 : value.orderNo, type]);
|
|
12634
12613
|
var columns = React.useMemo(function () {
|
|
12635
12614
|
var _columnsNameMap$type, _columnsNameMap$type2;
|
|
12636
12615
|
return [{
|
|
@@ -11,14 +11,12 @@ interface LogisticsInterceptionValueType {
|
|
|
11
11
|
interceptLogisticsStatus: string | number;
|
|
12
12
|
interceptLogisticsStatusOther: string;
|
|
13
13
|
interceptLogisticsSnapshot: string;
|
|
14
|
-
qySelfInterceptLogisticsStatus: 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.29.1
|
|
3
|
+
"version": "0.29.1",
|
|
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.1
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.29.1",
|
|
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": "d7f02fd1d23be055f12d6cdbcfec8caae9645396"
|
|
68
68
|
}
|