feat: created_by/sale_id显示username; 促销码logined_userid过滤只显自己创建的
This commit is contained in:
parent
a71c11ecf0
commit
bf975ca9a7
BIN
json/.discount_promo_code_list.json.swp
Normal file
BIN
json/.discount_promo_code_list.json.swp
Normal file
Binary file not shown.
@ -18,6 +18,22 @@
|
|||||||
"status": {
|
"status": {
|
||||||
"title": "状态",
|
"title": "状态",
|
||||||
"width": 80
|
"width": 80
|
||||||
|
},
|
||||||
|
"created_by": {
|
||||||
|
"title": "创建人",
|
||||||
|
"width": 120,
|
||||||
|
"uitype": "code",
|
||||||
|
"valueField": "created_by",
|
||||||
|
"textField": "created_by_text",
|
||||||
|
"params": {
|
||||||
|
"dbname": "{{get_module_dbname('discount')}}",
|
||||||
|
"table": "users",
|
||||||
|
"tblvalue": "id",
|
||||||
|
"tbltext": "username",
|
||||||
|
"valueField": "created_by",
|
||||||
|
"textField": "created_by_text"
|
||||||
|
},
|
||||||
|
"dataurl": "{{entire_url('/appbase/get_code.dspy')}}"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"editexclouded": [
|
"editexclouded": [
|
||||||
|
|||||||
@ -19,6 +19,22 @@
|
|||||||
"title": "状态",
|
"title": "状态",
|
||||||
"width": 80
|
"width": 80
|
||||||
},
|
},
|
||||||
|
"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')}}"
|
||||||
|
},
|
||||||
"created_at": {
|
"created_at": {
|
||||||
"title": "生成时间",
|
"title": "生成时间",
|
||||||
"width": 160
|
"width": 160
|
||||||
@ -58,6 +74,7 @@
|
|||||||
"new_data_url": "{{entire_url('/discount/api/promo_code_create.dspy')}}",
|
"new_data_url": "{{entire_url('/discount/api/promo_code_create.dspy')}}",
|
||||||
"update_data_url": "{{entire_url('/discount/api/promo_code_update.dspy')}}",
|
"update_data_url": "{{entire_url('/discount/api/promo_code_update.dspy')}}",
|
||||||
"delete_data_url": "{{entire_url('/discount/api/promo_code_delete.dspy')}}",
|
"delete_data_url": "{{entire_url('/discount/api/promo_code_delete.dspy')}}",
|
||||||
|
"logined_userid": "sale_id",
|
||||||
"logined_userorgid": "resellerid"
|
"logined_userorgid": "resellerid"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user