@bit-sun/business-component 4.2.0-alpha.25 → 4.2.0-alpha.26
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
|
@@ -4108,7 +4108,8 @@ var hasMoreQueryFields = function hasMoreQueryFields(modalTableProps) {
|
|
|
4108
4108
|
};
|
|
4109
4109
|
var getTableHeigth = function getTableHeigth(list) {
|
|
4110
4110
|
var totalRows = Math.ceil(((list === null || list === void 0 ? void 0 : list.length) + 1) / 4);
|
|
4111
|
-
if (totalRows == 1) return 358; // modal弹窗760 调整为700 适应小屏
|
|
4111
|
+
if (totalRows == 1) return 358; // modal弹窗760 调整为700 适应小屏
|
|
4112
|
+
if (totalRows == 3) return 403; // modal弹窗760 调整为700 适应小屏
|
|
4112
4113
|
return 411 - totalRows * 10;
|
|
4113
4114
|
};
|
|
4114
4115
|
// ------------------------------------------处理样式相关--结束----------------------------------------
|
|
@@ -10503,6 +10504,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10503
10504
|
}
|
|
10504
10505
|
}
|
|
10505
10506
|
}
|
|
10507
|
+
}, {
|
|
10508
|
+
name: 'qp-skcCode-like',
|
|
10509
|
+
label: 'SKC编码'
|
|
10506
10510
|
}];
|
|
10507
10511
|
var defaultQSHL = [{
|
|
10508
10512
|
isOpen: true,
|
package/dist/index.js
CHANGED
|
@@ -4131,7 +4131,8 @@ var hasMoreQueryFields = function hasMoreQueryFields(modalTableProps) {
|
|
|
4131
4131
|
};
|
|
4132
4132
|
var getTableHeigth = function getTableHeigth(list) {
|
|
4133
4133
|
var totalRows = Math.ceil(((list === null || list === void 0 ? void 0 : list.length) + 1) / 4);
|
|
4134
|
-
if (totalRows == 1) return 358; // modal弹窗760 调整为700 适应小屏
|
|
4134
|
+
if (totalRows == 1) return 358; // modal弹窗760 调整为700 适应小屏
|
|
4135
|
+
if (totalRows == 3) return 403; // modal弹窗760 调整为700 适应小屏
|
|
4135
4136
|
return 411 - totalRows * 10;
|
|
4136
4137
|
};
|
|
4137
4138
|
// ------------------------------------------处理样式相关--结束----------------------------------------
|
|
@@ -10526,6 +10527,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10526
10527
|
}
|
|
10527
10528
|
}
|
|
10528
10529
|
}
|
|
10530
|
+
}, {
|
|
10531
|
+
name: 'qp-skcCode-like',
|
|
10532
|
+
label: 'SKC编码'
|
|
10529
10533
|
}];
|
|
10530
10534
|
var defaultQSHL = [{
|
|
10531
10535
|
isOpen: true,
|
package/package.json
CHANGED
|
@@ -454,6 +454,7 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
454
454
|
option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0,
|
|
455
455
|
},
|
|
456
456
|
} },
|
|
457
|
+
{ name: 'qp-skcCode-like', label: 'SKC编码' },
|
|
457
458
|
]
|
|
458
459
|
const defaultQSHL = [
|
|
459
460
|
{
|
|
@@ -42,7 +42,8 @@ export const hasMoreQueryFields = (modalTableProps: any) => {
|
|
|
42
42
|
}
|
|
43
43
|
export const getTableHeigth = (list: any) => {
|
|
44
44
|
const totalRows = Math.ceil((list?.length+1) / 4);
|
|
45
|
-
if(totalRows == 1) return 358; // modal弹窗760 调整为700 适应小屏
|
|
45
|
+
if(totalRows == 1) return 358; // modal弹窗760 调整为700 适应小屏
|
|
46
|
+
if(totalRows == 3) return 403; // modal弹窗760 调整为700 适应小屏
|
|
46
47
|
return 411 - totalRows*10
|
|
47
48
|
}
|
|
48
49
|
|