fix: customerid显示机构名; sale_id显示username; editable嵌套修复
This commit is contained in:
parent
429cee6e9d
commit
bec3e8f583
@ -5,9 +5,37 @@
|
||||
"params": {
|
||||
"browserfields": {
|
||||
"exclouded": ["id", "resellerid"],
|
||||
"sale_id": {
|
||||
"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
|
||||
"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": "促销码",
|
||||
@ -26,10 +54,8 @@
|
||||
"customerid",
|
||||
"resellerid"
|
||||
],
|
||||
"editable": {
|
||||
"new_data_url": "{{entire_url('../api/customer_bind_create.dspy')}}",
|
||||
"update_data_url": "{{entire_url('../api/customer_bind_update.dspy')}}",
|
||||
"delete_data_url": "{{entire_url('../api/customer_bind_delete.dspy')}}"
|
||||
}
|
||||
"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')}}"
|
||||
}
|
||||
}
|
||||
@ -19,7 +19,7 @@
|
||||
},
|
||||
{
|
||||
"name": "customerid",
|
||||
"title": "客户用户id",
|
||||
"title": "客户机构id",
|
||||
"type": "str",
|
||||
"length": 32,
|
||||
"nullable": "no"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user