| 12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-08fa61fc"],{"0a49":function(e,t,r){var n=r("9b43"),a=r("626a"),i=r("4bf8"),c=r("9def"),o=r("cd1c");e.exports=function(e,t){var r=1==e,u=2==e,l=3==e,s=4==e,d=6==e,p=5==e||d,f=t||o;return function(t,o,h){for(var g,v,b=i(t),m=a(b),x=n(o,h,3),y=c(m.length),O=0,_=r?f(t,y):u?f(t,0):void 0;y>O;O++)if((p||O in m)&&(g=m[O],v=x(g,O,b),e))if(r)_[O]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return O;case 2:_.push(g)}else if(s)return!1;return d?-1:l||s?s:_}}},"0bfb":function(e,t,r){"use strict";var n=r("cb7c");e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},1169:function(e,t,r){var n=r("2d95");e.exports=Array.isArray||function(e){return"Array"==n(e)}},"20d6":function(e,t,r){"use strict";var n=r("5ca1"),a=r("0a49")(6),i="findIndex",c=!0;i in[]&&Array(1)[i]((function(){c=!1})),n(n.P+n.F*c,"Array",{findIndex:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),r("9c6c")(i)},"214f":function(e,t,r){"use strict";r("b0c5");var n=r("2aba"),a=r("32e9"),i=r("79e5"),c=r("be13"),o=r("2b4c"),u=r("520a"),l=o("species"),s=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),d=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2===r.length&&"a"===r[0]&&"b"===r[1]}();e.exports=function(e,t,r){var p=o(e),f=!i((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),h=f?!i((function(){var t=!1,r=/a/;return r.exec=function(){return t=!0,null},"split"===e&&(r.constructor={},r.constructor[l]=function(){return r}),r[p](""),!t})):void 0;if(!f||!h||"replace"===e&&!s||"split"===e&&!d){var g=/./[p],v=r(c,p,""[e],(function(e,t,r,n,a){return t.exec===u?f&&!a?{done:!0,value:g.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}})),b=v[0],m=v[1];n(String.prototype,e,b),a(RegExp.prototype,p,2==t?function(e,t){return m.call(e,this,t)}:function(e){return m.call(e,this)})}}},"386d":function(e,t,r){"use strict";var n=r("cb7c"),a=r("83a1"),i=r("5f1b");r("214f")("search",1,(function(e,t,r,c){return[function(r){var n=e(this),a=void 0==r?void 0:r[t];return void 0!==a?a.call(r,n):new RegExp(r)[t](String(n))},function(e){var t=c(r,e,this);if(t.done)return t.value;var o=n(e),u=String(this),l=o.lastIndex;a(l,0)||(o.lastIndex=0);var s=i(o,u);return a(o.lastIndex,l)||(o.lastIndex=l),null===s?-1:s.index}]}))},"3a10":function(e,t,r){"use strict";r.d(t,"b",(function(){return a})),r.d(t,"i",(function(){return i})),r.d(t,"e",(function(){return c})),r.d(t,"h",(function(){return o})),r.d(t,"d",(function(){return u})),r.d(t,"j",(function(){return l})),r.d(t,"m",(function(){return s})),r.d(t,"f",(function(){return d})),r.d(t,"k",(function(){return p})),r.d(t,"c",(function(){return f})),r.d(t,"l",(function(){return h})),r.d(t,"g",(function(){return g})),r.d(t,"a",(function(){return v}));var n=r("a27e"),a=function(e){return Object(n["a"])({method:"POST",url:"/api.php/api/order/fetchByCustomerId",data:e})},i=function(e){return Object(n["a"])({method:"POST",url:"/api.php/api/user/performance",data:e})},c=function(e){return Object(n["a"])({method:"POST",url:"/api.php/api/order/fetch",data:e})},o=function(e){return Object(n["a"])({method:"POST",url:"/api.php/api/order/findOrderByOrderId",data:e})},u=function(e){return Object(n["a"])({method:"POST",url:"/api.php/api/order/fetchOrderProducts",data:e})},l=function(e){return Object(n["a"])({method:"POST",url:"/api.php/api/order/payment?lang=en-us",data:e})},s=function(e){var t=e.order_product_id,r=e.report;return Object(n["a"])({method:"POST",url:"/api.php/api/order/upload_numerology?lang=en-us",data:{order_product_id:t,report:r}})},d=function(e){return Object(n["a"])({method:"POST",url:"/api.php/api/order/fetchWaitGatherAnnualFee?lang=en-us",data:e})},p=function(e){return Object(n["a"])({method:"POST",url:"/api.php/api/order/paymentAnnualFee?lang=en-us",data:e})},f=function(e){return Object(n["a"])({method:"POST",url:"/api.php/api/order/fetchOrderByReturn?lang=en-us",data:e})},h=function(e){return Object(n["a"])({method:"POST",url:"/api.php/api/order/returnOrderProduct?lang=en-us",data:e})},g=function(e){return Object(n["a"])({method:"POST",url:"/api.php/api/order/findByOrderNo?lang=en-us",data:e})},v=function(e){return Object(n["a"])({method:"POST",url:"/api.php/api/order/exchange?lang=en-us",data:e})}},"520a":function(e,t,r){"use strict";var n=r("0bfb"),a=RegExp.prototype.exec,i=String.prototype.replace,c=a,o="lastIndex",u=function(){var e=/a/,t=/b*/g;return a.call(e,"a"),a.call(t,"a"),0!==e[o]||0!==t[o]}(),l=void 0!==/()??/.exec("")[1],s=u||l;s&&(c=function(e){var t,r,c,s,d=this;return l&&(r=new RegExp("^"+d.source+"$(?!\\s)",n.call(d))),u&&(t=d[o]),c=a.call(d,e),u&&c&&(d[o]=d.global?c.index+c[0].length:t),l&&c&&c.length>1&&i.call(c[0],r,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(c[s]=void 0)})),c}),e.exports=c},"5f1b":function(e,t,r){"use strict";var n=r("23c6"),a=RegExp.prototype.exec;e.exports=function(e,t){var r=e.exec;if("function"===typeof r){var i=r.call(e,t);if("object"!==typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==n(e))throw new TypeError("RegExp#exec called on incompatible receiver");return a.call(e,t)}},"7b90":function(e,t,r){"use strict";r("b29a")},"7cb3":function(e,t,r){"use strict";r.r(t);r("386d");var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"annualFee-main"},[t("div",{staticClass:"search"},[t("div",[e._v("请查询代收年费信息")]),t("div",[t("el-input",{staticStyle:{width:"300px"},attrs:{placeholder:"支持输入客户姓名或手机号"},model:{value:e.search.search_text,callback:function(t){e.$set(e.search,"search_text",t)},expression:"search.search_text"}}),t("el-button",{attrs:{type:"primary"},on:{click:e.searchCommodity}},[e._v("搜索")])],1),t("div",[e._v("\n 订单创建时间\n "),t("el-date-picker",{attrs:{"value-format":"timestamp",type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.search.orderCreate,callback:function(t){e.$set(e.search,"orderCreate",t)},expression:"search.orderCreate"}}),t("el-button",{attrs:{type:"primary"},on:{click:e.searchClick}},[e._v("查询")]),t("el-button",{attrs:{type:"default"},on:{click:e.resetClick}},[e._v("重置")])],1),t("div",[e._v("本月一共待收取年费金额为"),t("span",{staticStyle:{color:"#F10000"}},[e._v("¥"+e._s(e.totalMoney))])])]),t("div",{staticClass:"table-div"},[t("el-table",{attrs:{data:e.pageing.list}},[t("el-table-column",{attrs:{prop:"id",label:"客户会员ID"}}),t("el-table-column",{attrs:{prop:"customer_name",label:"客户姓名"}}),t("el-table-column",{attrs:{prop:"customer_mobile",label:"客户手机号"}}),t("el-table-column",{attrs:{prop:"customer_create_username",label:"建表人"}}),t("el-table-column",{attrs:{prop:"fee",label:"代收去年费金额"}}),t("el-table-column",{attrs:{prop:"order_product_name",label:"相关服务"}}),t("el-table-column",{attrs:{label:"操作",width:"160"},scopedSlots:e._u([{key:"default",fn:function(r){return[t("el-button",{staticStyle:{color:"#165DFF"},attrs:{type:"text"},on:{click:function(t){return e.deleteClick(r.row)}}},[e._v("删除")])]}}])})],1)],1),t("div",{staticClass:"table-pager"},[t("el-pagination",{attrs:{background:"",layout:"prev, pager, next, sizes, jumper",total:e.pageing.total}})],1)])},a=[],i=(r("20d6"),r("3a10")),c={data:function(){return{search:{search_text:void 0,orderCreate:[]},pageing:{list:[],total:0,page:1,size:10},totalMoney:0}},created:function(){this.fetchWaitGatherAnnualFee()},methods:{fetchWaitGatherAnnualFee:function(){var e=this;Object(i["f"])({text:this.search.search_text,start_time:this.search.orderCreate.length>0?Math.round(this.search.orderCreate[0]/1e3):void 0,end_time:this.search.orderCreate.length>0?Math.round(this.search.orderCreate[1]/1e3):void 0,page:this.pageing.page,size:this.pageing.size}).then((function(t){200===t.data.code&&(e.pageing.list=t.data.data[0],e.pageing.total=t.data.data[1],e.totalMoney=t.data.data[2])}))},searchCommodity:function(){this.pageing.page=1,this.fetchWaitGatherAnnualFee()},searchClick:function(){this.pageing.page=1,this.fetchWaitGatherAnnualFee()},resetClick:function(){this.search={}},deleteClick:function(e){var t=this;this.$confirm("确定删除客户【".concat(e.customer_name,"】的年费数据吗?"),"提示").then((function(){Object(i["k"])({annual_fee_id:e.id}).then((function(r){if(200===r.data.code){var n=t.pageing.list.findIndex((function(t){return t.id===e.id}));t.pageing.list=t.pageing.list.filter((function(e,t){return t!==n})),t.$message.success("删除成功!")}else t.$message.error(t.data.message)}))}))}}},o=c,u=(r("7b90"),r("2877")),l=Object(u["a"])(o,n,a,!1,null,null,null);t["default"]=l.exports},"83a1":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},b0c5:function(e,t,r){"use strict";var n=r("520a");r("5ca1")({target:"RegExp",proto:!0,forced:n!==/./.exec},{exec:n})},b29a:function(e,t,r){},cd1c:function(e,t,r){var n=r("e853");e.exports=function(e,t){return new(n(e))(t)}},e853:function(e,t,r){var n=r("d3f4"),a=r("1169"),i=r("2b4c")("species");e.exports=function(e){var t;return a(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!a(t.prototype)||(t=void 0),n(t)&&(t=t[i],null===t&&(t=void 0))),void 0===t?Array:t}}}]);
- //# sourceMappingURL=chunk-08fa61fc.dd952bad.js.map
|