kmkf-work-order-service-component 0.4.10-alpha.7 → 0.4.11
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/FormRender/index.js +27 -59
- package/dist/esm/FormRender/index.less +1 -1
- package/dist/esm/SingleShopWorkOrder/components/Card/index.less +1 -1
- package/dist/esm/SingleShopWorkOrder/components/CustomizeFormModal/index.js +4 -4
- package/dist/esm/SingleShopWorkOrder/components/CustomizeFormModal/index.less +1 -1
- package/dist/esm/WorkOrder/components/CustomizeWorkOrderList/components/CustomizeWorkOrderCard/index.less +1 -1
- package/dist/esm/WorkOrder/components/CustomizeWorkOrderList/components/RecordLog/index.js +2 -2
- package/dist/esm/WorkOrder/components/CustomizeWorkOrderList/index.js +1 -5
- package/dist/esm/WorkOrder/components/PaymentWorkOrderList/index.js +0 -1
- package/dist/esm/WorkOrder/components/Widget/common/formItemWrap.d.ts +1 -3
- package/dist/esm/WorkOrder/components/Widget/common/formItemWrap.js +10 -48
- package/dist/esm/WorkOrder/components/Widget/index.d.ts +1 -5
- package/dist/esm/WorkOrder/components/Widget/index.js +0 -16
- package/dist/esm/WorkOrder/index.js +17 -6
- package/dist/esm/common/utils/express.d.ts +0 -1
- package/dist/esm/common/utils/express.js +1 -7
- package/dist/esm/common/utils/tools.d.ts +1 -4
- package/dist/esm/common/utils/tools.js +181 -430
- package/dist/esm/model/servers/api.d.ts +0 -1
- package/dist/esm/model/servers/api.js +0 -8
- package/package.json +2 -2
- package/dist/esm/WorkOrder/components/Widget/jst/JstItemSelect/index.d.ts +0 -17
- package/dist/esm/WorkOrder/components/Widget/jst/JstItemSelect/index.js +0 -129
- package/dist/esm/WorkOrder/components/Widget/jst/JstLogistics/index.d.ts +0 -14
- package/dist/esm/WorkOrder/components/Widget/jst/JstLogistics/index.js +0 -121
- package/dist/esm/WorkOrder/components/Widget/jst/JstSendGood/index.d.ts +0 -14
- package/dist/esm/WorkOrder/components/Widget/jst/JstSendGood/index.js +0 -129
- package/dist/esm/WorkOrder/components/Widget/jst/JstSupply/index.d.ts +0 -14
- package/dist/esm/WorkOrder/components/Widget/jst/JstSupply/index.js +0 -117
@@ -53,4 +53,3 @@ export declare const updateSingleShopWorkOrder: (data: any) => Promise<any>;
|
|
53
53
|
export declare const addSingleShopWorkOrder: (data: any) => Promise<any>;
|
54
54
|
export declare const queryAllWorkOrderList: (s: string, data: any) => Promise<any>;
|
55
55
|
export declare const getAlipayBillReceipt: (data: any) => Promise<any>;
|
56
|
-
export declare const jstOrderDetail: (data: any) => Promise<any>;
|
@@ -318,12 +318,4 @@ export var getAlipayBillReceipt = function getAlipayBillReceipt(data) {
|
|
318
318
|
method: 'post',
|
319
319
|
data: data
|
320
320
|
});
|
321
|
-
}; // jst订单详情
|
322
|
-
|
323
|
-
export var jstOrderDetail = function jstOrderDetail(data) {
|
324
|
-
return request({
|
325
|
-
url: '/qy/gdfw/order/jstOrderDetail',
|
326
|
-
method: 'post',
|
327
|
-
data: data
|
328
|
-
});
|
329
321
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "kmkf-work-order-service-component",
|
3
|
-
"version": "0.4.
|
3
|
+
"version": "0.4.11",
|
4
4
|
"scripts": {
|
5
5
|
"start": "dumi dev",
|
6
6
|
"docs:build": "dumi build",
|
@@ -39,7 +39,7 @@
|
|
39
39
|
},
|
40
40
|
"dependencies": {
|
41
41
|
"@ant-design/icons": "^4.7.0",
|
42
|
-
"@raycloud-apaas-fe-setup/apaas-react-basics-widgets": "^1.
|
42
|
+
"@raycloud-apaas-fe-setup/apaas-react-basics-widgets": "^1.1.6",
|
43
43
|
"@reduxjs/toolkit": "^1.8.5",
|
44
44
|
"ahooks": "^3.7.4",
|
45
45
|
"copy-to-clipboard": "^3.3.3",
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import BasicComponent from '../../BasicComponent';
|
3
|
-
declare class JstItemSelectThird extends BasicComponent {
|
4
|
-
constructor(options: any);
|
5
|
-
render: (value: any, record: any) => JSX.Element;
|
6
|
-
customRules: (config: {
|
7
|
-
enableItemId: any;
|
8
|
-
enableSupplierName: any;
|
9
|
-
}) => {
|
10
|
-
required: boolean;
|
11
|
-
validator: (_: any, value: any) => Promise<void>;
|
12
|
-
}[];
|
13
|
-
editRender: (value: any) => JSX.Element;
|
14
|
-
renderExport: (value: any, record: any) => any;
|
15
|
-
getColumns: () => any;
|
16
|
-
}
|
17
|
-
export default JstItemSelectThird;
|
@@ -1,129 +0,0 @@
|
|
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
|
-
|
3
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
4
|
-
|
5
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
6
|
-
|
7
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
8
|
-
|
9
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
10
|
-
|
11
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
12
|
-
|
13
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
14
|
-
|
15
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
16
|
-
|
17
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
18
|
-
|
19
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
20
|
-
|
21
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
22
|
-
|
23
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
24
|
-
|
25
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
26
|
-
|
27
|
-
function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get.bind(); } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(arguments.length < 3 ? target : receiver); } return desc.value; }; } return _get.apply(this, arguments); }
|
28
|
-
|
29
|
-
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
30
|
-
|
31
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
32
|
-
|
33
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
34
|
-
|
35
|
-
import React from 'react';
|
36
|
-
import BasicComponent from "../../BasicComponent";
|
37
|
-
import { getFormItem, GoodImage } from "../../common/formItemWrap";
|
38
|
-
import { JstItemList } from '@raycloud-apaas-fe-setup/apaas-react-basics-widgets';
|
39
|
-
|
40
|
-
var JstItemSelectThird = /*#__PURE__*/function (_BasicComponent) {
|
41
|
-
_inherits(JstItemSelectThird, _BasicComponent);
|
42
|
-
|
43
|
-
var _super = _createSuper(JstItemSelectThird);
|
44
|
-
|
45
|
-
function JstItemSelectThird(options) {
|
46
|
-
var _thisSuper, _this;
|
47
|
-
|
48
|
-
_classCallCheck(this, JstItemSelectThird);
|
49
|
-
|
50
|
-
_this = _super.call(this, options);
|
51
|
-
|
52
|
-
_defineProperty(_assertThisInitialized(_this), "render", function (value, record) {
|
53
|
-
//兼容多个商品
|
54
|
-
return /*#__PURE__*/React.createElement(GoodImage, {
|
55
|
-
list: value,
|
56
|
-
type: "jstItemThird"
|
57
|
-
});
|
58
|
-
});
|
59
|
-
|
60
|
-
_defineProperty(_assertThisInitialized(_this), "customRules", function (config) {
|
61
|
-
return [{
|
62
|
-
required: true,
|
63
|
-
validator: function validator(_, value) {
|
64
|
-
if (!value || !value.length) {
|
65
|
-
return Promise.reject(new Error('请选择宝贝'));
|
66
|
-
}
|
67
|
-
|
68
|
-
var hasNotId = (value || []).some(function (item) {
|
69
|
-
return !item.itemId;
|
70
|
-
});
|
71
|
-
|
72
|
-
if (config.enableItemId && hasNotId) {
|
73
|
-
return Promise.reject(new Error('请输入供应商编码'));
|
74
|
-
}
|
75
|
-
|
76
|
-
var hasNotName = (value || []).some(function (item) {
|
77
|
-
return !item.supplierName;
|
78
|
-
});
|
79
|
-
|
80
|
-
if (config.enableSupplierName && hasNotName) {
|
81
|
-
return Promise.reject(new Error('请输入供应商名称'));
|
82
|
-
}
|
83
|
-
|
84
|
-
return Promise.resolve();
|
85
|
-
}
|
86
|
-
}];
|
87
|
-
});
|
88
|
-
|
89
|
-
_defineProperty(_assertThisInitialized(_this), "editRender", function (value) {
|
90
|
-
var _assertThisInitialize, _assertThisInitialize2, _assertThisInitialize3;
|
91
|
-
|
92
|
-
return getFormItem(_objectSpread({
|
93
|
-
title: _this.name,
|
94
|
-
name: _this.id,
|
95
|
-
rules: (_assertThisInitialize = _assertThisInitialized(_this)) !== null && _assertThisInitialize !== void 0 && (_assertThisInitialize2 = _assertThisInitialize.componentConfig) !== null && _assertThisInitialize2 !== void 0 && _assertThisInitialize2.required ? _this.customRules((_assertThisInitialize3 = _assertThisInitialized(_this)) === null || _assertThisInitialize3 === void 0 ? void 0 : _assertThisInitialize3.componentConfig) : [],
|
96
|
-
required: false,
|
97
|
-
component: /*#__PURE__*/React.createElement(JstItemList, _extends({}, _this.componentConfig, {
|
98
|
-
width: "90%"
|
99
|
-
}))
|
100
|
-
}, value));
|
101
|
-
});
|
102
|
-
|
103
|
-
_defineProperty(_assertThisInitialized(_this), "renderExport", function (value, record) {
|
104
|
-
return value.map(function (item) {
|
105
|
-
return "jst\u4F9B\u5E94\u5546\u7F16\u7801:".concat(item.itemId || '', "\n jst\u4F9B\u5E94\u5546\u540D\u79F0:").concat(item.supplierName || '');
|
106
|
-
});
|
107
|
-
});
|
108
|
-
|
109
|
-
_defineProperty(_assertThisInitialized(_this), "getColumns", function () {
|
110
|
-
return _objectSpread(_objectSpread({}, _get((_thisSuper = _assertThisInitialized(_this), _getPrototypeOf(JstItemSelectThird.prototype)), "getColumns", _thisSuper).call(_thisSuper)), {}, {
|
111
|
-
renderExport: _this.renderExport
|
112
|
-
});
|
113
|
-
});
|
114
|
-
|
115
|
-
_this.name = 'jst供应商编码/名称';
|
116
|
-
_this.width = 340;
|
117
|
-
_this.canFilter = false;
|
118
|
-
_this.canGroup = false;
|
119
|
-
_this.canHidden = true;
|
120
|
-
_this.editable = true;
|
121
|
-
_this.dataType = 'string';
|
122
|
-
_this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
123
|
-
return _this;
|
124
|
-
}
|
125
|
-
|
126
|
-
return _createClass(JstItemSelectThird);
|
127
|
-
}(BasicComponent);
|
128
|
-
|
129
|
-
export default JstItemSelectThird;
|
@@ -1,14 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import BasicComponent from '../../BasicComponent';
|
3
|
-
declare class JstLogistics extends BasicComponent {
|
4
|
-
constructor(options: any);
|
5
|
-
render: (value: any, record: any) => JSX.Element;
|
6
|
-
customRules: () => {
|
7
|
-
required: boolean;
|
8
|
-
validator: (_: any, value: any) => Promise<void>;
|
9
|
-
}[];
|
10
|
-
editRender: (value: any) => JSX.Element;
|
11
|
-
renderExport: (value: any, record: any) => any;
|
12
|
-
getColumns: () => any;
|
13
|
-
}
|
14
|
-
export default JstLogistics;
|
@@ -1,121 +0,0 @@
|
|
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
|
-
|
3
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
4
|
-
|
5
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
6
|
-
|
7
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
8
|
-
|
9
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
10
|
-
|
11
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
12
|
-
|
13
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
14
|
-
|
15
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
16
|
-
|
17
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
18
|
-
|
19
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
20
|
-
|
21
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
22
|
-
|
23
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
24
|
-
|
25
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
26
|
-
|
27
|
-
function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get.bind(); } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(arguments.length < 3 ? target : receiver); } return desc.value; }; } return _get.apply(this, arguments); }
|
28
|
-
|
29
|
-
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
30
|
-
|
31
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
32
|
-
|
33
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
34
|
-
|
35
|
-
import React from 'react';
|
36
|
-
import BasicComponent from "../../BasicComponent";
|
37
|
-
import { getFormItem, JstGoodImage } from "../../common/formItemWrap";
|
38
|
-
import { JstGoods } from '@raycloud-apaas-fe-setup/apaas-react-basics-widgets';
|
39
|
-
import expressApi from "../../../../../common/utils/express";
|
40
|
-
|
41
|
-
var JstLogistics = /*#__PURE__*/function (_BasicComponent) {
|
42
|
-
_inherits(JstLogistics, _BasicComponent);
|
43
|
-
|
44
|
-
var _super = _createSuper(JstLogistics);
|
45
|
-
|
46
|
-
function JstLogistics(options) {
|
47
|
-
var _thisSuper, _this;
|
48
|
-
|
49
|
-
_classCallCheck(this, JstLogistics);
|
50
|
-
|
51
|
-
_this = _super.call(this, options);
|
52
|
-
|
53
|
-
_defineProperty(_assertThisInitialized(_this), "render", function (value, record) {
|
54
|
-
//兼容多个商品
|
55
|
-
return /*#__PURE__*/React.createElement(JstGoodImage, {
|
56
|
-
list: value,
|
57
|
-
type: 1
|
58
|
-
});
|
59
|
-
});
|
60
|
-
|
61
|
-
_defineProperty(_assertThisInitialized(_this), "customRules", function () {
|
62
|
-
return [{
|
63
|
-
required: true,
|
64
|
-
validator: function validator(_, value) {
|
65
|
-
var hasNo = (value || []).some(function (item) {
|
66
|
-
return item.logisticsCompany && item.logisticsCode;
|
67
|
-
});
|
68
|
-
|
69
|
-
if (!hasNo) {
|
70
|
-
return Promise.reject(new Error("\u81F3\u5C11\u586B\u5199\u4E00\u4E2A\u5B8C\u6574\u7684\u7269\u6D41\u4FE1\u606F"));
|
71
|
-
}
|
72
|
-
|
73
|
-
return Promise.resolve();
|
74
|
-
}
|
75
|
-
}];
|
76
|
-
});
|
77
|
-
|
78
|
-
_defineProperty(_assertThisInitialized(_this), "editRender", function (value) {
|
79
|
-
var _assertThisInitialize, _assertThisInitialize2;
|
80
|
-
|
81
|
-
return getFormItem(_objectSpread({
|
82
|
-
title: _this.name,
|
83
|
-
name: _this.id,
|
84
|
-
rules: (_assertThisInitialize = _assertThisInitialized(_this)) !== null && _assertThisInitialize !== void 0 && (_assertThisInitialize2 = _assertThisInitialize.componentConfig) !== null && _assertThisInitialize2 !== void 0 && _assertThisInitialize2.required ? _this.customRules() : [],
|
85
|
-
required: false,
|
86
|
-
component: /*#__PURE__*/React.createElement(JstGoods, _extends({}, _this.componentConfig, {
|
87
|
-
type: 1
|
88
|
-
}))
|
89
|
-
}, value));
|
90
|
-
});
|
91
|
-
|
92
|
-
_defineProperty(_assertThisInitialized(_this), "renderExport", function (value, record) {
|
93
|
-
return value.map(function (item) {
|
94
|
-
return "jst\u7269\u6D41\u516C\u53F8:".concat(item.logisticsComponent || '', "\n jst\u7269\u6D41\u5355\u53F7:").concat(item.logisticsCode || '');
|
95
|
-
});
|
96
|
-
});
|
97
|
-
|
98
|
-
_defineProperty(_assertThisInitialized(_this), "getColumns", function () {
|
99
|
-
return _objectSpread(_objectSpread({}, _get((_thisSuper = _assertThisInitialized(_this), _getPrototypeOf(JstLogistics.prototype)), "getColumns", _thisSuper).call(_thisSuper)), {}, {
|
100
|
-
renderExport: _this.renderExport
|
101
|
-
});
|
102
|
-
});
|
103
|
-
|
104
|
-
_this.name = 'jst物流信息';
|
105
|
-
_this.width = 340;
|
106
|
-
_this.canFilter = false;
|
107
|
-
_this.canGroup = false;
|
108
|
-
_this.canHidden = true;
|
109
|
-
_this.editable = true;
|
110
|
-
_this.dataType = 'string';
|
111
|
-
_this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
112
|
-
_this.componentConfig = _objectSpread(_objectSpread({}, options.componentConfig), {}, {
|
113
|
-
options: expressApi.getData()
|
114
|
-
});
|
115
|
-
return _this;
|
116
|
-
}
|
117
|
-
|
118
|
-
return _createClass(JstLogistics);
|
119
|
-
}(BasicComponent);
|
120
|
-
|
121
|
-
export default JstLogistics;
|
@@ -1,14 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import BasicComponent from '../../BasicComponent';
|
3
|
-
declare class JstSendGood extends BasicComponent {
|
4
|
-
constructor(options: any);
|
5
|
-
render: (value: any, record: any) => JSX.Element;
|
6
|
-
customRules: (config: any) => {
|
7
|
-
required: boolean;
|
8
|
-
validator: (_: any, value: any) => Promise<void>;
|
9
|
-
}[];
|
10
|
-
editRender: (value: any) => JSX.Element;
|
11
|
-
renderExport: (value: any, record: any) => any;
|
12
|
-
getColumns: () => any;
|
13
|
-
}
|
14
|
-
export default JstSendGood;
|
@@ -1,129 +0,0 @@
|
|
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
|
-
|
3
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
4
|
-
|
5
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
6
|
-
|
7
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
8
|
-
|
9
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
10
|
-
|
11
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
12
|
-
|
13
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
14
|
-
|
15
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
16
|
-
|
17
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
18
|
-
|
19
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
20
|
-
|
21
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
22
|
-
|
23
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
24
|
-
|
25
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
26
|
-
|
27
|
-
function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get.bind(); } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(arguments.length < 3 ? target : receiver); } return desc.value; }; } return _get.apply(this, arguments); }
|
28
|
-
|
29
|
-
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
30
|
-
|
31
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
32
|
-
|
33
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
34
|
-
|
35
|
-
import React from 'react';
|
36
|
-
import BasicComponent from "../../BasicComponent";
|
37
|
-
import { getFormItem, JstGoodImage } from "../../common/formItemWrap";
|
38
|
-
import { JstGoods } from '@raycloud-apaas-fe-setup/apaas-react-basics-widgets';
|
39
|
-
|
40
|
-
var JstSendGood = /*#__PURE__*/function (_BasicComponent) {
|
41
|
-
_inherits(JstSendGood, _BasicComponent);
|
42
|
-
|
43
|
-
var _super = _createSuper(JstSendGood);
|
44
|
-
|
45
|
-
function JstSendGood(options) {
|
46
|
-
var _thisSuper, _this;
|
47
|
-
|
48
|
-
_classCallCheck(this, JstSendGood);
|
49
|
-
|
50
|
-
_this = _super.call(this, options);
|
51
|
-
|
52
|
-
_defineProperty(_assertThisInitialized(_this), "render", function (value, record) {
|
53
|
-
//兼容多个商品
|
54
|
-
return /*#__PURE__*/React.createElement(JstGoodImage, {
|
55
|
-
list: value,
|
56
|
-
type: 3
|
57
|
-
});
|
58
|
-
});
|
59
|
-
|
60
|
-
_defineProperty(_assertThisInitialized(_this), "customRules", function (config) {
|
61
|
-
return [{
|
62
|
-
required: true,
|
63
|
-
validator: function validator(_, value) {
|
64
|
-
var showField = config.showField;
|
65
|
-
|
66
|
-
if (!value || !value.length) {
|
67
|
-
return Promise.reject(new Error('请选择宝贝'));
|
68
|
-
}
|
69
|
-
|
70
|
-
var hasNo = (value || []).some(function (item) {
|
71
|
-
if (['sendName'].includes(showField)) {
|
72
|
-
return item.sendName;
|
73
|
-
} else if (['sendId'].includes(showField)) {
|
74
|
-
return item.sendId;
|
75
|
-
} else {
|
76
|
-
return item.sendId && item.sendName;
|
77
|
-
}
|
78
|
-
});
|
79
|
-
|
80
|
-
if (!hasNo) {
|
81
|
-
return Promise.reject(new Error("\u81F3\u5C11\u586B\u5199\u4E00\u4E2A\u5B8C\u6574\u7684\u53D1\u8D27\u4ED3\u4FE1\u606F"));
|
82
|
-
}
|
83
|
-
|
84
|
-
return Promise.resolve();
|
85
|
-
}
|
86
|
-
}];
|
87
|
-
});
|
88
|
-
|
89
|
-
_defineProperty(_assertThisInitialized(_this), "editRender", function (value) {
|
90
|
-
var _assertThisInitialize, _assertThisInitialize2;
|
91
|
-
|
92
|
-
return getFormItem(_objectSpread({
|
93
|
-
title: _this.name,
|
94
|
-
name: _this.id,
|
95
|
-
rules: (_assertThisInitialize = _assertThisInitialized(_this)) !== null && _assertThisInitialize !== void 0 && (_assertThisInitialize2 = _assertThisInitialize.componentConfig) !== null && _assertThisInitialize2 !== void 0 && _assertThisInitialize2.required ? _this.customRules(_this.componentConfig) : [],
|
96
|
-
required: false,
|
97
|
-
component: /*#__PURE__*/React.createElement(JstGoods, _extends({}, _this.componentConfig, {
|
98
|
-
type: 3
|
99
|
-
}))
|
100
|
-
}, value));
|
101
|
-
});
|
102
|
-
|
103
|
-
_defineProperty(_assertThisInitialized(_this), "renderExport", function (value, record) {
|
104
|
-
return value.map(function (item) {
|
105
|
-
return "jst\u53D1\u8D27\u4ED3\u540D\u79F0:".concat(item.sendName || '', "\n jst\u53D1\u8D27\u4ED3\u7F16\u7801:").concat(item.sendId || '');
|
106
|
-
});
|
107
|
-
});
|
108
|
-
|
109
|
-
_defineProperty(_assertThisInitialized(_this), "getColumns", function () {
|
110
|
-
return _objectSpread(_objectSpread({}, _get((_thisSuper = _assertThisInitialized(_this), _getPrototypeOf(JstSendGood.prototype)), "getColumns", _thisSuper).call(_thisSuper)), {}, {
|
111
|
-
renderExport: _this.renderExport
|
112
|
-
});
|
113
|
-
});
|
114
|
-
|
115
|
-
_this.name = 'jst发货仓编码/名称';
|
116
|
-
_this.width = 340;
|
117
|
-
_this.canFilter = false;
|
118
|
-
_this.canGroup = false;
|
119
|
-
_this.canHidden = true;
|
120
|
-
_this.editable = true;
|
121
|
-
_this.dataType = 'string';
|
122
|
-
_this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
123
|
-
return _this;
|
124
|
-
}
|
125
|
-
|
126
|
-
return _createClass(JstSendGood);
|
127
|
-
}(BasicComponent);
|
128
|
-
|
129
|
-
export default JstSendGood;
|
@@ -1,14 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import BasicComponent from '../../BasicComponent';
|
3
|
-
declare class JstSupply extends BasicComponent {
|
4
|
-
constructor(options: any);
|
5
|
-
render: (value: any, record: any) => JSX.Element;
|
6
|
-
customRules: (config: any) => {
|
7
|
-
required: boolean;
|
8
|
-
validator: (_: any, value: any) => Promise<void>;
|
9
|
-
}[];
|
10
|
-
editRender: (value: any) => JSX.Element;
|
11
|
-
renderExport: (value: any, record: any) => any;
|
12
|
-
getColumns: () => any;
|
13
|
-
}
|
14
|
-
export default JstSupply;
|
@@ -1,117 +0,0 @@
|
|
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
|
-
|
3
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
4
|
-
|
5
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
6
|
-
|
7
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
8
|
-
|
9
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
10
|
-
|
11
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
12
|
-
|
13
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
14
|
-
|
15
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
16
|
-
|
17
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
18
|
-
|
19
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
20
|
-
|
21
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
22
|
-
|
23
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
24
|
-
|
25
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
26
|
-
|
27
|
-
function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get.bind(); } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(arguments.length < 3 ? target : receiver); } return desc.value; }; } return _get.apply(this, arguments); }
|
28
|
-
|
29
|
-
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
30
|
-
|
31
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
32
|
-
|
33
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
34
|
-
|
35
|
-
import React from 'react';
|
36
|
-
import BasicComponent from "../../BasicComponent";
|
37
|
-
import { getFormItem, JstGoodImage } from "../../common/formItemWrap";
|
38
|
-
import { JstGoods } from '@raycloud-apaas-fe-setup/apaas-react-basics-widgets';
|
39
|
-
|
40
|
-
var JstSupply = /*#__PURE__*/function (_BasicComponent) {
|
41
|
-
_inherits(JstSupply, _BasicComponent);
|
42
|
-
|
43
|
-
var _super = _createSuper(JstSupply);
|
44
|
-
|
45
|
-
function JstSupply(options) {
|
46
|
-
var _thisSuper, _this;
|
47
|
-
|
48
|
-
_classCallCheck(this, JstSupply);
|
49
|
-
|
50
|
-
_this = _super.call(this, options);
|
51
|
-
|
52
|
-
_defineProperty(_assertThisInitialized(_this), "render", function (value, record) {
|
53
|
-
//兼容多个商品
|
54
|
-
return /*#__PURE__*/React.createElement(JstGoodImage, {
|
55
|
-
list: value,
|
56
|
-
type: 2
|
57
|
-
});
|
58
|
-
});
|
59
|
-
|
60
|
-
_defineProperty(_assertThisInitialized(_this), "customRules", function (config) {
|
61
|
-
return [{
|
62
|
-
required: true,
|
63
|
-
validator: function validator(_, value) {
|
64
|
-
var hasNo = (value || []).some(function (item) {
|
65
|
-
return item.supplyId;
|
66
|
-
});
|
67
|
-
|
68
|
-
if (!hasNo) {
|
69
|
-
return Promise.reject(new Error("\u81F3\u5C11\u586B\u5199\u4E00\u4E2A\u4F9B\u9500\u5546\u7F16\u7801"));
|
70
|
-
}
|
71
|
-
|
72
|
-
return Promise.resolve();
|
73
|
-
}
|
74
|
-
}];
|
75
|
-
});
|
76
|
-
|
77
|
-
_defineProperty(_assertThisInitialized(_this), "editRender", function (value) {
|
78
|
-
var _assertThisInitialize, _assertThisInitialize2, _assertThisInitialize3;
|
79
|
-
|
80
|
-
return getFormItem(_objectSpread({
|
81
|
-
title: _this.name,
|
82
|
-
name: _this.id,
|
83
|
-
rules: (_assertThisInitialize = _assertThisInitialized(_this)) !== null && _assertThisInitialize !== void 0 && (_assertThisInitialize2 = _assertThisInitialize.componentConfig) !== null && _assertThisInitialize2 !== void 0 && _assertThisInitialize2.required ? _this.customRules((_assertThisInitialize3 = _assertThisInitialized(_this)) === null || _assertThisInitialize3 === void 0 ? void 0 : _assertThisInitialize3.componentConfig) : [],
|
84
|
-
required: false,
|
85
|
-
component: /*#__PURE__*/React.createElement(JstGoods, _extends({}, _this.componentConfig, {
|
86
|
-
type: 2
|
87
|
-
}))
|
88
|
-
}, value));
|
89
|
-
});
|
90
|
-
|
91
|
-
_defineProperty(_assertThisInitialized(_this), "renderExport", function (value, record) {
|
92
|
-
return value.map(function (item) {
|
93
|
-
return "".concat(item.supplyId || '', "\n");
|
94
|
-
});
|
95
|
-
});
|
96
|
-
|
97
|
-
_defineProperty(_assertThisInitialized(_this), "getColumns", function () {
|
98
|
-
return _objectSpread(_objectSpread({}, _get((_thisSuper = _assertThisInitialized(_this), _getPrototypeOf(JstSupply.prototype)), "getColumns", _thisSuper).call(_thisSuper)), {}, {
|
99
|
-
renderExport: _this.renderExport
|
100
|
-
});
|
101
|
-
});
|
102
|
-
|
103
|
-
_this.name = 'jst供销商编码';
|
104
|
-
_this.width = 340;
|
105
|
-
_this.canFilter = false;
|
106
|
-
_this.canGroup = false;
|
107
|
-
_this.canHidden = true;
|
108
|
-
_this.editable = true;
|
109
|
-
_this.dataType = 'string';
|
110
|
-
_this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
111
|
-
return _this;
|
112
|
-
}
|
113
|
-
|
114
|
-
return _createClass(JstSupply);
|
115
|
-
}(BasicComponent);
|
116
|
-
|
117
|
-
export default JstSupply;
|