Order增加biz_params业务参数字段
This commit is contained in:
parent
20870a9fec
commit
e455fc97ba
@ -6,13 +6,16 @@
|
||||
"field_order": [
|
||||
"title",
|
||||
"order_id",
|
||||
"trade_no",
|
||||
"team",
|
||||
"total_amount",
|
||||
"payment_method",
|
||||
"order_type",
|
||||
"team",
|
||||
"column_break_rwfr",
|
||||
"status",
|
||||
"trade_no",
|
||||
"payment_method",
|
||||
"description",
|
||||
"status"
|
||||
"section_break_apft",
|
||||
"biz_params"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
@ -79,13 +82,27 @@
|
||||
"label": "Order Type",
|
||||
"options": "\n余额充值\n新建网站\n网站续费\n域名注册\n域名续费\n新建服务器\n服务器续费\n服务器升级",
|
||||
"read_only": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "biz_params",
|
||||
"fieldtype": "JSON",
|
||||
"label": "业务参数",
|
||||
"read_only": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_rwfr",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "section_break_apft",
|
||||
"fieldtype": "Section Break"
|
||||
}
|
||||
],
|
||||
"grid_page_length": 50,
|
||||
"index_web_pages_for_search": 1,
|
||||
"links": [],
|
||||
"modified": "2025-08-01 00:44:25.874899",
|
||||
"modified_by": "support@jingrow.com",
|
||||
"modified": "2025-08-01 13:16:55.791861",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Jcloud",
|
||||
"name": "Order",
|
||||
"owner": "Administrator",
|
||||
|
||||
@ -14,6 +14,7 @@ class Order(Document):
|
||||
if TYPE_CHECKING:
|
||||
from jingrow.types import DF
|
||||
|
||||
biz_params: DF.JSON | None
|
||||
description: DF.Data | None
|
||||
order_id: DF.Data | None
|
||||
order_type: DF.Literal["", "\u4f59\u989d\u5145\u503c", "\u65b0\u5efa\u7f51\u7ad9", "\u7f51\u7ad9\u7eed\u8d39", "\u57df\u540d\u6ce8\u518c", "\u57df\u540d\u7eed\u8d39", "\u65b0\u5efa\u670d\u52a1\u5668", "\u670d\u52a1\u5668\u7eed\u8d39", "\u670d\u52a1\u5668\u5347\u7ea7"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user