diff --git a/json/acc_balance.json b/json/acc_balance.json index 1b379b9..0cd709c 100644 --- a/json/acc_balance.json +++ b/json/acc_balance.json @@ -2,11 +2,22 @@ "tblname": "acc_balance", "title": "账户余额", "params": { - "sortby": ["acc_date desc"], + "sortby": [ + "acc_date desc" + ], "browserfields": { - "exclouded": ["id"], + "exclouded": [ + "id" + ], "alters": {} }, - "editexclouded": ["id"] + "editexclouded": [ + "id" + ], + "editable": { + "new_data_url": "default", + "update_data_url": "default", + "delete_data_url": "default" + } } -} +} \ No newline at end of file diff --git a/json/acc_detail.json b/json/acc_detail.json index 22ddd49..6c7cd36 100644 --- a/json/acc_detail.json +++ b/json/acc_detail.json @@ -2,19 +2,37 @@ "tblname": "acc_detail", "title": "账务明细", "params": { - "sortby": ["acc_date desc"], + "sortby": [ + "acc_date desc" + ], "browserfields": { - "exclouded": ["id"], + "exclouded": [ + "id" + ], "alters": { "acc_dir": { "uitype": "code", "data": [ - {"value": "0", "text": "贷"}, - {"value": "1", "text": "借"} + { + "value": "0", + "text": "贷" + }, + { + "value": "1", + "text": "借" + } ] } } }, - "editexclouded": ["id", "acc_no"] + "editexclouded": [ + "id", + "acc_no" + ], + "editable": { + "new_data_url": "default", + "update_data_url": "default", + "delete_data_url": "default" + } } -} +} \ No newline at end of file diff --git a/json/account.json b/json/account.json index a7f8eb4..9fff5e0 100644 --- a/json/account.json +++ b/json/account.json @@ -2,9 +2,13 @@ "tblname": "account", "title": "账户管理", "params": { - "sortby": ["id"], + "sortby": [ + "id" + ], "browserfields": { - "exclouded": ["id"], + "exclouded": [ + "id" + ], "alters": { "subjectid": { "uitype": "code", @@ -21,13 +25,23 @@ "balance_at": { "uitype": "code", "data": [ - {"value": "0", "text": "借"}, - {"value": "1", "text": "贷"} + { + "value": "0", + "text": "借" + }, + { + "value": "1", + "text": "贷" + } ] } } }, - "editexclouded": ["id", "max_detailno", "balance"], + "editexclouded": [ + "id", + "max_detailno", + "balance" + ], "subtables": [ { "field": "accountid", @@ -44,6 +58,11 @@ "title": "账户日志", "subtable": "accounting_log" } - ] + ], + "editable": { + "new_data_url": "default", + "update_data_url": "default", + "delete_data_url": "default" + } } -} +} \ No newline at end of file diff --git a/json/account_config.json b/json/account_config.json index fa5d29c..6a69ac7 100644 --- a/json/account_config.json +++ b/json/account_config.json @@ -3,14 +3,21 @@ "output_dir": "${HOME}$/py/sage/wwwroot/account_config", "dbname": "sage", "tblname": "account_config", - "title":"账户设置", + "title": "账户设置", "params": { "browserfields": { - "exclouded": ["id"], + "exclouded": [ + "id" + ], "cwidth": {} }, "editexclouded": [ "id" - ] + ], + "editable": { + "new_data_url": "default", + "update_data_url": "default", + "delete_data_url": "default" + } } -} +} \ No newline at end of file diff --git a/json/accounting_config.json b/json/accounting_config.json index ed13af3..3370762 100644 --- a/json/accounting_config.json +++ b/json/accounting_config.json @@ -1,14 +1,24 @@ { "tblname": "accounting_config", - "title":"账务设置", + "title": "账务设置", "params": { - "sortby":["action","accounting_dir"], + "sortby": [ + "action", + "accounting_dir" + ], "browserfields": { - "exclouded": ["id"], + "exclouded": [ + "id" + ], "cwidth": {} }, "editexclouded": [ "id" - ] + ], + "editable": { + "new_data_url": "default", + "update_data_url": "default", + "delete_data_url": "default" + } } -} +} \ No newline at end of file diff --git a/json/accounting_log.json b/json/accounting_log.json index 3d5441f..d70db94 100644 --- a/json/accounting_log.json +++ b/json/accounting_log.json @@ -3,15 +3,22 @@ "output_dir": "${HOME}$/py/sage/wwwroot/accounting_log", "dbname": "sage", "tblname": "accounting_log", - "title":"科目", + "title": "科目", "params": { - "sortby":"name", + "sortby": "name", "browserfields": { - "exclouded": ["id"], + "exclouded": [ + "id" + ], "cwidth": {} }, "editexclouded": [ "id" - ] + ], + "editable": { + "new_data_url": "default", + "update_data_url": "default", + "delete_data_url": "default" + } } -} +} \ No newline at end of file diff --git a/json/subject.json b/json/subject.json index 749f653..0956dcc 100644 --- a/json/subject.json +++ b/json/subject.json @@ -2,15 +2,25 @@ "tblname": "subject", "title": "科目管理", "params": { - "sortby": ["id"], + "sortby": [ + "id" + ], "browserfields": { - "exclouded": ["id"], + "exclouded": [ + "id" + ], "alters": { "balance_side": { "uitype": "code", "data": [ - {"value": "0", "text": "借"}, - {"value": "1", "text": "贷"} + { + "value": "0", + "text": "借" + }, + { + "value": "1", + "text": "贷" + } ] }, "subjecttype": { @@ -19,13 +29,20 @@ } } }, - "editexclouded": ["id"], + "editexclouded": [ + "id" + ], "subtables": [ { "field": "subjectid", "title": "账户设置", "subtable": "account_config" } - ] + ], + "editable": { + "new_data_url": "default", + "update_data_url": "default", + "delete_data_url": "default" + } } -} +} \ No newline at end of file