feat: 产品明细添加级联联动,选择产品种类后自动加载对应产品
This commit is contained in:
parent
49f3e1a8a2
commit
0990799ee1
@ -22,6 +22,15 @@
|
||||
"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});"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user