@kmkf-fe-packages/basic-components 2.2.13-beta.45 → 2.2.13-beta.47
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
|
@@ -14650,21 +14650,21 @@ var wdtColumns = [{
|
|
|
14650
14650
|
title: '市场价',
|
|
14651
14651
|
width: 140,
|
|
14652
14652
|
render: function render(price) {
|
|
14653
|
-
return Number(price).toFixed(2);
|
|
14653
|
+
return price || price === 0 ? Number(price).toFixed(2) : '';
|
|
14654
14654
|
}
|
|
14655
14655
|
}, {
|
|
14656
14656
|
dataIndex: 'retailPrice',
|
|
14657
14657
|
title: '零售价',
|
|
14658
14658
|
width: 140,
|
|
14659
14659
|
render: function render(price) {
|
|
14660
|
-
return Number(price).toFixed(2);
|
|
14660
|
+
return price || price === 0 ? Number(price).toFixed(2) : '';
|
|
14661
14661
|
}
|
|
14662
14662
|
}, {
|
|
14663
14663
|
dataIndex: 'memberPrice',
|
|
14664
14664
|
title: '会员价',
|
|
14665
14665
|
width: 140,
|
|
14666
14666
|
render: function render(price) {
|
|
14667
|
-
return Number(price).toFixed(2);
|
|
14667
|
+
return price || price === 0 ? Number(price).toFixed(2) : '';
|
|
14668
14668
|
}
|
|
14669
14669
|
}];
|
|
14670
14670
|
|
|
@@ -18587,7 +18587,7 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
18587
18587
|
WDT_REISSUE_GOODS: [{
|
|
18588
18588
|
dataIndex: 'goodId',
|
|
18589
18589
|
title: "\u5546\u54C1ID",
|
|
18590
|
-
width:
|
|
18590
|
+
width: 250,
|
|
18591
18591
|
align: 'center',
|
|
18592
18592
|
ellipsis: true
|
|
18593
18593
|
}, {
|
|
@@ -18675,7 +18675,7 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
18675
18675
|
title: "\u5546\u54C1ID",
|
|
18676
18676
|
align: 'center',
|
|
18677
18677
|
ellipsis: true,
|
|
18678
|
-
width:
|
|
18678
|
+
width: 250
|
|
18679
18679
|
}, {
|
|
18680
18680
|
dataIndex: 'goodNo',
|
|
18681
18681
|
title: "\u5546\u54C1\u7F16\u7801",
|
|
@@ -18782,7 +18782,7 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
18782
18782
|
title: "\u5546\u54C1ID",
|
|
18783
18783
|
align: 'center',
|
|
18784
18784
|
ellipsis: true,
|
|
18785
|
-
width:
|
|
18785
|
+
width: 250
|
|
18786
18786
|
}, {
|
|
18787
18787
|
dataIndex: 'goodNo',
|
|
18788
18788
|
title: "\u5546\u54C1\u7F16\u7801",
|
|
@@ -18927,7 +18927,7 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
18927
18927
|
title: "\u5546\u54C1ID",
|
|
18928
18928
|
align: 'center',
|
|
18929
18929
|
ellipsis: true,
|
|
18930
|
-
width:
|
|
18930
|
+
width: 250
|
|
18931
18931
|
}, {
|
|
18932
18932
|
dataIndex: 'goodNo',
|
|
18933
18933
|
title: "\u5546\u54C1\u7F16\u7801",
|
|
@@ -22624,7 +22624,7 @@ var getWdtOrderListSingleton = function getWdtOrderListSingleton(orderNo) {
|
|
|
22624
22624
|
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
22625
22625
|
billNo: item.tradeNo,
|
|
22626
22626
|
billType: WDT_ORDER_TYPE_MAP[item.tradeType],
|
|
22627
|
-
billTag: item.tagName,
|
|
22627
|
+
billTag: item.tagName || item.tags,
|
|
22628
22628
|
tradeStatusValue: tradeStatusMap === null || tradeStatusMap === void 0 ? void 0 : (_tradeStatusMap$data$ = tradeStatusMap[data.data.version]) === null || _tradeStatusMap$data$ === void 0 ? void 0 : _tradeStatusMap$data$[item.tradeStatus]
|
|
22629
22629
|
});
|
|
22630
22630
|
});
|
package/dist/index.js
CHANGED
|
@@ -14665,21 +14665,21 @@ var wdtColumns = [{
|
|
|
14665
14665
|
title: '市场价',
|
|
14666
14666
|
width: 140,
|
|
14667
14667
|
render: function render(price) {
|
|
14668
|
-
return Number(price).toFixed(2);
|
|
14668
|
+
return price || price === 0 ? Number(price).toFixed(2) : '';
|
|
14669
14669
|
}
|
|
14670
14670
|
}, {
|
|
14671
14671
|
dataIndex: 'retailPrice',
|
|
14672
14672
|
title: '零售价',
|
|
14673
14673
|
width: 140,
|
|
14674
14674
|
render: function render(price) {
|
|
14675
|
-
return Number(price).toFixed(2);
|
|
14675
|
+
return price || price === 0 ? Number(price).toFixed(2) : '';
|
|
14676
14676
|
}
|
|
14677
14677
|
}, {
|
|
14678
14678
|
dataIndex: 'memberPrice',
|
|
14679
14679
|
title: '会员价',
|
|
14680
14680
|
width: 140,
|
|
14681
14681
|
render: function render(price) {
|
|
14682
|
-
return Number(price).toFixed(2);
|
|
14682
|
+
return price || price === 0 ? Number(price).toFixed(2) : '';
|
|
14683
14683
|
}
|
|
14684
14684
|
}];
|
|
14685
14685
|
|
|
@@ -18602,7 +18602,7 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
18602
18602
|
WDT_REISSUE_GOODS: [{
|
|
18603
18603
|
dataIndex: 'goodId',
|
|
18604
18604
|
title: "\u5546\u54C1ID",
|
|
18605
|
-
width:
|
|
18605
|
+
width: 250,
|
|
18606
18606
|
align: 'center',
|
|
18607
18607
|
ellipsis: true
|
|
18608
18608
|
}, {
|
|
@@ -18690,7 +18690,7 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
18690
18690
|
title: "\u5546\u54C1ID",
|
|
18691
18691
|
align: 'center',
|
|
18692
18692
|
ellipsis: true,
|
|
18693
|
-
width:
|
|
18693
|
+
width: 250
|
|
18694
18694
|
}, {
|
|
18695
18695
|
dataIndex: 'goodNo',
|
|
18696
18696
|
title: "\u5546\u54C1\u7F16\u7801",
|
|
@@ -18797,7 +18797,7 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
18797
18797
|
title: "\u5546\u54C1ID",
|
|
18798
18798
|
align: 'center',
|
|
18799
18799
|
ellipsis: true,
|
|
18800
|
-
width:
|
|
18800
|
+
width: 250
|
|
18801
18801
|
}, {
|
|
18802
18802
|
dataIndex: 'goodNo',
|
|
18803
18803
|
title: "\u5546\u54C1\u7F16\u7801",
|
|
@@ -18942,7 +18942,7 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
18942
18942
|
title: "\u5546\u54C1ID",
|
|
18943
18943
|
align: 'center',
|
|
18944
18944
|
ellipsis: true,
|
|
18945
|
-
width:
|
|
18945
|
+
width: 250
|
|
18946
18946
|
}, {
|
|
18947
18947
|
dataIndex: 'goodNo',
|
|
18948
18948
|
title: "\u5546\u54C1\u7F16\u7801",
|
|
@@ -22639,7 +22639,7 @@ var getWdtOrderListSingleton = function getWdtOrderListSingleton(orderNo) {
|
|
|
22639
22639
|
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
22640
22640
|
billNo: item.tradeNo,
|
|
22641
22641
|
billType: kmkfUtils.WDT_ORDER_TYPE_MAP[item.tradeType],
|
|
22642
|
-
billTag: item.tagName,
|
|
22642
|
+
billTag: item.tagName || item.tags,
|
|
22643
22643
|
tradeStatusValue: kmkfUtils.tradeStatusMap === null || kmkfUtils.tradeStatusMap === void 0 ? void 0 : (_tradeStatusMap$data$ = kmkfUtils.tradeStatusMap[data.data.version]) === null || _tradeStatusMap$data$ === void 0 ? void 0 : _tradeStatusMap$data$[item.tradeStatus]
|
|
22644
22644
|
});
|
|
22645
22645
|
});
|
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.47",
|
|
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.2.13-beta.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "2.2.13-beta.47",
|
|
24
24
|
"ahooks": "^3.7.4",
|
|
25
25
|
"ali-react-table": "2.6.1",
|
|
26
26
|
"bignumber.js": "^9.1.2",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"publishConfig": {
|
|
67
67
|
"access": "public"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "a4edcbe9a776216b4948b3d344f64a52cf7b77b5"
|
|
70
70
|
}
|