discount/json/customer_sale_list.json

53 lines
1.6 KiB
JSON

{
"tblname": "discount_customer_bind",
"alias": "customer_sale_list",
"title": "客户销售归属",
"params": {
"editable": {
"get_data_url": "{{entire_url('../api/get_customer_sale_list.dspy')}}"
},
"browserfields": {
"exclouded": ["id", "customerid", "bind_id", "sale_id"],
"customer_name": {
"title": "客户名称",
"width": 200
},
"sale_name": {
"title": "归属销售",
"width": 150
}
},
"sortby": "customer_name",
"editexclouded": ["customerid", "customer_name", "bind_id", "sale_name"],
"toolbar": {
"tools": [
{
"name": "assign_sale",
"label": "分配销售",
"selected_row": true
}
]
},
"binds": [
{
"wid": "self",
"event": "assign_sale",
"actiontype": "urlwidget",
"target": "PopupWindow",
"popup_options": {
"title": "分配销售",
"cwidth": 15,
"cheight": 12
},
"options": {
"url": "{{entire_url('customer_sale_assign_form.ui')}}",
"params": {
"customerid": "${customerid}$",
"customer_name": "${customer_name}$"
}
}
}
]
}
}