{
"form": {
"tabs": [
{
"tabId": 6,
"attrs": {
"label": "文件信息"
},
"rows": []
}
],
"rows": [
{
"rowId": 6,
"attrs": {
"label": "文件信息"
},
"meta": {
"tabId": 6
},
"columns": []
}
],
"columns": {
//#region 1对多配置 文件信息
"files": {
"alias": "files",
"field": "files",
"events": {
"type": "add",
"click": "on-click"
},
"attrs": {
//展示方式 switch/column/collapse
"show-view-method": "collapse",
//隐藏的子表列, 逗号分割 funcId,menuId,mfId,funcCode
//"hide-columns": "supplierId,userShowName",
"hidden-fields": "suffix,objectId,objectType,sysId,size,id",
"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": "name",
//"titleField": "userShowName",
"sortField": null,
"resMkey": "mall-commodity-file",
"resField": "file",
"prop": "files",
"rowId": 6,
"tabId": 6,
"type": "basis",
"span": 24,
"auth": true,
"component": "bo-form-child",
//"component": "bo-form-child-mult",
"primaryId": [
{
"field": "id",
"alias": "id"
}
]
}
}
//#endregion 1对多配置
}
}
}
文档更新时间: 2022-02-04 16:02 作者:admin