{
"form": {
"tabs": [
{
"tabId": 1,
"attrs": {
"label": "基本信息"
},
"rows": []
},
{
"tabId": 2,
"attrs": {
"label": "职员信息"
},
"rows": []
},
{
"tabId": 3,
"attrs": {
"label": "审核状态"
},
"rows": []
},
{
"tabId": 4,
"attrs": {
"label": "内容概述"
},
"rows": []
}
],
"rows": [
{
"rowId": 1,
"attrs": {
"label": "基本信息"
},
"meta": {
"tabId": 1
},
"columns": []
},
{
"rowId": 2,
"attrs": {
"label": "职员信息"
},
"meta": {
"tabId": 2
},
"columns": []
},
{
"rowId": 3,
"attrs": {
"label": "审核状态"
},
"meta": {
"tabId": 3
},
"columns": []
},
{
"rowId": 4,
"attrs": {
"label": "内容概述"
},
"meta": {
"tabId": 4
},
"columns": []
}
],
"columns": {
//#region 1对多配置
"supplierUser": {
"alias": "supplier_user",
"field": "supplierUser",
"events": {
"type": "add",
"click": "on-click"
},
"attrs": {
//展示方式 switch/column/collapse
"show-view-method": "collapse",
//隐藏的子表列, 逗号分割 funcId,menuId,mfId,funcCode
//"hide-columns": "supplierId,userShowName",
"hidden-fields": "supplierId,userShowName",
"data-type": "array",
//开启 多对多 单行 状态修改
"child-columns": true,
"maxSize": 500,
"label": "职员信息",
//"hideTitle": "hide"
// #region 处理标题隐藏
"hidden-title": true,
"label-width": "0px"
// #endregion 处理标题隐藏
},
"meta": {
// 来至值类型
"fromTitleModel": "kv",
//"fromValue": true,
"titleField": "userId",
//"titleField": "userShowName",
"sortField": null,
"resMkey": "mall-supplier-user",
"resField": "manager",
"prop": "supplierUser",
"rowId": 2,
"tabId": 2,
"type": "basis",
"span": 24,
"auth": true,
"component": "bo-form-child",
//"component": "bo-form-child-mult",
"primaryId": [
{
"field": "suId",
"alias": "su_id"
}
]
}
},
//#endregion 1对多配置
}
}
}
文档更新时间: 2022-01-26 11:01 作者:admin