fix: bug#19132

This commit is contained in:
XieYongHong 2023-10-20 18:07:29 +08:00
parent 369b8484ac
commit a00232ce24
1 changed files with 9 additions and 1 deletions

View File

@ -208,10 +208,17 @@ const columns = [
}, },
{ {
dataIndex: 'id$dim-assets', dataIndex: 'id$dim-assets',
key: 'id$dim-assets',
title: '所属组织', title: '所属组织',
hideInTable: true, hideInTable: true,
search: { search: {
type: 'treeSelect', type: 'treeSelect',
componentProps: {
fieldNames: {
label: 'name',
value: 'value',
},
},
options: () => options: () =>
new Promise((resolve) => { new Promise((resolve) => {
getTreeData_api({ paging: false }).then((resp: any) => { getTreeData_api({ paging: false }).then((resp: any) => {
@ -256,6 +263,7 @@ const productQuery = (p: any) => {
} }
sorts.push({ name: 'createTime', order: 'desc' }); sorts.push({ name: 'createTime', order: 'desc' });
p.sorts = sorts; p.sorts = sorts;
console.log('productQuery',p)
return queryProductList(p); return queryProductList(p);
}; };
@ -289,4 +297,4 @@ onMounted(() => {
padding-right: 0px; padding-right: 0px;
padding-left: 0px; padding-left: 0px;
} }
</style> </style>