Files
eip4-platform/转换产物-attach/schema/f0102416-bb74-42b4-aa3a-06512790c9d4.json
zhengwr 8fe377b0c8 feat(blueprint): master-detail-v1 编译器分支 + PageBlueprintChild
PageBlueprint 加 RECIPE_MASTER_DETAIL 常量与可空 child 组件(14-arg,
保留 13-arg 兼容构造);新增 PageBlueprintChild record。
PageBlueprintCompiler.masterDetail 复用 maintenance 列表骨架,
新增/编辑表单内联 house-style input-table 子表(name=listColumn,
quickEdit 控件),编辑表单 initApi 走 _LOAD 回显主+子行。
validate 接受 master-detail 并要求 child 非空/childTable/listColumn
非空/fields 非空。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-20 15:16:30 +08:00

149 lines
3.8 KiB
JSON

{
"type" : "page",
"title" : "集采报价历史",
"body" : {
"type" : "crud",
"api" : "/api/flow/PM_JICQUOTATIONHISTORY_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "SUPPLIERID",
"label" : "供应商",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/0b2c7a3f-4a8c-48b7-9f4d-239e36a29c72/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
}, {
"name" : "MATERIALNAME",
"label" : "材料名称",
"type" : "input-text"
}, {
"name" : "MATERIALSPEC",
"label" : "规格型号",
"type" : "input-text"
}, {
"name" : "BRAND",
"label" : "品牌",
"type" : "input-text"
}, {
"name" : "UNIT",
"label" : "单位",
"type" : "input-text"
}, {
"name" : "PROVINCE",
"label" : "省",
"type" : "input-text"
}, {
"name" : "CITY",
"label" : "市",
"type" : "input-text"
} ]
},
"columns" : [ {
"name" : "PM_JICQUOTATIONHISTORY_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "PM_JICQUOTATIONID_DISPLAY__",
"label" : "集采报价主表ID",
"width" : 200,
"toggled" : false
}, {
"name" : "SUPPLIERID_DISPLAY__",
"label" : "供应商",
"width" : 200,
"toggled" : false
}, {
"name" : "VERSIONNO",
"label" : "版本号",
"width" : 200
}, {
"name" : "MATERIALNAME",
"label" : "材料名称",
"width" : 200
}, {
"name" : "MATERIALSPEC",
"label" : "规格型号",
"width" : 200
}, {
"name" : "BRAND",
"label" : "品牌",
"width" : 200
}, {
"name" : "UNIT",
"label" : "单位",
"width" : 200
}, {
"name" : "EXCLUDETAXPRICE",
"label" : "除税价",
"width" : 200
}, {
"name" : "TAXPRICE",
"label" : "含税价",
"width" : 200
}, {
"name" : "TAXRATE",
"label" : "税率",
"width" : 200
}, {
"name" : "QUOTATIONDATE",
"label" : "报价时间",
"width" : 200,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "PRICECHANGE",
"label" : "价格变化",
"width" : 200
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "查看",
"label" : "查看",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "查看",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}",
"__readonly" : true
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/cf2713aa-018c-4fed-84ac-02dfaf39138c?format=amis",
"static" : true,
"api" : {
"method" : "post",
"url" : "/api/flow/PM_JICQUOTATIONHISTORY_LOAD?__egtpl=cf2713aa-018c-4fed-84ac-02dfaf39138c",
"data" : {
"PM_JICQUOTATIONHISTORY_ID" : "${PM_JICQUOTATIONHISTORY_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
}
}
}, "pagination" ],
"primaryField" : "PM_JICQUOTATIONHISTORY_ID"
}
}