discount/json/discount_customer_bind_list.json

61 lines
1.5 KiB
JSON

{
"tblname": "discount_customer_bind",
"alias": "discount_customer_bind_list",
"title": "客户归属",
"params": {
"browserfields": {
"exclouded": ["id", "resellerid"],
"customerid": {
"title": "客户机构",
"width": 150,
"uitype": "code",
"valueField": "customerid",
"textField": "customerid_text",
"params": {
"dbname": "{{get_module_dbname('discount')}}",
"table": "organization",
"tblvalue": "id",
"tbltext": "orgname",
"valueField": "customerid",
"textField": "customerid_text"
},
"dataurl": "{{entire_url('/appbase/get_code.dspy')}}"
},
"sale_id": {
"title": "归属销售",
"width": 120,
"uitype": "code",
"valueField": "sale_id",
"textField": "sale_id_text",
"params": {
"dbname": "{{get_module_dbname('discount')}}",
"table": "users",
"tblvalue": "id",
"tbltext": "username",
"valueField": "sale_id",
"textField": "sale_id_text"
},
"dataurl": "{{entire_url('/appbase/get_code.dspy')}}"
},
"promo_code_id": {
"title": "促销码",
"width": 150
},
"bind_type": {
"title": "绑定方式",
"width": 100
},
"created_at": {
"title": "绑定时间",
"width": 160
}
},
"editexclouded": [
"customerid",
"resellerid"
],
"new_data_url": "{{entire_url('/discount/api/customer_bind_create.dspy')}}",
"update_data_url": "{{entire_url('/discount/api/customer_bind_update.dspy')}}",
"delete_data_url": "{{entire_url('/discount/api/customer_bind_delete.dspy')}}"
}
}