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
1 lines
5.3 KiB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["oilAccount/page/companyRecharge/details"],{2287:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return o}));var o={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"))},uniPopup:function(){return n.e("uni_modules/uni-popup/components/uni-popup/uni-popup").then(n.bind(null,"66ae"))}},r=function(){var e=this,t=e.$createElement,n=(e._self._c,e.typeBackground(e.details.auditMark)),o=e.typeColor(e.details.auditMark),r=e.typeColor(e.details.auditMark),a=e._f("typeText")(e.details.auditMark),i=e.user.authList.includes("sys:company:rechargeAudit");e._isMounted||(e.e0=function(t){e.selector=0},e.e1=function(t){e.selector=1},e.e2=function(t){e.moreOpen=!e.moreOpen},e.e3=function(t){e.iShow.examine=!0}),e.$mp.data=Object.assign({},{$root:{m0:n,m1:o,m2:r,f0:a,g0:i}})},a=[]},2595:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n("7979")),r=a(n("3415"));function a(e){return e&&e.__esModule?e:{default:e}}var i={onShareAppMessage:function(e){return{title:"订单详情",path:"/orderList/orderDetails/orderDetails"}},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(decodeURIComponent(e.data)),r.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:{showImg:function(e){e&&this.$refs.popup.open("center")},goBack:function(){e.navigateBack()},examine:function(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a={auditMark:t,auditRemark:r,id:this.details.id,updateSource:"OMS-MINIAPP"};o.default.auditRechargeRecords(a).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("-----------------")},paymentStatus:function(e){switch(e){case 0:return{text:"待支付",color:"#EBC153",bg:"#FFF6DD"};case 1:return{text:"已支付",color:"#17A00E",bg:"#D1FFDA"};case-1:return{text:"支付失败",color:"#EC4645",bg:"#FFC8C8"};case 2:return{text:"已取消",color:"#999999",bg:"#E9E9E9"};case 3:return{text:"已退款",color:"#999999",bg:""};case 4:return{text:"退款中",color:"#EBC153",bg:""};case 5:return{text:"退款失败",color:"#EC4645",bg:""}}},getDetails:function(e){var t=this;o.default.getCompanyDetails(this.details.id).then((function(e){2e4===e.code&&(t.details=e.data,r.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"])},"2b57":function(e,t,n){"use strict";(function(e){n("84da");o(n("66fd"));var t=o(n("4f5c"));function o(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=n,e(t.default)}).call(this,n("543d")["createPage"])},"4f5c":function(e,t,n){"use strict";n.r(t);var o=n("2287"),r=n("a102");for(var a in r)"default"!==a&&function(e){n.d(t,e,(function(){return r[e]}))}(a);n("5b4a");var i,u=n("f0c5"),c=Object(u["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],i);t["default"]=c.exports},"5b4a":function(e,t,n){"use strict";var o=n("e0f7"),r=n.n(o);r.a},a102:function(e,t,n){"use strict";n.r(t);var o=n("2595"),r=n.n(o);for(var a in o)"default"!==a&&function(e){n.d(t,e,(function(){return o[e]}))}(a);t["default"]=r.a},e0f7:function(e,t,n){}},[["2b57","common/runtime","common/vendor"]]]); |