@kmkf-fe-packages/services-components 0.28.2-rc.5 → 0.28.2-rc.7
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.
|
@@ -27,7 +27,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
27
27
|
import React, { useEffect, useState, useContext } from 'react';
|
|
28
28
|
import { Button, Input, Popover, Radio, Image } from 'antd';
|
|
29
29
|
import get from 'lodash/get';
|
|
30
|
-
import { ErpScenes } from
|
|
30
|
+
import { ErpScenes } from '@kmkf-fe-packages/services-components';
|
|
31
31
|
import { queryOrderDetail, queryDouDianOpenId } from "./communication";
|
|
32
32
|
import noImage from "./noImage.png";
|
|
33
33
|
import styles from "./index.module.scss";
|
|
@@ -132,7 +132,7 @@ var OrderNum = function OrderNum(_ref3) {
|
|
|
132
132
|
if (!value) return;
|
|
133
133
|
setGlobalLoading(true);
|
|
134
134
|
queryOrderDetail(value);
|
|
135
|
-
typeof onTradeIdBlur === 'function' && onTradeIdBlur();
|
|
135
|
+
typeof onTradeIdBlur === 'function' && onTradeIdBlur(value);
|
|
136
136
|
};
|
|
137
137
|
useEffect(function () {
|
|
138
138
|
document.body.addEventListener('click', function () {
|
|
@@ -29,9 +29,9 @@ var ErpTradeId = /*#__PURE__*/function (_TradeId) {
|
|
|
29
29
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
30
30
|
_defineProperty(_assertThisInitialized(_this), "editRender", function (p) {
|
|
31
31
|
var _this$componentConfig, _this$componentConfig2;
|
|
32
|
-
var onTradeIdBlur = function onTradeIdBlur(
|
|
32
|
+
var onTradeIdBlur = function onTradeIdBlur(value) {
|
|
33
33
|
var _p$onBlur;
|
|
34
|
-
p === null || p === void 0 ? void 0 : (_p$onBlur = p.onBlur) === null || _p$onBlur === void 0 ? void 0 : _p$onBlur.call(p,
|
|
34
|
+
p === null || p === void 0 ? void 0 : (_p$onBlur = p.onBlur) === null || _p$onBlur === void 0 ? void 0 : _p$onBlur.call(p, value, 'tradeId');
|
|
35
35
|
};
|
|
36
36
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
37
37
|
title: _this.name,
|
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, 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, CommonInput, PaymentVoucherCode } 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) => LogisticsMoreTrajectory | LogisticsTrajectory | 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 | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | CommonSystemOrder | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | MsgStatus | CommonInput | PaymentVoucherCode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "0.28.2-rc.
|
|
3
|
+
"version": "0.28.2-rc.7",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "cb13f0baf6c8f7e776859d8099ee59f5a243369f",
|
|
41
41
|
"gitHooks": {
|
|
42
42
|
"pre-commit": "lint-staged"
|
|
43
43
|
}
|