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 lines
5.3 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["oilAccount/page/accountRecharge/details"],{"063f":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n("7979")),a=o(n("3415"));function o(e){return e&&e.__esModule?e:{default:e}}var i={onShareAppMessage:function(e){return{title:"订单详情",path:"/orderList/orderDetails/orderDetails"}},components:{},data:function(){return{user:e.getStorageSync("user"),selector:0,details:{},show:{img:!1,footer:!0},iShow:{examine:!1,seting:!1},moreOpen:!1,val:"898989898",modifyShow:{},butten:{colse:"审核失败",confirm:"审核成功",coloseBg:"#EC4645",coloseColor:"#FFFFFF",confirmBg:"#17A00E",confirmColor:"#FFFFFF",borderRadius:"30rpx"}}},onLoad:function(e){e.data&&(this.details=JSON.parse(e.data),a.default.numberSetting(this.details,["transactionAmount"],2))},filters:{typeText:function(e){switch(Number(e)){case 0:return"等待审核";case 1:return"审核通过";case-1:return"审核失败";case 2:return"等待付款";case 3:return"付款完成";case 4:return"取消充值";default:return"---"}}},methods:{transactionType:function(e){switch(e){case"RECHARGE":return{text:"充值",color:"#666666",bg:"rgba(102, 102, 102, 0.1)"};case"RECHARGE_REBETE":return{text:"折返",color:"#9F43CC",bg:"rgba(159, 67, 204, 0.1)"};case"CONSUME_REBATE":return{text:"折返",color:"#9F43CC",bg:"rgba(159, 67, 204, 0.1)"};case"DISPATCH":return{text:"调拨",color:"#2866FF",bg:"rgba(40, 102, 255, 0.1)"};case"CALLBACK":return{text:"回拨",color:"#FF6700",bg:"rgba(255, 103, 0, 0.1)"};case"TURN":return{text:"圈回",color:"#EC4545",bg:"rgba(236, 69, 69, 0.1)"};default:return{text:"---",color:"#666666",bg:"rgba(102, 102, 102, 0.1)"}}},goBack:function(){e.navigateBack()},examine:function(t){var n=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o={auditMark:t,auditRemark:a,id:this.details.id,updateSource:"OMS-MINIAPP"};r.default.auditAccount(o).then((function(t){2e4==t.code&&(e.showToast({title:"操作成功",icon:"success"}),n.iShow.examine=!1,n.getDetails())}))},carSegmentation:function(e,t){if(!e)return"数据错误";var n=e.split("/");switch(t){case"companyName":return n[0];case"bankName":return n[1].split("(")[0];case"bankNumber":return n[1].split("(")[1].replace(")"," ")}},typeColor:function(e){switch(Number(e)){case 0:return"#E8CD30";case 1:return"#17A00E";case-1:return"#EC4545";case 2:return"#ffffff";case 3:return"#ffffff";case 4:return"#ffffff";default:return""}},typeBackground:function(e){switch(Number(e)){case 0:return"#E8CD3026";case 1:return"#17A00E26";case-1:return"#EC454526";case 2:return"#ffba00";case 3:return"#13ce66";case 4:return"#ff4949";default:return""}},codeFn:function(){var t=this;0==this.details.orderWfStatus?orderList.getOrderQrCodeOms(this.details.orderSerialNumber).then((function(n){2e4==n.code?(console.log(n),t.val=n.data.codeStr,t.iShow.seting=!0):e.showToast({title:n.msg,icon:"none"})})):this.iShow.seting=!1},refund:function(){console.log("-----------------")},getDetails:function(e){var t=this;r.default.detailsTheQuery(this.details.id).then((function(e){2e4===e.code&&(t.details=e.data,a.default.numberSetting(t.details,["transactionAmount"],2))}))},qrR:function(){console.log("1")},closeFn:function(){this.examine(-1),console.log("点击取消")},confirmFn:function(){this.examine(1),console.log("点击确定")},share:function(){e.share({provider:"weixin",scene:"WXSceneTimeline",type:1,summary:"我正在使用HBuilderX开发uni-app,赶紧跟我一起来体验!",success:function(e){console.log("success:"+JSON.stringify(e))},fail:function(e){console.log("fail:"+JSON.stringify(e))}})},copy:function(t){e.setClipboardData({data:"".concat(t),success:function(){e.showToast({title:"复制成功"})}})}}};t.default=i}).call(this,n("543d")["default"])},"17a8":function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return r}));var r={uniIcons:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(n.bind(null,"65b9"))}},a=function(){var e=this,t=e.$createElement,n=(e._self._c,e.typeBackground(e.details.auditMark)),r=e.typeColor(e.details.auditMark),a=e.typeColor(e.details.auditMark),o=e._f("typeText")(e.details.auditMark),i=e.transactionType(e.details.transactionType),c=e.transactionType(e.details.transactionType),u=e.transactionType(e.details.transactionType);e._isMounted||(e.e0=function(t){e.moreOpen=!e.moreOpen},e.e1=function(t){e.iShow.examine=!0}),e.$mp.data=Object.assign({},{$root:{m0:n,m1:r,m2:a,f0:o,m3:i,m4:c,m5:u}})},o=[]},1887:function(e,t,n){"use strict";(function(e){n("84da");r(n("66fd"));var t=r(n("9d95"));function r(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=n,e(t.default)}).call(this,n("543d")["createPage"])},"85a2":function(e,t,n){"use strict";n.r(t);var r=n("063f"),a=n.n(r);for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);t["default"]=a.a},"9d95":function(e,t,n){"use strict";n.r(t);var r=n("17a8"),a=n("85a2");for(var o in a)"default"!==o&&function(e){n.d(t,e,(function(){return a[e]}))}(o);n("ce8f");var i,c=n("f0c5"),u=Object(c["a"])(a["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],i);t["default"]=u.exports},c1a1:function(e,t,n){},ce8f:function(e,t,n){"use strict";var r=n("c1a1"),a=n.n(r);a.a}},[["1887","common/runtime","common/vendor"]]]);