修复总结后的问题,详见企业微信文档

This commit is contained in:
gyq
2026-05-07 14:34:03 +08:00
parent ffad9432c5
commit ea5a4c14e9
41 changed files with 2678 additions and 1120 deletions

View File

@@ -13,7 +13,8 @@ const contentConfig: IContentConfig<UserPageQuery> = {
rowKey: 'id',
treeProps: {
children: 'skuList' // 指定子节点存储的字段为 customChildren
}
},
selectOnIndeterminate: false,
},
pagination: {
background: true,
@@ -89,9 +90,12 @@ const contentConfig: IContentConfig<UserPageQuery> = {
}
],
cols: [
// { type: "selection", width: 50, align: "center" },
{
type: "selection", width: 50, align: "center", selectable: (row) => !row.barCode,
},
{ label: "封面图", align: "center", prop: "coverImg", templet: "image" },
{ label: "商品名称", align: "center", prop: "name", },
{ label: "分类", align: "center", prop: "categoryName", },
{ label: "售价", align: "center", prop: "lowPrice" },
{
label: "商品规格", align: "center", prop: "type", templet: "custom",
@@ -129,7 +133,7 @@ const contentConfig: IContentConfig<UserPageQuery> = {
slotName: "autoSellOut",
},
{
label: "退菜是否退库存",
label: "退菜退库存",
align: "center",
prop: "refundMode",
templet: "custom",