@kmkf-fe-packages/services-components 1.8.1-beta.5 → 1.8.2-beta.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: '开票成功',
|
package/dist/esm/factory.d.ts
CHANGED
|
@@ -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) => PaymentVoucherCode | BasicInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting |
|
|
3
|
+
export declare const factory: (type: string, options: PickOption) => PaymentVoucherCode | StatusSelect | SubForm | BasicInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | 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 | 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;
|
package/dist/esm/factory.js
CHANGED
|
@@ -173,6 +173,8 @@ export var factory = function factory(type, options) {
|
|
|
173
173
|
case "CREATE_STATUS":
|
|
174
174
|
case "INVOICE_STATUS":
|
|
175
175
|
case "INVOICING_STATUS":
|
|
176
|
+
case "AGREE_REFUND_STATUS":
|
|
177
|
+
case "REJECT_REFUND_STATUS":
|
|
176
178
|
return new StatusSelect(options);
|
|
177
179
|
case "RETURN_GOODS_STATUS":
|
|
178
180
|
case "EXCHANGE_STATUS":
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -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.8.
|
|
3
|
+
"version": "1.8.2-beta.0",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -21,9 +21,8 @@
|
|
|
21
21
|
]
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@kmkf-fe-packages/basic-components": "1.8.
|
|
25
|
-
"@kmkf-fe-packages/kmkf-utils": "1.8.
|
|
26
|
-
"react-pdf-js": "^5.1.0"
|
|
24
|
+
"@kmkf-fe-packages/basic-components": "1.8.2-beta.0",
|
|
25
|
+
"@kmkf-fe-packages/kmkf-utils": "1.8.2-beta.0"
|
|
27
26
|
},
|
|
28
27
|
"devDependencies": {
|
|
29
28
|
"@typescript-eslint/eslint-plugin": "^5.59.2",
|
|
@@ -39,7 +38,7 @@
|
|
|
39
38
|
"publishConfig": {
|
|
40
39
|
"access": "public"
|
|
41
40
|
},
|
|
42
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "420eb11ba6ee37eee06c689684ed70e9e1de0343",
|
|
43
42
|
"gitHooks": {
|
|
44
43
|
"pre-commit": "lint-staged"
|
|
45
44
|
}
|