53 lines
1.1 KiB
JSON
53 lines
1.1 KiB
JSON
{
|
|
"summary": [
|
|
{
|
|
"name": "subject",
|
|
"title": "科目表",
|
|
"primary": [
|
|
"id"
|
|
]
|
|
}
|
|
],
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"title": "id",
|
|
"type": "str",
|
|
"length": 32
|
|
},
|
|
{
|
|
"name": "name",
|
|
"title": "科目名称",
|
|
"type": "str",
|
|
"length": 255
|
|
},
|
|
{
|
|
"name": "balance_side",
|
|
"title": "余额方向",
|
|
"type": "str",
|
|
"length": 1
|
|
},
|
|
{
|
|
"name": "subjecttype",
|
|
"title": "科目类别",
|
|
"type": "str",
|
|
"length": 30
|
|
}
|
|
],
|
|
"codes": [
|
|
{
|
|
"field": "balance_side",
|
|
"table": "appcodes_kv",
|
|
"valuefield": "k",
|
|
"textfield": "v",
|
|
"cond": "parentid='balance_side'"
|
|
},
|
|
{
|
|
"field": "subjecttype",
|
|
"table": "appcodes_kv",
|
|
"valuefield": "k",
|
|
"textfield": "v",
|
|
"cond": "parentid='subjecttype'"
|
|
}
|
|
]
|
|
} |