You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
14 KiB
1 line
14 KiB
12 months ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4038f4df"],{"8c44":function(t,e,n){"use strict";n.r(e);var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"divBox"},[n("el-card",{staticClass:"box-card"},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("div",{staticClass:"container"},[n("el-form",{attrs:{size:"small","label-width":"120px",inline:!0}},[n("el-form-item",{staticClass:"mr10",attrs:{label:"使用状态:"}},[n("el-select",{staticClass:"selWidth",attrs:{placeholder:"请选择状态"},on:{change:t.getIssueList},model:{value:t.tableFromIssue.status,callback:function(e){t.$set(t.tableFromIssue,"status",e)},expression:"tableFromIssue.status"}},[n("el-option",{attrs:{label:"全部",value:""}}),t._v(" "),n("el-option",{attrs:{label:"已使用",value:"1"}}),t._v(" "),n("el-option",{attrs:{label:"未使用",value:"0"}}),t._v(" "),n("el-option",{attrs:{label:"已过期",value:"2"}})],1)],1),t._v(" "),n("el-form-item",{staticClass:"mr10",attrs:{label:"领取人:"}},[n("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入领取人"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getIssueList(e)}},model:{value:t.tableFromIssue.username,callback:function(e){t.$set(t.tableFromIssue,"username",e)},expression:"tableFromIssue.username"}},[n("el-button",{staticClass:"el-button-solt",attrs:{slot:"append",icon:"el-icon-search"},on:{click:t.getIssueList},slot:"append"})],1)],1),t._v(" "),n("el-form-item",{staticClass:"mr10",attrs:{label:"优惠劵:"}},[n("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入优惠劵ID"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getIssueList(e)}},model:{value:t.tableFromIssue.coupon_id,callback:function(e){t.$set(t.tableFromIssue,"coupon_id",e)},expression:"tableFromIssue.coupon_id"}},[n("el-button",{staticClass:"el-button-solt",attrs:{slot:"append",icon:"el-icon-search"},on:{click:t.getIssueList},slot:"append"})],1)],1),t._v(" "),n("el-form-item",{attrs:{label:"获取方式:"}},[n("el-select",{staticClass:"selWidth",attrs:{placeholder:"请选择",clearable:""},on:{change:t.getIssueList},model:{value:t.tableFromIssue.type,callback:function(e){t.$set(t.tableFromIssue,"type",e)},expression:"tableFromIssue.type"}},[n("el-option",{attrs:{label:"全部",value:""}}),t._v(" "),n("el-option",{attrs:{label:"手动领取",value:"receive"}}),t._v(" "),n("el-option",{attrs:{label:"满赠券",value:"give"}}),t._v(" "),n("el-option",{attrs:{label:"新人券",value:"new"}}),t._v(" "),n("el-option",{attrs:{label:"赠送券",value:"buy"}}),t._v(" "),n("el-option",{attrs:{label:"后台发送券",value:"send"}})],1)],1),t._v(" "),n("el-form-item",{staticClass:"mr10",attrs:{label:"优惠券类型"}},[n("el-select",{staticClass:"selWidth",attrs:{placeholder:"请选择状态"},on:{change:t.getIssueList},model:{value:t.tableFromIssue.coupon_type,callback:function(e){t.$set(t.tableFromIssue,"coupon_type",e)},expression:"tableFromIssue.coupon_type"}},[n("el-option",{attrs:{label:"全部",value:""}}),t._v(" "),n("el-option",{attrs:{label:"通用券",value:10}}),t._v(" "),n("el-option",{attrs:{label:"品类券",value:11}}),t._v(" "),n("el-option",{attrs:{label:"跨店券",value:12}})],1)],1)],1)],1)]),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.Loading,expression:"Loading"}],staticStyle:{width:"100%"},attrs:{data:t.issueData.data}},[n("el-table-column",{attrs:{prop:"coupon_id",label:"ID","min-width":"80"}}),t._v(" "),n("el-table-column",{attrs:{prop:"coupon_title",label:"优惠券名称","min-width":"150"}}),t._v(" "),n("el-table-column",{attrs:{label:"领取人","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.user?n("span",[t._v(t._s(t._f("filterEmpty")(e.row.user.nickname)))]):n("span",[t._v("未知")])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"优惠券类型","min-width":"200"},scopedSlots:t._u([{key:"default",fn:fu
|