29 lines
837 B
JSON
29 lines
837 B
JSON
{
|
|
"tblname": "order_payments",
|
|
"alias": "order_payments_edit",
|
|
"title": "编辑付款记录",
|
|
"params": {
|
|
"formfields": {
|
|
"exclouded": ["id", "order_id", "confirmed_by", "created_at", "updated_at"],
|
|
"alters": {
|
|
"status": {
|
|
"uitype": "code",
|
|
"data": [
|
|
{"value": "pending", "text": "待确认"},
|
|
{"value": "confirmed", "text": "已确认"},
|
|
{"value": "rejected", "text": "已拒绝"}
|
|
]
|
|
},
|
|
"payment_method": {
|
|
"uitype": "code",
|
|
"data": [
|
|
{"value": "bank_transfer", "text": "银行转账"},
|
|
{"value": "check", "text": "支票"},
|
|
{"value": "cash", "text": "现金"},
|
|
{"value": "online_payment", "text": "在线支付"}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |