@bit-sun/business-component 4.2.0-alpha.6.17 → 4.2.0-alpha.6.18
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
|
@@ -35995,7 +35995,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
35995
35995
|
}
|
|
35996
35996
|
}
|
|
35997
35997
|
// 配送方式选择器
|
|
35998
|
-
if (dataChoiceBusinessType == 310) {
|
|
35998
|
+
if (dataChoiceBusinessType == 310 || dataChoiceBusinessType == 311) {
|
|
35999
35999
|
if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
|
|
36000
36000
|
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
36001
36001
|
selectBusinessType: "deliveryMode",
|
|
@@ -36009,9 +36009,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
36009
36009
|
disabled: disabled,
|
|
36010
36010
|
labelInValue: true,
|
|
36011
36011
|
value: values[0],
|
|
36012
|
-
requestConfig: {
|
|
36012
|
+
requestConfig: _objectSpread2(_objectSpread2({}, dataChoiceBusinessType === 311 ? {
|
|
36013
|
+
otherParams: {
|
|
36014
|
+
// 配送方式只选择标准配送方式
|
|
36015
|
+
'qp-recordChannnelCode-eq': 80
|
|
36016
|
+
}
|
|
36017
|
+
} : {}), {}, {
|
|
36013
36018
|
filterInit: 'qp-code-in'
|
|
36014
|
-
},
|
|
36019
|
+
}),
|
|
36015
36020
|
onChange: function onChange(value) {
|
|
36016
36021
|
if (dataInputBusinessType === 12) {
|
|
36017
36022
|
values[0] = value.map(function (i) {
|
|
@@ -36041,9 +36046,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
36041
36046
|
disabled: disabled,
|
|
36042
36047
|
labelInValue: true,
|
|
36043
36048
|
value: values[1],
|
|
36044
|
-
requestConfig: {
|
|
36049
|
+
requestConfig: _objectSpread2(_objectSpread2({}, dataChoiceBusinessType === 311 ? {
|
|
36050
|
+
otherParams: {
|
|
36051
|
+
// 配送方式只选择标准配送方式
|
|
36052
|
+
'qp-recordChannnelCode-eq': 80
|
|
36053
|
+
}
|
|
36054
|
+
} : {}), {}, {
|
|
36045
36055
|
filterInit: 'qp-code-in'
|
|
36046
|
-
},
|
|
36056
|
+
}),
|
|
36047
36057
|
onChange: function onChange(value) {
|
|
36048
36058
|
if (dataInputBusinessType === 12) {
|
|
36049
36059
|
values[1] = value.map(function (i) {
|
|
@@ -36087,9 +36097,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
36087
36097
|
disabled: disabled,
|
|
36088
36098
|
labelInValue: true,
|
|
36089
36099
|
value: _currentValue0,
|
|
36090
|
-
requestConfig: {
|
|
36100
|
+
requestConfig: _objectSpread2(_objectSpread2({}, dataChoiceBusinessType === 311 ? {
|
|
36101
|
+
otherParams: {
|
|
36102
|
+
// 配送方式只选择标准配送方式
|
|
36103
|
+
'qp-recordChannnelCode-eq': 80
|
|
36104
|
+
}
|
|
36105
|
+
} : {}), {}, {
|
|
36091
36106
|
filterInit: 'qp-code-in'
|
|
36092
|
-
},
|
|
36107
|
+
}),
|
|
36093
36108
|
onChange: function onChange(value) {
|
|
36094
36109
|
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
36095
36110
|
values = value.map(function (i) {
|
|
@@ -37789,7 +37804,7 @@ function RenderCompItem(props) {
|
|
|
37789
37804
|
getPopupContainer: function getPopupContainer() {
|
|
37790
37805
|
return document.body;
|
|
37791
37806
|
}
|
|
37792
|
-
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 310 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
37807
|
+
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && ((ites === null || ites === void 0 ? void 0 : ites.choiceType) === 310 || (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 311) && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
37793
37808
|
selectBusinessType: "deliveryMode",
|
|
37794
37809
|
selectProps: _objectSpread2({
|
|
37795
37810
|
style: styleCommon,
|
|
@@ -37801,9 +37816,14 @@ function RenderCompItem(props) {
|
|
|
37801
37816
|
disabled: disabled,
|
|
37802
37817
|
labelInValue: true,
|
|
37803
37818
|
value: showValue(ites.code),
|
|
37804
|
-
requestConfig: {
|
|
37819
|
+
requestConfig: _objectSpread2(_objectSpread2({}, (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 311 ? {
|
|
37820
|
+
otherParams: {
|
|
37821
|
+
// 配送方式只选择标准配送方式
|
|
37822
|
+
'qp-recordChannnelCode-eq': 80
|
|
37823
|
+
}
|
|
37824
|
+
} : {}), {}, {
|
|
37805
37825
|
filterInit: 'qp-code-in'
|
|
37806
|
-
},
|
|
37826
|
+
}),
|
|
37807
37827
|
onChange: function onChange(value) {
|
|
37808
37828
|
handleEdit(ites.code, value);
|
|
37809
37829
|
},
|
package/dist/index.js
CHANGED
|
@@ -36018,7 +36018,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
36018
36018
|
}
|
|
36019
36019
|
}
|
|
36020
36020
|
// 配送方式选择器
|
|
36021
|
-
if (dataChoiceBusinessType == 310) {
|
|
36021
|
+
if (dataChoiceBusinessType == 310 || dataChoiceBusinessType == 311) {
|
|
36022
36022
|
if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
|
|
36023
36023
|
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
36024
36024
|
selectBusinessType: "deliveryMode",
|
|
@@ -36032,9 +36032,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
36032
36032
|
disabled: disabled,
|
|
36033
36033
|
labelInValue: true,
|
|
36034
36034
|
value: values[0],
|
|
36035
|
-
requestConfig: {
|
|
36035
|
+
requestConfig: _objectSpread2(_objectSpread2({}, dataChoiceBusinessType === 311 ? {
|
|
36036
|
+
otherParams: {
|
|
36037
|
+
// 配送方式只选择标准配送方式
|
|
36038
|
+
'qp-recordChannnelCode-eq': 80
|
|
36039
|
+
}
|
|
36040
|
+
} : {}), {}, {
|
|
36036
36041
|
filterInit: 'qp-code-in'
|
|
36037
|
-
},
|
|
36042
|
+
}),
|
|
36038
36043
|
onChange: function onChange(value) {
|
|
36039
36044
|
if (dataInputBusinessType === 12) {
|
|
36040
36045
|
values[0] = value.map(function (i) {
|
|
@@ -36064,9 +36069,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
36064
36069
|
disabled: disabled,
|
|
36065
36070
|
labelInValue: true,
|
|
36066
36071
|
value: values[1],
|
|
36067
|
-
requestConfig: {
|
|
36072
|
+
requestConfig: _objectSpread2(_objectSpread2({}, dataChoiceBusinessType === 311 ? {
|
|
36073
|
+
otherParams: {
|
|
36074
|
+
// 配送方式只选择标准配送方式
|
|
36075
|
+
'qp-recordChannnelCode-eq': 80
|
|
36076
|
+
}
|
|
36077
|
+
} : {}), {}, {
|
|
36068
36078
|
filterInit: 'qp-code-in'
|
|
36069
|
-
},
|
|
36079
|
+
}),
|
|
36070
36080
|
onChange: function onChange(value) {
|
|
36071
36081
|
if (dataInputBusinessType === 12) {
|
|
36072
36082
|
values[1] = value.map(function (i) {
|
|
@@ -36110,9 +36120,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
36110
36120
|
disabled: disabled,
|
|
36111
36121
|
labelInValue: true,
|
|
36112
36122
|
value: _currentValue0,
|
|
36113
|
-
requestConfig: {
|
|
36123
|
+
requestConfig: _objectSpread2(_objectSpread2({}, dataChoiceBusinessType === 311 ? {
|
|
36124
|
+
otherParams: {
|
|
36125
|
+
// 配送方式只选择标准配送方式
|
|
36126
|
+
'qp-recordChannnelCode-eq': 80
|
|
36127
|
+
}
|
|
36128
|
+
} : {}), {}, {
|
|
36114
36129
|
filterInit: 'qp-code-in'
|
|
36115
|
-
},
|
|
36130
|
+
}),
|
|
36116
36131
|
onChange: function onChange(value) {
|
|
36117
36132
|
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
36118
36133
|
values = value.map(function (i) {
|
|
@@ -37812,7 +37827,7 @@ function RenderCompItem(props) {
|
|
|
37812
37827
|
getPopupContainer: function getPopupContainer() {
|
|
37813
37828
|
return document.body;
|
|
37814
37829
|
}
|
|
37815
|
-
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 310 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
37830
|
+
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && ((ites === null || ites === void 0 ? void 0 : ites.choiceType) === 310 || (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 311) && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
37816
37831
|
selectBusinessType: "deliveryMode",
|
|
37817
37832
|
selectProps: _objectSpread2({
|
|
37818
37833
|
style: styleCommon,
|
|
@@ -37824,9 +37839,14 @@ function RenderCompItem(props) {
|
|
|
37824
37839
|
disabled: disabled,
|
|
37825
37840
|
labelInValue: true,
|
|
37826
37841
|
value: showValue(ites.code),
|
|
37827
|
-
requestConfig: {
|
|
37842
|
+
requestConfig: _objectSpread2(_objectSpread2({}, (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 311 ? {
|
|
37843
|
+
otherParams: {
|
|
37844
|
+
// 配送方式只选择标准配送方式
|
|
37845
|
+
'qp-recordChannnelCode-eq': 80
|
|
37846
|
+
}
|
|
37847
|
+
} : {}), {}, {
|
|
37828
37848
|
filterInit: 'qp-code-in'
|
|
37829
|
-
},
|
|
37849
|
+
}),
|
|
37830
37850
|
onChange: function onChange(value) {
|
|
37831
37851
|
handleEdit(ites.code, value);
|
|
37832
37852
|
},
|
package/package.json
CHANGED
|
@@ -589,7 +589,7 @@ export default function RenderCompItem(props:any){
|
|
|
589
589
|
null}
|
|
590
590
|
{/* 单选/多选 配送方式选择器 */}
|
|
591
591
|
{((ites?.inputType === 20 || ites?.inputType === 30) &&
|
|
592
|
-
ites?.choiceType === 310 && (
|
|
592
|
+
(ites?.choiceType === 310 || ites?.choiceType === 311)&& (
|
|
593
593
|
<BusinessSearchSelect
|
|
594
594
|
selectBusinessType="deliveryMode"
|
|
595
595
|
selectProps={{
|
|
@@ -606,6 +606,14 @@ export default function RenderCompItem(props:any){
|
|
|
606
606
|
labelInValue={true}
|
|
607
607
|
value={showValue(ites.code)}
|
|
608
608
|
requestConfig={{
|
|
609
|
+
...(ites?.choiceType === 311
|
|
610
|
+
? {
|
|
611
|
+
otherParams: {
|
|
612
|
+
// 配送方式只选择标准配送方式
|
|
613
|
+
'qp-recordChannnelCode-eq': 80,
|
|
614
|
+
},
|
|
615
|
+
}
|
|
616
|
+
: {}),
|
|
609
617
|
filterInit: 'qp-code-in',
|
|
610
618
|
}}
|
|
611
619
|
onChange={(value) => {
|
|
@@ -1932,7 +1932,7 @@ export default class RuleField extends Component {
|
|
|
1932
1932
|
}
|
|
1933
1933
|
}
|
|
1934
1934
|
// 配送方式选择器
|
|
1935
|
-
if (dataChoiceBusinessType == 310) {
|
|
1935
|
+
if (dataChoiceBusinessType == 310 || dataChoiceBusinessType == 311) {
|
|
1936
1936
|
if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
|
|
1937
1937
|
return (
|
|
1938
1938
|
<>
|
|
@@ -1952,6 +1952,14 @@ export default class RuleField extends Component {
|
|
|
1952
1952
|
labelInValue={true}
|
|
1953
1953
|
value={values[0]}
|
|
1954
1954
|
requestConfig={{
|
|
1955
|
+
...(dataChoiceBusinessType === 311
|
|
1956
|
+
? {
|
|
1957
|
+
otherParams: {
|
|
1958
|
+
// 配送方式只选择标准配送方式
|
|
1959
|
+
'qp-recordChannnelCode-eq': 80,
|
|
1960
|
+
},
|
|
1961
|
+
}
|
|
1962
|
+
: {}),
|
|
1955
1963
|
filterInit: 'qp-code-in',
|
|
1956
1964
|
}}
|
|
1957
1965
|
onChange={(value) => {
|
|
@@ -1983,6 +1991,14 @@ export default class RuleField extends Component {
|
|
|
1983
1991
|
labelInValue={true}
|
|
1984
1992
|
value={values[1]}
|
|
1985
1993
|
requestConfig={{
|
|
1994
|
+
...(dataChoiceBusinessType === 311
|
|
1995
|
+
? {
|
|
1996
|
+
otherParams: {
|
|
1997
|
+
// 配送方式只选择标准配送方式
|
|
1998
|
+
'qp-recordChannnelCode-eq': 80,
|
|
1999
|
+
},
|
|
2000
|
+
}
|
|
2001
|
+
: {}),
|
|
1986
2002
|
filterInit: 'qp-code-in',
|
|
1987
2003
|
}}
|
|
1988
2004
|
onChange={(value) => {
|
|
@@ -2020,6 +2036,14 @@ export default class RuleField extends Component {
|
|
|
2020
2036
|
labelInValue={true}
|
|
2021
2037
|
value={currentValue}
|
|
2022
2038
|
requestConfig={{
|
|
2039
|
+
...(dataChoiceBusinessType === 311
|
|
2040
|
+
? {
|
|
2041
|
+
otherParams: {
|
|
2042
|
+
// 配送方式只选择标准配送方式
|
|
2043
|
+
'qp-recordChannnelCode-eq': 80,
|
|
2044
|
+
},
|
|
2045
|
+
}
|
|
2046
|
+
: {}),
|
|
2023
2047
|
filterInit: 'qp-code-in',
|
|
2024
2048
|
}}
|
|
2025
2049
|
onChange={(value) => {
|