@kmkf-fe-packages/basic-components 2.0.54-beta.33 → 2.0.54-beta.35
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 +29 -16
- package/dist/index.js +29 -16
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -12293,7 +12293,7 @@ var gyColumns = [{
|
|
|
12293
12293
|
}, {
|
|
12294
12294
|
dataIndex: 'specNo',
|
|
12295
12295
|
title: 'SKU编码',
|
|
12296
|
-
width:
|
|
12296
|
+
width: 150,
|
|
12297
12297
|
ellipsis: true
|
|
12298
12298
|
}, {
|
|
12299
12299
|
dataIndex: 'goodName',
|
|
@@ -12304,11 +12304,11 @@ var gyColumns = [{
|
|
|
12304
12304
|
dataIndex: 'goodShortName',
|
|
12305
12305
|
title: "\u5546\u54C1\u7B80\u79F0",
|
|
12306
12306
|
ellipsis: true,
|
|
12307
|
-
width:
|
|
12307
|
+
width: 150
|
|
12308
12308
|
}, {
|
|
12309
12309
|
dataIndex: 'goodNo',
|
|
12310
12310
|
title: '商品编码',
|
|
12311
|
-
width:
|
|
12311
|
+
width: 150,
|
|
12312
12312
|
ellipsis: true
|
|
12313
12313
|
}, {
|
|
12314
12314
|
dataIndex: 'goodPicUrl',
|
|
@@ -18595,7 +18595,9 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
18595
18595
|
var getGoodDetails = function getGoodDetails(_ref2) {
|
|
18596
18596
|
var mode = _ref2.mode;
|
|
18597
18597
|
var updateHandle = componentMap$1[compType].eventNameMap['updateGoodsHandle'];
|
|
18598
|
-
var goodDetails = updateHandle(value.orders || []
|
|
18598
|
+
var goodDetails = updateHandle(value.orders || [], {
|
|
18599
|
+
orderBackGoodsLevel: props.orderBackGoodsLevel
|
|
18600
|
+
});
|
|
18599
18601
|
var orderNo = value.orderNo;
|
|
18600
18602
|
return mode ? goodDetails.filter(function (goodItem) {
|
|
18601
18603
|
var _componentMap$compTyp;
|
|
@@ -18762,7 +18764,8 @@ var CommonReturnGoods = function CommonReturnGoods(props) {
|
|
|
18762
18764
|
// }, [value?.[componentMap[compType].returnTypeKey]]);
|
|
18763
18765
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Cascader, {
|
|
18764
18766
|
style: {
|
|
18765
|
-
marginBottom: '8px'
|
|
18767
|
+
marginBottom: '8px',
|
|
18768
|
+
width: '100%'
|
|
18766
18769
|
},
|
|
18767
18770
|
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
18768
18771
|
allowClear: false,
|
|
@@ -19159,7 +19162,8 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
19159
19162
|
}
|
|
19160
19163
|
}, /*#__PURE__*/React.createElement(Select, {
|
|
19161
19164
|
style: {
|
|
19162
|
-
marginBottom: '8px'
|
|
19165
|
+
marginBottom: '8px',
|
|
19166
|
+
width: '100%'
|
|
19163
19167
|
},
|
|
19164
19168
|
disabled: disabled,
|
|
19165
19169
|
allowClear: false,
|
|
@@ -19184,7 +19188,8 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
19184
19188
|
}
|
|
19185
19189
|
}, /*#__PURE__*/React.createElement(Cascader, {
|
|
19186
19190
|
style: {
|
|
19187
|
-
marginBottom: '8px'
|
|
19191
|
+
marginBottom: '8px',
|
|
19192
|
+
width: '100%'
|
|
19188
19193
|
},
|
|
19189
19194
|
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
19190
19195
|
allowClear: false,
|
|
@@ -19447,7 +19452,8 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
19447
19452
|
}
|
|
19448
19453
|
}, /*#__PURE__*/React.createElement(Select, {
|
|
19449
19454
|
style: {
|
|
19450
|
-
marginBottom: '8px'
|
|
19455
|
+
marginBottom: '8px',
|
|
19456
|
+
width: '100%'
|
|
19451
19457
|
},
|
|
19452
19458
|
disabled: disabled,
|
|
19453
19459
|
allowClear: false,
|
|
@@ -19472,7 +19478,8 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
19472
19478
|
}
|
|
19473
19479
|
}, /*#__PURE__*/React.createElement(Cascader, {
|
|
19474
19480
|
style: {
|
|
19475
|
-
marginBottom: '8px'
|
|
19481
|
+
marginBottom: '8px',
|
|
19482
|
+
width: '100%'
|
|
19476
19483
|
},
|
|
19477
19484
|
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
19478
19485
|
allowClear: false,
|
|
@@ -19481,7 +19488,7 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
19481
19488
|
onChange: function onChange(val) {
|
|
19482
19489
|
return changeTypeHandle(val);
|
|
19483
19490
|
}
|
|
19484
|
-
})), (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type40 = typeMap$2[type]) === null || _typeMap$type40 === void 0 ? void 0 : _typeMap$type40.systemOrderBillType) && /*#__PURE__*/React.createElement(Col, {
|
|
19491
|
+
})), (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type40 = typeMap$2[type]) === null || _typeMap$type40 === void 0 ? void 0 : _typeMap$type40.systemOrderBillType) && !isSettingConfig && /*#__PURE__*/React.createElement(Col, {
|
|
19485
19492
|
className: "gutter-row",
|
|
19486
19493
|
xs: {
|
|
19487
19494
|
span: 11
|
|
@@ -20504,7 +20511,8 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
20504
20511
|
}
|
|
20505
20512
|
}, /*#__PURE__*/React.createElement(Select, {
|
|
20506
20513
|
style: {
|
|
20507
|
-
marginBottom: '8px'
|
|
20514
|
+
marginBottom: '8px',
|
|
20515
|
+
width: '100%'
|
|
20508
20516
|
},
|
|
20509
20517
|
disabled: disabled,
|
|
20510
20518
|
allowClear: false,
|
|
@@ -20529,7 +20537,8 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
20529
20537
|
}
|
|
20530
20538
|
}, /*#__PURE__*/React.createElement(Cascader, {
|
|
20531
20539
|
style: {
|
|
20532
|
-
marginBottom: '8px'
|
|
20540
|
+
marginBottom: '8px',
|
|
20541
|
+
width: '100%'
|
|
20533
20542
|
},
|
|
20534
20543
|
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
20535
20544
|
allowClear: false,
|
|
@@ -20773,7 +20782,8 @@ var GyReissue = function GyReissue(props) {
|
|
|
20773
20782
|
}
|
|
20774
20783
|
}, /*#__PURE__*/React.createElement(Select, {
|
|
20775
20784
|
style: {
|
|
20776
|
-
marginBottom: '8px'
|
|
20785
|
+
marginBottom: '8px',
|
|
20786
|
+
width: '100%'
|
|
20777
20787
|
},
|
|
20778
20788
|
disabled: disabled,
|
|
20779
20789
|
allowClear: false,
|
|
@@ -20798,7 +20808,8 @@ var GyReissue = function GyReissue(props) {
|
|
|
20798
20808
|
}
|
|
20799
20809
|
}, /*#__PURE__*/React.createElement(Cascader, {
|
|
20800
20810
|
style: {
|
|
20801
|
-
marginBottom: '8px'
|
|
20811
|
+
marginBottom: '8px',
|
|
20812
|
+
width: '100%'
|
|
20802
20813
|
},
|
|
20803
20814
|
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
20804
20815
|
allowClear: false,
|
|
@@ -21064,7 +21075,8 @@ var GyReturnGoods = function GyReturnGoods(props) {
|
|
|
21064
21075
|
}
|
|
21065
21076
|
}, /*#__PURE__*/React.createElement(Select, {
|
|
21066
21077
|
style: {
|
|
21067
|
-
marginBottom: '8px'
|
|
21078
|
+
marginBottom: '8px',
|
|
21079
|
+
width: '100%'
|
|
21068
21080
|
},
|
|
21069
21081
|
disabled: disabled,
|
|
21070
21082
|
allowClear: false,
|
|
@@ -21089,7 +21101,8 @@ var GyReturnGoods = function GyReturnGoods(props) {
|
|
|
21089
21101
|
}
|
|
21090
21102
|
}, /*#__PURE__*/React.createElement(Cascader, {
|
|
21091
21103
|
style: {
|
|
21092
|
-
marginBottom: '8px'
|
|
21104
|
+
marginBottom: '8px',
|
|
21105
|
+
width: '100%'
|
|
21093
21106
|
},
|
|
21094
21107
|
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
21095
21108
|
allowClear: false,
|
package/dist/index.js
CHANGED
|
@@ -12305,7 +12305,7 @@ var gyColumns = [{
|
|
|
12305
12305
|
}, {
|
|
12306
12306
|
dataIndex: 'specNo',
|
|
12307
12307
|
title: 'SKU编码',
|
|
12308
|
-
width:
|
|
12308
|
+
width: 150,
|
|
12309
12309
|
ellipsis: true
|
|
12310
12310
|
}, {
|
|
12311
12311
|
dataIndex: 'goodName',
|
|
@@ -12316,11 +12316,11 @@ var gyColumns = [{
|
|
|
12316
12316
|
dataIndex: 'goodShortName',
|
|
12317
12317
|
title: "\u5546\u54C1\u7B80\u79F0",
|
|
12318
12318
|
ellipsis: true,
|
|
12319
|
-
width:
|
|
12319
|
+
width: 150
|
|
12320
12320
|
}, {
|
|
12321
12321
|
dataIndex: 'goodNo',
|
|
12322
12322
|
title: '商品编码',
|
|
12323
|
-
width:
|
|
12323
|
+
width: 150,
|
|
12324
12324
|
ellipsis: true
|
|
12325
12325
|
}, {
|
|
12326
12326
|
dataIndex: 'goodPicUrl',
|
|
@@ -18607,7 +18607,9 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
18607
18607
|
var getGoodDetails = function getGoodDetails(_ref2) {
|
|
18608
18608
|
var mode = _ref2.mode;
|
|
18609
18609
|
var updateHandle = componentMap$1[compType].eventNameMap['updateGoodsHandle'];
|
|
18610
|
-
var goodDetails = updateHandle(value.orders || []
|
|
18610
|
+
var goodDetails = updateHandle(value.orders || [], {
|
|
18611
|
+
orderBackGoodsLevel: props.orderBackGoodsLevel
|
|
18612
|
+
});
|
|
18611
18613
|
var orderNo = value.orderNo;
|
|
18612
18614
|
return mode ? goodDetails.filter(function (goodItem) {
|
|
18613
18615
|
var _componentMap$compTyp;
|
|
@@ -18774,7 +18776,8 @@ var CommonReturnGoods = function CommonReturnGoods(props) {
|
|
|
18774
18776
|
// }, [value?.[componentMap[compType].returnTypeKey]]);
|
|
18775
18777
|
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(antd.Cascader, {
|
|
18776
18778
|
style: {
|
|
18777
|
-
marginBottom: '8px'
|
|
18779
|
+
marginBottom: '8px',
|
|
18780
|
+
width: '100%'
|
|
18778
18781
|
},
|
|
18779
18782
|
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
18780
18783
|
allowClear: false,
|
|
@@ -19171,7 +19174,8 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
19171
19174
|
}
|
|
19172
19175
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Select, {
|
|
19173
19176
|
style: {
|
|
19174
|
-
marginBottom: '8px'
|
|
19177
|
+
marginBottom: '8px',
|
|
19178
|
+
width: '100%'
|
|
19175
19179
|
},
|
|
19176
19180
|
disabled: disabled,
|
|
19177
19181
|
allowClear: false,
|
|
@@ -19196,7 +19200,8 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
19196
19200
|
}
|
|
19197
19201
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Cascader, {
|
|
19198
19202
|
style: {
|
|
19199
|
-
marginBottom: '8px'
|
|
19203
|
+
marginBottom: '8px',
|
|
19204
|
+
width: '100%'
|
|
19200
19205
|
},
|
|
19201
19206
|
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
19202
19207
|
allowClear: false,
|
|
@@ -19459,7 +19464,8 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
19459
19464
|
}
|
|
19460
19465
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Select, {
|
|
19461
19466
|
style: {
|
|
19462
|
-
marginBottom: '8px'
|
|
19467
|
+
marginBottom: '8px',
|
|
19468
|
+
width: '100%'
|
|
19463
19469
|
},
|
|
19464
19470
|
disabled: disabled,
|
|
19465
19471
|
allowClear: false,
|
|
@@ -19484,7 +19490,8 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
19484
19490
|
}
|
|
19485
19491
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Cascader, {
|
|
19486
19492
|
style: {
|
|
19487
|
-
marginBottom: '8px'
|
|
19493
|
+
marginBottom: '8px',
|
|
19494
|
+
width: '100%'
|
|
19488
19495
|
},
|
|
19489
19496
|
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
19490
19497
|
allowClear: false,
|
|
@@ -19493,7 +19500,7 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
19493
19500
|
onChange: function onChange(val) {
|
|
19494
19501
|
return changeTypeHandle(val);
|
|
19495
19502
|
}
|
|
19496
|
-
})), (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type40 = typeMap$2[type]) === null || _typeMap$type40 === void 0 ? void 0 : _typeMap$type40.systemOrderBillType) && /*#__PURE__*/React__default['default'].createElement(antd.Col, {
|
|
19503
|
+
})), (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type40 = typeMap$2[type]) === null || _typeMap$type40 === void 0 ? void 0 : _typeMap$type40.systemOrderBillType) && !isSettingConfig && /*#__PURE__*/React__default['default'].createElement(antd.Col, {
|
|
19497
19504
|
className: "gutter-row",
|
|
19498
19505
|
xs: {
|
|
19499
19506
|
span: 11
|
|
@@ -20516,7 +20523,8 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
20516
20523
|
}
|
|
20517
20524
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Select, {
|
|
20518
20525
|
style: {
|
|
20519
|
-
marginBottom: '8px'
|
|
20526
|
+
marginBottom: '8px',
|
|
20527
|
+
width: '100%'
|
|
20520
20528
|
},
|
|
20521
20529
|
disabled: disabled,
|
|
20522
20530
|
allowClear: false,
|
|
@@ -20541,7 +20549,8 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
20541
20549
|
}
|
|
20542
20550
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Cascader, {
|
|
20543
20551
|
style: {
|
|
20544
|
-
marginBottom: '8px'
|
|
20552
|
+
marginBottom: '8px',
|
|
20553
|
+
width: '100%'
|
|
20545
20554
|
},
|
|
20546
20555
|
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
20547
20556
|
allowClear: false,
|
|
@@ -20785,7 +20794,8 @@ var GyReissue = function GyReissue(props) {
|
|
|
20785
20794
|
}
|
|
20786
20795
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Select, {
|
|
20787
20796
|
style: {
|
|
20788
|
-
marginBottom: '8px'
|
|
20797
|
+
marginBottom: '8px',
|
|
20798
|
+
width: '100%'
|
|
20789
20799
|
},
|
|
20790
20800
|
disabled: disabled,
|
|
20791
20801
|
allowClear: false,
|
|
@@ -20810,7 +20820,8 @@ var GyReissue = function GyReissue(props) {
|
|
|
20810
20820
|
}
|
|
20811
20821
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Cascader, {
|
|
20812
20822
|
style: {
|
|
20813
|
-
marginBottom: '8px'
|
|
20823
|
+
marginBottom: '8px',
|
|
20824
|
+
width: '100%'
|
|
20814
20825
|
},
|
|
20815
20826
|
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
20816
20827
|
allowClear: false,
|
|
@@ -21076,7 +21087,8 @@ var GyReturnGoods = function GyReturnGoods(props) {
|
|
|
21076
21087
|
}
|
|
21077
21088
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Select, {
|
|
21078
21089
|
style: {
|
|
21079
|
-
marginBottom: '8px'
|
|
21090
|
+
marginBottom: '8px',
|
|
21091
|
+
width: '100%'
|
|
21080
21092
|
},
|
|
21081
21093
|
disabled: disabled,
|
|
21082
21094
|
allowClear: false,
|
|
@@ -21101,7 +21113,8 @@ var GyReturnGoods = function GyReturnGoods(props) {
|
|
|
21101
21113
|
}
|
|
21102
21114
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Cascader, {
|
|
21103
21115
|
style: {
|
|
21104
|
-
marginBottom: '8px'
|
|
21116
|
+
marginBottom: '8px',
|
|
21117
|
+
width: '100%'
|
|
21105
21118
|
},
|
|
21106
21119
|
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
21107
21120
|
allowClear: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "2.0.54-beta.
|
|
3
|
+
"version": "2.0.54-beta.35",
|
|
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": "2.0.54-beta.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "2.0.54-beta.34",
|
|
24
24
|
"ahooks": "^3.7.4",
|
|
25
25
|
"bignumber.js": "^9.1.2",
|
|
26
26
|
"kmkf-monitor": "^0.8.9",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "ab4ffb259eedfb80e586ff0701177a553cd22dde"
|
|
69
69
|
}
|