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.
crmeb_php/public/mer/js/chunk-32c5a54a.109da7c7.js

1 line
5.4 KiB

1 year ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-32c5a54a"],{4393:function(e,t,s){"use strict";s("80c1")},"80c1":function(e,t,s){},f58d:function(e,t,s){"use strict";s.r(t);var a=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"divBox"},[s("el-card",{staticClass:"box-card"},[s("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[s("div",{staticClass:"container"},[s("el-form",{attrs:{size:"small","label-width":"120px",inline:!0}},[s("el-form-item",{staticClass:"mr10",attrs:{label:"使用状态:"}},[s("el-select",{staticClass:"selWidth",attrs:{placeholder:"请选择状态"},on:{change:e.getIssueList},model:{value:e.tableFromIssue.status,callback:function(t){e.$set(e.tableFromIssue,"status",t)},expression:"tableFromIssue.status"}},[s("el-option",{attrs:{label:"全部",value:""}}),e._v(" "),s("el-option",{attrs:{label:"已使用",value:"1"}}),e._v(" "),s("el-option",{attrs:{label:"未使用",value:"0"}}),e._v(" "),s("el-option",{attrs:{label:"已过期",value:"2"}})],1)],1),e._v(" "),s("el-form-item",{staticClass:"mr10",attrs:{label:"领取人:"}},[s("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入领取人"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.getIssueList(t)}},model:{value:e.tableFromIssue.username,callback:function(t){e.$set(e.tableFromIssue,"username",t)},expression:"tableFromIssue.username"}},[s("el-button",{staticClass:"el-button-solt",attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.getIssueList},slot:"append"})],1)],1),e._v(" "),s("el-form-item",{staticClass:"mr10",attrs:{label:"优惠劵:"}},[s("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入优惠劵ID"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.getIssueList(t)}},model:{value:e.tableFromIssue.coupon_id,callback:function(t){e.$set(e.tableFromIssue,"coupon_id",t)},expression:"tableFromIssue.coupon_id"}},[s("el-button",{staticClass:"el-button-solt",attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.getIssueList},slot:"append"})],1)],1),e._v(" "),s("el-form-item",{staticClass:"mr10",attrs:{label:"获取方式"}},[s("el-select",{staticClass:"selWidth",attrs:{placeholder:"请选择状态"},on:{change:e.getIssueList},model:{value:e.tableFromIssue.type,callback:function(t){e.$set(e.tableFromIssue,"type",t)},expression:"tableFromIssue.type"}},[s("el-option",{attrs:{label:"全部",value:""}}),e._v(" "),s("el-option",{attrs:{label:"自己领取",value:"receive"}}),e._v(" "),s("el-option",{attrs:{label:"后台发送",value:"send"}}),e._v(" "),s("el-option",{attrs:{label:"新人",value:"new"}}),e._v(" "),s("el-option",{attrs:{label:"买赠送",value:"buy"}})],1)],1)],1)],1)]),e._v(" "),s("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.Loading,expression:"Loading"}],staticStyle:{width:"100%"},attrs:{data:e.issueData.data,size:"mini"}},[s("el-table-column",{attrs:{prop:"coupon_id",label:"ID","min-width":"80"}}),e._v(" "),s("el-table-column",{attrs:{prop:"coupon_title",label:"优惠券名称","min-width":"150"}}),e._v(" "),s("el-table-column",{attrs:{label:"领取人","min-width":"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.user?s("span",[e._v(e._s(e._f("filterEmpty")(t.row.user.nickname)))]):s("span",[e._v("未知")])]}}])}),e._v(" "),s("el-table-column",{attrs:{prop:"coupon_price",label:"面值","min-width":"100"}}),e._v(" "),s("el-table-column",{attrs:{prop:"use_min_price",label:"最低消费额","min-width":"120"}}),e._v(" "),s("el-table-column",{attrs:{prop:"start_time",label:"开始使用时间","min-width":"150"}}),e._v(" "),s("el-table-column",{attrs:{prop:"end_time",label:"结束使用时间","min-width":"150"}}),e._v(" "),s("el-table-column",{attrs:{label:"获取方式","min-width":"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("span",[e._v(e._s(e._f("failFilter")(t.row.type)))])]}}])}),e._v(" "),s("el-table-column",{attrs:{label:"状态","min-width":"100"},scoped