contract_management/json/contract.json
2026-04-15 15:03:57 +08:00

42 lines
1.1 KiB
JSON

{
"tblname": "contract",
"title": "合同管理",
"params": {
"sortby": "created_at",
"sortorder": "desc",
"browserfields": {
"exclouded": ["id", "org_id", "ai_compliance_result", "ai_key_dates", "updated_at"],
"cwidth": {
"contract_number": 150,
"title": 200,
"party_b": 150,
"amount": 120,
"start_date": 120,
"end_date": 120,
"status": 100
}
},
"editexclouded": ["id", "org_id", "created_at", "updated_at", "ai_compliance_result", "ai_key_dates"],
"subtables": [
{
"field": "id",
"title": "合同附件",
"subtable": "contract_attachment"
}
],
"alters": {
"contract_type": {
"codetable": "appcodes",
"codevalue": "CONTRACT_TYPE"
},
"status": {
"options": [
{"value": "draft", "text": "草稿"},
{"value": "active", "text": "生效"},
{"value": "expired", "text": "过期"},
{"value": "terminated", "text": "终止"}
]
}
}
}
}