@kmkf-fe-packages/services-components 2.2.40-rc.0 → 2.2.40-rc.1

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.
@@ -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
  });
@@ -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"
@@ -1,3 +1,3 @@
1
1
  import { ReissueLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicPicturePro, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, SubForm, CommonDataTime, TradeId, ShopName, BuyerNick, ReceiverName, ReceiverMobile, ReceiverAddress, TradeDateTime, Logistics, ReturnLogistics, ActualPayment, ERemark, AliPay, ItemSelect, ItemId, ItemEnCode, SystemOrderNo, Ordinary, ThirdItemSelect, FlowStatusSelect, FlowMarkSelect, FlowTag, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, PrevSubmitter, FlowCreator, Handler, CompletedUser, LogisticsInterception, LogisticsMoreInterception, LogisticsTrajectory, LogisticsMoreTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, BsLogistics, StatusSelect, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting, MsgStatus, NodeInput, FlowWorkOrderStatus, WdtGoods, WdtReturn, WdtExchange, CommonInput, PaymentVoucherCode, Label, WdtReissue, GyReissue, AfterSalesOrderId, BsE3Goods, PublicGoods, PublicReissueGoods, PublicExchange, GyGoods, BsE3Reissue, MemberLevel, GyReturn, AsyncSelect, WdtShopSelect, KmVideo, BasicTypeInput, SkxIdInputSelect, SkxGoods, BasicSelectOption, OrderSubForm, FlowOverallStatusSelect } from "./index";
2
2
  import { PickOption } from "./type";
3
- export declare const factory: (type: string, options: PickOption) => BsLogistics | CommonInput | BasicInput | JstSendGood | MsgStatus | OrderSubForm | StatusSelect | SubForm | BasicTypeInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicSelectOption | BasicRadio | BasicTextArea | BasicPicture | BasicPicturePro | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | CommonDataTime | TradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | ReissueLogistics | JstItemSelect | JstSupply | BsSystemOrder | BsGoods | BsE3Goods | PublicGoods | PublicReissueGoods | PublicExchange | BsE3Reissue | BsExchange | BsReissue | BsReturn | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | Calculation | CommonSystemOrder | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | WdtShopSelect | KmVideo | PaymentVoucherCode | Label | MemberLevel | AfterSalesOrderId | GyGoods | GyReissue | GyReturn | AsyncSelect | SkxIdInputSelect | SkxGoods | FlowOverallStatusSelect;
3
+ export declare const factory: (type: string, options: PickOption) => BsLogistics | BsSystemOrder | BsE3Reissue | CommonDataTime | CommonInput | BasicFile | FlowOverallStatusSelect | BasicInput | BasicPicture | BasicPicturePro | BasicPosting | PublicGoods | PublicReissueGoods | ERemark | ReturnLogistics | BasicSelect | ShopInput | StatusSelect | WdtReissue | BasicTypeInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelectOption | BasicRadio | BasicTextArea | BasicMultSelect | BasicGrade | BasicRate | SubForm | TradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ActualPayment | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | ReissueLogistics | JstItemSelect | JstSendGood | JstSupply | BsGoods | BsE3Goods | PublicExchange | BsExchange | BsReissue | BsReturn | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | Calculation | CommonSystemOrder | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | MsgStatus | WdtGoods | WdtReturn | WdtExchange | WdtShopSelect | KmVideo | PaymentVoucherCode | Label | MemberLevel | AfterSalesOrderId | GyGoods | GyReissue | GyReturn | AsyncSelect | SkxIdInputSelect | SkxGoods | OrderSubForm;
@@ -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.40-rc.0",
3
+ "version": "2.2.40-rc.1",
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.40-rc.0",
25
- "@kmkf-fe-packages/kmkf-utils": "2.2.40-rc.0",
24
+ "@kmkf-fe-packages/basic-components": "2.2.40-rc.1",
25
+ "@kmkf-fe-packages/kmkf-utils": "2.2.40-rc.1",
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": "1cb48ad0cf3c6f348974db25466317edc87c4ecb",
44
+ "gitHead": "8501cb5c9a0d2ae277a48d35bf40c17769f162e4",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }