@kmkf-fe-packages/services-components 1.17.5-beta.2 → 1.17.5-beta.6
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.
|
@@ -49,6 +49,7 @@ var InterceptApiStatus = /*#__PURE__*/_createClass(function InterceptApiStatus(o
|
|
|
49
49
|
});
|
|
50
50
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
51
51
|
var _record$interceptLogi6, _record$interceptLogi7, _record$interceptLogi8, _record$interceptLogi9;
|
|
52
|
+
console.log('renderPc', record);
|
|
52
53
|
var status = record === null || record === void 0 ? void 0 : (_record$interceptLogi6 = record.interceptLogisticsApiStatus) === null || _record$interceptLogi6 === void 0 ? void 0 : _record$interceptLogi6.status;
|
|
53
54
|
var statusColor = status === "成功" ? "#52c41a" : "#ff4d4f";
|
|
54
55
|
return !isNull(status) ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
@@ -66,6 +67,7 @@ var InterceptApiStatus = /*#__PURE__*/_createClass(function InterceptApiStatus(o
|
|
|
66
67
|
});
|
|
67
68
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
68
69
|
var _record$interceptLogi10, _record$interceptLogi11;
|
|
70
|
+
console.log('renderExport', record);
|
|
69
71
|
return (_record$interceptLogi10 = record === null || record === void 0 ? void 0 : (_record$interceptLogi11 = record.interceptLogisticsApiStatus) === null || _record$interceptLogi11 === void 0 ? void 0 : _record$interceptLogi11.status) !== null && _record$interceptLogi10 !== void 0 ? _record$interceptLogi10 : "--";
|
|
70
72
|
});
|
|
71
73
|
_defineProperty(this, "editRender", function () {
|
|
@@ -29,6 +29,7 @@ var InterceptApiStatus = /*#__PURE__*/_createClass(function InterceptApiStatus(o
|
|
|
29
29
|
_defineProperty(this, "options", void 0);
|
|
30
30
|
_defineProperty(this, "getComponentValue", function (r) {
|
|
31
31
|
var _r$_this$id;
|
|
32
|
+
console.log('getComponentValue', r);
|
|
32
33
|
return r === null || r === void 0 ? void 0 : (_r$_this$id = r[_this.id]) === null || _r$_this$id === void 0 ? void 0 : _r$_this$id.status;
|
|
33
34
|
});
|
|
34
35
|
_defineProperty(this, "renderClient", function (record) {
|
|
@@ -66,6 +67,7 @@ var InterceptApiStatus = /*#__PURE__*/_createClass(function InterceptApiStatus(o
|
|
|
66
67
|
});
|
|
67
68
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
68
69
|
var _record$_this$id$stat, _record$_this$id10;
|
|
70
|
+
console.log('renderExport', record);
|
|
69
71
|
return (_record$_this$id$stat = record === null || record === void 0 ? void 0 : (_record$_this$id10 = record[_this.id]) === null || _record$_this$id10 === void 0 ? void 0 : _record$_this$id10.status) !== null && _record$_this$id$stat !== void 0 ? _record$_this$id$stat : "--";
|
|
70
72
|
});
|
|
71
73
|
_defineProperty(this, "editRender", function () {
|
|
@@ -75,7 +77,7 @@ var InterceptApiStatus = /*#__PURE__*/_createClass(function InterceptApiStatus(o
|
|
|
75
77
|
return {
|
|
76
78
|
searchDefaultConditions: SYMBOL.in,
|
|
77
79
|
type: item.type,
|
|
78
|
-
id: "".concat(item.id, "
|
|
80
|
+
id: "".concat(item.id, "_logisticsInterceptApiStatusList"),
|
|
79
81
|
name: "".concat(item.name, "-\u63A5\u53E3\u72B6\u6001"),
|
|
80
82
|
filterComponentType: "MultipleSelect",
|
|
81
83
|
props: {
|
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) =>
|
|
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "1.17.5-beta.
|
|
3
|
+
"version": "1.17.5-beta.6",
|
|
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.17.5-beta.
|
|
25
|
-
"@kmkf-fe-packages/kmkf-utils": "1.17.5-beta.
|
|
24
|
+
"@kmkf-fe-packages/basic-components": "1.17.5-beta.6",
|
|
25
|
+
"@kmkf-fe-packages/kmkf-utils": "1.17.5-beta.6",
|
|
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": "6f914a3e575fc16172f8a8354ffaf57595b25ee4",
|
|
45
45
|
"gitHooks": {
|
|
46
46
|
"pre-commit": "lint-staged"
|
|
47
47
|
}
|