@bit-sun/business-component 4.2.0-alpha.3 → 4.2.0-alpha.5
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/index.esm.js
CHANGED
|
@@ -2,7 +2,7 @@ import axios from 'axios';
|
|
|
2
2
|
import request$1 from 'umi-request';
|
|
3
3
|
import cookie from 'js-cookie';
|
|
4
4
|
import { message as message$1, Tooltip, Image, Popover, Card, Avatar, Badge, Menu, Input, InputNumber, Space, Button, Dropdown, Upload, Checkbox, Modal, ConfigProvider, Tag, Select, Spin, Form, Table, Empty, Row, Col, Tabs, TreeSelect, DatePicker, Typography, Alert, Breadcrumb, Drawer as Drawer$1, List, Radio, Tree, Result, Affix, Cascader, TimePicker, Divider, Switch, Collapse } from 'antd';
|
|
5
|
-
import _, { omit, uniqBy, escapeRegExp, isNil, debounce, cloneDeep as cloneDeep$1, throttle, isEmpty } from 'lodash';
|
|
5
|
+
import _, { omit, uniqBy, escapeRegExp, isNil, isBoolean, debounce, cloneDeep as cloneDeep$1, throttle, isEmpty } from 'lodash';
|
|
6
6
|
import memoizeOne from 'memoize-one';
|
|
7
7
|
import { formatMessage, history, useLocation, Link, useModel, setLocale, useIntl, request as request$3 } from 'umi';
|
|
8
8
|
import isEqual from 'lodash/isEqual';
|
|
@@ -188,8 +188,8 @@ function _objectWithoutProperties(e, t) {
|
|
|
188
188
|
r,
|
|
189
189
|
i = _objectWithoutPropertiesLoose(e, t);
|
|
190
190
|
if (Object.getOwnPropertySymbols) {
|
|
191
|
-
var
|
|
192
|
-
for (r = 0; r <
|
|
191
|
+
var s = Object.getOwnPropertySymbols(e);
|
|
192
|
+
for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
193
193
|
}
|
|
194
194
|
return i;
|
|
195
195
|
}
|
|
@@ -197,7 +197,7 @@ function _objectWithoutPropertiesLoose(r, e) {
|
|
|
197
197
|
if (null == r) return {};
|
|
198
198
|
var t = {};
|
|
199
199
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
200
|
-
if (
|
|
200
|
+
if (e.includes(n)) continue;
|
|
201
201
|
t[n] = r[n];
|
|
202
202
|
}
|
|
203
203
|
return t;
|
|
@@ -5515,7 +5515,8 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5515
5515
|
};
|
|
5516
5516
|
var tableInitPagination = _objectSpread2(_objectSpread2({}, initPagination), {}, {
|
|
5517
5517
|
total: 0,
|
|
5518
|
-
current: 1
|
|
5518
|
+
current: 1,
|
|
5519
|
+
pageSizeOptions: [10, 20, 50, 100, 500, 1000]
|
|
5519
5520
|
});
|
|
5520
5521
|
var disabled = !!noOperate || (selectProps === null || selectProps === void 0 ? void 0 : selectProps.disabled) || (props === null || props === void 0 ? void 0 : props.disabled);
|
|
5521
5522
|
var isHaveDependency = fixedparameter && fieldValToParam && ctx;
|
|
@@ -9993,31 +9994,36 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
9993
9994
|
});
|
|
9994
9995
|
};
|
|
9995
9996
|
// 格式化树选择器数据源
|
|
9996
|
-
var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
|
|
9997
|
-
var haveChildren = Array.isArray(treeDataItem
|
|
9997
|
+
var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge, childrenKey) {
|
|
9998
|
+
var haveChildren = Array.isArray(treeDataItem[childrenKey]) && treeDataItem[childrenKey].length > 0;
|
|
9998
9999
|
return {
|
|
9999
10000
|
title: treeDataItem[resKeyValue[1]],
|
|
10000
10001
|
value: treeDataItem[resKeyValue[0]],
|
|
10001
10002
|
parentId: treeDataItem.parent,
|
|
10002
10003
|
data: _objectSpread2({}, treeDataItem),
|
|
10003
10004
|
isLeaf: !haveChildren,
|
|
10004
|
-
disabled: disabledJudge !== undefined ? disabledJudge : haveChildren,
|
|
10005
|
-
children: haveChildren ? treeDataItem.
|
|
10006
|
-
return _mapSearchTree(i, resKeyValue, disabledJudge);
|
|
10005
|
+
disabled: disabledJudge !== undefined ? isBoolean(disabledJudge) ? disabledJudge : disabledJudge(treeDataItem) : haveChildren,
|
|
10006
|
+
children: haveChildren ? treeDataItem[childrenKey].map(function (i) {
|
|
10007
|
+
return _mapSearchTree(i, resKeyValue, disabledJudge, childrenKey);
|
|
10007
10008
|
}) : []
|
|
10008
10009
|
};
|
|
10009
10010
|
};
|
|
10010
10011
|
var formatTreeDataSource = function formatTreeDataSource(reData, position, changePosition, changeSearchForm) {
|
|
10011
10012
|
var _reData$position2;
|
|
10012
10013
|
var resKeyValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : ['id', 'name'];
|
|
10014
|
+
var childrenKey = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 'children';
|
|
10015
|
+
var nodeDisabledJudge = arguments.length > 6 ? arguments[6] : undefined;
|
|
10013
10016
|
var data = reData && ((_reData$position2 = reData[position]) === null || _reData$position2 === void 0 ? void 0 : _reData$position2.data);
|
|
10014
10017
|
var disabledJudge;
|
|
10015
10018
|
if (data && _typeof(data) === 'object' && !Array.isArray(data) && Object.keys(data).length > 0) {
|
|
10016
10019
|
data = [data];
|
|
10017
10020
|
disabledJudge = false;
|
|
10018
10021
|
}
|
|
10022
|
+
if (nodeDisabledJudge) {
|
|
10023
|
+
disabledJudge = nodeDisabledJudge;
|
|
10024
|
+
}
|
|
10019
10025
|
var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
|
|
10020
|
-
return _mapSearchTree(ites, resKeyValue, disabledJudge);
|
|
10026
|
+
return _mapSearchTree(ites, resKeyValue, disabledJudge, childrenKey);
|
|
10021
10027
|
}) || [];
|
|
10022
10028
|
changeSearchForm[changePosition].field.props.treeData = formatData;
|
|
10023
10029
|
};
|
|
@@ -11854,7 +11860,8 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11854
11860
|
mappingTextField: 'name',
|
|
11855
11861
|
mappingValueField: 'code',
|
|
11856
11862
|
otherParams: _objectSpread2({
|
|
11857
|
-
sorter: 'desc-id'
|
|
11863
|
+
sorter: 'desc-id',
|
|
11864
|
+
'qp-status-in': 10
|
|
11858
11865
|
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
11859
11866
|
sourceName: 'code'
|
|
11860
11867
|
}, requestConfigProp);
|
|
@@ -11871,12 +11878,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11871
11878
|
type: 'select',
|
|
11872
11879
|
label: '商店类型',
|
|
11873
11880
|
initialSource: shopFile2Type
|
|
11874
|
-
},
|
|
11875
|
-
|
|
11876
|
-
|
|
11877
|
-
label: '商店状态',
|
|
11878
|
-
initialSource: shopFile2Status
|
|
11879
|
-
}, {
|
|
11881
|
+
},
|
|
11882
|
+
// { name: 'qp-status-in', type: 'select', label: '商店状态', initialSource: shopFile2Status },
|
|
11883
|
+
{
|
|
11880
11884
|
name: 'qp-orgCode-in',
|
|
11881
11885
|
type: 'select',
|
|
11882
11886
|
label: '所属销售组织',
|
|
@@ -11895,6 +11899,70 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11895
11899
|
}
|
|
11896
11900
|
}
|
|
11897
11901
|
}
|
|
11902
|
+
}, {
|
|
11903
|
+
name: 'qp-channelCode-in',
|
|
11904
|
+
type: 'treeSelect',
|
|
11905
|
+
label: '所属销售渠道',
|
|
11906
|
+
field: {
|
|
11907
|
+
type: 'treeSelect',
|
|
11908
|
+
props: {
|
|
11909
|
+
multiple: true,
|
|
11910
|
+
treeData: [],
|
|
11911
|
+
treeCheckable: false,
|
|
11912
|
+
notFoundContent: '暂无数据',
|
|
11913
|
+
allowClear: true,
|
|
11914
|
+
showSearch: true,
|
|
11915
|
+
showArrow: true,
|
|
11916
|
+
maxTagCount: 1,
|
|
11917
|
+
optionFilterProp: 'children',
|
|
11918
|
+
filterOption: function filterOption(input, option) {
|
|
11919
|
+
return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
11920
|
+
},
|
|
11921
|
+
showCheckedStrategy: 'TreeSelect.SHOW_ALL'
|
|
11922
|
+
}
|
|
11923
|
+
}
|
|
11924
|
+
}, {
|
|
11925
|
+
name: 'qp-commonRelationAreaCode-in',
|
|
11926
|
+
type: 'treeSelect',
|
|
11927
|
+
label: '营销区域',
|
|
11928
|
+
field: {
|
|
11929
|
+
type: 'treeSelect',
|
|
11930
|
+
props: {
|
|
11931
|
+
multiple: true,
|
|
11932
|
+
treeData: [],
|
|
11933
|
+
treeCheckable: false,
|
|
11934
|
+
notFoundContent: '暂无数据',
|
|
11935
|
+
allowClear: true,
|
|
11936
|
+
showSearch: true,
|
|
11937
|
+
showArrow: true,
|
|
11938
|
+
maxTagCount: 1,
|
|
11939
|
+
optionFilterProp: 'children',
|
|
11940
|
+
filterOption: function filterOption(input, option) {
|
|
11941
|
+
return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
11942
|
+
},
|
|
11943
|
+
showCheckedStrategy: 'TreeSelect.SHOW_ALL'
|
|
11944
|
+
}
|
|
11945
|
+
}
|
|
11946
|
+
}, {
|
|
11947
|
+
name: 'qp-businessType-in',
|
|
11948
|
+
type: 'select',
|
|
11949
|
+
label: '店铺性质',
|
|
11950
|
+
field: {
|
|
11951
|
+
type: 'select',
|
|
11952
|
+
props: {
|
|
11953
|
+
mode: 'multiple',
|
|
11954
|
+
notFoundContent: '暂无数据',
|
|
11955
|
+
allowClear: true,
|
|
11956
|
+
showSearch: true,
|
|
11957
|
+
showArrow: true,
|
|
11958
|
+
maxTagCount: 1,
|
|
11959
|
+
optionFilterProp: 'children',
|
|
11960
|
+
filterOption: function filterOption(input, option) {
|
|
11961
|
+
return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
11962
|
+
}
|
|
11963
|
+
}
|
|
11964
|
+
},
|
|
11965
|
+
initialSource: getDictionarySource$1('BUSINESS_StoreType')
|
|
11898
11966
|
}];
|
|
11899
11967
|
var _queryHeaderParams11 = getQueryHeadersList({
|
|
11900
11968
|
querySelectHeadersList: querySelectHeadersList,
|
|
@@ -11904,8 +11972,22 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11904
11972
|
'qp-employeeCode-eq': getEmployeeCode(),
|
|
11905
11973
|
'qp-realOrg-eq': true,
|
|
11906
11974
|
'qp-status-eq': 10
|
|
11975
|
+
}, getQueryHeadersItem(_queryHeaderParams11, 'qp-orgCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/channelInfo/tree"), {
|
|
11976
|
+
'qp-status-eq': 10,
|
|
11977
|
+
'qp-isMain-eq': 1,
|
|
11978
|
+
'qp-type-in': '1,2'
|
|
11979
|
+
}, getQueryHeadersItem(_queryHeaderParams11, 'qp-orgCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/tagNode/getTree/10"), {
|
|
11980
|
+
'qp-status-eq': 1
|
|
11907
11981
|
}, getQueryHeadersItem(_queryHeaderParams11, 'qp-orgCode-in'))]).then(function (x) {
|
|
11908
|
-
|
|
11982
|
+
var channelDisabledJude = function channelDisabledJude(data) {
|
|
11983
|
+
return data['parentCode'] === '0';
|
|
11984
|
+
}; // 所属销售渠道 树节点不能点判断
|
|
11985
|
+
var areaDisabledJude = function areaDisabledJude(data) {
|
|
11986
|
+
return data['parent'] === '0';
|
|
11987
|
+
}; // 所属营销区域 树节点不能点判断
|
|
11988
|
+
formatSource(x, 0, 3, tableSearchForm);
|
|
11989
|
+
formatTreeDataSource(x, 1, 4, tableSearchForm, ['id', 'name'], 'channelInfoSon', channelDisabledJude);
|
|
11990
|
+
formatTreeDataSource(x, 2, 5, tableSearchForm, ['code', 'name'], 'children', areaDisabledJude);
|
|
11909
11991
|
});
|
|
11910
11992
|
modalTableProps = _objectSpread2({
|
|
11911
11993
|
modalTableTitle: '选择商店',
|
|
@@ -11913,19 +11995,23 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11913
11995
|
tableColumns: [{
|
|
11914
11996
|
title: '序号',
|
|
11915
11997
|
dataIndex: 'keyIndex',
|
|
11916
|
-
defaultSort: 0
|
|
11998
|
+
defaultSort: 0,
|
|
11999
|
+
width: 60
|
|
11917
12000
|
}, {
|
|
11918
12001
|
title: '商店编码',
|
|
11919
12002
|
dataIndex: 'code',
|
|
11920
|
-
defaultSort: 1
|
|
12003
|
+
defaultSort: 1,
|
|
12004
|
+
width: 100
|
|
11921
12005
|
}, {
|
|
11922
12006
|
title: '商店名称',
|
|
11923
12007
|
dataIndex: 'name',
|
|
11924
|
-
defaultSort: 2
|
|
12008
|
+
defaultSort: 2,
|
|
12009
|
+
width: 120
|
|
11925
12010
|
}, {
|
|
11926
12011
|
title: '商店类型',
|
|
11927
12012
|
dataIndex: 'type',
|
|
11928
12013
|
defaultSort: 3,
|
|
12014
|
+
width: 100,
|
|
11929
12015
|
render: function render(text) {
|
|
11930
12016
|
var _shopFile2Type$find;
|
|
11931
12017
|
return (_shopFile2Type$find = shopFile2Type.find(function (i) {
|
|
@@ -11935,6 +12021,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11935
12021
|
}, {
|
|
11936
12022
|
title: '启用状态',
|
|
11937
12023
|
dataIndex: 'status',
|
|
12024
|
+
width: 80,
|
|
11938
12025
|
render: function render(text) {
|
|
11939
12026
|
var _shopFile2Status$find;
|
|
11940
12027
|
return (_shopFile2Status$find = shopFile2Status.find(function (i) {
|
|
@@ -11944,8 +12031,28 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11944
12031
|
}, {
|
|
11945
12032
|
title: '所属销售组织',
|
|
11946
12033
|
dataIndex: 'orgName',
|
|
11947
|
-
defaultSort: 4
|
|
11948
|
-
|
|
12034
|
+
defaultSort: 4,
|
|
12035
|
+
width: 95
|
|
12036
|
+
}, {
|
|
12037
|
+
title: '所属销售渠道',
|
|
12038
|
+
dataIndex: 'channelName',
|
|
12039
|
+
defaultSort: 5,
|
|
12040
|
+
width: 100
|
|
12041
|
+
}, {
|
|
12042
|
+
title: '营销区域',
|
|
12043
|
+
dataIndex: 'commonRelationAreaName',
|
|
12044
|
+
defaultSort: 6,
|
|
12045
|
+
width: 100
|
|
12046
|
+
}, {
|
|
12047
|
+
title: '店铺性质',
|
|
12048
|
+
dataIndex: 'businessType',
|
|
12049
|
+
defaultSort: 7,
|
|
12050
|
+
render: function render(text) {
|
|
12051
|
+
return getDictionaryTextByValue$1('BUSINESS_StoreType', text);
|
|
12052
|
+
},
|
|
12053
|
+
width: 80
|
|
12054
|
+
}],
|
|
12055
|
+
noEmptySearchField: true
|
|
11949
12056
|
}, modalTableBusProps);
|
|
11950
12057
|
}
|
|
11951
12058
|
// 核算主体选择器(无弹窗)
|
package/dist/index.js
CHANGED
|
@@ -211,8 +211,8 @@ function _objectWithoutProperties(e, t) {
|
|
|
211
211
|
r,
|
|
212
212
|
i = _objectWithoutPropertiesLoose(e, t);
|
|
213
213
|
if (Object.getOwnPropertySymbols) {
|
|
214
|
-
var
|
|
215
|
-
for (r = 0; r <
|
|
214
|
+
var s = Object.getOwnPropertySymbols(e);
|
|
215
|
+
for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
216
216
|
}
|
|
217
217
|
return i;
|
|
218
218
|
}
|
|
@@ -220,7 +220,7 @@ function _objectWithoutPropertiesLoose(r, e) {
|
|
|
220
220
|
if (null == r) return {};
|
|
221
221
|
var t = {};
|
|
222
222
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
223
|
-
if (
|
|
223
|
+
if (e.includes(n)) continue;
|
|
224
224
|
t[n] = r[n];
|
|
225
225
|
}
|
|
226
226
|
return t;
|
|
@@ -5538,7 +5538,8 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5538
5538
|
};
|
|
5539
5539
|
var tableInitPagination = _objectSpread2(_objectSpread2({}, initPagination), {}, {
|
|
5540
5540
|
total: 0,
|
|
5541
|
-
current: 1
|
|
5541
|
+
current: 1,
|
|
5542
|
+
pageSizeOptions: [10, 20, 50, 100, 500, 1000]
|
|
5542
5543
|
});
|
|
5543
5544
|
var disabled = !!noOperate || (selectProps === null || selectProps === void 0 ? void 0 : selectProps.disabled) || (props === null || props === void 0 ? void 0 : props.disabled);
|
|
5544
5545
|
var isHaveDependency = fixedparameter && fieldValToParam && ctx;
|
|
@@ -10016,31 +10017,36 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10016
10017
|
});
|
|
10017
10018
|
};
|
|
10018
10019
|
// 格式化树选择器数据源
|
|
10019
|
-
var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
|
|
10020
|
-
var haveChildren = Array.isArray(treeDataItem
|
|
10020
|
+
var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge, childrenKey) {
|
|
10021
|
+
var haveChildren = Array.isArray(treeDataItem[childrenKey]) && treeDataItem[childrenKey].length > 0;
|
|
10021
10022
|
return {
|
|
10022
10023
|
title: treeDataItem[resKeyValue[1]],
|
|
10023
10024
|
value: treeDataItem[resKeyValue[0]],
|
|
10024
10025
|
parentId: treeDataItem.parent,
|
|
10025
10026
|
data: _objectSpread2({}, treeDataItem),
|
|
10026
10027
|
isLeaf: !haveChildren,
|
|
10027
|
-
disabled: disabledJudge !== undefined ? disabledJudge : haveChildren,
|
|
10028
|
-
children: haveChildren ? treeDataItem.
|
|
10029
|
-
return _mapSearchTree(i, resKeyValue, disabledJudge);
|
|
10028
|
+
disabled: disabledJudge !== undefined ? _.isBoolean(disabledJudge) ? disabledJudge : disabledJudge(treeDataItem) : haveChildren,
|
|
10029
|
+
children: haveChildren ? treeDataItem[childrenKey].map(function (i) {
|
|
10030
|
+
return _mapSearchTree(i, resKeyValue, disabledJudge, childrenKey);
|
|
10030
10031
|
}) : []
|
|
10031
10032
|
};
|
|
10032
10033
|
};
|
|
10033
10034
|
var formatTreeDataSource = function formatTreeDataSource(reData, position, changePosition, changeSearchForm) {
|
|
10034
10035
|
var _reData$position2;
|
|
10035
10036
|
var resKeyValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : ['id', 'name'];
|
|
10037
|
+
var childrenKey = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 'children';
|
|
10038
|
+
var nodeDisabledJudge = arguments.length > 6 ? arguments[6] : undefined;
|
|
10036
10039
|
var data = reData && ((_reData$position2 = reData[position]) === null || _reData$position2 === void 0 ? void 0 : _reData$position2.data);
|
|
10037
10040
|
var disabledJudge;
|
|
10038
10041
|
if (data && _typeof(data) === 'object' && !Array.isArray(data) && Object.keys(data).length > 0) {
|
|
10039
10042
|
data = [data];
|
|
10040
10043
|
disabledJudge = false;
|
|
10041
10044
|
}
|
|
10045
|
+
if (nodeDisabledJudge) {
|
|
10046
|
+
disabledJudge = nodeDisabledJudge;
|
|
10047
|
+
}
|
|
10042
10048
|
var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
|
|
10043
|
-
return _mapSearchTree(ites, resKeyValue, disabledJudge);
|
|
10049
|
+
return _mapSearchTree(ites, resKeyValue, disabledJudge, childrenKey);
|
|
10044
10050
|
}) || [];
|
|
10045
10051
|
changeSearchForm[changePosition].field.props.treeData = formatData;
|
|
10046
10052
|
};
|
|
@@ -11877,7 +11883,8 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11877
11883
|
mappingTextField: 'name',
|
|
11878
11884
|
mappingValueField: 'code',
|
|
11879
11885
|
otherParams: _objectSpread2({
|
|
11880
|
-
sorter: 'desc-id'
|
|
11886
|
+
sorter: 'desc-id',
|
|
11887
|
+
'qp-status-in': 10
|
|
11881
11888
|
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
11882
11889
|
sourceName: 'code'
|
|
11883
11890
|
}, requestConfigProp);
|
|
@@ -11894,12 +11901,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11894
11901
|
type: 'select',
|
|
11895
11902
|
label: '商店类型',
|
|
11896
11903
|
initialSource: shopFile2Type
|
|
11897
|
-
},
|
|
11898
|
-
|
|
11899
|
-
|
|
11900
|
-
label: '商店状态',
|
|
11901
|
-
initialSource: shopFile2Status
|
|
11902
|
-
}, {
|
|
11904
|
+
},
|
|
11905
|
+
// { name: 'qp-status-in', type: 'select', label: '商店状态', initialSource: shopFile2Status },
|
|
11906
|
+
{
|
|
11903
11907
|
name: 'qp-orgCode-in',
|
|
11904
11908
|
type: 'select',
|
|
11905
11909
|
label: '所属销售组织',
|
|
@@ -11918,6 +11922,70 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11918
11922
|
}
|
|
11919
11923
|
}
|
|
11920
11924
|
}
|
|
11925
|
+
}, {
|
|
11926
|
+
name: 'qp-channelCode-in',
|
|
11927
|
+
type: 'treeSelect',
|
|
11928
|
+
label: '所属销售渠道',
|
|
11929
|
+
field: {
|
|
11930
|
+
type: 'treeSelect',
|
|
11931
|
+
props: {
|
|
11932
|
+
multiple: true,
|
|
11933
|
+
treeData: [],
|
|
11934
|
+
treeCheckable: false,
|
|
11935
|
+
notFoundContent: '暂无数据',
|
|
11936
|
+
allowClear: true,
|
|
11937
|
+
showSearch: true,
|
|
11938
|
+
showArrow: true,
|
|
11939
|
+
maxTagCount: 1,
|
|
11940
|
+
optionFilterProp: 'children',
|
|
11941
|
+
filterOption: function filterOption(input, option) {
|
|
11942
|
+
return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
11943
|
+
},
|
|
11944
|
+
showCheckedStrategy: 'TreeSelect.SHOW_ALL'
|
|
11945
|
+
}
|
|
11946
|
+
}
|
|
11947
|
+
}, {
|
|
11948
|
+
name: 'qp-commonRelationAreaCode-in',
|
|
11949
|
+
type: 'treeSelect',
|
|
11950
|
+
label: '营销区域',
|
|
11951
|
+
field: {
|
|
11952
|
+
type: 'treeSelect',
|
|
11953
|
+
props: {
|
|
11954
|
+
multiple: true,
|
|
11955
|
+
treeData: [],
|
|
11956
|
+
treeCheckable: false,
|
|
11957
|
+
notFoundContent: '暂无数据',
|
|
11958
|
+
allowClear: true,
|
|
11959
|
+
showSearch: true,
|
|
11960
|
+
showArrow: true,
|
|
11961
|
+
maxTagCount: 1,
|
|
11962
|
+
optionFilterProp: 'children',
|
|
11963
|
+
filterOption: function filterOption(input, option) {
|
|
11964
|
+
return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
11965
|
+
},
|
|
11966
|
+
showCheckedStrategy: 'TreeSelect.SHOW_ALL'
|
|
11967
|
+
}
|
|
11968
|
+
}
|
|
11969
|
+
}, {
|
|
11970
|
+
name: 'qp-businessType-in',
|
|
11971
|
+
type: 'select',
|
|
11972
|
+
label: '店铺性质',
|
|
11973
|
+
field: {
|
|
11974
|
+
type: 'select',
|
|
11975
|
+
props: {
|
|
11976
|
+
mode: 'multiple',
|
|
11977
|
+
notFoundContent: '暂无数据',
|
|
11978
|
+
allowClear: true,
|
|
11979
|
+
showSearch: true,
|
|
11980
|
+
showArrow: true,
|
|
11981
|
+
maxTagCount: 1,
|
|
11982
|
+
optionFilterProp: 'children',
|
|
11983
|
+
filterOption: function filterOption(input, option) {
|
|
11984
|
+
return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
11985
|
+
}
|
|
11986
|
+
}
|
|
11987
|
+
},
|
|
11988
|
+
initialSource: getDictionarySource$1('BUSINESS_StoreType')
|
|
11921
11989
|
}];
|
|
11922
11990
|
var _queryHeaderParams11 = getQueryHeadersList({
|
|
11923
11991
|
querySelectHeadersList: querySelectHeadersList,
|
|
@@ -11927,8 +11995,22 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11927
11995
|
'qp-employeeCode-eq': getEmployeeCode(),
|
|
11928
11996
|
'qp-realOrg-eq': true,
|
|
11929
11997
|
'qp-status-eq': 10
|
|
11998
|
+
}, getQueryHeadersItem(_queryHeaderParams11, 'qp-orgCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/channelInfo/tree"), {
|
|
11999
|
+
'qp-status-eq': 10,
|
|
12000
|
+
'qp-isMain-eq': 1,
|
|
12001
|
+
'qp-type-in': '1,2'
|
|
12002
|
+
}, getQueryHeadersItem(_queryHeaderParams11, 'qp-orgCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/tagNode/getTree/10"), {
|
|
12003
|
+
'qp-status-eq': 1
|
|
11930
12004
|
}, getQueryHeadersItem(_queryHeaderParams11, 'qp-orgCode-in'))]).then(function (x) {
|
|
11931
|
-
|
|
12005
|
+
var channelDisabledJude = function channelDisabledJude(data) {
|
|
12006
|
+
return data['parentCode'] === '0';
|
|
12007
|
+
}; // 所属销售渠道 树节点不能点判断
|
|
12008
|
+
var areaDisabledJude = function areaDisabledJude(data) {
|
|
12009
|
+
return data['parent'] === '0';
|
|
12010
|
+
}; // 所属营销区域 树节点不能点判断
|
|
12011
|
+
formatSource(x, 0, 3, tableSearchForm);
|
|
12012
|
+
formatTreeDataSource(x, 1, 4, tableSearchForm, ['id', 'name'], 'channelInfoSon', channelDisabledJude);
|
|
12013
|
+
formatTreeDataSource(x, 2, 5, tableSearchForm, ['code', 'name'], 'children', areaDisabledJude);
|
|
11932
12014
|
});
|
|
11933
12015
|
modalTableProps = _objectSpread2({
|
|
11934
12016
|
modalTableTitle: '选择商店',
|
|
@@ -11936,19 +12018,23 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11936
12018
|
tableColumns: [{
|
|
11937
12019
|
title: '序号',
|
|
11938
12020
|
dataIndex: 'keyIndex',
|
|
11939
|
-
defaultSort: 0
|
|
12021
|
+
defaultSort: 0,
|
|
12022
|
+
width: 60
|
|
11940
12023
|
}, {
|
|
11941
12024
|
title: '商店编码',
|
|
11942
12025
|
dataIndex: 'code',
|
|
11943
|
-
defaultSort: 1
|
|
12026
|
+
defaultSort: 1,
|
|
12027
|
+
width: 100
|
|
11944
12028
|
}, {
|
|
11945
12029
|
title: '商店名称',
|
|
11946
12030
|
dataIndex: 'name',
|
|
11947
|
-
defaultSort: 2
|
|
12031
|
+
defaultSort: 2,
|
|
12032
|
+
width: 120
|
|
11948
12033
|
}, {
|
|
11949
12034
|
title: '商店类型',
|
|
11950
12035
|
dataIndex: 'type',
|
|
11951
12036
|
defaultSort: 3,
|
|
12037
|
+
width: 100,
|
|
11952
12038
|
render: function render(text) {
|
|
11953
12039
|
var _shopFile2Type$find;
|
|
11954
12040
|
return (_shopFile2Type$find = shopFile2Type.find(function (i) {
|
|
@@ -11958,6 +12044,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11958
12044
|
}, {
|
|
11959
12045
|
title: '启用状态',
|
|
11960
12046
|
dataIndex: 'status',
|
|
12047
|
+
width: 80,
|
|
11961
12048
|
render: function render(text) {
|
|
11962
12049
|
var _shopFile2Status$find;
|
|
11963
12050
|
return (_shopFile2Status$find = shopFile2Status.find(function (i) {
|
|
@@ -11967,8 +12054,28 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11967
12054
|
}, {
|
|
11968
12055
|
title: '所属销售组织',
|
|
11969
12056
|
dataIndex: 'orgName',
|
|
11970
|
-
defaultSort: 4
|
|
11971
|
-
|
|
12057
|
+
defaultSort: 4,
|
|
12058
|
+
width: 95
|
|
12059
|
+
}, {
|
|
12060
|
+
title: '所属销售渠道',
|
|
12061
|
+
dataIndex: 'channelName',
|
|
12062
|
+
defaultSort: 5,
|
|
12063
|
+
width: 100
|
|
12064
|
+
}, {
|
|
12065
|
+
title: '营销区域',
|
|
12066
|
+
dataIndex: 'commonRelationAreaName',
|
|
12067
|
+
defaultSort: 6,
|
|
12068
|
+
width: 100
|
|
12069
|
+
}, {
|
|
12070
|
+
title: '店铺性质',
|
|
12071
|
+
dataIndex: 'businessType',
|
|
12072
|
+
defaultSort: 7,
|
|
12073
|
+
render: function render(text) {
|
|
12074
|
+
return getDictionaryTextByValue$1('BUSINESS_StoreType', text);
|
|
12075
|
+
},
|
|
12076
|
+
width: 80
|
|
12077
|
+
}],
|
|
12078
|
+
noEmptySearchField: true
|
|
11972
12079
|
}, modalTableBusProps);
|
|
11973
12080
|
}
|
|
11974
12081
|
// 核算主体选择器(无弹窗)
|
package/package.json
CHANGED
|
@@ -6,6 +6,7 @@ import { handleTextOverflow, tableColumnsImage, handleTooltip } from '@/componen
|
|
|
6
6
|
import { getSkuImg } from '@/utils/TableUtils';
|
|
7
7
|
import { getEmployeeCode, getCurrentTargetBgId } from '@/utils/LocalstorageUtils';
|
|
8
8
|
import { Image } from 'antd';
|
|
9
|
+
import { isBoolean } from 'lodash';
|
|
9
10
|
|
|
10
11
|
const hasDictSharingType = getDictionarySource('UC000013')?.length;
|
|
11
12
|
const sharingTypeDataList = hasDictSharingType && getDictionarySource('UC000013') || sharingType
|
|
@@ -42,29 +43,40 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
// 格式化树选择器数据源
|
|
45
|
-
const mapSearchTree = (treeDataItem: any, resKeyValue: any, disabledJudge?: any) => {
|
|
46
|
-
const haveChildren = Array.isArray(treeDataItem
|
|
46
|
+
const mapSearchTree = (treeDataItem: any, resKeyValue: any, disabledJudge?: any, childrenKey?: any) => {
|
|
47
|
+
const haveChildren = Array.isArray(treeDataItem[childrenKey]) && treeDataItem[childrenKey].length > 0;
|
|
47
48
|
return {
|
|
48
49
|
title: treeDataItem[resKeyValue[1]],
|
|
49
50
|
value: treeDataItem[resKeyValue[0]],
|
|
50
51
|
parentId: treeDataItem.parent,
|
|
51
52
|
data: { ...treeDataItem },
|
|
52
53
|
isLeaf: !haveChildren,
|
|
53
|
-
disabled: disabledJudge!==undefined? disabledJudge : haveChildren,
|
|
54
|
-
children: haveChildren ? treeDataItem.
|
|
54
|
+
disabled: disabledJudge !== undefined ? isBoolean(disabledJudge) ? disabledJudge : disabledJudge(treeDataItem) : haveChildren,
|
|
55
|
+
children: haveChildren ? treeDataItem[childrenKey].map((i: any) => mapSearchTree(i, resKeyValue, disabledJudge, childrenKey)) : [],
|
|
55
56
|
};
|
|
56
57
|
};
|
|
57
|
-
const formatTreeDataSource = (
|
|
58
|
+
const formatTreeDataSource = (
|
|
59
|
+
reData: any,
|
|
60
|
+
position: number,
|
|
61
|
+
changePosition: number,
|
|
62
|
+
changeSearchForm: any,
|
|
63
|
+
resKeyValue=['id', 'name'],
|
|
64
|
+
childrenKey = 'children',
|
|
65
|
+
nodeDisabledJudge?: (data: any) => boolean, // 树节点能不能选 函数判断
|
|
66
|
+
) => {
|
|
58
67
|
let data = reData && reData[position]?.data;
|
|
59
68
|
let disabledJudge;
|
|
60
69
|
if(data && typeof data === 'object' && !Array.isArray(data) && Object.keys(data).length > 0) {
|
|
61
70
|
data = [data];
|
|
62
71
|
disabledJudge=false
|
|
63
72
|
}
|
|
73
|
+
if(nodeDisabledJudge) {
|
|
74
|
+
disabledJudge = nodeDisabledJudge;
|
|
75
|
+
}
|
|
64
76
|
const formatData = (data &&
|
|
65
77
|
Array.isArray(data) &&
|
|
66
78
|
data.length &&
|
|
67
|
-
data.map((ites: any) => mapSearchTree(ites, resKeyValue, disabledJudge))) ||
|
|
79
|
+
data.map((ites: any) => mapSearchTree(ites, resKeyValue, disabledJudge, childrenKey))) ||
|
|
68
80
|
[]
|
|
69
81
|
changeSearchForm[changePosition].field.props.treeData = formatData;
|
|
70
82
|
}
|
|
@@ -1836,6 +1848,7 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
1836
1848
|
mappingValueField: 'code',
|
|
1837
1849
|
otherParams: {
|
|
1838
1850
|
sorter: 'desc-id',
|
|
1851
|
+
'qp-status-in': 10,
|
|
1839
1852
|
...(requestConfigProp?.addOtherParams || {}),
|
|
1840
1853
|
}, // 默认参数
|
|
1841
1854
|
sourceName: 'code',
|
|
@@ -1845,7 +1858,7 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
1845
1858
|
{ name: 'name*multiInput', label: '商店名称', type: 'multipleQueryInput' },
|
|
1846
1859
|
{ name: 'code*multiInput', label: '商店编码', type: 'multipleQueryInput' },
|
|
1847
1860
|
{ name: 'qp-type-in', type: 'select', label: '商店类型', initialSource: shopFile2Type },
|
|
1848
|
-
{ name: 'qp-status-in', type: 'select', label: '商店状态', initialSource: shopFile2Status },
|
|
1861
|
+
// { name: 'qp-status-in', type: 'select', label: '商店状态', initialSource: shopFile2Status },
|
|
1849
1862
|
{ name: 'qp-orgCode-in', type: 'select', label: '所属销售组织', field: {
|
|
1850
1863
|
type: 'select',
|
|
1851
1864
|
props: {
|
|
@@ -1860,6 +1873,57 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
1860
1873
|
option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0,
|
|
1861
1874
|
},
|
|
1862
1875
|
} },
|
|
1876
|
+
{ name: 'qp-channelCode-in', type: 'treeSelect', label: '所属销售渠道', field: {
|
|
1877
|
+
type: 'treeSelect',
|
|
1878
|
+
props: {
|
|
1879
|
+
multiple: true,
|
|
1880
|
+
treeData: [],
|
|
1881
|
+
treeCheckable: false,
|
|
1882
|
+
notFoundContent: '暂无数据',
|
|
1883
|
+
allowClear: true,
|
|
1884
|
+
showSearch: true,
|
|
1885
|
+
showArrow: true,
|
|
1886
|
+
maxTagCount: 1,
|
|
1887
|
+
optionFilterProp: 'children',
|
|
1888
|
+
filterOption: (input: string, option: { props: { children: string } }) =>
|
|
1889
|
+
option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0,
|
|
1890
|
+
showCheckedStrategy: 'TreeSelect.SHOW_ALL',
|
|
1891
|
+
},
|
|
1892
|
+
} },
|
|
1893
|
+
{ name: 'qp-commonRelationAreaCode-in', type: 'treeSelect', label: '营销区域', field: {
|
|
1894
|
+
type: 'treeSelect',
|
|
1895
|
+
props: {
|
|
1896
|
+
multiple: true,
|
|
1897
|
+
treeData: [],
|
|
1898
|
+
treeCheckable: false,
|
|
1899
|
+
notFoundContent: '暂无数据',
|
|
1900
|
+
allowClear: true,
|
|
1901
|
+
showSearch: true,
|
|
1902
|
+
showArrow: true,
|
|
1903
|
+
maxTagCount: 1,
|
|
1904
|
+
optionFilterProp: 'children',
|
|
1905
|
+
filterOption: (input: string, option: { props: { children: string } }) =>
|
|
1906
|
+
option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0,
|
|
1907
|
+
|
|
1908
|
+
showCheckedStrategy: 'TreeSelect.SHOW_ALL',
|
|
1909
|
+
},
|
|
1910
|
+
} },
|
|
1911
|
+
{ name: 'qp-businessType-in', type: 'select', label: '店铺性质', field: {
|
|
1912
|
+
type: 'select',
|
|
1913
|
+
props: {
|
|
1914
|
+
mode: 'multiple',
|
|
1915
|
+
notFoundContent: '暂无数据',
|
|
1916
|
+
allowClear: true,
|
|
1917
|
+
showSearch: true,
|
|
1918
|
+
showArrow: true,
|
|
1919
|
+
maxTagCount: 1,
|
|
1920
|
+
optionFilterProp: 'children',
|
|
1921
|
+
filterOption: (input: string, option: { props: { children: string } }) =>
|
|
1922
|
+
option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0,
|
|
1923
|
+
},
|
|
1924
|
+
} ,
|
|
1925
|
+
initialSource: getDictionarySource('BUSINESS_StoreType')
|
|
1926
|
+
},
|
|
1863
1927
|
]
|
|
1864
1928
|
const queryHeaderParams = getQueryHeadersList({ querySelectHeadersList, extralHeaders});
|
|
1865
1929
|
Promise.all([
|
|
@@ -1868,8 +1932,20 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
1868
1932
|
'qp-realOrg-eq': true,
|
|
1869
1933
|
'qp-status-eq': 10
|
|
1870
1934
|
},getQueryHeadersItem(queryHeaderParams,'qp-orgCode-in')),
|
|
1935
|
+
loadSelectSource(`${prefixUrl.formSelectFix}/channelInfo/tree`, {
|
|
1936
|
+
'qp-status-eq': 10,
|
|
1937
|
+
'qp-isMain-eq': 1,
|
|
1938
|
+
'qp-type-in': '1,2',
|
|
1939
|
+
},getQueryHeadersItem(queryHeaderParams,'qp-orgCode-in')),
|
|
1940
|
+
loadSelectSource(`${prefixUrl.formSelectFix}/tagNode/getTree/10`, {
|
|
1941
|
+
'qp-status-eq': 1,
|
|
1942
|
+
},getQueryHeadersItem(queryHeaderParams,'qp-orgCode-in')),
|
|
1871
1943
|
]).then((x: any)=>{
|
|
1872
|
-
|
|
1944
|
+
const channelDisabledJude = (data: any) => data['parentCode'] === '0'; // 所属销售渠道 树节点不能点判断
|
|
1945
|
+
const areaDisabledJude = (data: any) => data['parent'] === '0'; // 所属营销区域 树节点不能点判断
|
|
1946
|
+
formatSource(x,0, 3, tableSearchForm);
|
|
1947
|
+
formatTreeDataSource(x, 1, 4, tableSearchForm, ['id','name'], 'channelInfoSon', channelDisabledJude)
|
|
1948
|
+
formatTreeDataSource(x, 2, 5, tableSearchForm, ['code', 'name'], 'children', areaDisabledJude)
|
|
1873
1949
|
})
|
|
1874
1950
|
modalTableProps = {
|
|
1875
1951
|
modalTableTitle: '选择商店',
|
|
@@ -1879,34 +1955,60 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
1879
1955
|
title: '序号',
|
|
1880
1956
|
dataIndex: 'keyIndex',
|
|
1881
1957
|
defaultSort: 0,
|
|
1958
|
+
width: 60,
|
|
1882
1959
|
},
|
|
1883
1960
|
{
|
|
1884
1961
|
title: '商店编码',
|
|
1885
1962
|
dataIndex: 'code',
|
|
1886
1963
|
defaultSort: 1,
|
|
1964
|
+
width: 100,
|
|
1887
1965
|
},
|
|
1888
1966
|
{
|
|
1889
1967
|
title: '商店名称',
|
|
1890
1968
|
dataIndex: 'name',
|
|
1891
1969
|
defaultSort: 2,
|
|
1970
|
+
width: 120,
|
|
1892
1971
|
},
|
|
1893
1972
|
{
|
|
1894
1973
|
title: '商店类型',
|
|
1895
1974
|
dataIndex: 'type',
|
|
1896
1975
|
defaultSort: 3,
|
|
1976
|
+
width: 100,
|
|
1897
1977
|
render: (text: number) => shopFile2Type.find((i: any) => i.value === text)?.text,
|
|
1898
1978
|
},
|
|
1899
1979
|
{
|
|
1900
1980
|
title: '启用状态',
|
|
1901
1981
|
dataIndex: 'status',
|
|
1982
|
+
width: 80,
|
|
1902
1983
|
render: (text: number) => shopFile2Status.find((i: any) => i.value === text)?.text,
|
|
1903
1984
|
},
|
|
1904
1985
|
{
|
|
1905
1986
|
title: '所属销售组织',
|
|
1906
1987
|
dataIndex: 'orgName',
|
|
1907
1988
|
defaultSort: 4,
|
|
1989
|
+
width: 95,
|
|
1990
|
+
},
|
|
1991
|
+
{
|
|
1992
|
+
title: '所属销售渠道',
|
|
1993
|
+
dataIndex: 'channelName',
|
|
1994
|
+
defaultSort: 5,
|
|
1995
|
+
width: 100,
|
|
1996
|
+
},
|
|
1997
|
+
{
|
|
1998
|
+
title: '营销区域',
|
|
1999
|
+
dataIndex: 'commonRelationAreaName',
|
|
2000
|
+
defaultSort: 6,
|
|
2001
|
+
width: 100,
|
|
2002
|
+
},
|
|
2003
|
+
{
|
|
2004
|
+
title: '店铺性质',
|
|
2005
|
+
dataIndex: 'businessType',
|
|
2006
|
+
defaultSort: 7,
|
|
2007
|
+
render: (text: any) => getDictionaryTextByValue('BUSINESS_StoreType', text),
|
|
2008
|
+
width: 80,
|
|
1908
2009
|
},
|
|
1909
2010
|
],
|
|
2011
|
+
noEmptySearchField: true,
|
|
1910
2012
|
...modalTableBusProps
|
|
1911
2013
|
}
|
|
1912
2014
|
}
|
|
@@ -83,7 +83,7 @@ const SearchSelect = forwardRef((props: any, ref: any) => {
|
|
|
83
83
|
const isFormPage = pathname.match(pattern)?.length > 0;
|
|
84
84
|
|
|
85
85
|
const initPagination = { showQuickJumper: true, showSizeChanger: true, showTotal: (total: any) => `共 ${total} 条`, pageSize: tableInitPageSize }
|
|
86
|
-
const tableInitPagination = { ...initPagination, total: 0, current: 1 }
|
|
86
|
+
const tableInitPagination = { ...initPagination, total: 0, current: 1, pageSizeOptions: [10, 20, 50, 100, 500, 1000] }
|
|
87
87
|
const disabled = !!noOperate || selectProps?.disabled || props?.disabled;
|
|
88
88
|
const isHaveDependency = fixedparameter && fieldValToParam && ctx;
|
|
89
89
|
const isHaveDValue = () => {
|