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>
102 lines
2.5 KiB
JSON
102 lines
2.5 KiB
JSON
{
|
|
"type" : "page",
|
|
"title" : "进项税发票明细",
|
|
"body" : {
|
|
"type" : "crud",
|
|
"api" : "/api/flow/VIEW_PM_INPUTTAXINVOICE_DETAILS_SEARCH",
|
|
"syncLocation" : false,
|
|
"selectable" : true,
|
|
"checkOnItemClick" : true,
|
|
"filter" : {
|
|
"title" : "查询",
|
|
"body" : [ {
|
|
"name" : "INVOICECODE",
|
|
"label" : "发票代码",
|
|
"type" : "input-text"
|
|
}, {
|
|
"name" : "INVOICENO",
|
|
"label" : "发票号码",
|
|
"type" : "input-text"
|
|
}, {
|
|
"name" : "INVOICEDATE",
|
|
"label" : "开票日期",
|
|
"type" : "input-date-range"
|
|
}, {
|
|
"name" : "SALESPARTY",
|
|
"label" : "供货单位名称",
|
|
"type" : "input-text"
|
|
}, {
|
|
"name" : "GOODSORTAXABLESERVICES",
|
|
"label" : "货物或应税劳务、服务名称",
|
|
"type" : "input-text"
|
|
}, {
|
|
"name" : "SPECIFICATIONTYPE",
|
|
"label" : "规格型号",
|
|
"type" : "input-text"
|
|
} ]
|
|
},
|
|
"columns" : [ {
|
|
"name" : "VIEW_PM_INPUTTAXINVOICE_DETAILS_ID",
|
|
"label" : "主键",
|
|
"width" : 200,
|
|
"toggled" : false
|
|
}, {
|
|
"name" : "INVOICECODE",
|
|
"label" : "发票代码",
|
|
"width" : 80
|
|
}, {
|
|
"name" : "INVOICENO",
|
|
"label" : "发票号码",
|
|
"width" : 80
|
|
}, {
|
|
"name" : "INVOICEDATE",
|
|
"label" : "开票日期",
|
|
"width" : 100,
|
|
"type" : "date",
|
|
"format" : "YYYY-MM-DD",
|
|
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
|
|
}, {
|
|
"name" : "SALESPARTY",
|
|
"label" : "供货单位名称",
|
|
"width" : 180
|
|
}, {
|
|
"name" : "GOODSORTAXABLESERVICES",
|
|
"label" : "货物或应税劳务、服务名称",
|
|
"width" : 220
|
|
}, {
|
|
"name" : "SPECIFICATIONTYPE",
|
|
"label" : "规格型号",
|
|
"width" : 100
|
|
}, {
|
|
"name" : "UNITNAME",
|
|
"label" : "单位",
|
|
"width" : 70
|
|
}, {
|
|
"name" : "NUMBER",
|
|
"label" : "数量",
|
|
"width" : 80
|
|
}, {
|
|
"name" : "UNITPRICE",
|
|
"label" : "单价(元)",
|
|
"width" : 80
|
|
}, {
|
|
"name" : "AMOUNT",
|
|
"label" : "金额(元)",
|
|
"width" : 150
|
|
}, {
|
|
"name" : "TAXRATE",
|
|
"label" : "税率(%)",
|
|
"width" : 70
|
|
}, {
|
|
"name" : "TAXAMOUNT",
|
|
"label" : "税额(元)",
|
|
"width" : 150
|
|
}, {
|
|
"name" : "TOTALMONEY",
|
|
"label" : "价税合计(元)",
|
|
"width" : 150
|
|
} ],
|
|
"headerToolbar" : [ "pagination" ],
|
|
"primaryField" : "VIEW_PM_INPUTTAXINVOICE_DETAILS_ID"
|
|
}
|
|
} |