fix: bug#19132
This commit is contained in:
parent
7cae540c88
commit
f90ee686c1
|
@ -192,6 +192,12 @@ const columns = [
|
||||||
hideInTable: true,
|
hideInTable: true,
|
||||||
search: {
|
search: {
|
||||||
type: 'treeSelect',
|
type: 'treeSelect',
|
||||||
|
componentProps: {
|
||||||
|
fieldNames: {
|
||||||
|
label: 'name',
|
||||||
|
value: 'value',
|
||||||
|
},
|
||||||
|
},
|
||||||
options: () => new Promise((resolve) => {
|
options: () => new Promise((resolve) => {
|
||||||
getTreeData_api({ paging: false }).then((resp: any) => {
|
getTreeData_api({ paging: false }).then((resp: any) => {
|
||||||
const formatValue = (list: any[]) => {
|
const formatValue = (list: any[]) => {
|
||||||
|
@ -260,4 +266,4 @@ const handleClick = (detail: any) => {
|
||||||
padding-right: 0px;
|
padding-right: 0px;
|
||||||
padding-left: 0px;
|
padding-left: 0px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -263,7 +263,6 @@ 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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue