@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
- title: '是否核销单',
142
- dataIndex: 'isWriteOff',
143
- render: function render(value) {
144
- return ['否', '喵师傅核销', '汪师傅核销'][value] || value;
145
- }
146
- }, {
147
- title: '核销单号',
148
- dataIndex: 'writeOffNo'
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
- title: '物流公司名称',
172
- dataIndex: 'logisticsCompany'
173
- }, {
174
- title: '物流单号',
175
- dataIndex: 'logisticsNo'
176
- }, {
177
- title: '货物数量',
178
- dataIndex: 'goodsQuantity'
179
- }, {
180
- title: '有无电梯',
181
- dataIndex: 'hasElevator',
182
- render: function render(value) {
183
- return value ? '有' : '无';
184
- }
185
- }, {
186
- title: '楼层',
187
- dataIndex: 'floor'
188
- }, {
189
- title: '提货地址',
190
- dataIndex: 'pickupAddress'
191
- }, {
192
- title: '提货电话',
193
- dataIndex: 'pickupPhone'
194
- }, {
195
- title: '货物规格',
196
- dataIndex: 'goodsSpec'
197
- }, {
198
- title: '配送备注',
199
- dataIndex: 'deliveryRemark'
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) {
@@ -22,7 +22,7 @@ export declare type DetailType = {
22
22
  orderTime: string;
23
23
  customerName: string;
24
24
  customerPhone: string;
25
- isWriteOff: 0 | 1 | 2;
25
+ writeOffType: 0 | 1 | 2;
26
26
  writeOffNo: string;
27
27
  isGoodReviewRebate: 0 | 1;
28
28
  isUrgent: 0 | 1;
@@ -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.68",
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.67",
36
- "@kmkf-fe-packages/kmkf-utils": "2.2.31-beta.66",
37
- "@kmkf-fe-packages/services-components": "2.2.31-beta.67",
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": "c4dfb46d0795ed9241f599cbd683b2bf9a944a9c",
78
+ "gitHead": "efdfba0ab5694c47d80b9a71a03fb6bd3b5ddbdb",
79
79
  "gitHooks": {
80
80
  "pre-commit": "lint-staged"
81
81
  }