21 lines
725 B
XML
21 lines
725 B
XML
{
|
|
"widgettype": "Form",
|
|
"options": {
|
|
"width": "100%", "height": "100%",
|
|
"url": "{{entire_url('../api/assign_customer_sale.dspy')}}",
|
|
"method": "POST",
|
|
"fields": [
|
|
{"name": "customer_name", "label": "客户", "uitype": "str", "readonly": true},
|
|
{
|
|
"name": "sale_id", "label": "分配销售", "uitype": "select",
|
|
"data_url": "{{entire_url('../api/get_sales.dspy')}}",
|
|
"tip": "选择销售负责人"
|
|
}
|
|
]
|
|
},
|
|
"binds": [
|
|
{"wid": "self", "event": "submited", "actiontype": "script", "target": "self",
|
|
"script": "await bricks.show_resp_message_or_error(event.params)"}
|
|
]
|
|
}
|