- Replace wrong format (tablename/grid/form/joins/select_fields/widget) with correct spec format (tblname/params/browserfields/editexclouded/alters) - Use uitype:code with data arrays for dropdown fields - Add logined_userorgid for multi-tenant data isolation - Only reference actual table fields, no cross-table joins - Hide system fields (id, org_id, created_at, updated_at) in browser/edit views Files: financial_vouchers.json, payments.json, receipt_allocations.json, receipts.json, receivables.json
15 lines
484 B
JSON
15 lines
484 B
JSON
{
|
|
"tblname": "receipt_allocations",
|
|
"title": "收款分配",
|
|
"params": {
|
|
"sortby": ["created_at desc"],
|
|
"logined_userorgid": "org_id",
|
|
"confidential_fields": [],
|
|
"browserfields": {
|
|
"exclouded": ["id", "receipt_id", "order_id", "receivable_id", "contract_id", "org_id"],
|
|
"alters": {}
|
|
},
|
|
"editexclouded": ["id", "receipt_id", "order_id", "receivable_id", "contract_id", "org_id", "created_at"]
|
|
}
|
|
}
|