discount/json/disabled/discount_detail_list.json

37 lines
877 B
JSON

{
"tblname": "discount_detail",
"alias": "discount_detail_list",
"title": "折扣产品明细",
"params": {
"sortby": [
"prodtypeid",
"productid"
],
"browserfields": {
"exclouded": [
"id",
"resellerid"
]
},
"editexclouded": [
"id",
"discountid",
"resellerid"
],
"editable": {
"new_data_url": "{{entire_url('../api/discount_detail_create.dspy')}}",
"update_data_url": "{{entire_url('../api/discount_detail_update.dspy')}}",
"delete_data_url": "{{entire_url('../api/discount_detail_delete.dspy')}}",
"binds": [
{
"wid": "prodtypeid",
"event": "changed",
"actiontype": "script",
"target": "productid",
"script": "await this.loadData({prodtypeid: event.params.prodtypeid});"
}
]
}
}
}