bztang-admin/addons/yun_shop/static/app/js/chunk-2f533c92.9813f8b1.js

1 line
6.7 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2f533c92"],{1664:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAABCElEQVRYR+2YwQkCMRBF52chZ0uwA93Dwh61Au1AS9AKtANL0BK0Ar1tspe1A7cEC1h2JOBJlIHEg8jkFPjMJ3n5kElAiaOqqiGAM4C7tXaa5/k9xRIpxaHWObcCsAtzY8y0KIpLimfygrz3WyLa6II+HYMSkgKqhJSQREDSNUNKSCIg6f+foWc/MwMwkGi805l5AmASNGY+AGhjfIiotdae4Jy7ARhGmny77Arv/ZWIRt92jvFj5hOaphl0XTeOMQg1fd8viWjxPLJ1lmVhg1EjdJvaMUrolJAS0nfZawb+/3KVUi/pSkgJSQQk/ecyVNf1kpn3P/M/FFpgY8yRmduyLOcSUUl/AFt6zdRiuGpmAAAAAElFTkSuQmCC"},"20dd":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{attrs:{id:"remittance-detail"}},[a("c-title",{attrs:{hide:!1,text:"汇款详情"}}),a("section",{staticClass:"state"},[a("span",[t._v(t._s(t.order_state))]),null!=t.reason_data&&""!=t.reason_data?a("van-button",{nativeOn:{click:function(e){t.show1=!0}}},[t._v("查看原因")]):t._e()],1),a("section",{staticClass:"voucher"},[t._m(0),a("div",{staticStyle:{width:"12.5rem",height:"10rem",margin:"0 auto",border:"1px dashed #c0ccda"}},[a("img",{staticStyle:{width:"100%",height:"100%"},attrs:{src:t.img_url}})])]),a("div",{staticStyle:{background:"white",height:"50px"}},[a("van-button",{staticStyle:{float:"right","margin-right":"1.25rem"},attrs:{type:"danger"},on:{click:function(e){return t.cancelTransfer()}}},[t._v(t._s(t.btn_name)+" ")])],1),a("van-popup",{style:{height:"240px",width:"80%"},attrs:{position:"center"},model:{value:t.show1,callback:function(e){t.show1=e},expression:"show1"}},[a("section",{staticStyle:{background:"white"},attrs:{id:"cause"}},[a("h1",[t._v("退款原因")]),a("ul",[a("li",[t._v(t._s(t.reason_data))])])])])],1)},r=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticStyle:{height:"50px","text-align":"left","line-height":"50px"}},[a("span",{staticStyle:{"font-size":"16px"}},[t._v("汇款凭证:")])])}],n=(a("e7e5"),a("d399")),o=(a("b0c0"),a("d3b7"),a("3ca3"),a("ddb0"),a("2b3d"),a("9861"),a("88a7"),a("271a"),a("5494"),a("14d9"),a("6968")),d={components:{cTitle:o["a"]},data:function(){return{show1:!1,img_url:"",imageUrl:"",uploadUrl:"",upImgSrc:"",user_information:{card_number:"20180621154230",payee:"中国银行3260",money:"{{$i18n.t('money')}}5000.00"},btn_name:"",reason_data:"",order_state:""}},activated:function(){this.init(),this.urlUp(),this.getJson()},methods:{init:function(){},getJson:function(){this.img_url="";var t=this,e={order_id:t.$route.params.order_id};$http.get("remittance.remittance-record",e).then((function(e){1==e.result?(t.img_url=e.data.report_url,t.btn_name=e.data.button_models[0].name,t.reason_data=e.data.audit_note,t.order_state=e.data.status_name):Object(n["a"])(e.msg)}),(function(t){Object(n["a"])(t.msg)}))},urlUp:function(){this.uploadUrl=this.fun.getRealUrl("plugin.store-cashier.frontend.store.store.upload",{})},handleStoreSuccess:function(t,e){this.imageUrl=URL.createObjectURL(e.raw),1==t.result?this.upImgSrc=t.data.img:Object(n["a"])(t.msg)},beforeUpload:function(t){var e="image/png"===t.type||"image/jpeg"===t.type,a=t.size/1024/1024<2;return e||this.$notify("上传头像图片只能是 JPG或PNG 格式!"),a||this.$notify("上传头像图片大小不能超过 2MB!"),e&&a},completeEvent:function(){this.$router.push(this.fun.getUrl("orderdetail",{order_id:this.$route.params.order_id}))},returnEvent:function(){this.$router.push(this.fun.getUrl("orderdetail",{order_id:this.$route.params.order_id}))},cancelTransfer:function(){var t=this;this.$dialog.confirm({title:"提示",message:"此操作将取消汇款申请, 是否继续?"}).then((function(){var e=t,a={order_id:e.$route.params.order_id};$http.get("remittance.remittance-record-operation.cancel",a).then((function(t){1===t.result&&e.$notify({background:"#f0f9eb",message:"取消申请成功",color:"#67c23a"})}),(function(t){Object(n["a"])(t.msg)}))})).catch((function(){t.$notify({background:"#edf2fc",message:"已取消操作",color:"#909399"})}))}}},s=d,c=s,l=(a("4300"),a("2877")),u=Object(l["a"])(c,i,r,!1,null,"5077b288",null);e["default"]=u.exports},4300:function(t,e,a){"use strict";a("465c")},"45e36":function(t,e,a){var i=a("24fb"),r=a("1de5"),n=a("1664");e=i(!1);var o=r(n);e.push([t.i,".avatar[data-v-5077b288]{width:100%;height:100%}#remittance-detail .state[data-v-5077b288]{padding:1.25rem;background-color:#f15353;color:#fff;font-size:18px;text-align:left;position:relative}#remittance-detail .state button[data-v-5077b288]{height:1.5rem;line-height:1.5rem;position:absolute;right:1.25rem;top:1.25rem;font-size:12px;display:block;color:#fff;background:hsla(0,0%,100%,.3);border-radius:.25rem;padding:0 .625rem}#remittance-detail .voucher[data-v-5077b288]{background-color:#fff;margin-top:.625rem;padding:0 .875rem 1.25rem .875rem}#remittance-detail .voucher span[data-v-5077b288]{font-weight:700;font-size:14px;display:block;line-height:2.5rem;text-align:left}#remittance-detail .voucher .img[data-v-5077b288]{background-image:url("+o+");background-repeat:no-repeat;background-size:1.5rem;background-position:50%;width:90%;margin:0 auto;height:5.5rem;background-color:#fafafa;border-radius:.25rem;border:.0625rem dashed #ebebeb}#remittance-detail .info[data-v-5077b288]{margin-top:.625rem;background-color:#fff}#remittance-detail .info .box[data-v-5077b288]{padding:.625rem 0;border-bottom:.0625rem solid #ebebeb}#remittance-detail .info .box li[data-v-5077b288]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;line-height:1.875rem;font-size:14px;padding:0 .875rem}#remittance-detail .info .box li span[data-v-5077b288]:first-child{color:#8c8c8c}#remittance-detail .info .btn[data-v-5077b288]{padding:.625rem 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#remittance-detail .info .btn li[data-v-5077b288]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}#remittance-detail .info .btn li button[data-v-5077b288]{width:6.25rem;height:1.875rem;border-radius:.9375rem;background-color:#f15353;color:#fff;font-size:14px;border:none}#remittance-detail #cause[data-v-5077b288]{height:15rem}#remittance-detail #cause h1[data-v-5077b288]{line-height:2.5rem;font-size:16px;border-bottom:.0625rem solid #ebebeb}#remittance-detail #cause ul[data-v-5077b288]{padding:.625rem .875rem;font-size:14px;color:#8c8c8c;text-align:left}#remittance-detail #cause ul li[data-v-5077b288]{text-indent:-1.25rem;margin-left:1.25rem;line-height:1.5rem}",""]),t.exports=e},"465c":function(t,e,a){var i=a("45e36");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=a("499e").default;r("46e0577a",i,!0,{sourceMap:!1,shadowMode:!1})}}]);