@kmkf-fe-packages/kmkf-work-order-service-component 2.2.31-beta.73 → 2.2.31-beta.74

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.
@@ -58,7 +58,7 @@ export var AutoTaskDetail = function AutoTaskDetail(_ref) {
58
58
  var repairOrderStatus = repairData.repairOrderStatus,
59
59
  id = repairData.id;
60
60
  var isSuccess = repairOrderStatus === '成功';
61
- return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(LB.LBOrder, {
61
+ return /*#__PURE__*/React.createElement("div", null, id && /*#__PURE__*/React.createElement(LB.LBOrder, {
62
62
  id: id,
63
63
  activeKey: "orderInfo",
64
64
  shopList: shopList,
@@ -416,7 +416,10 @@ export var DETAIL_ITEM_LIST = [{
416
416
  render: renderTime
417
417
  }, {
418
418
  title: '审核结果',
419
- dataIndex: 'auditResult'
419
+ dataIndex: 'auditResult',
420
+ render: function render(value) {
421
+ return ['', '通过', '未通过'][value] || value;
422
+ }
420
423
  }, {
421
424
  title: '异常金额',
422
425
  dataIndex: 'abnormalAmount'
@@ -484,10 +487,16 @@ export var DETAIL_ITEM_LIST = [{
484
487
  dataIndex: 'indemnityType'
485
488
  }, {
486
489
  title: '打款方式',
487
- dataIndex: 'payType'
490
+ dataIndex: 'payWay',
491
+ render: function render(value) {
492
+ return value === 0 ? '赔付到用户钱包' : value === 1 ? '财务线下打款给用户' : value;
493
+ }
488
494
  }, {
489
495
  title: '账户类型',
490
- dataIndex: 'accountType'
496
+ dataIndex: 'accountType',
497
+ render: function render(value) {
498
+ return ['钱包', '支付宝', '微信', '银行卡'][value] || value;
499
+ }
491
500
  }, {
492
501
  title: '账户名',
493
502
  dataIndex: 'accountName'
@@ -104,7 +104,7 @@ export declare type DetailType = {
104
104
  id: number;
105
105
  serviceId: string;
106
106
  auditTime: string;
107
- auditResult: string;
107
+ auditResult: 1 | 2;
108
108
  abnormalAmount: string;
109
109
  operateTime: string;
110
110
  }[];
@@ -125,9 +125,9 @@ export declare type DetailType = {
125
125
  isCompensation: 0 | 1;
126
126
  indemnityAmount: string;
127
127
  indemnityType: string;
128
- payType: string;
128
+ payType: 0 | 1;
129
129
  processRemark: string;
130
- accountType: string;
130
+ accountType: 0 | 1 | 2 | 3;
131
131
  accountName: string;
132
132
  accountNo: string;
133
133
  verifyImageProof: string;
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.73",
3
+ "version": "2.2.31-beta.74",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -34,7 +34,7 @@
34
34
  "@ant-design/icons": "^4.7.0",
35
35
  "@kmkf-fe-packages/basic-components": "2.2.31-beta.70",
36
36
  "@kmkf-fe-packages/kmkf-utils": "2.2.31-beta.70",
37
- "@kmkf-fe-packages/services-components": "2.2.31-beta.70",
37
+ "@kmkf-fe-packages/services-components": "2.2.31-beta.74",
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": "0e06c7eee0e3d99bf04a8ff491f81e84d6bf9b62",
78
+ "gitHead": "d2c34713c1dd60cb460e4f479955bf03cd7e2613",
79
79
  "gitHooks": {
80
80
  "pre-commit": "lint-staged"
81
81
  }