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

2 years ago
(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-i