@kmkf-fe-packages/kmkf-work-order-service-component 2.2.31-beta.68 → 2.2.31-beta.70
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.
|
@@ -20,8 +20,9 @@ export var renderImages = function renderImages(value) {
|
|
|
20
20
|
display: 'flex',
|
|
21
21
|
flexWrap: 'wrap'
|
|
22
22
|
}
|
|
23
|
-
}, list.map(function (url) {
|
|
23
|
+
}, list.map(function (url, index) {
|
|
24
24
|
return /*#__PURE__*/React.createElement(Image, {
|
|
25
|
+
key: "".concat(url, "-").concat(index),
|
|
25
26
|
src: url,
|
|
26
27
|
width: 24,
|
|
27
28
|
height: 24
|
|
@@ -137,16 +138,17 @@ export var DETAIL_ITEM_LIST = [{
|
|
|
137
138
|
title: '期望上门时间',
|
|
138
139
|
dataIndex: 'expectedVisitTime',
|
|
139
140
|
render: renderTime
|
|
140
|
-
},
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
},
|
|
141
|
+
},
|
|
142
|
+
// {
|
|
143
|
+
// title: '是否核销单',
|
|
144
|
+
// dataIndex: 'writeOffType',
|
|
145
|
+
// render: (value) => ['否', '喵师傅核销', '汪师傅核销'][value] || value,
|
|
146
|
+
// },
|
|
147
|
+
// {
|
|
148
|
+
// title: '核销单号',
|
|
149
|
+
// dataIndex: 'writeOffNo',
|
|
150
|
+
// },
|
|
151
|
+
{
|
|
150
152
|
title: '师傅促好评返现',
|
|
151
153
|
dataIndex: 'isGoodReviewRebate',
|
|
152
154
|
render: function render(value) {
|
|
@@ -167,37 +169,45 @@ export var DETAIL_ITEM_LIST = [{
|
|
|
167
169
|
render: function render(value) {
|
|
168
170
|
return value ? '是' : '否';
|
|
169
171
|
}
|
|
170
|
-
},
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
},
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
172
|
+
},
|
|
173
|
+
// {
|
|
174
|
+
// title: '物流公司名称',
|
|
175
|
+
// dataIndex: 'logisticsCompany',
|
|
176
|
+
// },
|
|
177
|
+
// {
|
|
178
|
+
// title: '物流单号',
|
|
179
|
+
// dataIndex: 'logisticsNo',
|
|
180
|
+
// },
|
|
181
|
+
// {
|
|
182
|
+
// title: '货物数量',
|
|
183
|
+
// dataIndex: 'goodsQuantity',
|
|
184
|
+
// },
|
|
185
|
+
// {
|
|
186
|
+
// title: '有无电梯',
|
|
187
|
+
// dataIndex: 'hasElevator',
|
|
188
|
+
// render: (value) => (value ? '有' : '无'),
|
|
189
|
+
// },
|
|
190
|
+
// {
|
|
191
|
+
// title: '楼层',
|
|
192
|
+
// dataIndex: 'floor',
|
|
193
|
+
// },
|
|
194
|
+
// {
|
|
195
|
+
// title: '提货地址',
|
|
196
|
+
// dataIndex: 'pickupAddress',
|
|
197
|
+
// },
|
|
198
|
+
// {
|
|
199
|
+
// title: '提货电话',
|
|
200
|
+
// dataIndex: 'pickupPhone',
|
|
201
|
+
// },
|
|
202
|
+
// {
|
|
203
|
+
// title: '货物规格',
|
|
204
|
+
// dataIndex: 'goodsSpec',
|
|
205
|
+
// },
|
|
206
|
+
// {
|
|
207
|
+
// title: '配送备注',
|
|
208
|
+
// dataIndex: 'deliveryRemark',
|
|
209
|
+
// },
|
|
210
|
+
{
|
|
201
211
|
title: '店铺',
|
|
202
212
|
dataIndex: 'shopUk',
|
|
203
213
|
render: function render(value, record, item, effects) {
|
|
@@ -53,7 +53,7 @@ export function LBOrder(props) {
|
|
|
53
53
|
onClose: onClose,
|
|
54
54
|
visible: open,
|
|
55
55
|
open: open
|
|
56
|
-
}, /*#__PURE__*/React.createElement(LBOrderDetail, {
|
|
56
|
+
}, open && /*#__PURE__*/React.createElement(LBOrderDetail, {
|
|
57
57
|
contentWidth: width,
|
|
58
58
|
id: props.id,
|
|
59
59
|
shopList: props.shopList,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/kmkf-work-order-service-component",
|
|
3
|
-
"version": "2.2.31-beta.
|
|
3
|
+
"version": "2.2.31-beta.70",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@ant-design/icons": "^4.7.0",
|
|
35
|
-
"@kmkf-fe-packages/basic-components": "2.2.31-beta.
|
|
36
|
-
"@kmkf-fe-packages/kmkf-utils": "2.2.31-beta.
|
|
37
|
-
"@kmkf-fe-packages/services-components": "2.2.31-beta.
|
|
35
|
+
"@kmkf-fe-packages/basic-components": "2.2.31-beta.70",
|
|
36
|
+
"@kmkf-fe-packages/kmkf-utils": "2.2.31-beta.70",
|
|
37
|
+
"@kmkf-fe-packages/services-components": "2.2.31-beta.70",
|
|
38
38
|
"@reduxjs/toolkit": "^1.8.5",
|
|
39
39
|
"ahooks": "^3.7.4",
|
|
40
40
|
"copy-to-clipboard": "^3.3.3",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"publishConfig": {
|
|
76
76
|
"access": "public"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "efdfba0ab5694c47d80b9a71a03fb6bd3b5ddbdb",
|
|
79
79
|
"gitHooks": {
|
|
80
80
|
"pre-commit": "lint-staged"
|
|
81
81
|
}
|