@kmkf-fe-packages/services-components 2.2.37 → 2.2.38-rc.0

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.
@@ -207,6 +207,7 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
207
207
  _defineProperty(this, "editRender", function (p) {
208
208
  var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4, _this$expressDateInst2, _typeMap$_this$type6;
209
209
  var onLogisticsCodeBlur = function onLogisticsCodeBlur(val) {
210
+ var _p$onBlur2;
210
211
  if (_this.isChange) {
211
212
  var _this$effects, _this$effects$form, _p$onBlur;
212
213
  (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : (_this$effects$form = _this$effects.form) === null || _this$effects$form === void 0 ? void 0 : _this$effects$form.setFieldsValue({
@@ -215,6 +216,7 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
215
216
  _this.type === "SKX_RETURN_LOGISTICS" && (p === null || p === void 0 ? void 0 : (_p$onBlur = p.onBlur) === null || _p$onBlur === void 0 ? void 0 : _p$onBlur.call(p, val, "skxReturnTHLogisticsCode"));
216
217
  _this.isChange = false;
217
218
  }
219
+ _this.type === "SKX_LOGISTICS" && (p === null || p === void 0 ? void 0 : (_p$onBlur2 = p.onBlur) === null || _p$onBlur2 === void 0 ? void 0 : _p$onBlur2.call(p, val, "skxLogisticsCode"));
218
220
  };
219
221
  var onLogisticsCodeChange = function onLogisticsCodeChange() {
220
222
  _this.isChange = true;
@@ -66,17 +66,17 @@ export var showImage = function showImage(_ref2) {
66
66
  }, type === "itemCode" && !showHeader.includes("picUrl") ? null : (item === null || item === void 0 ? void 0 : item.platform) === "taobao" ? /*#__PURE__*/React.createElement("a", {
67
67
  target: "_blank",
68
68
  href: item.numIid ? "https://item.taobao.com/item.htm?id=".concat(item.numIid) : "javascript:void(0);"
69
- }, /*#__PURE__*/React.createElement("img", {
69
+ }, /*#__PURE__*/React.createElement(ApaasImage, {
70
+ width: 40,
71
+ height: 40,
70
72
  style: {
71
- width: "40px",
72
- height: "40px",
73
73
  objectFit: "contain"
74
74
  },
75
75
  src: picUrl
76
- })) : /*#__PURE__*/React.createElement("img", {
76
+ })) : /*#__PURE__*/React.createElement(ApaasImage, {
77
+ width: 40,
78
+ height: 40,
77
79
  style: {
78
- width: "40px",
79
- height: "40px",
80
80
  objectFit: "contain"
81
81
  },
82
82
  src: picUrl
@@ -250,7 +250,7 @@ var content = function content(item, index) {
250
250
  }, "\u5305\u88F9".concat(index + 1, "\u5546\u54C1\u4FE1\u606F"), item.sid && /*#__PURE__*/React.createElement("span", null, "(\u7CFB\u7EDF\u5355\u53F7:", item.sid, ")")), ((item === null || item === void 0 ? void 0 : item.items) || []).map(function (t, index) {
251
251
  return /*#__PURE__*/React.createElement("div", {
252
252
  key: index
253
- }, /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Image, {
253
+ }, /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(ApaasImage, {
254
254
  width: 70,
255
255
  src: t.picUrl,
256
256
  preview: false
@@ -414,10 +414,10 @@ export var BsGoodImage = function BsGoodImage(_ref9) {
414
414
  return /*#__PURE__*/React.createElement("div", {
415
415
  className: styles.goodImgBox,
416
416
  key: index
417
- }, /*#__PURE__*/React.createElement("img", {
417
+ }, /*#__PURE__*/React.createElement(ApaasImage, {
418
+ width: 40,
419
+ height: 40,
418
420
  style: {
419
- width: "40px",
420
- height: "40px",
421
421
  objectFit: "contain"
422
422
  },
423
423
  src: picUrl
@@ -17,6 +17,14 @@ var INPUT_MAP = {
17
17
  key: "businessOrderNo",
18
18
  disabled: true,
19
19
  placeholder: "自动获取无需填写"
20
+ },
21
+ REPAIR_ORDER_SN: {
22
+ key: "repairOrderSn",
23
+ placeholder: "请输入维修单编号"
24
+ },
25
+ REPAIR_ORDER_ID: {
26
+ key: "repairOrderId",
27
+ placeholder: "请输入维修单id"
20
28
  }
21
29
  };
22
30
  var CommonInput = /*#__PURE__*/_createClass(function CommonInput(options) {
@@ -62,7 +70,7 @@ var CommonInput = /*#__PURE__*/_createClass(function CommonInput(options) {
62
70
  return (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat(INPUT_MAP[_this.type].key)]) !== null && _record !== void 0 ? _record : "--";
63
71
  });
64
72
  _defineProperty(this, "editRender", function (p) {
65
- var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4;
73
+ var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4, _this$componentConfig5;
66
74
  return /*#__PURE__*/React.createElement(GetFormItem, {
67
75
  title: _this.name,
68
76
  name: _this.id,
@@ -70,10 +78,10 @@ var CommonInput = /*#__PURE__*/_createClass(function CommonInput(options) {
70
78
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
71
79
  display: p === null || p === void 0 ? void 0 : p.display,
72
80
  required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
73
- tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
81
+ tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : "",
74
82
  component: /*#__PURE__*/React.createElement(Input, _extends({}, _this.componentConfig, {
75
83
  placeholder: INPUT_MAP[_this.type].placeholder || "\u8BF7\u8F93\u5165".concat(_this.name),
76
- disabled: INPUT_MAP[_this.type].disabled
84
+ disabled: INPUT_MAP[_this.type].disabled || ((_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.disabled)
77
85
  }))
78
86
  });
79
87
  });
@@ -1,17 +1,17 @@
1
- import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
2
- import React from 'react';
1
+ import { ComponentInterface, PickOption, ColumnConfig, Record } from "../../type";
2
+ import React from "react";
3
3
  declare class BasicInput implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
6
  sortField: string;
7
7
  type: string;
8
8
  rules: any[];
9
- componentConfig: ComponentInterface['componentConfig'];
9
+ componentConfig: ComponentInterface["componentConfig"];
10
10
  isCombinationComponent: boolean;
11
11
  formField: string;
12
12
  canSort: boolean;
13
13
  children: ComponentInterface[];
14
- dataType: ComponentInterface['dataType'];
14
+ dataType: ComponentInterface["dataType"];
15
15
  templateId?: string;
16
16
  flowTemplateKey?: string;
17
17
  workOrderUniqueKey?: string;
@@ -9,11 +9,11 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
9
9
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
10
10
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
11
11
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
12
- import React from 'react';
13
- import { ApaasInput } from '@kmkf-fe-packages/basic-components';
12
+ import React from "react";
13
+ import { ApaasInput } from "@kmkf-fe-packages/basic-components";
14
14
  import GetFormItem from "../GetFormItem";
15
15
  import ItemView from "../../commonComponents/ItemView";
16
- import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
16
+ import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
17
17
  import { SYMBOL, batchInput, SEARCH_OPTIONS } from "../../constant";
18
18
  import { replaceCheck } from "../../service/api";
19
19
  var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
@@ -36,7 +36,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
36
36
  _defineProperty(this, "workOrderUniqueKey", void 0);
37
37
  _defineProperty(this, "renderPc", function (value, record) {
38
38
  var _record;
39
- return /*#__PURE__*/React.createElement("span", null, (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_input")]) !== null && _record !== void 0 ? _record : '--');
39
+ return /*#__PURE__*/React.createElement("span", null, (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_input")]) !== null && _record !== void 0 ? _record : "--");
40
40
  });
41
41
  _defineProperty(this, "renderLog", function (r) {
42
42
  if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_input")])) return null;
@@ -48,7 +48,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
48
48
  _defineProperty(this, "renderExport", function (value, record) {
49
49
  var _this$componentConfig;
50
50
  if (!(record !== null && record !== void 0 && record["".concat(_this.id, "_input")])) {
51
- return '--';
51
+ return "--";
52
52
  }
53
53
  return (_this$componentConfig = _this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.isNumber ? Number(record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_input")]) : record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_input")];
54
54
  });
@@ -67,14 +67,18 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
67
67
  rules: _this.rules,
68
68
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
69
69
  display: p === null || p === void 0 ? void 0 : p.display,
70
- validateTrigger: ['onBlur', 'onChange'],
70
+ validateTrigger: ["onBlur", "onChange"],
71
71
  required: (_this$componentConfig2 = (_this$componentConfig3 = _this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.required) !== null && _this$componentConfig2 !== void 0 ? _this$componentConfig2 : false,
72
- tooltip: (_this$componentConfig4 = _this.componentConfig) !== null && _this$componentConfig4 !== void 0 && _this$componentConfig4.showTooltip ? (_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.tooltip : '',
72
+ tooltip: (_this$componentConfig4 = _this.componentConfig) !== null && _this$componentConfig4 !== void 0 && _this$componentConfig4.showTooltip ? (_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.tooltip : "",
73
73
  component: /*#__PURE__*/React.createElement(ApaasInput, _extends({}, _this.componentConfig, {
74
74
  placeholder: "\u8BF7\u8F93\u5165".concat(_this.name),
75
75
  onChange: function onChange(e) {
76
76
  var _this$componentConfig6, _e$target;
77
77
  return p === null || p === void 0 ? void 0 : p.onChange((_this$componentConfig6 = _this.componentConfig) !== null && _this$componentConfig6 !== void 0 && _this$componentConfig6.isNumber ? e : e === null || e === void 0 ? void 0 : (_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.value);
78
+ },
79
+ onBlur: function onBlur(e) {
80
+ var _this$componentConfig7, _e$target2;
81
+ return p === null || p === void 0 ? void 0 : p.onBlur((_this$componentConfig7 = _this.componentConfig) !== null && _this$componentConfig7 !== void 0 && _this$componentConfig7.isNumber ? e : e === null || e === void 0 ? void 0 : (_e$target2 = e.target) === null || _e$target2 === void 0 ? void 0 : _e$target2.value, "input");
78
82
  }
79
83
  }))
80
84
  });
@@ -90,17 +94,17 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
90
94
  // 过滤组件id
91
95
  name: item.name,
92
96
  // 过滤组件名称
93
- filterComponentType: 'SelectInput',
97
+ filterComponentType: "SelectInput",
94
98
  props: {
95
99
  filterOptions: SEARCH_OPTIONS
96
100
  },
97
101
  filterFn: function filterFn(value) {
98
102
  return function (i) {
99
- return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, 'input')).includes(value);
103
+ return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, "input")).includes(value);
100
104
  };
101
105
  },
102
106
  formatFilterValue: function formatFilterValue(value) {
103
- if (['in', 'anylike'].includes(value.type)) {
107
+ if (["in", "anylike"].includes(value.type)) {
104
108
  return batchInput(value.keywords);
105
109
  } else {
106
110
  return value;
@@ -119,7 +123,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
119
123
  this.workOrderUniqueKey = options === null || options === void 0 ? void 0 : options.workOrderUniqueKey;
120
124
  this.rules = [{
121
125
  validator: function validator(_, value) {
122
- var _this$componentConfig7, _this$componentConfig8, _this$componentConfig9, _this$componentConfig10, _this$componentConfig11, _this$componentConfig12;
126
+ var _this$componentConfig8, _this$componentConfig9, _this$componentConfig10, _this$componentConfig11, _this$componentConfig12, _this$componentConfig13;
123
127
  if (!value) {
124
128
  return Promise.resolve();
125
129
  }
@@ -127,23 +131,23 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
127
131
  var mail = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9]+(\.[a-zA-Z0-9-]+)*\.([a-zA-Z]{2,})$/;
128
132
  var phone = /^1\d{10}$/;
129
133
  var testList = [];
130
- ((_this$componentConfig7 = _this.componentConfig) === null || _this$componentConfig7 === void 0 ? void 0 : _this$componentConfig7.isNumber) && testList.push(number);
131
- ((_this$componentConfig8 = _this.componentConfig) === null || _this$componentConfig8 === void 0 ? void 0 : _this$componentConfig8.isMail) && testList.push(mail);
132
- ((_this$componentConfig9 = _this.componentConfig) === null || _this$componentConfig9 === void 0 ? void 0 : _this$componentConfig9.isPhone) && testList.push(phone);
134
+ ((_this$componentConfig8 = _this.componentConfig) === null || _this$componentConfig8 === void 0 ? void 0 : _this$componentConfig8.isNumber) && testList.push(number);
135
+ ((_this$componentConfig9 = _this.componentConfig) === null || _this$componentConfig9 === void 0 ? void 0 : _this$componentConfig9.isMail) && testList.push(mail);
136
+ ((_this$componentConfig10 = _this.componentConfig) === null || _this$componentConfig10 === void 0 ? void 0 : _this$componentConfig10.isPhone) && testList.push(phone);
133
137
  var isTest = testList.some(function (item) {
134
138
  return item.test(value);
135
139
  });
136
140
  if (testList.length && !isTest) {
137
- return Promise.reject(new Error('请填写正确的格式'));
141
+ return Promise.reject(new Error("请填写正确的格式"));
138
142
  }
139
- if ((_this$componentConfig10 = _this.componentConfig) !== null && _this$componentConfig10 !== void 0 && _this$componentConfig10.isNumber && value > Number.MAX_SAFE_INTEGER) {
140
- return Promise.reject(new Error('输入数值超出最大数字上限,请使用文本框替代当前数字输入框组件'));
143
+ if ((_this$componentConfig11 = _this.componentConfig) !== null && _this$componentConfig11 !== void 0 && _this$componentConfig11.isNumber && value > Number.MAX_SAFE_INTEGER) {
144
+ return Promise.reject(new Error("输入数值超出最大数字上限,请使用文本框替代当前数字输入框组件"));
141
145
  }
142
- if ((_this$componentConfig11 = _this.componentConfig) !== null && _this$componentConfig11 !== void 0 && (_this$componentConfig12 = _this$componentConfig11.rulesOptions) !== null && _this$componentConfig12 !== void 0 && _this$componentConfig12.length) {
143
- var _this$componentConfig13;
144
- var rulesList = (_this$componentConfig13 = _this.componentConfig) === null || _this$componentConfig13 === void 0 ? void 0 : _this$componentConfig13.rulesOptions.filter(function (item) {
145
- var _this$componentConfig14;
146
- return (((_this$componentConfig14 = _this.componentConfig) === null || _this$componentConfig14 === void 0 ? void 0 : _this$componentConfig14.selectRules) || []).includes(item.id);
146
+ if ((_this$componentConfig12 = _this.componentConfig) !== null && _this$componentConfig12 !== void 0 && (_this$componentConfig13 = _this$componentConfig12.rulesOptions) !== null && _this$componentConfig13 !== void 0 && _this$componentConfig13.length) {
147
+ var _this$componentConfig14;
148
+ var rulesList = (_this$componentConfig14 = _this.componentConfig) === null || _this$componentConfig14 === void 0 ? void 0 : _this$componentConfig14.rulesOptions.filter(function (item) {
149
+ var _this$componentConfig15;
150
+ return (((_this$componentConfig15 = _this.componentConfig) === null || _this$componentConfig15 === void 0 ? void 0 : _this$componentConfig15.selectRules) || []).includes(item.id);
147
151
  });
148
152
  if (!rulesList.length) {
149
153
  return Promise.resolve();
@@ -163,11 +167,11 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
163
167
  return Promise.resolve();
164
168
  }
165
169
  }, {
166
- validateTrigger: 'onBlur',
170
+ validateTrigger: "onBlur",
167
171
  validator: function () {
168
172
  var _validator = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_, value) {
169
- var _this$componentConfig15;
170
- var _resultList$, params, _yield$replaceCheck, resultList, _this$componentConfig16, _this$componentConfig17, _this$componentConfig18, messageMap;
173
+ var _this$componentConfig16;
174
+ var _resultList$, params, _yield$replaceCheck, resultList, _this$componentConfig17, _this$componentConfig18, _this$componentConfig19, messageMap;
171
175
  return _regeneratorRuntime().wrap(function _callee$(_context) {
172
176
  while (1) switch (_context.prev = _context.next) {
173
177
  case 0:
@@ -177,7 +181,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
177
181
  }
178
182
  return _context.abrupt("return", Promise.resolve());
179
183
  case 2:
180
- if (!((_this$componentConfig15 = _this.componentConfig) !== null && _this$componentConfig15 !== void 0 && _this$componentConfig15.replaceWarn)) {
184
+ if (!((_this$componentConfig16 = _this.componentConfig) !== null && _this$componentConfig16 !== void 0 && _this$componentConfig16.replaceWarn)) {
181
185
  _context.next = 11;
182
186
  break;
183
187
  }
@@ -200,11 +204,11 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
200
204
  break;
201
205
  }
202
206
  messageMap = {
203
- currWorkOrder: '数据已存在本模版同节点中,不能重复提交',
204
- currFlow: '数据已存在本模版中,不能重复提交',
205
- allWorkOrder: '数据已存在其他模版中,不能重复提交'
207
+ currWorkOrder: "数据已存在本模版同节点中,不能重复提交",
208
+ currFlow: "数据已存在本模版中,不能重复提交",
209
+ allWorkOrder: "数据已存在其他模版中,不能重复提交"
206
210
  };
207
- return _context.abrupt("return", Promise.reject(new Error(messageMap[(_this$componentConfig16 = (_this$componentConfig17 = _this.componentConfig) === null || _this$componentConfig17 === void 0 ? void 0 : (_this$componentConfig18 = _this$componentConfig17.repeatConfig) === null || _this$componentConfig18 === void 0 ? void 0 : _this$componentConfig18.repeatRange) !== null && _this$componentConfig16 !== void 0 ? _this$componentConfig16 : ''] || '内容已存在,不能重复提交')));
211
+ return _context.abrupt("return", Promise.reject(new Error(messageMap[(_this$componentConfig17 = (_this$componentConfig18 = _this.componentConfig) === null || _this$componentConfig18 === void 0 ? void 0 : (_this$componentConfig19 = _this$componentConfig18.repeatConfig) === null || _this$componentConfig19 === void 0 ? void 0 : _this$componentConfig19.repeatRange) !== null && _this$componentConfig17 !== void 0 ? _this$componentConfig17 : ""] || "内容已存在,不能重复提交")));
208
212
  case 11:
209
213
  case "end":
210
214
  return _context.stop();
@@ -220,6 +224,6 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
220
224
  this.isCombinationComponent = false;
221
225
  this.canSort = true;
222
226
  this.children = [];
223
- this.dataType = options !== null && options !== void 0 && (_options$componentCon = options.componentConfig) !== null && _options$componentCon !== void 0 && _options$componentCon.isNumber ? 'number' : 'string';
227
+ this.dataType = options !== null && options !== void 0 && (_options$componentCon = options.componentConfig) !== null && _options$componentCon !== void 0 && _options$componentCon.isNumber ? "number" : "string";
224
228
  });
225
229
  export default BasicInput;
@@ -36,6 +36,10 @@ var selectTypeMap = {
36
36
  key: "agreeRefundStatusValue",
37
37
  info: "agreeRefundStatusReason"
38
38
  }),
39
+ REPAIR_ORDER_STATUS: getSelectTypeAttribute({
40
+ key: "repairOrderStatusValue",
41
+ info: "repairOrderStatusReason"
42
+ }),
39
43
  REJECT_REFUND_STATUS: getSelectTypeAttribute({
40
44
  key: "rejectRefundStatusValue",
41
45
  info: "rejectRefundStatusReason"
@@ -228,6 +228,7 @@ export var factory = function factory(type, options) {
228
228
  case "AGREE_RETURN_GOODS_STATUS":
229
229
  case "REJECT_RETURN_GOODS_STATUS":
230
230
  case "RETURN_EXCHANGE_GOODS_REVIEW_STATUS":
231
+ case "REPAIR_ORDER_STATUS":
231
232
  return new StatusSelect(options);
232
233
  case "RETURN_GOODS_STATUS":
233
234
  case "EXCHANGE_STATUS":
@@ -264,6 +265,8 @@ export var factory = function factory(type, options) {
264
265
  // 万里牛商品
265
266
  return new WdtGoods(options);
266
267
  case "BUSINESS_ORDER_NO":
268
+ case "REPAIR_ORDER_SN":
269
+ case "REPAIR_ORDER_ID":
267
270
  return new CommonInput(options);
268
271
  case "PAYMENT_VOUCHER_CODE":
269
272
  return new PaymentVoucherCode(options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "2.2.37",
3
+ "version": "2.2.38-rc.0",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -21,8 +21,8 @@
21
21
  ]
22
22
  },
23
23
  "dependencies": {
24
- "@kmkf-fe-packages/basic-components": "2.2.37",
25
- "@kmkf-fe-packages/kmkf-utils": "2.2.36",
24
+ "@kmkf-fe-packages/basic-components": "2.2.38-rc.0",
25
+ "@kmkf-fe-packages/kmkf-utils": "2.2.38-rc.0",
26
26
  "b64-to-blob": "^1.2.19",
27
27
  "html2canvas": "^1.4.1",
28
28
  "react-pdf-js": "^5.1.0"
@@ -41,7 +41,7 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "5684ca99a2a01a6a5fdf180d864f27c9b47d32b6",
44
+ "gitHead": "76420397865b79c9e826928c9f9a5034c5d4dcde",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }