@kmkf-fe-packages/services-components 0.6.3-alpha.49 → 0.6.3-alpha.50
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/dist/esm/commonComponents/ItemView/index.d.ts +2 -2
- package/dist/esm/commonComponents/OperationLog/index.d.ts +1 -2
- package/dist/esm/commonComponents/PlatBuyer/index.d.ts +2 -2
- package/dist/esm/commonComponents/PlatformAvatar/index.d.ts +2 -2
- package/dist/esm/commonComponents/QueryLogisticsTrack/index.d.ts +8 -0
- package/dist/esm/commonComponents/QueryLogisticsTrack/index.js +86 -0
- package/dist/esm/commonComponents/ShopList/index.d.ts +2 -2
- package/dist/esm/commonComponents/Wangwang/index.d.ts +2 -2
- package/dist/esm/components/ActualPayment/index.d.ts +5 -5
- package/dist/esm/components/Address/index.d.ts +5 -5
- package/dist/esm/components/Alipay/index.d.ts +4 -4
- package/dist/esm/components/AlipayAccount/index.d.ts +5 -5
- package/dist/esm/components/AlipayName/index.d.ts +5 -5
- package/dist/esm/components/BuyerNick/index.d.ts +5 -5
- package/dist/esm/components/Cascader/index.d.ts +5 -5
- package/dist/esm/components/Checkbox/index.d.ts +4 -4
- package/dist/esm/components/Common/index.d.ts +5 -5
- package/dist/esm/components/CommonDataTime/index.d.ts +4 -4
- package/dist/esm/components/CompletedUser/index.d.ts +2 -2
- package/dist/esm/components/DataTime/ApaasDate.d.ts +2 -2
- package/dist/esm/components/DataTime/index.d.ts +6 -6
- package/dist/esm/components/EItemEnCode/ItemEncode.d.ts +2 -2
- package/dist/esm/components/EItemEnCode/index.d.ts +5 -5
- package/dist/esm/components/EItemId/ItemId.d.ts +2 -2
- package/dist/esm/components/EItemId/index.d.ts +5 -5
- package/dist/esm/components/EItemSelect/ItemSelect.d.ts +2 -2
- package/dist/esm/components/EItemSelect/index.d.ts +5 -5
- package/dist/esm/components/ErpTradeId/index.d.ts +5 -5
- package/dist/esm/components/Express/index.d.ts +5 -5
- package/dist/esm/components/ExpressCode/index.d.ts +5 -5
- package/dist/esm/components/ExpressCompany/index.d.ts +2 -2
- package/dist/esm/components/FlowStatusSelect/index.d.ts +5 -5
- package/dist/esm/components/GetFormItem/index.d.ts +2 -2
- package/dist/esm/components/Grade/index.d.ts +5 -5
- package/dist/esm/components/Handler/index.d.ts +2 -2
- package/dist/esm/components/Input/index.d.ts +5 -5
- package/dist/esm/components/JstItemSelect/index.d.ts +5 -5
- package/dist/esm/components/JstLogistics/index.d.ts +5 -5
- package/dist/esm/components/JstSendGood/index.d.ts +5 -5
- package/dist/esm/components/JstSupply/index.d.ts +5 -5
- package/dist/esm/components/Logistics/index.d.ts +4 -4
- package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +3 -1
- package/dist/esm/components/LogisticsInterception/InterceptStatus.js +25 -9
- package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +2 -2
- package/dist/esm/components/MultSelect/index.d.ts +5 -5
- package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +3 -3
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +3 -3
- package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +3 -3
- package/dist/esm/components/Ordinary/index.d.ts +4 -4
- package/dist/esm/components/OrdinaryHeader/index.d.ts +2 -2
- package/dist/esm/components/Payment/AlipayNick.d.ts +5 -5
- package/dist/esm/components/Payment/AlipayNo.d.ts +5 -5
- package/dist/esm/components/Payment/AlipayTime.d.ts +5 -5
- package/dist/esm/components/Payment/BuyerNick.d.ts +5 -5
- package/dist/esm/components/Payment/PaymentAmount.d.ts +5 -5
- package/dist/esm/components/Payment/PaymentStatus.d.ts +2 -2
- package/dist/esm/components/Payment/PaymentTid.d.ts +5 -5
- package/dist/esm/components/Payment/index.d.ts +4 -4
- package/dist/esm/components/Picture/index.d.ts +6 -6
- package/dist/esm/components/PlatForm/index.d.ts +3 -3
- package/dist/esm/components/Popover/index.d.ts +2 -2
- package/dist/esm/components/Radio/index.d.ts +6 -6
- package/dist/esm/components/Rate/index.d.ts +6 -6
- package/dist/esm/components/ReceiverAddress/index.d.ts +6 -6
- package/dist/esm/components/ReceiverMobile/index.d.ts +5 -5
- package/dist/esm/components/ReceiverName/index.d.ts +5 -5
- package/dist/esm/components/Remark/index.d.ts +6 -6
- package/dist/esm/components/Select/index.d.ts +5 -5
- package/dist/esm/components/ShopInput/index.d.ts +2 -2
- package/dist/esm/components/ShopName/index.d.ts +5 -5
- package/dist/esm/components/Submitter/index.d.ts +2 -2
- package/dist/esm/components/SystemOrderNo/index.d.ts +5 -5
- package/dist/esm/components/TemplateSelect/index.d.ts +3 -3
- package/dist/esm/components/TextArea/index.d.ts +5 -5
- package/dist/esm/components/ThirdItemSelect/ItemEncode.d.ts +2 -2
- package/dist/esm/components/ThirdItemSelect/index.d.ts +5 -5
- package/dist/esm/components/TradeDateTime/index.d.ts +6 -6
- package/dist/esm/components/TradeId/index.d.ts +5 -5
- package/dist/esm/components/WorkOrderId/index.d.ts +4 -4
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
declare const ItemView: ({ label, value, id }: {
|
|
3
3
|
label: string;
|
|
4
4
|
value: string | JSX.Element | JSX.Element[] | null;
|
|
5
5
|
id: any;
|
|
6
|
-
}) =>
|
|
6
|
+
}) => JSX.Element;
|
|
7
7
|
export default ItemView;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
declare type OperationLogProps = {
|
|
3
2
|
content: string;
|
|
4
3
|
operation: string;
|
|
5
4
|
componentDtoList: any[];
|
|
6
5
|
};
|
|
7
6
|
export declare const unTransField: (key: string) => boolean;
|
|
8
|
-
declare const OperationLog: ({ content, operation, componentDtoList, }: OperationLogProps) =>
|
|
7
|
+
declare const OperationLog: ({ content, operation, componentDtoList, }: OperationLogProps) => JSX.Element | null;
|
|
9
8
|
export default OperationLog;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
declare type PlatBuyerProp = {
|
|
3
3
|
shopId: string;
|
|
4
4
|
buyerNick: string;
|
|
5
5
|
buyerOpenUid: string;
|
|
6
6
|
shopList: any[];
|
|
7
7
|
};
|
|
8
|
-
declare const PlatBuyer: ({ shopId, buyerNick, buyerOpenUid, shopList }: PlatBuyerProp) =>
|
|
8
|
+
declare const PlatBuyer: ({ shopId, buyerNick, buyerOpenUid, shopList }: PlatBuyerProp) => JSX.Element;
|
|
9
9
|
export default PlatBuyer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { CSSProperties, PropsWithChildren } from 'react';
|
|
2
2
|
declare type PlatformAvatarProps = {
|
|
3
3
|
type: number | string;
|
|
4
4
|
styles?: CSSProperties;
|
|
5
5
|
};
|
|
6
|
-
declare const PlatformAvatar: (props: PropsWithChildren<PlatformAvatarProps>) =>
|
|
6
|
+
declare const PlatformAvatar: (props: PropsWithChildren<PlatformAvatarProps>) => JSX.Element;
|
|
7
7
|
export default PlatformAvatar;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const QueryLogisticsTrack: ({ title, interceptCompany, interceptCode, interceptReceiverMobile, }: {
|
|
3
|
+
title?: string | undefined;
|
|
4
|
+
interceptCompany: string;
|
|
5
|
+
interceptCode: string;
|
|
6
|
+
interceptReceiverMobile: string | number;
|
|
7
|
+
}) => React.JSX.Element;
|
|
8
|
+
export default QueryLogisticsTrack;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
3
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
4
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
5
|
+
import React from "react";
|
|
6
|
+
import { Modal, Timeline } from "antd";
|
|
7
|
+
import { request } from "@kmkf-fe-packages/kmkf-utils";
|
|
8
|
+
var info = Modal.info;
|
|
9
|
+
var QueryLogisticsTrack = function QueryLogisticsTrack(_ref) {
|
|
10
|
+
var _ref$title = _ref.title,
|
|
11
|
+
title = _ref$title === void 0 ? "查轨迹" : _ref$title,
|
|
12
|
+
interceptCompany = _ref.interceptCompany,
|
|
13
|
+
interceptCode = _ref.interceptCode,
|
|
14
|
+
interceptReceiverMobile = _ref.interceptReceiverMobile;
|
|
15
|
+
var LogisticsList = function LogisticsList(list) {
|
|
16
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
17
|
+
style: {
|
|
18
|
+
maxHeight: "500px",
|
|
19
|
+
padding: "8px 0",
|
|
20
|
+
overflowY: "auto"
|
|
21
|
+
}
|
|
22
|
+
}, /*#__PURE__*/React.createElement(Timeline, null, list.map(function (item, index) {
|
|
23
|
+
return /*#__PURE__*/React.createElement(Timeline.Item, {
|
|
24
|
+
key: index
|
|
25
|
+
}, item);
|
|
26
|
+
})));
|
|
27
|
+
};
|
|
28
|
+
var handleQueryLogistics = /*#__PURE__*/function () {
|
|
29
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
30
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
31
|
+
while (1) switch (_context.prev = _context.next) {
|
|
32
|
+
case 0:
|
|
33
|
+
if (!(!interceptCode && !interceptCompany)) {
|
|
34
|
+
_context.next = 2;
|
|
35
|
+
break;
|
|
36
|
+
}
|
|
37
|
+
return _context.abrupt("return");
|
|
38
|
+
case 2:
|
|
39
|
+
try {
|
|
40
|
+
request({
|
|
41
|
+
url: "/qy/logistics/logisticsTraceSearch",
|
|
42
|
+
method: "post",
|
|
43
|
+
data: {
|
|
44
|
+
mailNo: interceptCode,
|
|
45
|
+
cpCode: interceptCompany,
|
|
46
|
+
mobile: interceptReceiverMobile
|
|
47
|
+
}
|
|
48
|
+
}).then(function (res) {
|
|
49
|
+
var result = res.result,
|
|
50
|
+
success = res.success,
|
|
51
|
+
data = res.data,
|
|
52
|
+
message = res.message;
|
|
53
|
+
if (result === 100 || success) {
|
|
54
|
+
info({
|
|
55
|
+
title: "物流轨迹",
|
|
56
|
+
okText: "确定",
|
|
57
|
+
icon: null,
|
|
58
|
+
content: LogisticsList(data)
|
|
59
|
+
});
|
|
60
|
+
} else {
|
|
61
|
+
message.error(message);
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
} catch (e) {
|
|
65
|
+
console.log(e);
|
|
66
|
+
}
|
|
67
|
+
case 3:
|
|
68
|
+
case "end":
|
|
69
|
+
return _context.stop();
|
|
70
|
+
}
|
|
71
|
+
}, _callee);
|
|
72
|
+
}));
|
|
73
|
+
return function handleQueryLogistics() {
|
|
74
|
+
return _ref2.apply(this, arguments);
|
|
75
|
+
};
|
|
76
|
+
}();
|
|
77
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
78
|
+
style: {
|
|
79
|
+
margin: "0 8px",
|
|
80
|
+
color: "#1890ff",
|
|
81
|
+
cursor: "pointer"
|
|
82
|
+
},
|
|
83
|
+
onClick: handleQueryLogistics
|
|
84
|
+
}, title);
|
|
85
|
+
};
|
|
86
|
+
export default QueryLogisticsTrack;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
declare type Shop = {
|
|
3
3
|
auditStatus: number;
|
|
4
4
|
shopId: string;
|
|
@@ -9,5 +9,5 @@ declare type ShopListProps = {
|
|
|
9
9
|
shopList: Shop[];
|
|
10
10
|
[prop: string]: any;
|
|
11
11
|
};
|
|
12
|
-
declare const ShopList: ({ shopList, onChange, setShopId, ...prop }: ShopListProps) =>
|
|
12
|
+
declare const ShopList: ({ shopList, onChange, setShopId, ...prop }: ShopListProps) => JSX.Element;
|
|
13
13
|
export default ShopList;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
declare type WangwangProps = {
|
|
3
3
|
nick: string;
|
|
4
4
|
buyerOpenUid: string;
|
|
5
5
|
};
|
|
6
|
-
declare const Wangwang: (props: WangwangProps) =>
|
|
6
|
+
declare const Wangwang: (props: WangwangProps) => JSX.Element;
|
|
7
7
|
export default Wangwang;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
2
|
-
import React from 'react';
|
|
3
3
|
declare class ActualPayment implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -9,12 +9,12 @@ declare class ActualPayment implements ComponentInterface {
|
|
|
9
9
|
children: ComponentInterface[];
|
|
10
10
|
componentConfig: ComponentInterface["componentConfig"];
|
|
11
11
|
constructor(options: PickOption);
|
|
12
|
-
renderClient: (record: any) =>
|
|
13
|
-
renderPc: (value: unknown, record: Record) =>
|
|
14
|
-
renderLog: (r: Record) =>
|
|
12
|
+
renderClient: (record: any) => JSX.Element | null;
|
|
13
|
+
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
14
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
15
15
|
getComponentValue: (r: Record) => any;
|
|
16
16
|
renderExport: (value: unknown, record: Record) => any;
|
|
17
|
-
editRender: () =>
|
|
17
|
+
editRender: () => JSX.Element;
|
|
18
18
|
filterConfig: (item: ColumnConfig) => {
|
|
19
19
|
type: string;
|
|
20
20
|
id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ComponentInterface, PickOption, Record } from '../../type';
|
|
2
|
-
import React from 'react';
|
|
3
3
|
import { AddressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
4
4
|
declare type Value = (string | number)[] | undefined;
|
|
5
5
|
declare class Address implements ComponentInterface {
|
|
@@ -19,12 +19,12 @@ declare class Address implements ComponentInterface {
|
|
|
19
19
|
*/
|
|
20
20
|
getValue: (value: Value) => string | undefined;
|
|
21
21
|
transTextToNumber: (value?: string) => string | number | undefined;
|
|
22
|
-
renderClient: (record: any) =>
|
|
23
|
-
renderPc: (value: any, record: Record) =>
|
|
24
|
-
renderLog: (r: Record) =>
|
|
22
|
+
renderClient: (record: any) => JSX.Element | null;
|
|
23
|
+
renderPc: (value: any, record: Record) => JSX.Element;
|
|
24
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
25
25
|
getComponentValue: (r: Record) => any[];
|
|
26
26
|
renderExport: (value: any, record: any) => string;
|
|
27
|
-
editRender: () =>
|
|
27
|
+
editRender: () => JSX.Element;
|
|
28
28
|
filterConfig: () => never[];
|
|
29
29
|
}
|
|
30
30
|
export default Address;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
2
|
-
import React from 'react';
|
|
3
3
|
import EAlipayAccount from '../AlipayAccount';
|
|
4
4
|
import EAlipayName from '../AlipayName';
|
|
5
5
|
declare class Alipay implements ComponentInterface {
|
|
@@ -13,15 +13,15 @@ declare class Alipay implements ComponentInterface {
|
|
|
13
13
|
isCombinationComponent: boolean;
|
|
14
14
|
children: ComponentInterface[];
|
|
15
15
|
constructor(options: PickOption);
|
|
16
|
-
renderClient: (record: Record) =>
|
|
16
|
+
renderClient: (record: Record) => JSX.Element;
|
|
17
17
|
renderPc: () => null;
|
|
18
|
-
renderLog: (r: Record) =>
|
|
18
|
+
renderLog: (r: Record) => JSX.Element;
|
|
19
19
|
getComponentValue: (r: Record) => {
|
|
20
20
|
name: any;
|
|
21
21
|
user: any;
|
|
22
22
|
};
|
|
23
23
|
renderExport: () => null;
|
|
24
|
-
editRender: (value: any) =>
|
|
24
|
+
editRender: (value: any) => JSX.Element;
|
|
25
25
|
filterConfig: (item: ColumnConfig) => {
|
|
26
26
|
type: string;
|
|
27
27
|
id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
|
|
2
|
-
import React from 'react';
|
|
3
3
|
declare class EAlipayAccount implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -12,12 +12,12 @@ declare class EAlipayAccount implements ComponentInterface {
|
|
|
12
12
|
isCombinationComponent: boolean;
|
|
13
13
|
children: ComponentInterface[];
|
|
14
14
|
constructor(options: PickOption);
|
|
15
|
-
renderClient: (record: Record) =>
|
|
16
|
-
renderPc: (value: unknown, record: Record) =>
|
|
17
|
-
renderLog: (r: Record) =>
|
|
15
|
+
renderClient: (record: Record) => JSX.Element | null;
|
|
16
|
+
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
17
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
18
18
|
getComponentValue: (r: Record) => any;
|
|
19
19
|
renderExport: (value?: string) => string;
|
|
20
|
-
editRender: () =>
|
|
20
|
+
editRender: () => JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
22
|
type: string;
|
|
23
23
|
id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
|
|
2
|
-
import React from 'react';
|
|
3
3
|
declare class EAlipayAccount implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -12,12 +12,12 @@ declare class EAlipayAccount implements ComponentInterface {
|
|
|
12
12
|
align: ALignType;
|
|
13
13
|
width: number;
|
|
14
14
|
constructor(options: PickOption);
|
|
15
|
-
renderClient: (record: any) =>
|
|
16
|
-
renderPc: (value: unknown, record: Record) =>
|
|
17
|
-
renderLog: (r: Record) =>
|
|
15
|
+
renderClient: (record: any) => JSX.Element | null;
|
|
16
|
+
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
17
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
18
18
|
getComponentValue: (r: Record) => any;
|
|
19
19
|
renderExport: (value?: string) => string;
|
|
20
|
-
editRender: () =>
|
|
20
|
+
editRender: () => JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
22
|
type: string;
|
|
23
23
|
id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
2
|
-
import React from 'react';
|
|
3
3
|
declare class EBuyerNick implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -10,15 +10,15 @@ declare class EBuyerNick implements ComponentInterface {
|
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
11
|
children: ComponentInterface[];
|
|
12
12
|
constructor(options: PickOption);
|
|
13
|
-
renderClient: (record: any) =>
|
|
14
|
-
renderPc: (value: unknown, record: Record) =>
|
|
15
|
-
renderLog: (r: Record) =>
|
|
13
|
+
renderClient: (record: any) => JSX.Element | null;
|
|
14
|
+
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
15
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
16
16
|
getComponentValue: (r: Record) => {
|
|
17
17
|
buyerNick: any;
|
|
18
18
|
buyerOpenUid: any;
|
|
19
19
|
};
|
|
20
20
|
renderExport: (value: any, record: any) => any;
|
|
21
|
-
editRender: (value: any) =>
|
|
21
|
+
editRender: (value: any) => JSX.Element;
|
|
22
22
|
filterConfig: (item: ColumnConfig) => {
|
|
23
23
|
type: string;
|
|
24
24
|
id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
2
|
-
import React from 'react';
|
|
3
3
|
declare class BasicCascader implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -15,12 +15,12 @@ declare class BasicCascader implements ComponentInterface {
|
|
|
15
15
|
* @returns
|
|
16
16
|
*/
|
|
17
17
|
getValue: (value: any) => string;
|
|
18
|
-
renderClient: (record: any) =>
|
|
19
|
-
renderPc: (value: any, record: Record) =>
|
|
20
|
-
renderLog: (r: Record) =>
|
|
18
|
+
renderClient: (record: any) => JSX.Element | null;
|
|
19
|
+
renderPc: (value: any, record: Record) => JSX.Element;
|
|
20
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
21
21
|
getComponentValue: (r: Record) => any;
|
|
22
22
|
renderExport: (value: any, record: Record) => string;
|
|
23
|
-
editRender: () =>
|
|
23
|
+
editRender: () => JSX.Element;
|
|
24
24
|
filterConfig: (item: ColumnConfig) => {
|
|
25
25
|
type: string;
|
|
26
26
|
id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
2
|
-
import React from 'react';
|
|
3
3
|
declare type Value = {
|
|
4
4
|
value?: string[];
|
|
5
5
|
other?: string;
|
|
@@ -14,15 +14,15 @@ declare class BasicCheckbox implements ComponentInterface {
|
|
|
14
14
|
children: ComponentInterface[];
|
|
15
15
|
constructor(options: PickOption);
|
|
16
16
|
getValue: (value: Value) => string | null | undefined;
|
|
17
|
-
renderPc: (value: any, record: Record) =>
|
|
17
|
+
renderPc: (value: any, record: Record) => JSX.Element;
|
|
18
18
|
renderLog: (r: Record) => any;
|
|
19
19
|
getComponentValue: (r: Record) => {
|
|
20
20
|
value: any;
|
|
21
21
|
other: any;
|
|
22
22
|
};
|
|
23
23
|
renderExport: (value: any, record: Record) => string;
|
|
24
|
-
renderClient: (record: any) =>
|
|
25
|
-
editRender: () =>
|
|
24
|
+
renderClient: (record: any) => JSX.Element | null;
|
|
25
|
+
editRender: () => JSX.Element;
|
|
26
26
|
filterConfig: (item: ColumnConfig) => {
|
|
27
27
|
type: string;
|
|
28
28
|
id: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
declare type getFormItemProps = {
|
|
3
3
|
name: string;
|
|
4
4
|
title: string;
|
|
@@ -6,13 +6,13 @@ declare type getFormItemProps = {
|
|
|
6
6
|
required: boolean;
|
|
7
7
|
component: JSX.Element | string | null;
|
|
8
8
|
};
|
|
9
|
-
export declare const getFormItem: ({ name, title, rules, required, component }: getFormItemProps) =>
|
|
9
|
+
export declare const getFormItem: ({ name, title, rules, required, component }: getFormItemProps) => JSX.Element;
|
|
10
10
|
export declare const showImage: ({ item, type, index }: {
|
|
11
11
|
item: any;
|
|
12
12
|
type: string;
|
|
13
13
|
index: number;
|
|
14
|
-
}) =>
|
|
15
|
-
export declare const ShowTotalImage: ({ total, allImage, type }: any) =>
|
|
16
|
-
export declare const GoodImage: ({ list, type }: any) =>
|
|
14
|
+
}) => JSX.Element;
|
|
15
|
+
export declare const ShowTotalImage: ({ total, allImage, type }: any) => JSX.Element;
|
|
16
|
+
export declare const GoodImage: ({ list, type }: any) => JSX.Element | null;
|
|
17
17
|
export declare const JstGoodImage: ({ list, type }: any) => any;
|
|
18
18
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
2
|
-
import React from 'react';
|
|
3
3
|
/**
|
|
4
4
|
* 针对完成时间、创建时间、修改时间定义了3中类型
|
|
5
5
|
*/
|
|
@@ -13,9 +13,9 @@ declare class CommonDataTime implements ComponentInterface {
|
|
|
13
13
|
children: ComponentInterface[];
|
|
14
14
|
constructor(options: PickOption);
|
|
15
15
|
getValue: (value: string) => string;
|
|
16
|
-
renderClient: (record: any) =>
|
|
17
|
-
renderPc: (value: any, record: Record) =>
|
|
18
|
-
renderLog: (r: Record) =>
|
|
16
|
+
renderClient: (record: any) => JSX.Element | null;
|
|
17
|
+
renderPc: (value: any, record: Record) => JSX.Element;
|
|
18
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
19
19
|
getComponentValue: (r: Record) => any;
|
|
20
20
|
renderExport: (value: any, record: Record) => string;
|
|
21
21
|
editRender: () => null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { ComponentInterface, PickOption, Record, ColumnConfig } from '../../type';
|
|
3
3
|
declare class CompletedUser implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
@@ -9,7 +9,7 @@ declare class CompletedUser implements ComponentInterface {
|
|
|
9
9
|
isCombinationComponent: boolean;
|
|
10
10
|
children: ComponentInterface[];
|
|
11
11
|
constructor(options: PickOption);
|
|
12
|
-
renderPc: (value: unknown, record: Record) =>
|
|
12
|
+
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
13
13
|
renderLog: () => null;
|
|
14
14
|
getComponentValue: (r: Record) => any;
|
|
15
15
|
renderExport: (value: any, record: Record) => any;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
declare const DateType: ['DATE', 'DATE_TIME', 'DATE_RANGE', 'DATE_TIME_RANGE'];
|
|
3
3
|
export declare type ButtonType = typeof DateType[number];
|
|
4
4
|
export interface ApaasDate {
|
|
5
5
|
dateType?: ButtonType;
|
|
6
6
|
[propName: string]: any;
|
|
7
7
|
}
|
|
8
|
-
declare const Date: (props: ApaasDate) =>
|
|
8
|
+
declare const Date: (props: ApaasDate) => JSX.Element;
|
|
9
9
|
export default Date;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
2
|
-
import React from 'react';
|
|
3
3
|
declare type Value = string | string[] | undefined;
|
|
4
|
-
export declare const DateTime: ({ value, onChange, ...otherProps }: any) =>
|
|
4
|
+
export declare const DateTime: ({ value, onChange, ...otherProps }: any) => JSX.Element;
|
|
5
5
|
declare class BasicDataTime implements ComponentInterface {
|
|
6
6
|
name: string;
|
|
7
7
|
id: string;
|
|
@@ -12,12 +12,12 @@ declare class BasicDataTime implements ComponentInterface {
|
|
|
12
12
|
children: ComponentInterface[];
|
|
13
13
|
constructor(options: PickOption);
|
|
14
14
|
getValue: (value: Value) => string | undefined;
|
|
15
|
-
renderClient: (record: any) =>
|
|
16
|
-
renderPc: (value: any, record: Record) =>
|
|
17
|
-
renderLog: (r: Record) =>
|
|
15
|
+
renderClient: (record: any) => JSX.Element | null;
|
|
16
|
+
renderPc: (value: any, record: Record) => JSX.Element;
|
|
17
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
18
18
|
getComponentValue: (r: Record) => any;
|
|
19
19
|
renderExport: (value: any, record: Record) => any;
|
|
20
|
-
editRender: () =>
|
|
20
|
+
editRender: () => JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
22
|
type: string;
|
|
23
23
|
id: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const ItemEncode: (props: JSX.IntrinsicAttributes & any) =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const ItemEncode: (props: JSX.IntrinsicAttributes & any) => JSX.Element;
|
|
3
3
|
export default ItemEncode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
2
|
-
import React from 'react';
|
|
3
3
|
declare class EItemEncode implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -10,12 +10,12 @@ declare class EItemEncode implements ComponentInterface {
|
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
11
|
children: ComponentInterface[];
|
|
12
12
|
constructor(options: PickOption);
|
|
13
|
-
renderClient: (record: any) =>
|
|
14
|
-
renderPc: (value: unknown, record: Record) =>
|
|
15
|
-
renderLog: (r: Record) =>
|
|
13
|
+
renderClient: (record: any) => JSX.Element | null;
|
|
14
|
+
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
15
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
16
16
|
getComponentValue: (r: Record) => any;
|
|
17
17
|
renderExport: (value: unknown, record: Record) => any;
|
|
18
|
-
editRender: () =>
|
|
18
|
+
editRender: () => JSX.Element;
|
|
19
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
20
|
type: string;
|
|
21
21
|
id: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { GoodsProps } from '@kmkf-fe-packages/basic-components/dist/common/Goods';
|
|
3
|
-
declare const ItemId: (props: JSX.IntrinsicAttributes & GoodsProps) =>
|
|
3
|
+
declare const ItemId: (props: JSX.IntrinsicAttributes & GoodsProps) => JSX.Element;
|
|
4
4
|
export default ItemId;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
2
|
-
import React from 'react';
|
|
3
3
|
declare class EItemId implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -10,12 +10,12 @@ declare class EItemId implements ComponentInterface {
|
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
11
|
children: ComponentInterface[];
|
|
12
12
|
constructor(options: PickOption);
|
|
13
|
-
renderClient: (record: any) =>
|
|
14
|
-
renderPc: (value: unknown, record: Record) =>
|
|
15
|
-
renderLog: (r: Record) =>
|
|
13
|
+
renderClient: (record: any) => JSX.Element | null;
|
|
14
|
+
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
15
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
16
16
|
getComponentValue: (r: Record) => any;
|
|
17
17
|
renderExport: (value: any, record: any) => any;
|
|
18
|
-
editRender: () =>
|
|
18
|
+
editRender: () => JSX.Element;
|
|
19
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
20
|
type: string;
|
|
21
21
|
id: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { GoodsProps } from '@kmkf-fe-packages/basic-components/dist/common/Goods';
|
|
3
|
-
declare const ItemSelect: (props: JSX.IntrinsicAttributes & GoodsProps) =>
|
|
3
|
+
declare const ItemSelect: (props: JSX.IntrinsicAttributes & GoodsProps) => JSX.Element;
|
|
4
4
|
export default ItemSelect;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ComponentInterface, PickOption, Record } from "../../type";
|
|
2
|
-
import React from "react";
|
|
3
3
|
declare class EItemSelect implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -10,12 +10,12 @@ declare class EItemSelect implements ComponentInterface {
|
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
11
|
children: ComponentInterface[];
|
|
12
12
|
constructor(options: PickOption);
|
|
13
|
-
renderClient: (record: any) =>
|
|
14
|
-
renderPc: (value: unknown, record: Record) =>
|
|
15
|
-
renderLog: (r: Record) =>
|
|
13
|
+
renderClient: (record: any) => JSX.Element | null;
|
|
14
|
+
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
15
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
16
16
|
getComponentValue: (r: Record) => any;
|
|
17
17
|
renderExport: (value: any, record: any) => any;
|
|
18
|
-
editRender: () =>
|
|
18
|
+
editRender: () => JSX.Element;
|
|
19
19
|
filterConfig: () => never[];
|
|
20
20
|
}
|
|
21
21
|
export default EItemSelect;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
2
|
-
import React from 'react';
|
|
3
3
|
declare class ErpTradeId implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -9,12 +9,12 @@ declare class ErpTradeId implements ComponentInterface {
|
|
|
9
9
|
isCombinationComponent: boolean;
|
|
10
10
|
children: ComponentInterface[];
|
|
11
11
|
constructor(options: PickOption);
|
|
12
|
-
renderClient: (record: any) =>
|
|
13
|
-
renderPc: (value: any, record: Record) =>
|
|
14
|
-
renderLog: (r: Record) =>
|
|
12
|
+
renderClient: (record: any) => JSX.Element | null;
|
|
13
|
+
renderPc: (value: any, record: Record) => JSX.Element;
|
|
14
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
15
15
|
getComponentValue: (r: Record) => any;
|
|
16
16
|
renderExport: (value: any, record: Record) => any;
|
|
17
|
-
editRender: () =>
|
|
17
|
+
editRender: () => JSX.Element;
|
|
18
18
|
filterConfig: (item: ColumnConfig) => {
|
|
19
19
|
type: string;
|
|
20
20
|
id: string;
|