diff --git a/json/.discount_promo_code_list.json.swp b/json/.discount_promo_code_list.json.swp new file mode 100644 index 0000000..1e81517 Binary files /dev/null and b/json/.discount_promo_code_list.json.swp differ diff --git a/json/discount_marketing_list.json b/json/discount_marketing_list.json index 117ada9..5e995fa 100644 --- a/json/discount_marketing_list.json +++ b/json/discount_marketing_list.json @@ -18,6 +18,22 @@ "status": { "title": "状态", "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": [ diff --git a/json/discount_promo_code_list.json b/json/discount_promo_code_list.json index a7c2fb0..365d9cd 100644 --- a/json/discount_promo_code_list.json +++ b/json/discount_promo_code_list.json @@ -19,6 +19,22 @@ "title": "状态", "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": { "title": "生成时间", "width": 160 @@ -58,6 +74,7 @@ "new_data_url": "{{entire_url('/discount/api/promo_code_create.dspy')}}", "update_data_url": "{{entire_url('/discount/api/promo_code_update.dspy')}}", "delete_data_url": "{{entire_url('/discount/api/promo_code_delete.dspy')}}", + "logined_userid": "sale_id", "logined_userorgid": "resellerid" } } \ No newline at end of file