@kmkf-fe-packages/services-components 1.16.1 → 1.16.3-alpha.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.
|
@@ -131,6 +131,16 @@ var FlowWorkOrderStatus = /*#__PURE__*/_createClass(function FlowWorkOrderStatus
|
|
|
131
131
|
label: '已关闭',
|
|
132
132
|
color: 'rgba(0, 0, 0, 0.65)',
|
|
133
133
|
bgColor: 'rgba(0, 0, 0, 0.04);'
|
|
134
|
+
},
|
|
135
|
+
"FLOWING": {
|
|
136
|
+
label: '流转中',
|
|
137
|
+
color: '#faad14',
|
|
138
|
+
bgColor: '#faad14'
|
|
139
|
+
},
|
|
140
|
+
"RETURNING": {
|
|
141
|
+
label: '回退中',
|
|
142
|
+
color: '#faad14',
|
|
143
|
+
bgColor: '#faad14'
|
|
134
144
|
}
|
|
135
145
|
};
|
|
136
146
|
this.dataType = 'string';
|
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) => BasicCascader | BasicInput | BasicAddress | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | SubForm | CommonDataTime |
|
|
3
|
+
export declare const factory: (type: string, options: PickOption) => BasicCascader | StatusSelect | TradeId | BasicInput | BasicAddress | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | SubForm | CommonDataTime | 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 | PaymentVoucherCode | Label | KmErpSendGood | AfterSalesOrderId;
|
package/dist/esm/service/api.js
CHANGED
|
@@ -138,12 +138,14 @@ export var queryExpressInterceptData = function queryExpressInterceptData() {
|
|
|
138
138
|
typeMap = {},
|
|
139
139
|
statusMap = {},
|
|
140
140
|
typeObj = {},
|
|
141
|
-
statusObj = {}
|
|
141
|
+
statusObj = {},
|
|
142
|
+
mainStatusObj = {};
|
|
142
143
|
expressList.forEach(function (item) {
|
|
143
144
|
var _item$logisticsStatus, _item$interceptionTyp;
|
|
144
145
|
if (item !== null && item !== void 0 && (_item$logisticsStatus = item.logisticsStatusList) !== null && _item$logisticsStatus !== void 0 && _item$logisticsStatus.length) {
|
|
145
146
|
item.logisticsStatusList.forEach(function (t) {
|
|
146
147
|
statusMap["".concat(t.value)] = t.label;
|
|
148
|
+
mainStatusObj["".concat(t.value)] = t.mainStatus;
|
|
147
149
|
if (statusObj[t.label]) {
|
|
148
150
|
statusObj[t.label] = statusObj[t.label].add(t.value);
|
|
149
151
|
} else {
|
|
@@ -208,7 +210,8 @@ export var queryExpressInterceptData = function queryExpressInterceptData() {
|
|
|
208
210
|
if (!tempObj[type]) {
|
|
209
211
|
tempList.push({
|
|
210
212
|
label: instance.statusNameMap[key],
|
|
211
|
-
value: type
|
|
213
|
+
value: type,
|
|
214
|
+
mainStatus: mainStatusObj[key]
|
|
212
215
|
});
|
|
213
216
|
tempObj[type] = instance.statusNameMap[key];
|
|
214
217
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.3-alpha.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.16.
|
|
25
|
-
"@kmkf-fe-packages/kmkf-utils": "1.16.
|
|
24
|
+
"@kmkf-fe-packages/basic-components": "1.16.3-alpha.0",
|
|
25
|
+
"@kmkf-fe-packages/kmkf-utils": "1.16.3-alpha.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": "
|
|
44
|
+
"gitHead": "114b846e73690638f22e6bf2d52a4b3b1a5ec614",
|
|
45
45
|
"gitHooks": {
|
|
46
46
|
"pre-commit": "lint-staged"
|
|
47
47
|
}
|