(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-8074e1f0"],{"2bd2":function(e,t,o){},"365c":function(e,t,o){"use strict";o.d(t,"a",(function(){return a})),o.d(t,"e",(function(){return n})),o.d(t,"d",(function(){return l})),o.d(t,"b",(function(){return i})),o.d(t,"c",(function(){return s})),o.d(t,"f",(function(){return c}));var r=o("b775");function a(e){return Object(r["a"])({url:"/personPc/index/getCustIndexBaseInfo",method:"post",data:e})}function n(e){return Object(r["a"])({url:"/personPc/index/queryOwnerPayOutByMonth",method:"post",data:e})}function l(e){return Object(r["a"])({url:"/personPc/index/queryOwnerParkRecord",method:"post",data:e})}function i(e){return Object(r["a"])({url:"/personPc/index/pageQueryArrearRecordByCondition",method:"post",data:e})}function s(e){return Object(r["a"])({url:"/personPc/wxPay/personOrderBackWxPay",method:"post",data:e})}function c(e){return Object(r["a"])({url:"/personPc/index/selectAllAppOrg",method:"post",data:e})}},3851:function(e,t,o){"use strict";o.r(t);var r=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("div",{staticClass:"serch-wrap"},[o("el-row",{attrs:{gutter:20}},[o("el-form",{ref:"form",attrs:{model:e.form,"label-width":"60px","label-position":"left"}},[o("el-col",{attrs:{xs:8,sm:6,md:7,lg:7,xl:7}},[o("el-form-item",{attrs:{label:"公司"}},[o("el-select",{attrs:{placeholder:"请选择公司"},model:{value:e.form.orgId,callback:function(t){e.$set(e.form,"orgId",t)},expression:"form.orgId"}},e._l(e.orgs,(function(e){return o("el-option",{attrs:{label:e.orgName,value:e.orgId}})})),1)],1)],1),e._v(" "),o("el-col",{attrs:{xs:8,sm:6,md:7,lg:7,xl:7}},[o("el-form-item",{attrs:{label:"车牌"}},[o("el-input",{attrs:{maxlength:"10"},model:{value:e.form.carNum,callback:function(t){e.$set(e.form,"carNum",t)},expression:"form.carNum"}})],1)],1),e._v(" "),o("el-col",{attrs:{xs:8,sm:6,md:3,lg:3,xl:3}},[o("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("查询")])],1)],1)],1)],1),e._v(" "),o("div",{staticClass:"table-wrap"},[o("el-row",{attrs:{gutter:20}},[o("el-col",{attrs:{xs:8,sm:6,md:3,lg:22,xl:22}},[o("p",{staticClass:"table-title"},[e._v("订单详情")])])],1),e._v(" "),o("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:e.orderData,"element-loading-text":"数据加载中...","element-loading-spinner":"el-icon-loading","show-overflow-tooltip":!0},on:{"selection-change":e.handleSelectionChange}},[o("el-table-column",{attrs:{type:"selection"}}),e._v(" "),o("el-table-column",{attrs:{prop:"plName",label:"停车场","show-overflow-tooltip":!0}}),e._v(" "),o("el-table-column",{attrs:{prop:"carNumber",label:"车牌","show-overflow-tooltip":!0}}),e._v(" "),o("el-table-column",{attrs:{prop:"arrearageFee",label:"欠费金额"},scopedSlots:e._u([{key:"default",fn:function(t){return[o("span",[e._v(e._s(e._f("fen2Yuan")(t.row.arrearageFee))+" ")])]}}])}),e._v(" "),o("el-table-column",{attrs:{prop:"parkInTime",label:"入场时间","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[o("span",[e._v(e._s(e._f("string2Date")(t.row.parkInTime,7))+" ")])]}}])}),e._v(" "),o("el-table-column",{attrs:{prop:"parkOutTime",label:"出场时间","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[o("span",[e._v(e._s(e._f("string2Date")(t.row.parkOutTime,7))+" ")])]}}])}),e._v(" "),o("el-table-column",{attrs:{prop:"parkingDuration",label:"停车时长","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[o("span",[e._v(e._s(e._f("parkingDurationFormatter")(t.row,t.row.parkingDuration))+" ")])]}}])}),e._v(" "),o("el-table-column",{attrs:{prop:"berthNo",label:"泊位编号"}}),e._v(" "),o("el-table-column",{attrs:{prop:"orderState",label:"订单状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[o("span",[e._v(e._s(e._f("inOutStateFormatter")(t.row))+" ")])]}}])})],1),e._v(" "),o("el-pagination",{attrs:{"page-size":10,"pager-count":11,layout:"prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleSizeChange,"prev-click":e.handleSizeChange,"next-click":e.handleSizeChange}})],1),e._v(" "),o("el-dialog",{attrs:{title:"补缴",visible:e.dialogVisible,width:"30%","close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogVisible=t}}},[o("div",{staticStyle:{position:"relative",height:"150px"}},[o("div",{attrs:{id:"qrcode"}}),e._v(" "),o("div",{staticClass:"qecode_Bg"})]),e._v(" "),o("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[o("el-button",{attrs:{type:"primary"},on:{click:e.onBack}},[e._v("确 定")])],1)])],1)},a=[],n=(o("1bc7"),o("365c")),l=(o("8975"),o("1f57")),i=o.n(l),s={data:function(){return{form:{orgId:null,plNos:null,carNum:null},loading:!1,orgs:[],total:0,currentPage:1,pageSize:6,orderData:[],multipleSelection:[],dialogVisible:!1,url:"http://img.renniting.cn/group1/M00/35/07/rBABHF0fHpOAGw2BAAF_F0CXpIA340.png"}},mounted:function(){this.selectAllAppOrg()},methods:{qrcode:function(e){var t=new i.a("qrcode",{width:100,height:100,text:e});console.log(t)},clearCode:function(){var e=document.getElementById("qrcode");null!=e&&""!=e.innerHTML&&null!=e.innerHTML&&(e.innerHTML="")},selectAllAppOrg:function(){var e=this,t={};Object(n["f"])(t).then((function(t){"8888"==t.code?(e.orgs=t.data,e.form.orgId=t.data[0].orgId,e.pageQueryArrearRecordByCondition()):console.log(t)}))},getQueryParams:function(){if(void 0!=this.form.orgId&&null!=this.form.orgId){var e=this.$store.state.user.userInfo,t=[];null!=this.form.plNos&&""!=this.form.plNos&&t.push(this.form.plNos);var o={custId:e.custId,orderStates:[52],plNos:t,orgId:this.form.orgId,carNum:this.form.carNum};return o}console.log("orgId为空")},pageQueryArrearRecordByCondition:function(){var e=this,t=this.getQueryParams();t.baseRequest={pageNum:this.currentPage,pageSize:this.pageSize},Object(n["b"])(t).then((function(t){"8888"==t.code?(e.orderData=t.data.dataList,e.total=t.data.pageTotals,e.loading=!1):console.log(t)}))},handleSizeChange:function(e){console.log(e),this.currentPage=e,this.pageQueryArrearRecordByCondition()},handleSelectionChange:function(e){this.multipleSelection=e},toBackSubmit:function(){var e=this;this.clearCode();var t=this.multipleSelection;if(null==t||t.length<1)this.$message({message:"请至少选择一行数据!",type:"warning"});else{var o=[],r=[],a="";if(t.forEach((function(e){o.push({orderId:e.orderId,parkId:e.plNo,orderNotPayFee:e.arrearageFee,sourceType:1}),r.push(e.orgId),a=e.carNumber})),null==o||o.length<1)this.$message({message:"请至少选择一行数据!",type:"warning"});else{var l={sysCode:"10003",payType:2,paySrcType:103,terminalSource:9,carNumber:a,recordArreaInfos:JSON.stringify(o)};Object(n["c"])(l).then((function(t){if("8888"==t.code){var o=t.data;o=JSON.parse(o);var r=o.data.code_url;console.log(r),e.qrcode(r)}else console.log(t)})),this.dialogVisible=!0}}},onSubmit:function(){this.loading=!0,this.pageQueryArrearRecordByCondition()},onBack:function(){this.dialogVisible=!1,this.pageQueryArrearRecordByCondition(),this.clearCode()},onCancel:function(){this.$message({message:"cancel!",type:"warning"})}}},c=s,u=(o("f4b0"),o("4ac2")),d=Object(u["a"])(c,r,a,!1,null,"5793081c",null);t["default"]=d.exports},f4b0:function(e,t,o){"use strict";o("2bd2")}}]);