This commit is contained in:
yumoqing 2025-10-21 18:02:28 +08:00
parent 1572df3d16
commit e945d9ccb5
14 changed files with 100 additions and 0 deletions

BIN
data/data.xlsx Normal file

Binary file not shown.

BIN
data/~$data.xlsx Normal file

Binary file not shown.

22
json/charge_type.json Normal file
View File

@ -0,0 +1,22 @@
{
"tblname": "charge_type",
"title":"收费类型",
"params": {
"sortby":"name",
"browserfields": {
"exclouded": ["id"],
"alters": {
}
},
"editexclouded": [
"id"
],
"subtables":[
{
"field":"ctid",
"title":"收费规格",
"subtable":"charge_type_spec"
}
]
}
}

View File

@ -0,0 +1,15 @@
{
"tblname": "charge_type_spec",
"title":"收费规格",
"params": {
"sortby":"name",
"browserfields": {
"exclouded": ["id", "ctid"],
"alters": {
}
},
"editexclouded": [
"id", "ctid"
]
}
}

View File

@ -0,0 +1,22 @@
{
"tblname": "payee_charge_rule",
"title":"机构收费标准",
"params": {
"sortby":"name",
"browserfields": {
"exclouded": ["id"],
"alters": {
}
},
"editexclouded": [
"id"
],
"subtables":[
{
"field":"ctid",
"title":"收费规格",
"subtable":"charge_type_spec"
}
]
}
}

BIN
models/charge_type.xlsx Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
models/~$charge_type.xlsx Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

4
pyproject.toml Normal file
View File

@ -0,0 +1,4 @@
[build-system]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"

16
setup.cfg Normal file
View File

@ -0,0 +1,16 @@
[metadata]
name=charge
version = 0.0.1
description = A Charge mangement module
author = "yu moqing"
author_email = "yumoqing@gmail.com"
readme = "README.md"
license = "MIT"
[options]
packages = find:
requires_python = ">=3.8"
install_requires =
apppublic
sqlor
ahserver

21
wwwroot/menu.ui Normal file
View File

@ -0,0 +1,21 @@
{
"widgettype":"Menu",
"options":{
"target":"PopupWindow",
"popup_options":{
"archor":"cc",
"width":"70%",
"height":"70%"
},
"cwidth":10,
"items":[
{% if get_user() %}
{
"name":"charge_type",
"label":"收费类型",
"url":"{{entire_url('/charge/scharge_type')}}"
}
{% endif %}
]
}
}