37 lines
853 B
JSON
37 lines
853 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",
|
|
"widget": "productid",
|
|
"script": "await this.loadData({prodtypeid: params.prodtypeid});"
|
|
}
|
|
]
|
|
}
|
|
}
|