@kmkf-fe-packages/services-components 0.26.2-alpha.1 → 0.26.2-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.
- package/README.md +1 -2
- package/dist/esm/commonComponents/SelectMark/index.js +2 -6
- package/dist/esm/components/BuyerNick/index.d.ts +3 -3
- package/dist/esm/components/BuyerNick/index.js +9 -19
- package/dist/esm/components/Common/index.d.ts +1 -0
- package/dist/esm/components/Common/index.js +76 -3
- package/dist/esm/components/CommonInput/index.d.ts +44 -0
- package/dist/esm/components/CommonInput/index.js +146 -0
- package/dist/esm/components/CompletedUser/index.js +1 -1
- package/dist/esm/components/FlowMarkSelect/index.js +2 -3
- package/dist/esm/components/FlowStatusSelect/index.js +0 -1
- package/dist/esm/components/FlowTag/index.js +1 -1
- package/dist/esm/components/Handler/index.js +1 -1
- package/dist/esm/components/HandlerDeadLine/index.js +1 -0
- package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +2 -2
- package/dist/esm/components/LogisticsInterception/InterceptStatus.js +1 -1
- package/dist/esm/components/LogisticsMoreInterception/InterceptAddress.d.ts +31 -0
- package/dist/esm/components/LogisticsMoreInterception/InterceptAddress.js +88 -0
- package/dist/esm/components/LogisticsMoreInterception/InterceptStatus.d.ts +46 -0
- package/dist/esm/components/LogisticsMoreInterception/InterceptStatus.js +111 -0
- package/dist/esm/components/{FlowWorkOrderStatus/index.d.ts → LogisticsMoreInterception/InterceptType.d.ts} +16 -12
- package/dist/esm/components/LogisticsMoreInterception/InterceptType.js +96 -0
- package/dist/esm/components/LogisticsMoreInterception/columnHeader.d.ts +5 -0
- package/dist/esm/components/LogisticsMoreInterception/columnHeader.js +55 -0
- package/dist/esm/components/LogisticsMoreInterception/index.d.ts +69 -0
- package/dist/esm/components/LogisticsMoreInterception/index.js +184 -0
- package/dist/esm/components/LogisticsMoreInterception/interceptCompany.d.ts +39 -0
- package/dist/esm/components/LogisticsMoreInterception/interceptCompany.js +88 -0
- package/dist/esm/components/LogisticsMoreInterception/interceptItem.d.ts +34 -0
- package/dist/esm/components/{NodeInput/index.js → LogisticsMoreInterception/interceptItem.js} +47 -24
- package/dist/esm/components/LogisticsMoreInterception/interceptSenderMobile.d.ts +35 -0
- package/dist/esm/components/LogisticsMoreInterception/interceptSenderMobile.js +82 -0
- package/dist/esm/components/LogisticsMoreInterception/interceptSnapshot.d.ts +34 -0
- package/dist/esm/components/LogisticsMoreInterception/interceptSnapshot.js +81 -0
- package/dist/esm/components/LogisticsMoreTrajectory/index.js +2 -2
- package/dist/esm/components/MultSelect/index.d.ts +4 -4
- package/dist/esm/components/MultSelect/index.js +13 -13
- package/dist/esm/components/NodeDeadLine/index.js +1 -0
- package/dist/esm/components/Payment/PaymentStatus.d.ts +4 -4
- package/dist/esm/components/Payment/PaymentStatus.js +30 -30
- package/dist/esm/components/PaymentVoucherCode/index.d.ts +33 -0
- package/dist/esm/components/{FlowWorkOrderStatus → PaymentVoucherCode}/index.js +46 -85
- package/dist/esm/components/PlatForm/index.js +1 -1
- package/dist/esm/components/ShopInput/index.js +1 -1
- package/dist/esm/constant.js +12 -13
- package/dist/esm/factory.d.ts +2 -2
- package/dist/esm/factory.js +10 -11
- package/dist/esm/index.d.ts +4 -3
- package/dist/esm/index.js +3 -2
- package/dist/esm/service/api.d.ts +1 -0
- package/dist/esm/service/api.js +8 -0
- package/dist/esm/type.d.ts +1 -1
- package/package.json +4 -4
- package/dist/esm/components/NodeInput/index.d.ts +0 -24
package/dist/esm/factory.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { JstLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, CommonDataTime, TradeId, ShopName, ErpTradeId, 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, LogisticsTrajectory, LogisticsMoreTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, BsLogistics, StatusSelect,
|
|
1
|
+
import { JstLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, CommonDataTime, TradeId, ShopName, ErpTradeId, 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,
|
|
2
2
|
// CommonTradeId,
|
|
3
|
-
CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting, MsgStatus,
|
|
3
|
+
CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting, MsgStatus, WdtGoods, CommonInput, PaymentVoucherCode } from "./index";
|
|
4
4
|
export var factory = function factory(type, options) {
|
|
5
5
|
var _options$componentCon;
|
|
6
6
|
switch (type) {
|
|
@@ -96,6 +96,8 @@ export var factory = function factory(type, options) {
|
|
|
96
96
|
return new SystemOrderNo(options);
|
|
97
97
|
case "LOGISTICS_INTERCEPTION":
|
|
98
98
|
return new LogisticsInterception(options);
|
|
99
|
+
case "LOGISTICS_INTERCEPTION_MORE":
|
|
100
|
+
return new LogisticsMoreInterception(options);
|
|
99
101
|
case "LOGISTICS_TRAJECTORY":
|
|
100
102
|
return new LogisticsTrajectory(options);
|
|
101
103
|
case "LOGISTICS_TRAJECTORY_MORE":
|
|
@@ -185,17 +187,14 @@ export var factory = function factory(type, options) {
|
|
|
185
187
|
case "WLN_GOODS":
|
|
186
188
|
// 万里牛商品
|
|
187
189
|
return new WlnGoods(options);
|
|
188
|
-
case "
|
|
189
|
-
return new NodeInput(options);
|
|
190
|
-
case "FLOW_WORK_STATUS_SELECT":
|
|
191
|
-
return new FlowWorkOrderStatus(options);
|
|
192
|
-
case "FLOW_CREATED_DATETIME":
|
|
193
|
-
return new CommonDataTime(options);
|
|
194
|
-
case "FLOW_UPDATE_DATETIME":
|
|
195
|
-
return new CommonDataTime(options);
|
|
196
|
-
case 'WDT_GOODS':
|
|
190
|
+
case "WDT_GOODS":
|
|
197
191
|
// 万里牛商品
|
|
198
192
|
return new WdtGoods(options);
|
|
193
|
+
case "NEW_PAYMENT_STATUS":
|
|
194
|
+
case "BUSINESS_ORDER_NO":
|
|
195
|
+
return new CommonInput(options);
|
|
196
|
+
case "PAYMENT_VOUCHER_CODE":
|
|
197
|
+
return new PaymentVoucherCode(options);
|
|
199
198
|
default:
|
|
200
199
|
return new BasicInput(options);
|
|
201
200
|
}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -49,6 +49,7 @@ export { default as FlowTag } from "./components/FlowTag";
|
|
|
49
49
|
export { default as TemplateSelect } from "./components/TemplateSelect";
|
|
50
50
|
export { default as WorkOrderId } from "./components/WorkOrderId";
|
|
51
51
|
export { default as LogisticsInterception } from "./components/LogisticsInterception";
|
|
52
|
+
export { default as LogisticsMoreInterception } from "./components/LogisticsMoreInterception";
|
|
52
53
|
export { default as LogisticsTrajectory } from "./components/LogisticsTrajectory";
|
|
53
54
|
export { default as LogisticsMoreTrajectory } from "./components/LogisticsMoreTrajectory";
|
|
54
55
|
export { default as PlatForm } from "./components/PlatForm";
|
|
@@ -69,10 +70,10 @@ export { default as HandlerDeadLine } from "./components/HandlerDeadLine";
|
|
|
69
70
|
export { default as NodeStayDuration } from "./components/NodeStayDuration";
|
|
70
71
|
export { default as WlnGoods } from "./components/WLN/WlnGoods";
|
|
71
72
|
export { default as BsPosting } from "./components/BS/BsPosting";
|
|
72
|
-
export { default as
|
|
73
|
-
export { default as FlowWorkOrderStatus } from './components/FlowWorkOrderStatus';
|
|
74
|
-
export { default as MsgStatus } from './components/MsgStatus';
|
|
73
|
+
export { default as MsgStatus } from "./components/MsgStatus";
|
|
75
74
|
export { default as WdtGoods } from "./components/WDT/WdtGoods";
|
|
75
|
+
export { default as CommonInput } from "./components/CommonInput";
|
|
76
|
+
export { default as PaymentVoucherCode } from "./components/PaymentVoucherCode";
|
|
76
77
|
export { factory } from "./factory";
|
|
77
78
|
export { default as PlatformAvatar } from "./commonComponents/PlatformAvatar";
|
|
78
79
|
export { default as SelectMark } from "./commonComponents/SelectMark";
|
package/dist/esm/index.js
CHANGED
|
@@ -49,6 +49,7 @@ export { default as FlowTag } from "./components/FlowTag";
|
|
|
49
49
|
export { default as TemplateSelect } from "./components/TemplateSelect";
|
|
50
50
|
export { default as WorkOrderId } from "./components/WorkOrderId";
|
|
51
51
|
export { default as LogisticsInterception } from "./components/LogisticsInterception";
|
|
52
|
+
export { default as LogisticsMoreInterception } from "./components/LogisticsMoreInterception";
|
|
52
53
|
export { default as LogisticsTrajectory } from "./components/LogisticsTrajectory";
|
|
53
54
|
export { default as LogisticsMoreTrajectory } from "./components/LogisticsMoreTrajectory";
|
|
54
55
|
export { default as PlatForm } from "./components/PlatForm";
|
|
@@ -69,10 +70,10 @@ export { default as HandlerDeadLine } from "./components/HandlerDeadLine";
|
|
|
69
70
|
export { default as NodeStayDuration } from "./components/NodeStayDuration";
|
|
70
71
|
export { default as WlnGoods } from "./components/WLN/WlnGoods";
|
|
71
72
|
export { default as BsPosting } from "./components/BS/BsPosting";
|
|
72
|
-
export { default as NodeInput } from "./components/NodeInput";
|
|
73
|
-
export { default as FlowWorkOrderStatus } from "./components/FlowWorkOrderStatus";
|
|
74
73
|
export { default as MsgStatus } from "./components/MsgStatus";
|
|
75
74
|
export { default as WdtGoods } from "./components/WDT/WdtGoods";
|
|
75
|
+
export { default as CommonInput } from "./components/CommonInput";
|
|
76
|
+
export { default as PaymentVoucherCode } from "./components/PaymentVoucherCode";
|
|
76
77
|
export { factory } from "./factory";
|
|
77
78
|
export { default as PlatformAvatar } from "./commonComponents/PlatformAvatar";
|
|
78
79
|
export { default as SelectMark } from "./commonComponents/SelectMark";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const replaceCheck: (data: any) => Promise<any>;
|
|
2
|
+
export declare const getAlipayBillReceipt: (data: any) => Promise<any>;
|
|
2
3
|
export declare const queryAddressData: () => Promise<void>;
|
|
3
4
|
export declare const queryBsAddressData: () => Promise<void>;
|
|
4
5
|
export declare const queryWdtAddressData: () => Promise<void>;
|
package/dist/esm/service/api.js
CHANGED
|
@@ -21,6 +21,14 @@ export var replaceCheck = function replaceCheck(data) {
|
|
|
21
21
|
data: data
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
|
+
// 获取支付宝电子回单
|
|
25
|
+
export var getAlipayBillReceipt = function getAlipayBillReceipt(data) {
|
|
26
|
+
return request({
|
|
27
|
+
url: '/qy/payment/paymentOrder/getAlipayBillReceipt',
|
|
28
|
+
method: 'post',
|
|
29
|
+
data: data
|
|
30
|
+
});
|
|
31
|
+
};
|
|
24
32
|
export var queryAddressData = function queryAddressData() {
|
|
25
33
|
return request({
|
|
26
34
|
url: "/qy/gdfw/template/queryAreas/noLogin",
|
package/dist/esm/type.d.ts
CHANGED
|
@@ -170,7 +170,7 @@ export interface ComponentInterface {
|
|
|
170
170
|
effects?: {
|
|
171
171
|
queryWorkOrderDetail?: (r: Record) => void;
|
|
172
172
|
handleOpenRepeatList?: (r: Record) => void;
|
|
173
|
-
handleChangeSingleWorkOrderMark?: (t: string, r: Record
|
|
173
|
+
handleChangeSingleWorkOrderMark?: (t: string, r: Record) => void;
|
|
174
174
|
templateList?: any[];
|
|
175
175
|
isEditing?: boolean;
|
|
176
176
|
form?: FormInstance;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "0.26.2-
|
|
3
|
+
"version": "0.26.2-rc.0",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
]
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@kmkf-fe-packages/basic-components": "^0.26.2-
|
|
24
|
-
"@kmkf-fe-packages/kmkf-utils": "^0.26.2-
|
|
23
|
+
"@kmkf-fe-packages/basic-components": "^0.26.2-rc.0",
|
|
24
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.26.2-rc.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@typescript-eslint/eslint-plugin": "^5.59.2",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "3302e318b34c0049dbfba98c3b0d3097c2a5d30b",
|
|
41
41
|
"gitHooks": {
|
|
42
42
|
"pre-commit": "lint-staged"
|
|
43
43
|
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ComponentInterface, Record, PickOption } from '../../type';
|
|
3
|
-
declare class NodeInput implements ComponentInterface {
|
|
4
|
-
name: string;
|
|
5
|
-
id: string;
|
|
6
|
-
sortField: string;
|
|
7
|
-
type: string;
|
|
8
|
-
componentConfig: ComponentInterface["componentConfig"];
|
|
9
|
-
isCombinationComponent: boolean;
|
|
10
|
-
formField: string;
|
|
11
|
-
canSort: boolean;
|
|
12
|
-
children: ComponentInterface[];
|
|
13
|
-
dataType: ComponentInterface['dataType'];
|
|
14
|
-
options: ComponentInterface['options'];
|
|
15
|
-
constructor(options: PickOption);
|
|
16
|
-
renderPc: (value: unknown, record: Record) => React.JSX.Element;
|
|
17
|
-
renderExport: (value: any, record: Record) => any;
|
|
18
|
-
renderLog: (r: Record) => React.JSX.Element | null;
|
|
19
|
-
getComponentValue: (r: Record) => any;
|
|
20
|
-
renderClient: () => null;
|
|
21
|
-
editRender: () => null;
|
|
22
|
-
filterConfig: () => never[];
|
|
23
|
-
}
|
|
24
|
-
export default NodeInput;
|