@bit-sun/business-component 4.0.13-alpha.25 → 4.0.13-alpha.27
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/package.json
CHANGED
|
@@ -552,10 +552,10 @@ export default (props: any) => {
|
|
|
552
552
|
x: props.overScrollX || 'max-content',
|
|
553
553
|
y: props?.overScrollY || height,
|
|
554
554
|
},
|
|
555
|
-
bordered: value.bordered
|
|
556
|
-
sticky: true,
|
|
557
|
-
rowClassName: (record: object | null | undefined, index: number) =>
|
|
558
|
-
index % 2 === 0 ? 'table_base' : 'table_odd',
|
|
555
|
+
bordered: typeof value.bordered == 'boolean' ? value.bordered : true,
|
|
556
|
+
sticky: typeof value.sticky == 'boolean' ? value.sticky : true,
|
|
557
|
+
rowClassName: props?.rowClassName || tableProps?.rowClassName || ((record: object | null | undefined, index: number) =>
|
|
558
|
+
index % 2 === 0 ? 'table_base' : 'table_odd'),
|
|
559
559
|
components: {
|
|
560
560
|
header: {
|
|
561
561
|
cell: ResizeableTitle,
|
|
@@ -368,12 +368,12 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
368
368
|
},
|
|
369
369
|
}
|
|
370
370
|
} },
|
|
371
|
-
{ name: 'qp-eancode-in', label: '商品条码', field: {
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
}},
|
|
371
|
+
// { name: 'qp-eancode-in', label: '商品条码', field: {
|
|
372
|
+
// type: 'multipleQueryInput',
|
|
373
|
+
// props: {
|
|
374
|
+
// ...(requestConfigProp?.itemEancodeValueRequestConfig || {}),
|
|
375
|
+
// },
|
|
376
|
+
// }},
|
|
377
377
|
{ name: 'qp-brandId-in', type: 'select', label: '品牌', field: {
|
|
378
378
|
type: 'select',
|
|
379
379
|
props: {
|
|
@@ -421,8 +421,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
421
421
|
currentPage: 1,
|
|
422
422
|
}),
|
|
423
423
|
]).then((x: any)=>{
|
|
424
|
-
formatSource(x,0,
|
|
425
|
-
formatTreeDataSource(x,1,
|
|
424
|
+
formatSource(x,0, 3, tableSearchForm,['id','name'])
|
|
425
|
+
formatTreeDataSource(x,1, 4, tableSearchForm)
|
|
426
426
|
})
|
|
427
427
|
modalTableProps = {
|
|
428
428
|
modalTableTitle: '选择SKU',
|