discount/wwwroot/promote.ui
2026-02-24 17:32:46 +08:00

38 lines
797 B
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"widgettype": "Form",
"options": {
"width": "100%",
"height": "100%",
"fields": [
{
"name": "valid_term",
"label": "有效期",
"uitype": "str",
"tip":"格式xY, xM, xD,x是1到多位数字YMD"
},{
"name": "expired_date",
"label": "促销失效日期",
"uitype": "date",
"tip": "促销二维码需在此日期前使用"
},{
"name": "discount",
"lable": "折扣",
"uitype": "float",
"tip": "折扣>0, < 1, 最终价格=产品价格*折扣, "
}
]
},
"binds":[
{
"wid": "self",
"event": "submit",
"actiontype": "urlwidget",
"target": "self",
"options": {
"url": "{{entire_url('generate_qr.dspy')}}",
"params": {}
}
}
]
}