@kmkf-fe-packages/services-components 1.9.1 → 1.10.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.
@@ -72,6 +72,34 @@ var selectTypeMap = {
72
72
  info: 'invoiceReason',
73
73
  failValue: '失败'
74
74
  },
75
+ AGREE_REFUND_STATUS: {
76
+ options: [{
77
+ value: '成功',
78
+ label: '成功',
79
+ color: '#52c41a'
80
+ }, {
81
+ value: '失败',
82
+ label: '失败',
83
+ color: '#ff4d4f'
84
+ }],
85
+ key: 'agreeRefundStatusValue',
86
+ info: 'agreeRefundStatusReason',
87
+ failValue: '失败'
88
+ },
89
+ REJECT_REFUND_STATUS: {
90
+ options: [{
91
+ value: '成功',
92
+ label: '成功',
93
+ color: '#52c41a'
94
+ }, {
95
+ value: '失败',
96
+ label: '失败',
97
+ color: '#ff4d4f'
98
+ }],
99
+ key: 'rejectRefundStatusValue',
100
+ info: 'rejectRefundStatusReason',
101
+ failValue: '失败'
102
+ },
75
103
  INVOICING_STATUS: {
76
104
  options: [{
77
105
  value: '开票成功',
@@ -1,3 +1,3 @@
1
1
  import { JstLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, 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, KmErpSendGood, AfterSalesOrderId } from "./index";
2
2
  import { PickOption } from "./type";
3
- export declare const factory: (type: string, options: PickOption) => ActualPayment | BasicAddress | AfterSalesOrderId | AliPay | BsExchange | BsGoods | BsLogistics | BsPosting | BsReissue | BsReturn | BsSystemOrder | BuyerNick | Calculation | BasicCascader | BasicCheckbox | CommonInput | CommonMultiStatus | CommonSystemOrder | BasicDataTime | ItemEnCode | ItemId | ItemSelect | TradeId | BasicInput | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | SubForm | CommonDataTime | ShopName | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ERemark | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstLogistics | JstItemSelect | JstSendGood | JstSupply | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | NodeInput | FlowWorkOrderStatus | MsgStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | PaymentVoucherCode | Label | KmErpSendGood;
3
+ export declare const factory: (type: string, options: PickOption) => PaymentVoucherCode | StatusSelect | BasicInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | 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 | Payment | JstLogistics | JstItemSelect | JstSendGood | JstSupply | BsSystemOrder | BsGoods | BsExchange | BsReissue | BsReturn | BsLogistics | 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 | MsgStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | CommonInput | Label | KmErpSendGood | AfterSalesOrderId;
@@ -171,6 +171,8 @@ export var factory = function factory(type, options) {
171
171
  case "CREATE_STATUS":
172
172
  case "INVOICE_STATUS":
173
173
  case "INVOICING_STATUS":
174
+ case "AGREE_REFUND_STATUS":
175
+ case "REJECT_REFUND_STATUS":
174
176
  return new StatusSelect(options);
175
177
  case "RETURN_GOODS_STATUS":
176
178
  case "EXCHANGE_STATUS":
@@ -93,3 +93,4 @@ export { default as OperationLog } from "./commonComponents/OperationLog";
93
93
  export { default as GetFormItem } from "./components/GetFormItem";
94
94
  export { default as Global } from "./commonComponents/GlobalContext";
95
95
  export * as ErpScenes from "./commonComponents/ErpContext";
96
+ export * as servers from "./service/api";
package/dist/esm/index.js CHANGED
@@ -94,4 +94,6 @@ export { default as OperationLog } from "./commonComponents/OperationLog";
94
94
  export { default as GetFormItem } from "./components/GetFormItem";
95
95
  export { default as Global } from "./commonComponents/GlobalContext";
96
96
  import * as _ErpScenes from "./commonComponents/ErpContext";
97
- export { _ErpScenes as ErpScenes };
97
+ export { _ErpScenes as ErpScenes };
98
+ import * as _servers from "./service/api";
99
+ export { _servers as servers };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "1.9.1",
3
+ "version": "1.10.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": "1.9.0",
25
- "@kmkf-fe-packages/kmkf-utils": "1.9.0",
24
+ "@kmkf-fe-packages/basic-components": "1.10.0",
25
+ "@kmkf-fe-packages/kmkf-utils": "1.10.0",
26
26
  "react-pdf-js": "^5.1.0"
27
27
  },
28
28
  "devDependencies": {
@@ -39,7 +39,7 @@
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
- "gitHead": "835afc7179dcde95611138a7fd9988ff667c703d",
42
+ "gitHead": "c87abd7561de736554b620820b554f6817adc87b",
43
43
  "gitHooks": {
44
44
  "pre-commit": "lint-staged"
45
45
  }