1 line
54 KiB
JavaScript
1 line
54 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-507201b3"],{"12a1":function(e,t,n){"use strict";n("2d23")},"2a73":function(e,t,n){},"2d23":function(e,t,n){},"31ae":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-container bgHeight"},[n("div",{staticClass:"material"},[n("el-tabs",{attrs:{type:"border-card"},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[n("el-tab-pane",{attrs:{label:"电子收据",name:"electronicReceipt"}},[n("electronic-receipt",{directives:[{name:"show",rawName:"v-show",value:"electronicReceipt"===e.activeName,expression:"activeName === 'electronicReceipt'"}],ref:"electronicReceipt"})],1),e._v(" "),n("el-tab-pane",{attrs:{label:"发票记录",name:"invoiceRecord"}},[n("invoice-record",{directives:[{name:"show",rawName:"v-show",value:"invoiceRecord"===e.activeName,expression:"activeName === 'invoiceRecord'"}],ref:"invoiceRecord"})],1),e._v(" "),n("el-tab-pane",{attrs:{label:"预缴电子收据",name:"prepayElectronicReceipt"}},[n("prepayElectronicReceipt",{directives:[{name:"show",rawName:"v-show",value:"prepayElectronicReceipt"===e.activeName,expression:"activeName === 'prepayElectronicReceipt'"}],ref:"prepayElectronicReceipt"})],1),e._v(" "),n("el-tab-pane",{attrs:{label:"预缴抵扣",name:"PrepaymentCredit"}},[n("PrepaymentCredit",{directives:[{name:"show",rawName:"v-show",value:"PrepaymentCredit"===e.activeName,expression:"activeName === 'PrepaymentCredit'"}],ref:"PrepaymentCredit"})],1)],1)],1)])},a=[],o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{ref:"box",staticClass:"searchStys transition_dom"},[n("el-form",{ref:"query",attrs:{model:e.query}},[n("div",{ref:"form_box",staticClass:"searchBar"},[n("div",{staticClass:"searchInput"},[n("el-row",{attrs:{gutter:20}},[n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{prop:"title"}},[n("el-input",{attrs:{placeholder:"收费主体",clearable:""},model:{value:e.query.title,callback:function(t){e.$set(e.query,"title",t)},expression:"query.title"}})],1)],1),e._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{prop:"status"}},[n("el-select",{attrs:{placeholder:"支付状态",clearable:""},model:{value:e.query.status,callback:function(t){e.$set(e.query,"status",t)},expression:"query.status"}},[n("el-option",{attrs:{label:"未支付",value:"1"}}),e._v(" "),n("el-option",{attrs:{label:"已支付",value:"2"}})],1)],1)],1),e._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{prop:"type"}},[n("el-select",{attrs:{placeholder:"费用类型",clearable:""},model:{value:e.query.type,callback:function(t){e.$set(e.query,"type",t)},expression:"query.type"}},e._l(e.orderTypeList,(function(e){return n("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{prop:"transactionId"}},[n("el-input",{attrs:{placeholder:"交易流水号",clearable:""},model:{value:e.query.transactionId,callback:function(t){e.$set(e.query,"transactionId",t)},expression:"query.transactionId"}})],1)],1),e._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{prop:"orderNo"}},[n("el-input",{attrs:{placeholder:"支付订单号",clearable:""},model:{value:e.query.orderNo,callback:function(t){e.$set(e.query,"orderNo",t)},expression:"query.orderNo"}})],1)],1),e._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{prop:"phone"}},[n("el-input",{attrs:{placeholder:"支付人/支付人手机号",clearable:""},model:{value:e.query.phone,callback:function(t){e.$set(e.query,"phone",t)},expression:"query.phone"}})],1)],1),e._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{prop:"state"}},[n("el-select",{attrs:{placeholder:"是否分账成功",clearable:""},model:{value:e.query.state,callback:function(t){e.$set(e.query,"state",t)},expression:"query.state"}},[n("el-option",{attrs:{label:"默认未分账",value:"1"}}),e._v(" "),n("el-option",{attrs:{label:"已分账",value:"2"}})],1)],1)],1),e._v(" "),n("el-col",{attrs:{span:12}},[n("el-form-item",[n("el-date-picker",{attrs:{clearable:"","value-format":"yyyy-MM-dd HH:mm:ss",type:"datetimerange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","default-time":["00:00:00","23:59:59"]},model:{value:e.taskDate,callback:function(t){e.taskDate=t},expression:"taskDate"}})],1)],1)],1)],1),e._v(" "),n("div",{staticClass:"searchBtn"},[n("el-form-item",[n("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],on:{click:function(t){return e.resetForm("query")}}},[e._v("重置")]),e._v(" "),n("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"primary"},on:{click:e.onSearch}},[e._v("查询")]),e._v(" "),e.is_show?e._e():n("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text"},on:{click:e.upAndDown}},[e._v("展开"),n("i",{staticClass:"el-icon-arrow-down"})]),e._v(" "),e.is_show?n("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text"},on:{click:e.upAndDown}},[e._v("收起"),n("i",{staticClass:"el-icon-arrow-up"})]):e._e()],1)],1)])])],1),e._v(" "),n("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[n("div",{staticClass:"planLst",attrs:{slot:"header"},slot:"header"},[n("span",{staticClass:"planTitle"},[e._v("交易订单列表")])]),e._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],attrs:{border:"",data:e.listTable,"header-cell-style":e.headClass,"tooltip-effect":"dark"}},[n("el-table-column",{attrs:{label:"#",align:"center","min-width":"50",fixed:"left"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(t.$index+(e.query.pageNumber-1)*e.query.pageSize+1)+"\n ")])]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center","min-width":"160",label:"订单类型",fixed:"left"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(e._f("getItemType")(t.row.type,e.orderTypeList)))])]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"缴费主体","min-width":"200","show-overflow-tooltip":"",prop:"content",fixed:"left"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(t.row.content?t.row.content:t.row.title||"-"))])]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"支付人","show-overflow-tooltip":"","min-width":"100",prop:"userName"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(t.row.userName||"-"))])]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"支付人手机号","show-overflow-tooltip":"","min-width":"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(t.row.phone||"-"))])]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"支付订单号","show-overflow-tooltip":"","min-width":"220"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(t.row.orderNo||"-"))])]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"交易流水号","show-overflow-tooltip":"","min-width":"270"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(t.row.transactionId||"-"))])]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"right","min-width":"130",label:"支付金额(元)",prop:"totalAmount"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(e._f("toThousandFilter")(t.row.totalAmount)))])]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center","min-width":"100","show-overflow-tooltip":"",label:"支付渠道"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(1==t.row.channel?"W":2==t.row.channel||3==t.row.channel?"K":4==t.row.channel||5==t.row.channel?"X":"其它"))])]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center","min-width":"100","show-overflow-tooltip":"",label:"支付状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(1==t.row.status?"未支付":"已支付"))])]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center","min-width":"170","show-overflow-tooltip":"",label:"支付时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(t.row.payTime||"-"))])]}}])}),e._v(" "),n("el-table-column",{attrs:{label:"操作","min-width":"180",align:"center",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{attrs:{type:"text",disabled:!t.row.receiptUrl},on:{click:function(n){return e.viewPdf(t.row)}}},[e._v("查看")]),e._v(" "),n("el-button",{attrs:{type:"text",disabled:!t.row.receiptUrl},on:{click:function(n){return e.downloadPdf(t.row)}}},[e._v("下载")]),e._v(" "),2==t.row.status?n("el-button",{attrs:{type:"text"},on:{click:function(n){return e.createNote(t.row)}}},[e._v("生成票据")]):e._e()]}}])})],1),e._v(" "),n("div",{staticClass:"pagination"},[n("Pagination",{attrs:{total:e.pageTotal},on:{handleCurrentChange:e.handleCurrentChange,handleSizeChange:e.handleSizeChange}})],1)],1)],1)},i=[],l=n("333d"),s=n("a6be"),u=n("dce5"),c={components:{Pagination:l["a"]},data:function(){return{is_show:!1,height:"",isShow:!1,pageTotal:0,listLoading:!1,listTable:[],taskDate:"",totalMoney:0,orderTypeList:u["zb"],query:{pageNumber:1,pageSize:10,title:"",status:"",type:"",orderNo:"",transactionId:"",phone:"",state:"",startDate:"",endDate:""}}},beforeRouteEnter:function(e,t,n){n((function(t){var n=e.name,r=JSON.parse(sessionStorage.getItem(n));r&&(t.query=r),t.getlistData()}))},mounted:function(){this.getRealHeight()},created:function(){this.headClass(),this.getlistData()},methods:{filterUrl:function(e){return!!e},createNote:function(e){var t=this;Object(s["d"])({orderNo:e.orderNo}).then((function(e){0==e.code&&(t.getlistData(),t.$message.success("成功生成票据"))}))},getlistData:function(){var e=this;this.listLoading=!0,this.query.projectUuid=this.$store.state.community_uuid,Object(s["i"])(this.query).then((function(t){0==t.code&&(e.listTable=t.data.records,e.pageTotal=t.data.rowsCount,e.totalMoney=t.data.totalAmount),sessionStorage.setItem(e.$route.name,JSON.stringify(e.query))})),this.listLoading=!1},onSearch:function(){this.searchCondition(),this.query.pageNumber=1,this.getlistData()},searchCondition:function(){console.log(this.taskDate),this.taskDate?(this.query.startDate=this.taskDate[0],this.query.endDate=this.taskDate[1]):(this.query.startDate="",this.query.endDate="")},handleSizeChange:function(e){this.query.pageSize=e.limit,this.query.pageNumber=1,this.getlistData()},handleCurrentChange:function(e){this.query.pageNumber=e.currentPage,this.getlistData()},resetForm:function(e){this.taskDate="",this.$refs[e].resetFields(),this.query.pageNumber=1,this.getlistData()},handleSlow:function(){this.isShow=!this.isShow},headClass:function(){return"text-align:center;background:#FAFAFA;"},viewOrder:function(e){this.$router.replace({path:"/viewInfo/orderDetail",query:{id:e.id,type:e.type}})},downloadPdf:function(e){var t=document.createElement("a");t.href=e.receiptUrl,t.click()},viewPdf:function(e){var t=e.receiptUrl;window.open("/static/pdf/web/viewer.html?file="+encodeURIComponent(t))},upAndDown:function(){this.is_show?this.$refs.box.style.height="80px":this.$refs.box.style.height=this.height,this.is_show=!this.is_show},getRealHeight:function(){this.$nextTick((function(){this.height=this.$refs.form_box.offsetHeight+"px"}))}}},d=c,p=(n("b28b"),n("829d")),f=Object(p["a"])(d,o,i,!1,null,"e57800b0",null),h=f.exports,m=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",[n("div",{ref:"box",staticClass:"searchStys transition_dom"},[n("el-form",{ref:"query",attrs:{model:e.query}},[n("div",{ref:"form_box",staticClass:"searchBar"},[n("div",{staticClass:"searchInput"},[n("el-row",{attrs:{gutter:20}},[n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{prop:"precinctId"}},[n("el-select",{attrs:{filterable:"",clearable:"",placeholder:"管理区名称"},on:{change:e.selectChange},model:{value:e.query.precinctId,callback:function(t){e.$set(e.query,"precinctId",t)},expression:"query.precinctId"}},e._l(e.areaOptions,(function(e){return n("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1)],1),e._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{prop:"buildingId"}},[n("el-select",{attrs:{filterable:"",clearable:"",placeholder:"所有楼栋"},on:{change:e.changeBuild},model:{value:e.query.buildingId,callback:function(t){e.$set(e.query,"buildingId",t)},expression:"query.buildingId"}},e._l(e.building,(function(e){return n("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1)],1),e._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{prop:"unitId"}},[n("el-select",{attrs:{filterable:"",clearable:"",placeholder:"所有单元"},model:{value:e.query.unitId,callback:function(t){e.$set(e.query,"unitId",t)},expression:"query.unitId"}},e._l(e.unit,(function(e){return n("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1)],1),e._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{prop:"roomNum"}},[n("el-input",{attrs:{placeholder:"房间号",clearable:""},model:{value:e.query.roomNum,callback:function(t){e.$set(e.query,"roomNum",t)},expression:"query.roomNum"}})],1)],1)],1),e._v(" "),n("el-row",{directives:[{name:"show",rawName:"v-show",value:e.isShow,expression:"isShow"}],attrs:{gutter:20}},[n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{prop:"invoiceNo"}},[n("el-input",{attrs:{clearable:"",placeholder:"发票号码"},model:{value:e.query.invoiceNo,callback:function(t){e.$set(e.query,"invoiceNo",t)},expression:"query.invoiceNo"}})],1)],1),e._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{prop:"amount"}},[n("el-input",{attrs:{clearable:"",placeholder:"开票金额"},model:{value:e.query.amount,callback:function(t){e.$set(e.query,"amount",t)},expression:"query.amount"}})],1)],1),e._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{prop:"status"}},[n("el-select",{attrs:{placeholder:"请选择状态",clearable:""},model:{value:e.query.status,callback:function(t){e.$set(e.query,"status",t)},expression:"query.status"}},e._l(e.invoiceStatusArr,(function(e,t){return n("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1)],1)],1)],1),e._v(" "),n("div",{staticClass:"searchBtn"},[n("el-form-item",[n("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],on:{click:function(t){return e.resetForm("query")}}},[e._v("重置")]),e._v(" "),n("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"primary"},on:{click:e.getList}},[e._v("查询")])],1),e._v(" "),n("el-form-item",[e.isShow?e._e():n("el-button",{attrs:{type:"text"},on:{click:e.handleSlow}},[e._v("展开"),n("i",{staticClass:"el-icon-arrow-down"})]),e._v(" "),e.isShow?n("el-button",{attrs:{type:"text"},on:{click:e.handleSlow}},[e._v("收起"),n("i",{staticClass:"el-icon-arrow-up"})]):e._e()],1)],1)])])],1),e._v(" "),n("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[n("div",{staticClass:"planLst",attrs:{slot:"header"},slot:"header"},[n("span",{staticClass:"planTitle"},[e._v("发票列表")])]),e._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],attrs:{border:"",data:e.listData,"header-cell-style":e.headClass}},[n("el-table-column",{attrs:{type:"index",label:"#",align:"center","min-width":"50",fixed:""},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(t.$index+(e.query.pageNumber-1)*e.query.pageSize+1))])]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center","min-width":"80",label:"管理区","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.precinctName||"-"))]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center","min-width":"80",label:"楼栋","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.buildingName||"-"))]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center","min-width":"80",label:"单元","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.unitName||"-"))]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center","min-width":"80",label:"房号","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.roomNum))]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center","min-width":"100",label:"支付/销单订单号","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.businessNo||"-"))]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center","min-width":"220",label:"发票号码","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.invoiceNo||"-"))]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center","min-width":"100",label:"开票日期","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.createTime||"-"))]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center","min-width":"120",label:"发票类型","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getItemType")(t.row.invoiceType,e.invoiceType))+"\n ")]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center","min-width":"100",label:"发票来源","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getItemType")(t.row.source,e.sourceArr))+"\n ")]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center","min-width":"120",label:"开票金额(元)","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.amount||"-"))]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center","min-width":"80",label:"发票状态","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getItemType")(t.row.status,e.invoiceStatusArr))+"\n ")]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center","min-width":"100",label:"开票邮箱","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.email||"-"))]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center","min-width":"80",label:"操作人","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.updateName||"-"))]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center","min-width":"200",label:"操作时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.updateTime||"-"))]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"操作","min-width":"200",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[3==t.row.status?n("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{size:"mini",type:"text",disabled:!t.row.attachment},on:{click:function(n){return e.downloadPdf(t.row)}}},[e._v("下载")]):e._e(),e._v(" "),3==t.row.status?n("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{size:"mini",type:"text",disabled:""},on:{click:function(n){return e.pushItem(t.row)}}},[e._v("推送")]):e._e(),e._v(" "),3==t.row.status?n("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{size:"mini",type:"text"},on:{click:function(n){return e.voidItem(t.row)}}},[e._v("作废")]):e._e(),e._v(" "),3==t.row.status?n("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{size:"mini",type:"text"},on:{click:function(n){return e.reinvoiceItem(t.row)}}},[e._v("重开发票")]):e._e()]}}])})],1),e._v(" "),n("div",{staticClass:"pagination-container",staticStyle:{"margin-top":"10px","text-align":"right"}},[n("el-pagination",{attrs:{background:"","page-sizes":[10,30,50,100,200],"page-size":1,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],1)],1)])},b=[],v=n("d813"),g=n("2b74"),y={components:{},data:function(){return{isShow:!1,listLoading:!1,total:0,listData:[],invoiceType:u["lb"],projectId:"",building:[],unit:[],areaOptions:[],query:{pageNumber:1,pageSize:10,precinctId:"",buildingId:"",unitId:"",roomNum:"",status:"",invoiceNo:"",amount:"",projectUuid:""},invoiceStatusArr:[{value:"1",label:"未开票"},{value:"2",label:"开票中"},{value:"3",label:"已开票"},{value:"4",label:"已作废"},{value:"5",label:"开票失败"}],sourceArr:[{value:"1",label:"pc端"},{value:"2",label:"小程序"}]}},beforeRouteEnter:function(e,t,n){n((function(t){var n=e.name;console.log(e.name),t.setType(e.name);var r=JSON.parse(sessionStorage.getItem(n));r&&(t.queryInfo=r),t.getList()}))},created:function(){this.projectId=this.$store.state.community_uuid,this.headClass(),this.getList()},mounted:function(){this.getBuildList(),this.getList()},methods:{handleSlow:function(){this.isShow=!this.isShow},resetForm:function(e){this.query.pageNumber=1,this.$refs[e].resetFields(),this.getList()},getBuildList:function(){var e=this,t={projectUuid:this.$store.state.community_uuid,pageNumber:-1,pageSize:-1};Object(g["f"])(t).then((function(t){0===t.code&&(e.areaOptions=t.data)}))},selectChange:function(e){this.query.precinctId=e,this.getBuild()},getBuild:function(){var e=this;Object(g["x"])({precinctId:this.query.precinctId,projectCode:this.$store.state.community_uuid,projectName:this.$store.state.community_name,pageNumber:-1,pageSize:-1}).then((function(t){e.building=t.data}))},getUnit:function(){var e=this;Object(g["mb"])({pageNumber:-1,pageSize:-1,projectCode:this.$store.state.community_uuid,buildingId:this.query.buildingId}).then((function(t){e.unit=t.data.records}))},changeBuild:function(e){this.query.buildingId=e,this.getUnit()},getList:function(){var e=this;this.listLoading=!0,this.query.projectUuid=this.projectId,Object(v["g"])(this.query).then((function(t){0==t.code?(e.listData=t.data.records,e.total=t.data.rowsCount):e.$message.error(t.message),e.listLoading=!1,sessionStorage.setItem(e.$route.name,JSON.stringify(e.query))})).catch((function(t){e.listLoading=!1}))},downloadPdf:function(e){var t=e.attachment,n="".concat(e.businessNo,"_").concat(e.invoiceNo),r=new XMLHttpRequest;r.open("GET",t,!0),r.responseType="blob",r.onload=function(){var e=URL.createObjectURL(r.response),t=document.createElement("a");t.href=e,t.download=n,t.target="_blank",t.click()},r.send()},pushItem:function(e){},voidItem:function(e){this.$message("请登录税务局网站进行作废")},reinvoiceItem:function(e){this.$message("请登录税务局网站重开发票")},handleSizeChange:function(e){this.query.pageSize=e,this.getList()},handleCurrentChange:function(e){this.query.pageNumber=e,this.getList()},headClass:function(){return"text-align:center;background:#FAFAFA;"}}},_=y,w=(n("12a1"),Object(p["a"])(_,m,b,!1,null,null,null)),j=w.exports,O=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.showList?n("div",[n("div",{staticClass:"searchContent"},[n("el-form",{ref:"query",staticClass:"demo-form-inline",attrs:{inline:!0,model:e.query}},[n("el-form-item",{attrs:{prop:"precinctId"}},[n("el-select",{attrs:{filterable:"",clearable:"",placeholder:"管理区名称"},on:{change:e.selectChange},model:{value:e.query.precinctId,callback:function(t){e.$set(e.query,"precinctId",t)},expression:"query.precinctId"}},e._l(e.areaOptions,(function(e){return n("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),n("el-form-item",{attrs:{prop:"buildingId"}},[n("el-select",{attrs:{filterable:"",clearable:"",placeholder:"所有楼栋"},on:{change:e.changeBuild},model:{value:e.query.buildingId,callback:function(t){e.$set(e.query,"buildingId",t)},expression:"query.buildingId"}},e._l(e.building,(function(e){return n("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),n("el-form-item",{attrs:{prop:"unitId"}},[n("el-select",{attrs:{filterable:"",clearable:"",placeholder:"所有单元"},model:{value:e.query.unitId,callback:function(t){e.$set(e.query,"unitId",t)},expression:"query.unitId"}},e._l(e.unitList,(function(e){return n("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),n("el-form-item",{attrs:{prop:"roomNum"}},[n("el-input",{attrs:{placeholder:"请输入房号",clearable:""},model:{value:e.query.roomNum,callback:function(t){e.$set(e.query,"roomNum",t)},expression:"query.roomNum"}})],1),e._v(" "),n("el-form-item",{attrs:{label:"",prop:"source"}},[n("el-select",{staticClass:"form-item-content",attrs:{clearable:"",placeholder:"操作来源"},model:{value:e.query.source,callback:function(t){e.$set(e.query,"source",t)},expression:"query.source"}},e._l(e.optSource,(function(e){return n("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),n("el-form-item",{attrs:{prop:"outNo"}},[n("el-input",{attrs:{placeholder:"支付/导入订单ID",clearable:""},model:{value:e.query.outNo,callback:function(t){e.$set(e.query,"outNo",t)},expression:"query.outNo"}})],1),e._v(" "),n("el-form-item",{attrs:{prop:"outId"}},[n("el-input",{attrs:{placeholder:"导入入账列表ID",clearable:""},model:{value:e.query.outId,callback:function(t){e.$set(e.query,"outId",t)},expression:"query.outId"}})],1)],1),e._v(" "),n("div",[n("el-button",{attrs:{type:"primary"},on:{click:e.searchClick}},[e._v("搜索")]),e._v(" "),n("el-button",{on:{click:e.resetClick}},[e._v("重置")])],1)],1),e._v(" "),e._m(0),e._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],ref:"dataTable",staticStyle:{width:"100%"},attrs:{border:"",data:e.listData,"row-key":"id","header-cell-style":e.headClass,fit:"","highlight-current-row":""}},[n("el-table-column",{attrs:{label:"#",align:"center",width:"50"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(t.$index+(e.query.pageNumber-1)*e.query.pageSize+1)+"\n ")])]}}],null,!1,2770601025)}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"房屋号","min-width":"150","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.precinctName?t.row.precinctName+"-"+t.row.buildingName+"-"+t.row.unitName+"-"+t.row.roomNum:"-")+"\n ")]}}],null,!1,3450463809)}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"收费项ID","min-width":"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.chargeCode||"-")+"\n ")]}}],null,!1,7900359)}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"收费项","min-width":"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.chargeName)+"\n ")]}}],null,!1,382268736)}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"预收款项科目","min-width":"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.prepayName||"-")+"\n ")]}}],null,!1,3797393144)}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"支付方向","min-width":"90","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getItemType")(t.row.direction,e.directionList))+"\n ")]}}],null,!1,3631096849)}),e._v(" "),n("el-table-column",{attrs:{align:"right",label:"实收货币金额","min-width":"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(2===t.row.direction?"-":"")+e._s(e._f("toThousandFilter")(t.row.realAmount))+"\n ")]}}],null,!1,3631293907)}),e._v(" "),n("el-table-column",{attrs:{align:"right",label:"补贴雨滴金额","min-width":"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(2===t.row.direction?"-":"")+e._s(e._f("toThousandFilter")(t.row.ydAmount))+"\n ")]}}],null,!1,2513498644)}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"预缴实收时间","min-width":"160","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.payTime)+"\n ")]}}],null,!1,2005994720)}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"入账交易时间","min-width":"160","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.transactionTime)+"\n ")]}}],null,!1,3473173324)}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"操作来源","min-width":"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getItemType")(t.row.source,e.optSource))+"\n ")]}}],null,!1,1471601752)}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"经办人","min-width":"90","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.opName||"-")+"\n ")]}}],null,!1,3203589512)}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"经办人手机号","min-width":"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.opPhone||"-")+"\n ")]}}],null,!1,1720351315)}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"支付/导入订单ID","min-width":"160","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[3!==t.row.source?n("el-link",{attrs:{type:"primary"},on:{click:function(n){return e.gotoOrderDetailes(t.row)}}},[e._v(e._s(t.row.outNo))]):n("span",[e._v(e._s("-"))])]}}],null,!1,2776132406)}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"导入入账列表ID","min-width":"160","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[2==t.row.source?n("el-link",{attrs:{type:"primary"},on:{click:function(n){return e.getImportOrder(t.row)}}},[e._v(e._s(t.row.outId))]):n("span",[e._v(e._s("-"))])]}}],null,!1,4282464645)}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"操作","min-width":"150",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text",disabled:!t.row.receiptUrl},on:{click:function(n){return e.viewDetails(t.row)}}},[e._v("查看")]),e._v(" "),n("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text",disabled:!t.row.receiptUrl},on:{click:function(n){return e.download(t.row)}}},[e._v("下载")]),e._v(" "),3!==t.row.source?n("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text"},on:{click:function(n){return e.afresh(t.row)}}},[e._v("重新生成票据")]):e._e()]}}],null,!1,1106213284)})],1),e._v(" "),n("div",{staticClass:"paginations"},[n("el-pagination",{attrs:{background:"","current-page":e.query.pageNumber,"page-sizes":[10,30,50,100,200],"page-size":e.query.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"update:currentPage":function(t){return e.$set(e.query,"pageNumber",t)},"update:current-page":function(t){return e.$set(e.query,"pageNumber",t)},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],1):e._e(),e._v(" "),n("importDetail",{ref:"detail",attrs:{show:e.detail,info:e.saveData},on:{back:e.detailBack}})],1)},S=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"titleContent"},[n("div",{staticClass:"tableTitle"},[e._v("预缴电子收据")])])}],C=n("3380"),q=n("9192"),k=n("ce63"),T=n("dce1"),N=n("d059"),I={name:"",components:{importDetail:C["a"]},data:function(){return{areaOptions:[],building:[],unitList:[],total:0,chargesArr:[],prepaySubjectList:[],query:{pageNumber:1,pageSize:10,projectUuid:this.$store.state.community_uuid,precinctId:"",buildingId:"",unitId:"",roomNum:"",chargeId:"",prepayCode:"",opName:"",opPhone:"",outNo:"",outId:"",direction:""},payTime:"",transactionTime:"",listData:[],listLoading:!1,downloading:!1,optSource:[{label:"线上预缴",value:1},{label:"人工入账",value:2},{label:"押金转入",value:3}],directionList:[{label:"充值",value:1},{label:"退款",value:2}],saveData:{},showList:!0,detail:!1}},mounted:function(){this.findPrepaySubjectList(),this.getChargesList(),this.getAreaList(),this.getTableList()},methods:{afresh:function(e){var t=this;Object(T["m"])({id:e.id}).then((function(e){0==e.code&&(t.$message.success("更新成功"),t.getTableList())}))},viewDetails:function(e){var t=e.receiptUrl;window.open("/static/pdf/web/viewer.html?file="+encodeURIComponent(t))},download:function(e){var t=document.createElement("a");t.href=e.receiptUrl,t.click()},getTableList:function(){var e=this;this.listLoading=!0,this.payTime?(this.query.realStartTime=this.payTime[0]+" 00:00:00",this.query.realEndTime=this.payTime[1]+" 23:59:59"):(this.query.realStartTime="",this.query.realEndTime=""),this.transactionTime?(this.query.startTime=this.transactionTime[0]+" 00:00:00",this.query.endTime=this.transactionTime[1]+" 23:59:59"):(this.query.startTime="",this.query.endTime=""),Object(T["p"])(this.query).then((function(t){0===t.code&&(e.listData=t.data.records,e.total=t.data.rowsCount),e.listLoading=!1})).catch((function(){e.listLoading=!1}))},getSubjectList:function(){var e=this;Object(q["o"])({projectUuid:this.$store.state.community_uuid,subjectType:3}).then((function(t){0==t.code&&(e.subjectList=t.data)})),this.findPrepaySubjectList()},findPrepaySubjectList:function(){var e=this;Object(q["o"])({projectUuid:this.$store.state.community_uuid,subjectType:2}).then((function(t){0==t.code&&(e.prepaySubjectList=t.data)}))},getChargesList:function(){var e=this;Object(k["b"])({pageNumber:-1,pageSize:-1,projectUuid:this.$store.state.community_uuid}).then((function(t){e.chargesArr=t.data.records}))},exportExcel:function(){var e=this;this.downloading=!0,Object(T["n"])(this.query).then((function(t){e.downloading=!1;var n=new Blob([t],{type:"application/vnd.ms-excel;charset=UTF-8"}),r=(new Date).valueOf();if(window.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(n);else{var a=document.createElement("a");a.download="预缴电子收据明细导出_".concat(r,".xls"),a.href=URL.createObjectURL(n),a.click(),URL.revokeObjectURL(a.href),document.body.removeChild(a)}})).catch((function(t){e.downloading=!1}))},gotoOrderDetailes:function(e){1===e.source?this.$router.replace({path:"/viewInfo/orderDetail",query:{no:e.outNo,type:8}}):this.getImportOrder(e)},getImportOrder:function(e){var t=this,n={orderNo:e.outNo,projectUuid:e.projectUuid};Object(N["y"])(n).then((function(e){if(0===e.code&&e.data.records){var n=e.data.records;n.length>0&&(t.showList=!1,t.detail=!0,t.saveData=n[0],t.$nextTick((function(){this.$refs.detail.init()})))}}))},detailBack:function(){this.showList=!0,this.detail=!1},getAreaList:function(){var e=this,t={projectUuid:this.$store.state.community_uuid,pageNumber:-1,pageSize:-1};Object(g["f"])(t).then((function(t){0===t.code&&(e.areaOptions=t.data)}))},selectChange:function(e){this.building=[],this.query.buildingId="",this.unitList=[],this.query.unitId="",e&&this.getBuild()},getBuild:function(){var e=this;Object(g["x"])({precinctId:this.query.precinctId,projectCode:this.$store.state.community_uuid,projectName:this.$store.state.community_name,pageNumber:-1,pageSize:-1}).then((function(t){e.building=t.data}))},changeBuild:function(){this.unitList=[],this.query.unitId="",this.getUnit()},getUnit:function(){var e=this;Object(g["mb"])({pageNumber:-1,pageSize:-1,projectCode:this.$store.state.community_uuid,buildingId:this.query.buildingId}).then((function(t){e.unitList=t.data.records}))},searchClick:function(){this.getTableList()},resetClick:function(){this.payTime="",this.transactionTime="",this.$refs["query"].resetFields(),this.getTableList()},handleSizeChange:function(e){this.query.pageNumber=1,this.query.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.query.pageNumber=e,this.getTableList()},headClass:function(){return"text-align:center;background:#FAFAFA;"}}},x=I,L=(n("d177"),Object(p["a"])(x,O,S,!1,null,"6622c9d1",null)),P=L.exports,$=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.showList?n("div",[n("div",{staticClass:"searchContent"},[n("el-form",{ref:"query",staticClass:"demo-form-inline",attrs:{inline:!0,model:e.query}},[n("el-form-item",{attrs:{prop:"precinctId"}},[n("el-select",{attrs:{filterable:"",clearable:"",placeholder:"管理区名称"},on:{change:e.selectChange},model:{value:e.query.precinctId,callback:function(t){e.$set(e.query,"precinctId",t)},expression:"query.precinctId"}},e._l(e.areaOptions,(function(e){return n("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),n("el-form-item",{attrs:{prop:"buildingId"}},[n("el-select",{attrs:{filterable:"",clearable:"",placeholder:"所有楼栋"},on:{change:e.changeBuild},model:{value:e.query.buildingId,callback:function(t){e.$set(e.query,"buildingId",t)},expression:"query.buildingId"}},e._l(e.building,(function(e){return n("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),n("el-form-item",{attrs:{prop:"unitId"}},[n("el-select",{attrs:{filterable:"",clearable:"",placeholder:"所有单元"},model:{value:e.query.unitId,callback:function(t){e.$set(e.query,"unitId",t)},expression:"query.unitId"}},e._l(e.unitList,(function(e){return n("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),n("el-form-item",{attrs:{prop:"roomNum"}},[n("el-input",{attrs:{placeholder:"请输入房屋号",clearable:""},model:{value:e.query.roomNum,callback:function(t){e.$set(e.query,"roomNum",t)},expression:"query.roomNum"}})],1)],1),e._v(" "),n("div",[n("el-button",{attrs:{type:"primary"},on:{click:e.searchClick}},[e._v("搜索")]),e._v(" "),n("el-button",{on:{click:e.resetClick}},[e._v("重置")])],1)],1),e._v(" "),e._m(0),e._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],ref:"dataTable",staticStyle:{width:"100%"},attrs:{border:"",data:e.listData,"row-key":"id","header-cell-style":e.headClass,fit:"","highlight-current-row":""}},[n("el-table-column",{attrs:{label:"#",align:"center",width:"50"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(t.$index+(e.query.pageNumber-1)*e.query.pageSize+1)+"\n ")])]}}],null,!1,2770601025)}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"房屋号","min-width":"150","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.precinctName?t.row.precinctName+"-"+t.row.buildingName+"-"+t.row.unitName+"-"+t.row.roomNum:"-")+"\n ")]}}],null,!1,3450463809)}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"操作人","min-width":"90","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.opName||"-")+"\n ")]}}],null,!1,1120983496)}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"操作时间","min-width":"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.createTime||"-")+"\n ")]}}],null,!1,516546465)}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"操作","min-width":"150",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text",disabled:!t.row.receiptUrl},on:{click:function(n){return e.viewDetails(t.row)}}},[e._v("查看")]),e._v(" "),n("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text",disabled:!t.row.receiptUrl},on:{click:function(n){return e.download(t.row)}}},[e._v("下载")])]}}],null,!1,3532447379)})],1),e._v(" "),n("div",{staticClass:"paginations"},[n("el-pagination",{attrs:{background:"","current-page":e.query.pageNumber,"page-sizes":[10,30,50,100,200],"page-size":e.query.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"update:currentPage":function(t){return e.$set(e.query,"pageNumber",t)},"update:current-page":function(t){return e.$set(e.query,"pageNumber",t)},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],1):e._e()])},D=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"titleContent"},[n("div",{staticClass:"tableTitle"},[e._v("预缴抵扣")])])}],U={name:"",data:function(){return{areaOptions:[],building:[],unitList:[],total:0,chargesArr:[],prepaySubjectList:[],query:{pageNumber:1,pageSize:10,projectUuid:this.$store.state.community_uuid,precinctId:"",buildingId:"",unitId:"",roomNum:"",chargeId:"",prepayCode:"",opName:"",opPhone:"",outNo:"",outId:"",direction:""},payTime:"",transactionTime:"",listData:[],listLoading:!1,downloading:!1,showList:!0}},mounted:function(){this.findPrepaySubjectList(),this.getChargesList(),this.getAreaList(),this.getTableList()},methods:{afresh:function(e){var t=this;Object(T["m"])({id:e.id}).then((function(e){0==e.code&&(t.$message.success("更新成功"),t.getTableList())}))},viewDetails:function(e){var t=e.receiptUrl;window.open("/static/pdf/web/viewer.html?file="+encodeURIComponent(t))},download:function(e){var t=document.createElement("a");t.href=e.receiptUrl,t.click()},getTableList:function(){var e=this;this.listLoading=!0,this.payTime?(this.query.realStartTime=this.payTime[0]+" 00:00:00",this.query.realEndTime=this.payTime[1]+" 23:59:59"):(this.query.realStartTime="",this.query.realEndTime=""),this.transactionTime?(this.query.startTime=this.transactionTime[0]+" 00:00:00",this.query.endTime=this.transactionTime[1]+" 23:59:59"):(this.query.startTime="",this.query.endTime=""),Object(T["e"])(this.query).then((function(t){0===t.code&&(console.log(t,"------------------------------------********"),e.listData=t.data.records,e.total=t.data.rowsCount),e.listLoading=!1})).catch((function(){e.listLoading=!1}))},getSubjectList:function(){var e=this;Object(q["o"])({projectUuid:this.$store.state.community_uuid,subjectType:3}).then((function(t){0==t.code&&(e.subjectList=t.data)})),this.findPrepaySubjectList()},findPrepaySubjectList:function(){var e=this;Object(q["o"])({projectUuid:this.$store.state.community_uuid,subjectType:2}).then((function(t){0==t.code&&(e.prepaySubjectList=t.data)}))},getChargesList:function(){var e=this;Object(k["b"])({pageNumber:-1,pageSize:-1,projectUuid:this.$store.state.community_uuid}).then((function(t){e.chargesArr=t.data.records}))},exportExcel:function(){var e=this;this.downloading=!0,Object(T["n"])(this.query).then((function(t){e.downloading=!1;var n=new Blob([t],{type:"application/vnd.ms-excel;charset=UTF-8"}),r=(new Date).valueOf();if(window.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(n);else{var a=document.createElement("a");a.download="预缴电子收据明细导出_".concat(r,".xls"),a.href=URL.createObjectURL(n),a.click(),URL.revokeObjectURL(a.href),document.body.removeChild(a)}})).catch((function(t){e.downloading=!1}))},getAreaList:function(){var e=this,t={projectUuid:this.$store.state.community_uuid,pageNumber:-1,pageSize:-1};Object(g["f"])(t).then((function(t){0===t.code&&(e.areaOptions=t.data)}))},selectChange:function(e){this.building=[],this.query.buildingId="",this.unitList=[],this.query.unitId="",e&&this.getBuild()},getBuild:function(){var e=this;Object(g["x"])({precinctId:this.query.precinctId,projectCode:this.$store.state.community_uuid,projectName:this.$store.state.community_name,pageNumber:-1,pageSize:-1}).then((function(t){e.building=t.data}))},changeBuild:function(){this.unitList=[],this.query.unitId="",this.getUnit()},getUnit:function(){var e=this;Object(g["mb"])({pageNumber:-1,pageSize:-1,projectCode:this.$store.state.community_uuid,buildingId:this.query.buildingId}).then((function(t){e.unitList=t.data.records}))},searchClick:function(){this.getTableList()},resetClick:function(){this.payTime="",this.transactionTime="",this.$refs["query"].resetFields(),this.getTableList()},handleSizeChange:function(e){this.query.pageNumber=1,this.query.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.query.pageNumber=e,this.getTableList()},headClass:function(){return"text-align:center;background:#FAFAFA;"}}},z=U,R=(n("dddc"),Object(p["a"])(z,$,D,!1,null,"3e758d3e",null)),F=R.exports,B={components:{electronicReceipt:h,invoiceRecord:j,prepayElectronicReceipt:P,PrepaymentCredit:F},data:function(){return{activeName:"electronicReceipt"}},methods:{}},A=B,E=Object(p["a"])(A,r,a,!1,null,null,null);t["default"]=E.exports},"470b":function(e,t,n){},9192:function(e,t,n){"use strict";n.d(t,"z",(function(){return a})),n.d(t,"b",(function(){return o})),n.d(t,"j",(function(){return i})),n.d(t,"l",(function(){return l})),n.d(t,"v",(function(){return s})),n.d(t,"y",(function(){return u})),n.d(t,"A",(function(){return c})),n.d(t,"a",(function(){return d})),n.d(t,"q",(function(){return p})),n.d(t,"o",(function(){return f})),n.d(t,"p",(function(){return h})),n.d(t,"u",(function(){return m})),n.d(t,"s",(function(){return b})),n.d(t,"t",(function(){return v})),n.d(t,"e",(function(){return g})),n.d(t,"B",(function(){return y})),n.d(t,"n",(function(){return _})),n.d(t,"w",(function(){return w})),n.d(t,"k",(function(){return j})),n.d(t,"x",(function(){return O})),n.d(t,"h",(function(){return S})),n.d(t,"g",(function(){return C})),n.d(t,"m",(function(){return q})),n.d(t,"f",(function(){return k})),n.d(t,"r",(function(){return T})),n.d(t,"i",(function(){return N})),n.d(t,"d",(function(){return I})),n.d(t,"c",(function(){return x})),n.d(t,"C",(function(){return L}));var r=n("b775");function a(e){return Object(r["a"])({url:"/appproject/PropertyCompany/pageList",method:"POST",data:e})}function o(e){return Object(r["a"])({url:"/appproject/PropertyCompany/create",method:"POST",data:e})}function i(e){return Object(r["a"])({url:"/appproject/PropertyCompany/update",method:"POST",data:e})}function l(e){return Object(r["a"])({url:"/appproject/PropertyCompany/findCompanyByCode",method:"POST",data:e})}function s(e){return Object(r["a"])({url:"/appproject/PropertyCompany/pageListByCode",method:"POST",data:e})}function u(e){return Object(r["a"])({url:"/appproject/OrderInfo/list",method:"POST",data:e})}function c(e){return Object(r["a"])({url:"/appproject/StaffEvaluate/listStaff",method:"POST",data:e})}function d(e){return Object(r["a"])({url:"/appproject/WorkOrder/listWork",method:"POST",data:e})}function p(e){return Object(r["a"])({url:"/project/FsCharges/create",method:"POST",data:e})}function f(e){return Object(r["a"])({url:"/project/FsCharges/findSubjectByUuid",method:"POST",data:e})}function h(e){return Object(r["a"])({url:"/project/FsCharges/findSubjectByUuid2",method:"POST",data:e})}function m(e){return Object(r["a"])({url:"/project/FsCharges/update",method:"POST",data:e})}function b(e){return Object(r["a"])({url:"/project/FsCharges/delete",method:"POST",data:e})}function v(e){return Object(r["a"])({url:"/project/FsCharges/resume",method:"POST",data:e})}function g(e){return Object(r["a"])({url:"/project/FsCharges/pageList",method:"POST",data:e})}function y(e){return Object(r["a"])({url:"/project/FsCharges/updateRel",method:"POST",data:e})}function _(e){return Object(r["a"])({url:"/project/FsCharges/findById",method:"POST",data:e})}function w(e,t){return Object(r["a"])({url:"/project/FsCharges/importExcel"+t,method:"post",isReturnResponse:!0,responseType:"blob",headers:{"Content-Type":"multipart/form-data;charset=UTF-8"},data:e})}function j(e){return Object(r["a"])({url:"/appproject/MemberEntryRecord/entryAndQuit",method:"POST",data:e})}function O(e){return Object(r["a"])({url:"/appproject/MemberEntryRecord/pageList",method:"POST",data:e})}function S(e){return Object(r["a"])({url:"/appproject/MemberEntryRecord/delete",method:"POST",data:e})}function C(e){return Object(r["a"])({url:"/project/FsCharges/pageList/company",method:"POST",data:e})}function q(e){return Object(r["a"])({url:"/project/FsCharges/findParkCharge",method:"POST",data:e})}function k(e){return Object(r["a"])({url:"/project/FsCharges/pageListV2",method:"POST",data:e})}function T(e){return Object(r["a"])({url:"/project/FsCharges/copy",method:"POST",data:e})}function N(e){return Object(r["a"])({url:"/project/FsCharges/deleteFsCharges",method:"POST",data:e})}function I(e){return Object(r["a"])({url:"/appproject/ChargePriceTemplate/pageList",method:"POST",data:e})}function x(e){return Object(r["a"])({url:"/appproject/ChargePriceTemplate/download",method:"POST",data:e})}function L(e){return Object(r["a"])({url:"/appproject/VideoImageCallback/pageList",method:"POST",data:e})}},a6be:function(e,t,n){"use strict";n.d(t,"i",(function(){return a})),n.d(t,"g",(function(){return o})),n.d(t,"h",(function(){return i})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return s})),n.d(t,"l",(function(){return u})),n.d(t,"j",(function(){return c})),n.d(t,"a",(function(){return d})),n.d(t,"k",(function(){return p})),n.d(t,"d",(function(){return f})),n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return m}));var r=n("b775");function a(e){return Object(r["a"])({url:"/appproject/OrderInfo/pageList",method:"POST",data:e})}function o(e){return Object(r["a"])({url:"/appproject/OrderInfo/findById",method:"POST",data:e})}function i(e){return Object(r["a"])({url:"/appproject/OrderInfo/findByOrderNo",method:"POST",data:e})}function l(e){return Object(r["a"])({url:"/appproject/OrderInfo/findByOutSiderOrderNo",method:"POST",data:e})}function s(e){return Object(r["a"])({url:"/appproject/OrderInfo/findDetailByOrderId",method:"POST",data:e})}function u(e){return Object(r["a"])({url:"/appproject/OrderInfo/findByOrderId",method:"POST",data:e})}function c(e){return Object(r["a"])({url:"/appproject/OrderInfo/findOrderEvaluate",method:"POST",data:e})}function d(e){return Object(r["a"])({url:"/appproject/OrderAccountTradeInfo/pageList",method:"POST",data:e})}function p(e){return Object(r["a"])({url:"/appproject/OrderInfo/pageListDownload",method:"POST",responseType:"blob",data:e})}function f(e){return Object(r["a"])({url:"/appproject/OrderInfo/createReceipt",method:"POST",data:e})}function h(e){return Object(r["a"])({url:"/appproject/OrderInfo/checkOrderPaymentStatus",method:"POST",data:e})}function m(e){return Object(r["a"])({url:"/appproject/OrderInfo/batchSynStatus",method:"POST",data:e})}},b28b:function(e,t,n){"use strict";n("2a73")},c50a:function(e,t,n){},ce63:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"g",(function(){return o})),n.d(t,"i",(function(){return i})),n.d(t,"o",(function(){return l})),n.d(t,"b",(function(){return s})),n.d(t,"k",(function(){return u})),n.d(t,"h",(function(){return c})),n.d(t,"j",(function(){return d})),n.d(t,"p",(function(){return p})),n.d(t,"d",(function(){return f})),n.d(t,"e",(function(){return h})),n.d(t,"f",(function(){return m})),n.d(t,"m",(function(){return b})),n.d(t,"l",(function(){return v})),n.d(t,"n",(function(){return g})),n.d(t,"a",(function(){return y}));var r=n("b775");function a(e){return Object(r["a"])({url:"/project/ChargePrice/treeList",method:"post",data:e})}function o(e){return Object(r["a"])({url:"/project/ChargePrice/create",method:"post",data:e})}function i(e){return Object(r["a"])({url:"/project/ChargePrice/delete",method:"post",data:e})}function l(e){return Object(r["a"])({url:"/project/ChargePrice/update",method:"post",data:e})}function s(e){return Object(r["a"])({url:"/project/ChargePrice/pageList",method:"post",data:e})}function u(e){return Object(r["a"])({url:"/appproject/ChargeFormula/getListByCategoryCode",method:"post",data:e})}function c(e){return Object(r["a"])({url:"/appproject/ChargesTemplate/create",method:"post",data:e})}function d(e){return Object(r["a"])({url:"/appproject/ChargesTemplate/delete",method:"post",data:e})}function p(e){return Object(r["a"])({url:"/appproject/ChargesTemplate/update",method:"post",data:e})}function f(e){return Object(r["a"])({url:"/appproject/ChargesTemplate/pageList",method:"post",data:e})}function h(e){return Object(r["a"])({url:"/appproject/ChargesTemplate/findById",method:"post",data:e})}function m(e){return Object(r["a"])({url:"/appproject/ChargesTemplate/useBatch",method:"post",data:e})}function b(e){return Object(r["a"])({url:"/appproject/ChargesTemplate/getListByProjectUuid",method:"post",data:e})}function v(e){return Object(r["a"])({url:"/appproject/ChargesTemplate/houseChargeTemplatePageList",method:"post",data:e})}function g(e){return Object(r["a"])({url:"/appproject/ChargesTemplate/editHouseTemplate",method:"post",data:e})}function y(e){return Object(r["a"])({url:"/appproject/ChargesTemplate/batchDelete",method:"post",data:e})}},d177:function(e,t,n){"use strict";n("c50a")},d813:function(e,t,n){"use strict";n.d(t,"f",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"l",(function(){return i})),n.d(t,"a",(function(){return l})),n.d(t,"g",(function(){return s})),n.d(t,"h",(function(){return u})),n.d(t,"e",(function(){return c})),n.d(t,"b",(function(){return d})),n.d(t,"k",(function(){return p})),n.d(t,"d",(function(){return f})),n.d(t,"i",(function(){return h})),n.d(t,"j",(function(){return m}));var r=n("b775");function a(e){return Object(r["a"])({url:"/appproject/InvoiceConfig/page",method:"post",data:e})}function o(e){return Object(r["a"])({url:"/appproject/InvoiceConfig/create",method:"post",data:e})}function i(e){return Object(r["a"])({url:"/appproject/InvoiceConfig/update",method:"post",data:e})}function l(e){return Object(r["a"])({url:"/appproject/TaxCode/page",method:"post",data:e})}function s(e){return Object(r["a"])({url:"/appproject/InvoiceRecord/page",method:"post",data:e})}function u(e){return Object(r["a"])({url:"/appproject/supplier/listForInvoice",method:"post",data:e})}function c(e){return Object(r["a"])({url:"/appproject/HouseInvoiceConfig/page",method:"post",data:e})}function d(e){return Object(r["a"])({url:"/appproject/HouseInvoiceConfig/add",method:"post",data:e})}function p(e){return Object(r["a"])({url:"/appproject/HouseInvoiceConfig/update",method:"post",data:e})}function f(e){return Object(r["a"])({url:"/appproject/HouseInvoiceConfig/delete",method:"post",data:e})}function h(e){return Object(r["a"])({url:"/appproject/InvoiceConfig/getReceiptType",method:"post",data:e})}function m(e){return Object(r["a"])({url:"/appproject/InvoiceConfig/setReceiptType",method:"post",data:e})}},dddc:function(e,t,n){"use strict";n("470b")}}]); |