c9f94971c17658009abf.js 4.7 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([[28],{409:function(t,e,n){},456:function(t,e,n){"use strict";var r=n(409);n.n(r).a},503:function(t,e,n){"use strict";n.r(e);n(30);var r=n(3),o=(n(175),n(176),n(81),{data:function(){return{ids:0,successTF:!0,statusTF:!0,centerDialogVisible:!1,currentPage:1,currentPageSize:1,inforDetail:{related_project:""},status:1,iconUrl:"",nikeName:""}},computed:{},mounted:function(){this.getFinanceList()},methods:{jumpUser:function(){window.location.href(this.$store.state.domainConfig.siteUrl+"/rooter/user/"+this.ids)},getUrlParam:function(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)"),n=window.location.search.substr(1).match(e);return null!=n?decodeURI(n[2]):null},formatDate:function(time){if("0"===time)return"--";var t=new Date(1e3*time);return t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()+" "+t.getHours()+":"+t.getMinutes()+":"+t.getSeconds()},changePageSize:function(t){this.currentPageSize=t},getFinanceList:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var body,n,data;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return body={order_no:t.ids},e.next=3,t.$post("/api/admin/order/get",body);case 3:n=e.sent,data=n.data,t.inforDetail=data,t.iconUrl=data.user_info.icon_url,t.nikeName=data.user_info.nickname,t.status=n.status;case 7:case"end":return e.stop()}}),e)})))()}},created:function(){this.ids=this.getUrlParam("id")}}),_=(n(456),n(2)),component=Object(_.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"order_detailbox"}},[n("h3",{staticStyle:{"font-size":"24px"}},[t._v(t._s(t.inforDetail.product_title))]),t._v(" "),n("span",{staticClass:"lines"}),t._v(" "),n("div",{staticClass:"order-infos"},[n("span",{staticStyle:{display:"block",padding:"30px 0","font-size":"18px"}},[t._v(t._s(t.inforDetail.order_state_name))]),t._v(" "),n("div",{staticClass:"pays-info"},[n("p",[n("span",{staticClass:"pays-title"},[t._v("实际金额:")]),t._v(" "),t.inforDetail.real_amount>=0?n("span",{staticClass:"detail-pays green font20"},[t._v("+"+t._s((t.inforDetail.real_amount/100).toFixed(2)))]):n("span",{staticClass:"detail-pays orange font20"},[t._v(t._s((t.inforDetail.real_amount/100).toFixed(2)))])]),t._v(" "),n("p",[n("span",{staticClass:"pays-title"},[t._v("原始金额:")]),t._v(" "),t.inforDetail.amount>=0?n("span",{},[t._v("+"+t._s(t.inforDetail.amount))]):n("span",{},[t._v(t._s(t.inforDetail.amount))])]),t._v(" "),n("p",[n("span",{staticClass:"pays-title"},[t._v("支付方式:")]),t._v(" "),n("span",[t._v(t._s(t.inforDetail.channel_name))])])]),t._v(" "),n("div",{staticClass:"pays-others"},[n("p",[n("span",[t._v("创建时间:")]),t._v(" "),n("span",[t._v(t._s(t.inforDetail.created_at?t.formatDate(t.inforDetail.created_at):""))])]),t._v(" "),n("p",[n("span",[t._v("到账时间:")]),t._v(" "),n("span",[t._v(t._s(t.inforDetail.pay_time?t.formatDate(t.inforDetail.pay_time):""))])]),t._v(" "),n("p",[n("span",[t._v("订单编号:")]),t._v(" "),n("span",[t._v(t._s(t.inforDetail.order_no))])]),t._v(" "),n("p",[n("span",[t._v("支付编号:")]),t._v(" "),n("span",[t._v(t._s(t.inforDetail.out_order_id))])]),t._v(" "),n("p",[n("span",[t._v("备注说明:")]),t._v(" "),n("span",[t._v(t._s(t.inforDetail.public_comment))])])]),t._v(" "),n("span",{staticClass:"lines"}),t._v(" "),n("div",{staticClass:"pays-others",staticStyle:{padding:"10px 0 40px 0"}},[n("p",[n("span",[t._v("订单类型:")]),t._v(" "),n("span",[t._v(t._s(t.inforDetail.product_type_name))])]),t._v(" "),n("p",[n("span",[t._v("交易类型:")]),t._v(" "),n("span",[t._v(t._s(t.inforDetail.order_type_name))])]),t._v(" "),n("p",[n("span",[t._v("关联项目:")]),t._v(" "),n("a",{attrs:{href:t.inforDetail.related_project.url?t.inforDetail.related_project.url:"#"}},[n("span",{staticClass:"lblue"},[t._v(t._s(t.inforDetail.related_project.name?t.inforDetail.related_project.name:"--"))])])]),t._v(" "),n("p",[n("span",[t._v("关联订单:")]),t._v(" "),n("span",{staticClass:"lblue"},[t._v(t._s(t.inforDetail.origin_order_no?t.inforDetail.origin_order_no:"--"))])]),t._v(" "),n("p",[n("span",[t._v("人工财务:")]),t._v(" "),n("span",[t._v(t._s(1==t.inforDetail.artificial_mark?"是":"否"))])]),t._v(" "),n("p",[n("span",[t._v("支付账号:")]),t._v(" "),n("span",[t._v(t._s(t.inforDetail.channel_account))])]),t._v(" "),n("p",[n("span",[t._v("内部备注:")]),t._v(" "),n("span",{staticStyle:{display:"inline-block"},domProps:{innerHTML:t._s(t.inforDetail.private_comment)}})])])]),t._v(" "),n("a",{staticClass:"person-img floatr",attrs:{href:t.inforDetail.user_url,target:"blank"}},[n("img",{attrs:{src:t.iconUrl,alt:""}}),t._v(" "),n("p",{staticClass:"textc"},[t._v(t._s(t.nikeName))])])])}),[],!1,null,"4eb6b91e",null);e.default=component.exports}}]);