1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-1dffbc84"],{"0336":function(t,e,a){"use strict";a.r(e),a("b0c0"),a("a15b");var s=a("90e7"),i=a("a584"),n={name:"referrerInfo",data:function(){return{isTemplate:!1,spread:{},spinShow:!1}},mounted:function(){},methods:{verifySpreadInfo:function(t){var e=this;e.spinShow=!0,Object(s.Tb)(t).then((function(t){e.spinShow=!1,e.spread=t.data.spread})).catch((function(t){e.$message.error(t.msg)}))},cancel:function(){}}},l=(a("9433"),a("2877"));n=Object(l.a)(n,(function(){var t=this,e=t._self._c;return e("div",[e("el-dialog",{attrs:{visible:t.isTemplate,title:"推荐人信息",width:"720px"},on:{"update:visible":function(e){t.isTemplate=e},closed:t.cancel}},[e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.spinShow,expression:"spinShow"}],staticClass:"Modals"},[e("div",{staticClass:"header acea-row row-middle"},[e("div",{staticClass:"pictrue"},[e("img",{attrs:{src:t.spread.avatar}})]),e("div",{staticClass:"name"},[t._v(t._s(t.spread.nickname))])]),e("div",{staticClass:"list"},[e("div",{staticClass:"item acea-row row-middle"},[e("div",{staticClass:"name money ivu-form-item-content"},[t._v("\n 金额:"),e("span",[t._v(t._s(t.spread.now_money))])]),e("div",{staticClass:"name ivu-form-item-content"},[t._v("\n UID:"),e("span",[t._v(t._s(t.spread.uid))])])]),e("div",{staticClass:"item acea-row row-middle"},[e("div",{staticClass:"name commission ivu-form-item-content"},[t._v("\n 佣金:"),e("span",[t._v(t._s(t.spread.brokerage_price))])]),e("div",{staticClass:"name ivu-form-item-content"},[t._v("\n 真实姓名:"),e("span",[t._v(t._s(t.spread.real_name))])])]),e("div",{staticClass:"item acea-row row-middle"},[e("div",{staticClass:"name ivu-form-item-content"},[t._v("\n 身份证:"),e("span",[t._v(t._s(t.spread.card_id))])]),e("div",{staticClass:"name ivu-form-item-content"},[t._v("\n 手机号码:"),e("span",[t._v(t._s(t.spread.phone))])])]),e("div",{staticClass:"item acea-row row-middle"},[e("div",{staticClass:"name ivu-form-item-content"},[t._v("\n 生日:"),e("span",[t._v(t._s(t.spread.birthday))])]),e("div",{staticClass:"name ivu-form-item-content"},[t._v("\n 积分:"),e("span",[t._v(t._s(t.spread.integral))])])]),e("div",{staticClass:"item acea-row row-middle"},[e("div",{staticClass:"name ivu-form-item-content"},[t._v("\n 用户备注:"),e("span",[t._v(t._s(t.spread.mark))])]),e("div",{staticClass:"name ivu-form-item-content"},[t._v("\n 最后登录时间:"),e("span",[t._v(t._s(t.spread.last_time))])])])])])])],1)}),[],!1,null,"6c31fa28",null).exports,i={name:"setting_order",components:{cardsData:i.a,referrerInfo:n},data:function(){return{formValidate:{page:1,limit:15,data:"",real_name:"",store_id:"",field_key:""},field_key:"",timeVal:[],storeSelectList:[],pickerOptions:this.$timeOptions,orderList:[],loading:!1,total:0}},mounted:function(){this.getList(),this.storeList()},methods:{getList:function(){var t=this;t.loading=!0,t.formValidate.field_key="all"===this.field_key?"":this.field_key,Object(s.Sb)(t.formValidate).then((function(e){t.loading=!1,t.orderList=e.data.data,t.total=e.data.count})).catch((function(e){t.$message.error(e.msg)}))},userSearchs:function(){this.formValidate.page=1,this.getList()},onchangeTime:function(t){this.timeVal=t,this.formValidate.data=this.timeVal?this.timeVal.join("-"):"",this.getList()},selectChange:function(t){this.formValidate.page=1,this.formValidate.data=t,this.timeVal=[],this.getList()},storeList:function(){var t=this;Object(s.V)().then((function(e){t.storeSelectList=e.data})).catch((function(e){t.$message.error(e.msg)}))},referenceInfo:function(t){this.$refs.info.isTemplate=!0,this.$refs.info.verifySpreadInfo(t)},refresh:function(){this.formValidate={page:1,limit:15,data:"",real_name:"",store_id:"",field_key:""},this.field_key="",this.getList()}}},a("d915"),n=Object(l.a)(i,(function(){var t=this,e=t._self._c;return e("div",[e("el-card",{staticClass:"ivu-mt",attrs:{bordered:!1,shadow:"never","body-style":{padding:0}}},[e("div",{staticClass:"padding-add"},[e("el-form",{ref:"formValidate",attrs:{model:t.formValidate,inline:"","label-width":"80px"},nativeOn:{submit:function(t){t.preventDefault()}}},[e("el-form-item",{attrs:{label:"核销日期:"}},[e("el-date-picker",{staticClass:"mr20",staticStyle:{width:"250px"},attrs:{clearable:"",type:"daterange",editable:!1,format:"yyyy/MM/dd","value-format":"yyyy/MM/dd","start-placeholder":"开始日期","end-placeholder":"结束日期","picker-options":t.pickerOptions},on:{change:t.onchangeTime},model:{value:t.timeVal,callback:function(e){t.timeVal=e},expression:"timeVal"}})],1),e("el-form-item",{attrs:{label:"筛选条件:"}},[e("el-input",{staticClass:"form_content_width",attrs:{"enter-button":"",placeholder:"请输入搜索内容"},model:{value:t.formValidate.real_name,callback:function(e){t.$set(t.formValidate,"real_name",e)},expression:"formValidate.real_name"}},[e("el-select",{staticStyle:{width:"100px"},attrs:{slot:"prepend"},slot:"prepend",model:{value:t.field_key,callback:function(e){t.field_key=e},expression:"field_key"}},[e("el-option",{attrs:{value:"all",label:"全部"}}),e("el-option",{attrs:{value:"order_id",label:"订单号"}}),e("el-option",{attrs:{value:"uid",label:"UID"}}),e("el-option",{attrs:{value:"real_name",label:"用户姓名"}}),e("el-option",{attrs:{value:"user_phone",label:"用户电话"}}),e("el-option",{attrs:{value:"title",label:"商品名称(模糊)"}})],1)],1)],1),e("el-form-item",{attrs:{label:"选择门店:"}},[e("el-select",{staticClass:"form_content_width",attrs:{"element-id":"store_id",clearable:""},on:{change:t.userSearchs},model:{value:t.formValidate.store_id,callback:function(e){t.$set(t.formValidate,"store_id",e)},expression:"formValidate.store_id"}},t._l(t.storeSelectList,(function(t){return e("el-option",{key:t.id,attrs:{value:t.id,label:t.name}})})),1)],1),e("el-form-item",{attrs:{label:""}},[e("el-button",{staticClass:"mr15",attrs:{type:"primary"},on:{click:t.userSearchs}},[t._v("搜索")])],1)],1)],1)]),e("el-card",{staticClass:"ivu-mt mt16",attrs:{bordered:!1,shadow:"never"}},[e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"table",staticClass:"orderData",attrs:{data:t.orderList,"highlight-current-row":"","empty-text":"暂无数据"}},[e("el-table-column",{attrs:{label:"订单号","min-width":"180"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(a.row.order_id))])]}}])}),e("el-table-column",{attrs:{label:"用户信息","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(a.row.nickname)+"/"+t._s(a.row.uid))])]}}])}),e("el-table-column",{attrs:{label:"商品信息","min-width":"250"},scopedSlots:t._u([{key:"default",fn:function(a){return t._l(a.row._info,(function(a,s){return e("div",{key:s,staticClass:"tab"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:(a.cart_info.productInfo.attrInfo||a.cart_info.productInfo).image,expression:"item.cart_info.productInfo.attrInfo ? item.cart_info.productInfo.attrInfo.image : item.cart_info.productInfo.image"}]}),e("el-tooltip",{attrs:{placement:"top","open-delay":300}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("div",[e("span",[t._v("商品名称:")]),e("span",[t._v(t._s(a.cart_info.productInfo.store_name||"--"))])]),e("div",[e("span",[t._v("规格名称:")]),e("span",[t._v(t._s(a.cart_info.productInfo.attrInfo?a.cart_info.productInfo.attrInfo.suk:"---"))])]),e("div",[e("span",[t._v("价格:")]),e("span",[t._v("¥"+t._s(a.cart_info.truePrice||"--"))])]),e("div",[e("span",[t._v("数量:")]),e("span",[t._v(t._s(a.cart_info.cart_num||"--"))])])]),e("span",{staticClass:"line2 w-250"},[t._v(t._s(a.cart_info.productInfo.store_name))])])],1)}))}}])}),e("el-table-column",{attrs:{label:"实际支付","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(a.row.pay_price))])]}}])}),e("el-table-column",{attrs:{label:"核销员","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(a.row.clerk_name))])]}}])}),e("el-table-column",{attrs:{label:"核销门店","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(a.row.store_name))])]}}])}),e("el-table-column",{attrs:{label:"支付状态","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(a.row.pay_type_name))])]}}])}),e("el-table-column",{attrs:{label:"订单状态","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(" "+t._s(a.row.status_name.status_name))])]}}])}),e("el-table-column",{attrs:{label:"下单时间","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(a.row.add_time))])]}}])})],1),e("div",{staticClass:"acea-row row-right page"},[t.total?e("pagination",{attrs:{total:t.total,page:t.formValidate.page,limit:t.formValidate.limit},on:{"update:page":function(e){return t.$set(t.formValidate,"page",e)},"update:limit":function(e){return t.$set(t.formValidate,"limit",e)},pagination:t.getList}}):t._e()],1)],1),e("referrer-info",{ref:"info"})],1)}),[],!1,null,"a31e1eec",null);e.default=n.exports},"34ce":function(t,e,a){},"38df":function(t,e,a){},9433:function(t,e,a){"use strict";a("38df")},a584:function(t,e,a){"use strict";a("b0c0");var s={name:"cards",data:function(){return{colsize:{xl:4,lg:8,md:12}}},props:{cardLists:Array},methods:{},created:function(){switch(this.cardLists.length){case 1:this.colsize.xl=24,this.colsize.lg=24,this.colsize.md=24;break;case 2:this.colsize.xl=12,this.colsize.lg=12,this.colsize.md=12;break;case 3:this.colsize.xl=8,this.colsize.lg=8,this.colsize.md=8;break;case 4:this.colsize.xl=6,this.colsize.lg=6,this.colsize.md=12;break;case 5:this.colsize.xl=8,this.colsize.lg=8,this.colsize.md=12;break;default:this.colsize.xl=4,this.colsize.lg=8,this.colsize.md=12}4==this.cardLists.length?this.colsize.lg=6:4==this.cardLists.length&&(this.colsize.lg=8)}};a("dc1f"),a=a("2877"),a=Object(a.a)(s,(function(){var t=this,e=t._self._c;return e("div",[e("el-row",{staticClass:"ivu-mt",attrs:{align:"middle",gutter:24}},t._l(t.cardLists,(function(a,s){return e("el-col",{key:s,staticClass:"ivu-mb",attrs:{xl:a.col||t.colsize.xl,lg:t.colsize.lg,md:t.colsize.md,sm:24,xs:24}},[e("el-card",{staticClass:"card_cent",attrs:{shadow:"never"}},[e("div",{staticClass:"card_box"},[e("div",{staticClass:"card_box_cir",class:{one:s%5==0,two:s%5==1,three:s%5==2,four:s%5==3,five:s%5==4}},[e("div",{staticClass:"card_box_cir1",class:{one1:s%5==0,two1:s%5==1,three1:s%5==2,four1:s%5==3,five1:s%5==4}},[e("span",{staticClass:"iconfont",class:a.className})])]),e("div",{staticClass:"card_box_txt"},[e("span",{staticClass:"sp1",domProps:{textContent:t._s(a.count||0)}}),e("span",{staticClass:"sp2",domProps:{textContent:t._s(a.name)}})])])])],1)})),1)],1)}),[],!1,null,"50f2a66a",null);e.a=a.exports},bf5e:function(t,e,a){},d915:function(t,e,a){"use strict";a("bf5e")},dc1f:function(t,e,a){"use strict";a("34ce")}}]);
|