Files
wysite/hc-pos.sqygj.cn/static/js/chunk-ecb37506.866f4032.js

1 line
53 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ecb37506"],{"4d6c":function(e,t,a){"use strict";a("88ac")},"88ac":function(e,t,a){},a3cb:function(e,t,a){"use strict";var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e.searchBar?a("div",{staticClass:"searchContent"},[a("el-form",{ref:"query",staticClass:"demo-form-inline",attrs:{inline:!0,model:e.query}},["collection"==e.tableType?a("el-form-item",{attrs:{prop:"subjectCodes"}},[a("el-select",{attrs:{placeholder:"选择科目类别",multiple:"","collapse-tags":"",clearable:""},model:{value:e.query.subjectCodes,callback:function(t){e.$set(e.query,"subjectCodes",t)},expression:"query.subjectCodes"}},e._l(e.categoryArr,(function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.code}})})),1)],1):e._e(),e._v(" "),"deposit"==e.tableType?a("el-form-item",{attrs:{prop:"chargeDates"}},[a("el-date-picker",{attrs:{type:"months",format:"yyyy-MM","value-format":"yyyy-MM",placeholder:"选择计费账期"},model:{value:e.query.chargeDates,callback:function(t){e.$set(e.query,"chargeDates",t)},expression:"query.chargeDates"}})],1):e._e(),e._v(" "),"collection"==e.tableType?a("el-form-item",{attrs:{prop:"chargesIdList"}},[a("el-cascader",{attrs:{placeholder:"选择收费项",options:e.chargesArr,props:e.props,clearable:"",filterable:""},model:{value:e.query.chargesIdList,callback:function(t){e.$set(e.query,"chargesIdList",t)},expression:"query.chargesIdList"}})],1):e._e(),e._v(" "),"deposit"==e.tableType?a("el-form-item",{attrs:{prop:"chargeIds"}},[a("el-cascader",{attrs:{placeholder:"选择收费项",options:e.chargesArr,props:e.props,clearable:"",filterable:""},model:{value:e.query.chargeIds,callback:function(t){e.$set(e.query,"chargeIds",t)},expression:"query.chargeIds"}})],1):e._e(),e._v(" "),"collection"==e.tableType?a("el-form-item",{attrs:{prop:"method"}},[a("el-select",{attrs:{placeholder:"选择结算方式",clearable:""},model:{value:e.query.method,callback:function(t){e.$set(e.query,"method",t)},expression:"query.method"}},e._l(e.settlementMethod,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e(),e._v(" "),"collection"==e.tableType?a("el-form-item",{attrs:{prop:"payTypeList"}},[a("el-cascader",{attrs:{placeholder:"选择支付方式",options:e.payMethodList,props:e.props,clearable:"",filterable:""},model:{value:e.query.payTypeList,callback:function(t){e.$set(e.query,"payTypeList",t)},expression:"query.payTypeList"}}),e._v(" "),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"第三方渠道包括自定义支付方式",placement:"right-start"}},[a("i",{staticClass:"el-icon-question",staticStyle:{"margin-left":"5px"}})])],1):e._e(),e._v(" "),"collection"==e.tableType?a("el-form-item",{attrs:{prop:"isRefund"}},[a("el-select",{attrs:{placeholder:"选择退款状态",clearable:""},model:{value:e.query.isRefund,callback:function(t){e.$set(e.query,"isRefund",t)},expression:"query.isRefund"}},[a("el-option",{attrs:{label:"正常",value:1}}),e._v(" "),a("el-option",{attrs:{label:"已退款",value:2}})],1)],1):e._e(),e._v(" "),"deposit"==e.tableType?a("el-form-item",{attrs:{prop:"statusList"}},[a("el-select",{attrs:{filterable:"",clearable:"",multiple:"",placeholder:"选择缴费状态"},model:{value:e.query.statusList,callback:function(t){e.$set(e.query,"statusList",t)},expression:"query.statusList"}},e._l(e.paymentStatus,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e(),e._v(" "),a("el-form-item",{attrs:{prop:"precinctId"}},[a("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 a("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"buildingId"}},[a("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 a("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"unitId"}},[a("el-select",{attrs:{filterable:"",clearable:"",placeholder:"所有单元"},on:{change:e.changeUnit},model:{value:e.query.unitId,callback:function(t){e.$set(e.query,"unitId",t)},expression:"query.unitId"}},e._l(e.unitList,(function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"fsHouseIds"}},["deposit"==e.tableType?a("el-select",{attrs:{filterable:"",clearable:"",placeholder:"选择房间"},model:{value:e.query.fsHouseId,callback:function(t){e.$set(e.query,"fsHouseId",t)},expression:"query.fsHouseId"}},e._l(e.houseArr,(function(e){return a("el-option",{key:e.id,attrs:{label:e.roomNum,value:e.id}})})),1):a("el-select",{attrs:{multiple:"",filterable:"",clearable:"",placeholder:"选择房间"},model:{value:e.query.fsHouseIds,callback:function(t){e.$set(e.query,"fsHouseIds",t)},expression:"query.fsHouseIds"}},e._l(e.houseArr,(function(e){return a("el-option",{key:e.id,attrs:{label:e.roomNum,value:e.id}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"roomNum"}},[a("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(" "),"deposit"==e.tableType?a("el-form-item",{attrs:{prop:"orderNo"}},[a("el-input",{attrs:{placeholder:"请输应收单号",clearable:""},model:{value:e.query.orderNo,callback:function(t){e.$set(e.query,"orderNo",t)},expression:"query.orderNo"}})],1):e._e(),e._v(" "),"deposit"==e.tableType?a("el-form-item",{attrs:{prop:"eremark"}},[a("el-input",{attrs:{placeholder:"请输支付/销单备注",clearable:""},model:{value:e.query.eremark,callback:function(t){e.$set(e.query,"eremark",t)},expression:"query.eremark"}})],1):e._e(),e._v(" "),"deposit"==e.tableType?a("el-form-item",{attrs:{prop:"payTime"}},[a("el-date-picker",{attrs:{type:"datetimerange",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss","range-separator":"至","start-placeholder":"支付/销单开始日期","end-placeholder":"支付/销单结束日期","default-time":["00:00:00","23:59:59"]},model:{value:e.query.payTime,callback:function(t){e.$set(e.query,"payTime",t)},expression:"query.payTime"}})],1):e._e(),e._v(" "),"deposit"==e.tableType?a("el-form-item",{attrs:{prop:"CreatedTime"}},[a("el-date-picker",{attrs:{type:"datetimerange",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss","range-separator":"至","start-placeholder":"操作开始日期","end-placeholder":"操作结束日期","default-time":["00:00:00","23:59:59"]},model:{value:e.query.CreatedTime,callback:function(t){e.$set(e.query,"CreatedTime",t)},expression:"query.CreatedTime"}})],1):e._e(),e._v(" "),"collection"==e.tableType?a("el-form-item",{attrs:{prop:"chargeReceNo"}},[a("el-input",{attrs:{placeholder:"应收业务订单号",clearable:""},model:{value:e.query.chargeReceNo,callback:function(t){e.$set(e.query,"chargeReceNo",t)},expression:"query.chargeReceNo"}})],1):e._e(),e._v(" "),"collection"==e.tableType?a("el-form-item",{attrs:{prop:"orderNo"}},[a("el-input",{attrs:{placeholder:"支付/销单流水号",clearable:""},model:{value:e.query.orderNo,callback:function(t){e.$set(e.query,"orderNo",t)},expression:"query.orderNo"}})],1):e._e(),e._v(" "),"collection"==e.tableType?a("el-form-item",{attrs:{prop:"time"}},[a("el-date-picker",{attrs:{type:"datetimerange",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss","range-separator":"至","start-placeholder":"支付/销单开始日期","end-placeholder":"支付/销单结束日期","default-time":["00:00:00","23:59:59"]},model:{value:e.query.time,callback:function(t){e.$set(e.query,"time",t)},expression:"query.time"}})],1):e._e(),e._v(" "),"collection"==e.tableType?a("el-form-item",{attrs:{prop:"payDirections"}},[a("el-select",{attrs:{multiple:"",clearable:"",placeholder:"支付方向"},model:{value:e.query.payDirections,callback:function(t){e.$set(e.query,"payDirections",t)},expression:"query.payDirections"}},e._l(e.payDirectionList,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e(),e._v(" "),"collection"==e.tableType?a("el-form-item",{attrs:{prop:"debtorBy"}},[a("el-input",{attrs:{placeholder:"产权人",clearable:""},model:{value:e.query.debtorBy,callback:function(t){e.$set(e.query,"debtorBy",t)},expression:"query.debtorBy"}})],1):e._e(),e._v(" "),"collection"==e.tableType?a("el-form-item",{attrs:{prop:"responsibility"}},[a("el-select",{attrs:{clearable:"",placeholder:"收费责任主体"},model:{value:e.query.responsibility,callback:function(t){e.$set(e.query,"responsibility",t)},expression:"query.responsibility"}},e._l(e.chargeResponsibility,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e(),e._v(" "),"collection"==e.tableType?a("el-form-item",{attrs:{label:"",prop:"source"}},[a("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.orderSource,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e(),e._v(" "),"collection"==e.tableType?a("el-form-item",{attrs:{label:"",prop:"selectChargeDate"}},[a("div",{staticClass:"timepick-width-prepend"},[a("el-select",{staticStyle:{width:"150px"},attrs:{placeholder:"账期筛选方式"},on:{change:e.typeChange},model:{value:e.query.chargeType,callback:function(t){e.$set(e.query,"chargeType",t)},expression:"query.chargeType"}},[a("el-option",{attrs:{label:"按年筛选",value:1}}),e._v(" "),a("el-option",{attrs:{label:"按月筛选",value:2}}),e._v(" "),a("el-option",{attrs:{label:"按连续年筛选",value:3}}),e._v(" "),a("el-option",{attrs:{label:"按连续月筛选",value:4}})],1),e._v(" "),a("div",{staticStyle:{flex:"2"}},[1==e.query.chargeType?a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"years",format:"yyyy","value-format":"yyyy",placeholder:"选择计费账期"},model:{value:e.query.selectChargeDate,callback:function(t){e.$set(e.query,"selectChargeDate",t)},expression:"query.selectChargeDate"}}):e._e(),e._v(" "),2==e.query.chargeType?a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"months",format:"yyyy-MM","value-format":"yyyy-MM",placeholder:"选择计费账期"},model:{value:e.query.selectChargeDate,callback:function(t){e.$set(e.query,"selectChargeDate",t)},expression:"query.selectChargeDate"}}):e._e(),e._v(" "),3==e.query.chargeType?a("ElYearPicker",{on:{onChange:e.yearRangeChange}}):e._e(),e._v(" "),4==e.query.chargeType?a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"monthrange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始月份","end-placeholder":"结束月份",format:"yyyy-MM","value-format":"yyyy-MM","picker-options":e.pickerOptions},model:{value:e.query.selectChargeDate,callback:function(t){e.$set(e.query,"selectChargeDate",t)},expression:"query.selectChargeDate"}}):e._e()],1)],1)]):e._e(),e._v(" "),"collection"==e.tableType?a("el-form-item",{attrs:{prop:"opMemberName"}},[a("el-input",{attrs:{placeholder:"操作人",clearable:""},model:{value:e.query.opMemberName,callback:function(t){e.$set(e.query,"opMemberName",t)},expression:"query.opMemberName"}})],1):e._e(),e._v(" "),"collection"==e.tableType?a("el-form-item",{attrs:{prop:"accountNo"}},[a("div",{staticStyle:{display:"flex","align-items":"center"}},[a("el-input",{attrs:{placeholder:"结算账户",clearable:""},model:{value:e.query.accountNo,callback:function(t){e.$set(e.query,"accountNo",t)},expression:"query.accountNo"}}),e._v(" "),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"1.可多填用'/'隔开 2.上限一次性只能输入七个账户 3.精确匹配",placement:"right-start"}},[a("i",{staticClass:"el-icon-question",staticStyle:{"margin-left":"5px"}})])],1)]):e._e(),e._v(" "),"collection"==e.tableType?a("el-form-item",{attrs:{prop:"referrerName"}},[a("el-input",{attrs:{placeholder:"推荐人",clearable:""},model:{value:e.query.referrerName,callback:function(t){e.$set(e.query,"referrerName",t)},expression:"query.referrerName"}})],1):e._e(),e._v(" "),"collection"==e.tableType?a("el-form-item",{attrs:{prop:"remark"}},[a("el-input",{attrs:{placeholder:"销单备注",clearable:""},model:{value:e.query.remark,callback:function(t){e.$set(e.query,"remark",t)},expression:"query.remark"}})],1):e._e(),e._v(" "),"collection"==e.tableType?a("el-form-item",{attrs:{prop:"type"}},[a("el-select",{staticClass:"form-item-content",attrs:{clearable:"",placeholder:"应收分类"},model:{value:e.query.type,callback:function(t){e.$set(e.query,"type",t)},expression:"query.type"}},e._l(e.feeTypeList,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e(),e._v(" "),"collection"==e.tableType?a("el-form-item",{attrs:{prop:"queryTime"}},[a("el-date-picker",{attrs:{type:"datetimerange","range-separator":"至",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss","start-placeholder":"第三方到账开始日期","end-placeholder":"第三方到账结束日期","default-time":["00:00:00","23:59:59"]},model:{value:e.query.queryTime,callback:function(t){e.$set(e.query,"queryTime",t)},expression:"query.queryTime"}})],1):e._e(),e._v(" "),"collection"==e.tableType?a("el-form-item",{attrs:{prop:"businessClassifys"}},[a("el-select",{staticClass:"form-item-content",attrs:{multiple:"","collapse-tags":"",clearable:"",placeholder:"收入业务分类"},model:{value:e.query.businessClassifys,callback:function(t){e.$set(e.query,"businessClassifys",t)},expression:"query.businessClassifys"}},e._l(e.businessTypeArr,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e(),e._v(" "),"collection"==e.tableType?a("el-form-item",{attrs:{prop:"chargeCompanyId"}},[a("el-select",{attrs:{clearable:"",placeholder:"企业收费项"},model:{value:e.query.chargeCompanyId,callback:function(t){e.$set(e.query,"chargeCompanyId",t)},expression:"query.chargeCompanyId"}},e._l(e.CompanyFsList,(function(e,t){return a("el-option",{key:t,attrs:{value:e.id,label:e.name}})})),1)],1):e._e()],1),e._v(" "),a("div",[a("el-button",{attrs:{type:"primary"},on:{click:e.searchClick}},[e._v("搜索")]),e._v(" "),a("el-button",{on:{click:e.resetClick}},[e._v("重置")])],1)],1):e._e(),e._v(" "),e.part?a("el-descriptions",{attrs:{column:1}},[a("template",{slot:"title"},[a("span",{staticClass:"descTitleTip"},[e._v("辅助统计\n "),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"Top Left 提示文字",placement:"right-start"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",[a("el-image",{attrs:{src:"http://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/project/community_info_2022053117489.png"}})],1),e._v(" "),a("div",[e._v("实收=普通实收+转实收")]),e._v(" "),a("div",[e._v("普通实收:一般为真实收到的货币数量")]),e._v(" "),a("div",[e._v("\n 转实收:一般为预存转结、企业减免、押金转预缴-历史欠费抵扣等,无真实货币进账\n ")])]),e._v(" "),a("i",{staticClass:"el-icon-question"})])],1)]),e._v(" "),a("el-descriptions-item",{attrs:{label:"实收"}},[a("b",[e._v(e._s(e._f("toThousandFilter")(e.statisticsData.totalAmount)))])])],2):e._e(),e._v(" "),e.part?a("el-descriptions",{attrs:{column:3}},[a("el-descriptions-item",{attrs:{label:"普通实收"}},[a("b",[e._v(e._s(e._f("toThousandFilter")(e.statisticsData.generalAmount)))])]),e._v(" "),a("el-descriptions-item",{attrs:{label:"实收本金"}},[a("b",[e._v(e._s(e._f("toThousandFilter")(e.statisticsData.totalAmount1)))])]),e._v(" "),a("el-descriptions-item",{attrs:{label:"实收违约金"}},[a("b",[e._v(e._s(e._f("toThousandFilter")(e.statisticsData.totalFeeAmount)))])]),e._v(" "),a("el-descriptions-item",{attrs:{label:"转实收"}},[a("b",[e._v(e._s(e._f("toThousandFilter")(e.statisticsData.changeAmount)))])]),e._v(" "),a("el-descriptions-item",{attrs:{label:"转实收本金"}},[a("b",[e._v(e._s(e._f("toThousandFilter")(e.statisticsData.changeAmount1)))])]),e._v(" "),a("el-descriptions-item",{attrs:{label:"转实收违约金"}},[a("b",[e._v(e._s(e._f("toThousandFilter")(e.statisticsData.changeAmountFeeAmount)))])])],1):e._e(),e._v(" "),"deposit"==e.tableType?a("el-descriptions",{attrs:{column:5}},[a("template",{slot:"title"},[a("span",{staticClass:"descTitleTip"},[e._v("辅助统计 ")])]),e._v(" "),a("el-descriptions-item",{attrs:{label:"应收"}},[a("b",[e._v(e._s(e._f("toThousandFilter")(e.depositData.totalAmount)))])]),e._v(" "),a("el-descriptions-item",{attrs:{label:"实收"}},[a("b",[e._v(e._s(e._f("toThousandFilter")(e.depositData.paidAmount)))])]),e._v(" "),a("el-descriptions-item",{attrs:{label:"押金金额"}},[a("b",[e._v(e._s(e._f("toThousandFilter")(e.depositData.deposit)))])]),e._v(" "),a("el-descriptions-item",{attrs:{label:"押金退款"}},[a("b",[e._v(e._s(e._f("toThousandFilter")(e.depositData.depositRefund)))])]),e._v(" "),a("el-descriptions-item",{attrs:{label:"押金转预缴"}},[a("b",[e._v(e._s(e._f("toThousandFilter")(e.depositData.depositPrepay)))])])],2):e._e(),e._v(" "),a("div",{staticClass:"titleContent"},[e.searchBar?a("div",{staticClass:"tableTitle"},[e._v("收款记录")]):a("div",{staticClass:"tableTitle"},[e._v("误差列表")]),e._v(" "),a("div",[e.part?a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"primary"},on:{click:e.gotoCorrect}},[e._v("数据修正")]):e._e(),e._v(" "),e.part?a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"primary"},on:{click:e.asyncReconciliation}},[e._v("更新第三方到账信息")]):e._e(),e._v(" "),"collection"==e.tableType?a("el-popover",{attrs:{placement:"top-start",title:"温馨提示:",width:"400",trigger:"hover"}},[a("div",[a("div",[e._v("基于数据安全考虑,每次下载均有记录且数据控制如下:")]),e._v(" "),a("div",[e._v("\n 1.\n “按房屋收费项汇总”支持最多“12个月”数据下载“按当前列表样式”支持最多“6个月”数据下载。\n ")]),e._v(" "),a("div",[e._v("2. 默认为“近两个月”数据。")]),e._v(" "),a("div",[e._v("\n 3. 若需更改,请在搜索条件选择“支付/销单日期”,并符合上述要求。\n ")]),e._v(" "),a("div",[e._v("4. 下载完的Excel文件请在“下载中心”中查看下载状态下载。")])]),e._v(" "),a("el-button",{staticStyle:{margin:"0 10px"},attrs:{slot:"reference",type:"success",icon:"el-icon-download"},on:{click:e.selectDownloadExcel},slot:"reference"},[e._v("下载Excel")])],1):e._e(),e._v(" "),e.change?a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"warning"},on:{click:e.syncAmount}},[e._v("同步押金余额")]):e._e(),e._v(" "),"deposit"==e.tableType?a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"success",loading:e.downloading},on:{click:e.selectDownloadExcel}},[e._v("下载Excel")]):e._e(),e._v(" "),e.all?a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"primary"},on:{click:function(t){return e.toAccounts("all")}}},[e._v("全部对账")]):e._e(),e._v(" "),e.part?a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"primary"},on:{click:function(t){return e.toAccounts("part")}}},[e._v("部分对账")]):e._e(),e._v(" "),e.refund?a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"primary"},on:{click:e.refundClick}},[e._v("我要退款")]):e._e(),e._v(" "),e.change?a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"primary"},on:{click:e.depositTrans}},[e._v("押金转预缴")]):e._e()],1)]),e._v(" "),a("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":""},on:{"selection-change":e.selectList}},[e.searchBar?a("el-table-column",{attrs:{label:"#",align:"center",type:"selection",fixed:"",width:"50","show-overflow-tooltip":"","reserve-selection":!0}}):e._e(),e._v(" "),a("el-table-column",{attrs:{fixed:"",align:"center",label:"房屋号","min-width":"180","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.precinctName&&t.row.buildingName&&t.row.unitName&&t.row.roomNum?a("div",{staticClass:"houseDes",on:{click:function(a){return e.gotoHouseDeyailes(t.row)}}},[e._v("\n "+e._s(t.row.precinctName+"-"+t.row.buildingName+"-"+t.row.unitName+"-"+t.row.roomNum)+"\n ")]):a("div",[e._v("-")])]}}])}),e._v(" "),"collection"==e.tableType?a("el-table-column",{attrs:{align:"center",label:"产权人","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.debtorBy||"-")+"\n ")]}}],null,!1,2472887521)}):e._e(),e._v(" "),"collection"==e.tableType?a("el-table-column",{attrs:{align:"center",label:"计费账期","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.chargeDate||"-")+"\n ")]}}],null,!1,3257289022)}):e._e(),e._v(" "),"collection"==e.tableType?a("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.subjectName||"-")+"\n ")]}}],null,!1,2324259627)}):e._e(),e._v(" "),a("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.fsChargesName||t.row.chargeName||"-")+"\n ")]}}])}),e._v(" "),"collection"==e.tableType?a("el-table-column",{attrs:{align:"right",label:"应收金额","min-width":"90","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("toThousandFilter")(t.row.totalAmount))+"\n ")]}}],null,!1,753802191)}):e._e(),e._v(" "),"collection"==e.tableType?a("el-table-column",{attrs:{align:"right",label:"本次实收本金","min-width":"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[3==t.row.payDirection&&t.row.payAmount>0?a("span",[e._v(e._s(e._f("toThousandFilter")(-t.row.payAmount)))]):a("span",[e._v(e._s(e._f("toThousandFilter")(t.row.payAmount)))])]}}],null,!1,353514821)}):e._e(),e._v(" "),"collection"==e.tableType?a("el-table-column",{attrs:{align:"right",label:"本次实收违约金","min-width":"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[3==t.row.payDirection&&t.row.payAmount>0?a("span",[e._v(e._s(e._f("toThousandFilter")(-t.row.feeAmount)))]):a("span",[e._v(e._s(e._f("toThousandFilter")(t.row.feeAmount)))])]}}],null,!1,2548764293)}):e._e(),e._v(" "),"collection"==e.tableType?a("el-table-column",{attrs:{align:"center",label:"支付/销单时间","min-width":"170","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.payTime||"-")+"\n ")]}}],null,!1,3445970573)}):e._e(),e._v(" "),"collection"==e.tableType?a("el-table-column",{attrs:{align:"center",label:"结算方式","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getItemType")(t.row.method,e.settlementMethod))+"\n ")]}}],null,!1,1392344574)}):e._e(),e._v(" "),"collection"==e.tableType?a("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.getPayType(t.row))+"\n ")]}}],null,!1,2377855956)}):e._e(),e._v(" "),"collection"==e.tableType?a("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(1==t.row.isRefund?"正常":2==t.row.isRefund?"已退款":"-")+"\n ")]}}],null,!1,2543780772)}):e._e(),e._v(" "),"collection"==e.tableType?a("el-table-column",{attrs:{align:"center",label:"支付方向","min-width":"90","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(e._f("getItemType")(t.row.payDirection,e.payDirectionList)))])]}}],null,!1,1018550506)}):e._e(),e._v(" "),"collection"==e.tableType?a("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.orderNo||"-")+"\n ")]}}],null,!1,3640460287)}):e._e(),e._v(" "),"collection"==e.tableType?a("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(e.filterRemark(t.row))+"\n ")]}}],null,!1,2560738544)}):e._e(),e._v(" "),"collection"==e.tableType?a("el-table-column",{attrs:{align:"center",label:"应收业务订单号","min-width":"130","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.chargeReceNo||"-")+"\n ")]}}],null,!1,1675822714)}):e._e(),e._v(" "),a("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(1==t.row.type?"普通类":2==t.row.type?"押金类":"-")+"\n ")]}}])}),e._v(" "),"collection"==e.tableType?a("el-table-column",{attrs:{align:"center",label:"应收日期","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.payDeadline||"-")+"\n ")]}}],null,!1,552388146)}):e._e(),e._v(" "),"collection"==e.tableType?a("el-table-column",{attrs:{align:"center",label:"实际支付时间","min-width":"170","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.filterRealPaidDate(t.row.realPaidDate))+"\n ")]}}],null,!1,4176915132)}):e._e(),e._v(" "),"collection"==e.tableType?a("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.responsibility,e.chargeResponsibility))+"\n ")]}}],null,!1,180343561)}):e._e(),e._v(" "),"collection"==e.tableType?a("el-table-column",{attrs:{align:"center",label:"资源类型","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getItemType")(t.row.targetType,e.resourceTypeList))+"\n ")]}}],null,!1,316614282)}):e._e(),e._v(" "),"collection"==e.tableType?a("el-table-column",{attrs:{align:"center",label:"资源ID","min-width":"140","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.targetId||"-")+"\n ")]}}],null,!1,235897036)}):e._e(),e._v(" "),"collection"==e.tableType?a("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.source,e.orderSource))+"\n ")]}}],null,!1,2920347709)}):e._e(),e._v(" "),"collection"!=e.tableType||e.isDetail?e._e():a("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.accountNo||"-")+"\n ")]}}],null,!1,185755248)}),e._v(" "),"collection"==e.tableType?a("el-table-column",{attrs:{align:"center",label:"对账状态","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.checkStatus?"未对账":2==t.row.checkStatus?"已对账":"-")+"\n ")]}}],null,!1,1674246571)}):e._e(),e._v(" "),"collection"==e.tableType?a("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.checkNo||"-")+"\n ")]}}],null,!1,1975147319)}):e._e(),e._v(" "),"collection"==e.tableType?a("el-table-column",{attrs:{align:"center",label:"对账人","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.memberName||"-")+"\n ")]}}],null,!1,798956679)}):e._e(),e._v(" "),"collection"==e.tableType?a("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.kftTradeTime||"-")+"\n ")]}}],null,!1,796856762)}):e._e(),e._v(" "),"collection"==e.tableType?a("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.kftAmount||"-")+"\n ")]}}],null,!1,2262998533)}):e._e(),e._v(" "),"collection"==e.tableType?a("el-table-column",{attrs:{align:"center",label:"操作人","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.opMemberName||"-")+"\n ")]}}],null,!1,4230966296)}):e._e(),e._v(" "),"collection"==e.tableType?a("el-table-column",{attrs:{align:"center",label:"推荐人","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.referrerName||"-")+"\n ")]}}],null,!1,4013067988)}):e._e(),e._v(" "),"deposit"==e.tableType?a("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.chargeDate)+"\n ")]}}],null,!1,1216619699)}):e._e(),e._v(" "),"deposit"==e.tableType?a("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.status,e.paymentStatus))+"\n ")]}}],null,!1,171908873)}):e._e(),e._v(" "),"deposit"==e.tableType?a("el-table-column",{attrs:{align:"center",label:"应收单号","min-width":"250","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.orderNo)+"\n ")]}}],null,!1,2675133458)}):e._e(),e._v(" "),"deposit"==e.tableType?a("el-table-column",{attrs:{align:"right",label:"应收","min-width":"90","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("toThousandFilter")(t.row.totalAmount))+"\n ")]}}],null,!1,753802191)}):e._e(),e._v(" "),"deposit"==e.tableType?a("el-table-column",{attrs:{align:"right",label:"实收","min-width":"90","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("toThousandFilter")(t.row.paidAmount))+"\n ")]}}],null,!1,3483400785)}):e._e(),e._v(" "),"deposit"==e.tableType?a("el-table-column",{attrs:{align:"right",label:"押金余额","min-width":"90","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("toThousandFilter")(t.row.deposit))+"\n ")]}}],null,!1,261269969)}):e._e(),e._v(" "),"deposit"==e.tableType?a("el-table-column",{attrs:{align:"right",label:"押金退款","min-width":"90","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("toThousandFilter")(t.row.depositRefund))+"\n ")]}}],null,!1,3580945663)}):e._e(),e._v(" "),"deposit"==e.tableType?a("el-table-column",{attrs:{align:"right",label:"押金转预缴","min-width":"90","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("toThousandFilter")(t.row.depositPrepay))+"\n ")]}}],null,!1,1737478462)}):e._e(),e._v(" "),"deposit"==e.tableType?a("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.eremark||"-")+"\n ")]}}],null,!1,4065113175)}):e._e(),e._v(" "),"deposit"==e.tableType?a("el-table-column",{attrs:{align:"center",label:"支付/销单时间","min-width":"200","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.epayTime||"-")+"\n ")]}}],null,!1,1206531240)}):e._e(),e._v(" "),"deposit"==e.tableType?a("el-table-column",{attrs:{align:"center",label:"创建时间","min-width":"200","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.ecreatedTime||"-")+"\n ")]}}],null,!1,4255994368)}):e._e()],1),e._v(" "),a("div",{staticClass:"paginations"},[a("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),e._v(" "),e.salesRefund?a("salesRefund",{ref:"salesRefund",attrs:{show:e.salesRefund,orderData:e.payListData},on:{close:e.closeRefundDialog}}):e._e(),e._v(" "),a("el-dialog",{attrs:{title:"下载Excel列表数据",visible:e.execlDialog,width:"30%","close-on-click-modal":!1},on:{"update:visible":function(t){e.execlDialog=t}}},[a("el-form",{ref:"execlForm"},[a("el-form-item",{attrs:{label:"模板:","label-width":"80px"}},[a("el-radio-group",{model:{value:e.query.execlTemplate,callback:function(t){e.$set(e.query,"execlTemplate",t)},expression:"query.execlTemplate"}},[a("el-radio",{attrs:{label:"1"}},[e._v("按当前列表样式下载")]),e._v(" "),a("el-radio",{attrs:{label:"2"}},[e._v("按房屋收费项汇总下载")])],1)],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.cancelExecl}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.enterExecl}},[e._v("确 定")])],1)],1)],1)},o=[],l=a("7274"),n=a("dce5"),i=a("9192"),s=a("ce63"),c=a("c32d"),u=a("2b74"),p=a("dce1"),d=a("e654"),y=a("08f8"),m=a("dd26"),f=a.n(m);function h(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,a="function"==typeof Symbol?Symbol:{},r=a.iterator||"@@iterator",o=a.toStringTag||"@@toStringTag";function l(a,r,o,l){var s=r&&r.prototype instanceof i?r:i,c=Object.create(s.prototype);return b(c,"_invoke",function(a,r,o){var l,i,s,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:y,f:y.bind(e,4),d:function(t,a){return l=t,i=0,s=e,d.n=a,n}};function y(a,r){for(i=a,s=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,l=u[t],y=d.p,m=l[2];a>3?(o=m===r)&&(s=l[(i=l[4])?5:(i=3,3)],l[4]=l[5]=e):l[0]<=y&&((o=a<2&&y<l[1])?(i=0,d.v=r,d.n=l[1]):y<m&&(o=a<3||l[0]>r||r>m)&&(l[4]=a,l[5]=r,d.n=m,i=0))}if(o||a>1)return n;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&y(u,m),i=u,s=m;(t=i<2?e:s)||!p;){l||(i?i<3?(i>1&&(d.n=-1),y(i,s)):d.n=s:d.v=s);try{if(c=2,l){if(i||(o="next"),t=l[o]){if(!(t=t.call(l,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,i<2&&(i=0)}else 1===i&&(t=l.return)&&t.call(l),i<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),i=1);l=e}else if((t=(p=d.n<0)?s:a.call(r,d))!==n)break}catch(t){l=e,i=1,s=t}finally{c=1}}return{value:t,done:p}}}(a,o,l),!0),c}var n={};function i(){}function s(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(b(t={},r,(function(){return this})),t),p=c.prototype=i.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,b(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return s.prototype=c,b(p,"constructor",c),b(c,"constructor",s),s.displayName="GeneratorFunction",b(c,o,"GeneratorFunction"),b(p),b(p,o,"Generator"),b(p,r,(function(){return this})),b(p,"toString",(function(){return"[object Generator]"})),(h=function(){return{w:l,m:d}})()}function b(e,t,a,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}b=function(e,t,a,r){function l(t,a){b(e,t,(function(e){return this._invoke(t,a,e)}))}t?o?o(e,t,{value:a,enumerable:!r,configurable:!r,writable:!r}):e[t]=a:(l("next",0),l("throw",1),l("return",2))},b(e,t,a,r)}function v(e,t,a,r,o,l,n){try{var i=e[l](n),s=i.value}catch(e){return void a(e)}i.done?t(s):Promise.resolve(s).then(r,o)}function _(e){return function(){var t=this,a=arguments;return new Promise((function(r,o){var l=e.apply(t,a);function n(e){v(l,r,o,n,i,"next",e)}function i(e){v(l,r,o,n,i,"throw",e)}n(void 0)}))}}function g(e){return k(e)||q(e)||T(e)||w()}function w(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function T(e,t){if(e){if("string"==typeof e)return L(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?L(e,t):void 0}}function q(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function k(e){if(Array.isArray(e))return L(e)}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,r=Array(t);a<t;a++)r[a]=e[a];return r}var C={components:{salesRefund:c["a"],ElYearPicker:y["a"]},props:{tableType:{type:String,default:"collection"},total:{type:Number,default:0},listData:{type:Array,default:function(){return[]}},listLoading:{type:Boolean,default:!1},inContent:{type:Boolean,default:!1},download:{type:Boolean,default:!1},all:{type:Boolean,default:!1},part:{type:Boolean,default:!1},refund:{type:Boolean,default:!1},change:{type:Boolean,default:!1},statistics:{type:Boolean,default:!1},statisticsData:{type:Object,default:function(){return{}}},depositData:{type:Object,default:function(){return{}}},isDetail:{type:Boolean,default:!1},searchBar:{type:Boolean,default:!0}},data:function(){return{pickerOptions:{shortcuts:[{text:"本月",onClick:function(e){e.$emit("pick",[new Date,new Date])}},{text:"今年至今",onClick:function(e){var t=new Date,a=new Date((new Date).getFullYear(),0);e.$emit("pick",[a,t])}},{text:"最近六个月",onClick:function(e){var t=new Date,a=new Date;a.setMonth(a.getMonth()-6),e.$emit("pick",[a,t])}}]},resourceTypeList:n["ac"],chargeResponsibility:n["B"],downloading:!1,salesRefund:!1,payListData:[],settlementMethod:n["gc"],payMethodList:n["Db"],feeTypeList:n["W"],paymentStatus:n["Nb"],payDirectionList:n["Cb"],orderSource:n["yb"],monthList:[],areaOptions:[],building:[],unitList:[],houseArr:[],categoryArr:[],chargesArr:[],query:{subjectCodes:[],subjectNo:"",method:"",payTypeList:[],isRefund:"",chargeReceNo:"",orderNo:"",time:[],chargeDates:[],chargesIdList:[],chargeIds:[],type:"",statusList:[],precinctId:"",buildingId:"",unitId:"",fsHouseIds:[],fsHouseId:"",roomNum:"",payDirections:[],debtorBy:"",responsibility:"",source:"",chargeDateList:[],selectChargeDate:[],opMemberName:"",pageNumber:1,pageSize:10,execlTemplate:"1",accountNo:"",referrerName:"",remark:"",queryTime:"",kftTradeStartTime:"",kftTradeEndTime:"",payTime:"",startEPayTime:"",endEPayTime:"",CreatedTime:"",startECreatedTime:"",endECreatedTime:"",eremark:"",businessClassifys:[],chargeCompanyId:"",chargeType:1},selectionList:[],execlDialog:!1,props:{multiple:!0},CompanyFsList:[],businessTypeArr:n["v"]}},created:function(){this.businessTypeArr=this.businessTypeArr.slice(0,4),this.setDefaultDateRange(),this.getSubjectList(),this.getChargesList(),this.getAreaList(),this.monthList=this.setMonths(),this.getPayTypeList(),this.getCompanyFsList()},mounted:function(){},methods:{gotoHouseDeyailes:function(e){var t=window.location.origin,a="".concat(t,"/#/roomDetails2?id=").concat(e.fsHouseId);window.open(a,"_blank")},getCompanyFsList:function(){var e=this;Object(i["g"])({companyId:this.$store.state.companyId,pageSize:-1}).then((function(t){0==t.code&&t.data.records.length>0&&(e.CompanyFsList=t.data.records)}))},gotoCorrect:function(){var e=window.location.origin+"/#/correct";window.open("".concat(e))},getPayType:function(e){if(e.payTypeV2){var t=this.payMethodList.find((function(t){return t.value==e.payTypeV2}));return t?t.label:"-"}if(e.payType){var a=this.payMethodList.find((function(t){return t.value==e.payType}));return a?a.label:"-"}return"-"},getPayTypeList:function(){var e=this;Object(l["f"])({uuid:this.$store.state.community_uuid}).then((function(t){if(t.data&&0==t.code&&t.data.payTypeList&&t.data.payTypeList.length>0){var a=[].concat(g(e.payMethodList),g(JSON.parse(t.data.payTypeList)));a=Array.from(new Set(a.map(JSON.stringify))).map(JSON.parse),e.payMethodList=a}}))},setDefaultDateRange:function(){var e=f()().subtract(7,"days").format("YYYY-MM-DD")+" 00:00:00",t=f()().format("YYYY-MM-DD")+" 23:59:59";this.query.time=[e,t]},filterRemark:function(e){return e.remark?e.remark:e.description?e.description:"-"},filterRealPaidDate:function(e){return e&&e.length>0?e.split(" ")[0]:"-"},setVal:function(e){this.query.accountNo=e.accountNo,this.query.payType=e.payType,this.query.isRefund=e.isRefund},selectDownloadExcel:function(){"deposit"===this.tableType?this.downloadExcel():this.execlDialog=!this.execlDialog},enterExecl:function(){var e=_(h().m((function e(){return h().w((function(e){while(1)switch(e.n){case 0:if(this.query.execlTemplate){e.n=1;break}return this.$message({message:"请选择Execl模板",type:"error"}),e.a(2);case 1:return e.n=2,this.downloadExcel();case 2:this.query.execlTemplate="",this.execlDialog=!1;case 3:return e.a(2)}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),cancelExecl:function(){this.query.execlTemplate="",this.execlDialog=!1},selectList:function(e){this.selectionList=e},getSubjectList:function(){var e=this;Object(i["o"])({projectUuid:this.$store.state.community_uuid,subjectType:3}).then((function(t){0==t.code&&(e.categoryArr=t.data)}))},getChargesList:function(){var e=this;Object(s["b"])({pageNumber:-1,pageSize:-1,categoryCode:"collection"===this.tableType?"":"103",projectUuid:this.$store.state.community_uuid}).then((function(t){var a=[];t.data.records.forEach((function(e){a.push({label:e.name,value:e.fsChargesId})})),e.chargesArr=a}))},searchClick:function(){this.query.chargesIdList&&this.query.chargesIdList.length&&(this.query.chargesIdList=this.query.chargesIdList.flat()),this.query.payTypeList&&this.query.payTypeList.length&&(this.query.payTypeList=this.query.payTypeList.flat()),this.query.chargeIds&&this.query.chargeIds.length&&(this.query.chargeIds=this.query.chargeIds.flat()),this.query.pageNumber=1,this.$emit("search",this.paramsData())},resetClick:function(){this.$refs["query"].resetFields(),this.query.chargeType=1;var e=this.paramsData();e.pageNumber=1,e.pageSize=10,console.log(e),this.$emit("reset",e)},handleSizeChange:function(e){this.query.pageNumber=1,this.query.pageSize=e,this.$emit("pageChange",this.paramsData("changeSize"))},handleCurrentChange:function(e){this.query.pageNumber=e,this.$emit("pageChange",this.paramsData("changeSize"))},paramsData:function(e){var t={};if("collection"==this.tableType){this.query.queryTime?(this.query.kftTradeStartTime=this.query.queryTime[0],this.query.kftTradeEndTime=this.query.queryTime[1]):(this.query.kftTradeStartTime="",this.query.kftTradeEndTime="");var a=this.query,r=a.subjectCodes,o=a.subjectNo,l=a.chargesIdList,n=a.selectChargeDate,i=a.method,s=a.payTypeList,c=a.isRefund,u=a.time,p=a.chargeReceNo,d=a.orderNo,y=a.payDirections,m=a.debtorBy,h=a.responsibility,b=a.source,v=a.precinctId,_=a.buildingId,g=a.unitId,w=a.roomNum,T=a.opMemberName,q=a.execlTemplate,k=a.accountNo,L=a.referrerName,C=a.remark,I=a.kftTradeStartTime,D=a.kftTradeEndTime,N=a.fsHouseIds,S=a.type,x=a.businessClassifys,$=a.chargeCompanyId,M=a.chargeType;if(t={precinctId:v,buildingId:_,unitId:g,roomNum:w,subjectCodes:r,subjectNo:o,chargesIdList:l,method:i,payTypeList:s,isRefund:c,startDate:u?u[0]:"",endDate:u?u[1]:"",chargeReceNo:p,orderNo:d,payDirections:y,debtorBy:m,responsibility:h,source:b,opMemberName:T,execlTemplate:q,accountNo:k,referrerName:L,remark:C,kftTradeStartTime:I,kftTradeEndTime:D,fsHouseIds:N,type:S,businessClassifys:x,chargeCompanyId:$,companyId:this.$store.state.companyId,chargeType:M,selectChargeDate:n,time:u},n.length){if(1==this.query.chargeType){var j=[];n.forEach((function(e){for(var t=1;t<=12;t++)j.push("".concat(e,"-").concat(t<10?"0"+t:t))})),t.chargeDateList=j}else if(2==this.query.chargeType)t.chargeDateList=n;else if(3==this.query.chargeType){for(var A=[],E=n[0];E<=n[1];E++)A.push(E);var R=[];A.forEach((function(e){for(var t=1;t<=12;t++)R.push("".concat(e,"-").concat(t<10?"0"+t:t))})),t.chargeDateList=R}else if(4==this.query.chargeType){var O=f()(n[0],"YYYY-MM"),F=f()(n[1],"YYYY-MM"),H=O.clone(),P=[];while(H.isBefore(F)||H.isSame(F,"month"))P.push(H.format("YYYY-MM")),H.add(1,"month");t.chargeDateList=P}}else t.chargeDateList=[]}else if("deposit"==this.tableType){this.query.payTime?(this.query.startEPayTime=this.query.payTime[0],this.query.endEPayTime=this.query.payTime[1]):(this.query.startEPayTime="",this.query.endEPayTime=""),this.query.CreatedTime?(this.query.startECreatedTime=this.query.CreatedTime[0],this.query.endECreatedTime=this.query.CreatedTime[1]):(this.query.startECreatedTime="",this.query.endECreatedTime="");var B=this.query,Y=B.chargeDates,z=B.chargeIds,U=B.statusList,G=B.precinctId,J=B.buildingId,V=B.unitId,W=B.roomNum,K=B.type,Q=B.orderNo,X=B.eremark,Z=B.startECreatedTime,ee=B.endECreatedTime,te=B.startEPayTime,ae=B.endEPayTime,re=B.fsHouseId;t={chargeDates:Y,chargeIds:z,statusList:U,precinctId:G,buildingId:J,unitId:V,roomNum:W,type:K,orderNo:Q,eremark:X,startECreatedTime:Z,endECreatedTime:ee,startEPayTime:te,endEPayTime:ae,fsHouseId:re}}return t.pageNumber=this.query.pageNumber,t.pageSize=this.query.pageSize,"changeSize"==e&&(t.changeSize=!0),t},setMonths:function(){for(var e=new Date,t=e.getFullYear()-3,a=[],r=0;r<7;r++)for(var o=1;o<=12;o++)a.push({key:a.length+1,value:"".concat(t+r,"-").concat(o<=9?"0"+o:o)});return a},getAreaList:function(){var e=this,t={projectUuid:this.$store.state.community_uuid,pageNumber:-1,pageSize:-1};Object(u["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="",this.houseArr=[],this.query.fsHouseIds=[],this.query.fsHouseId="",e&&this.getBuild()},getBuild:function(){var e=this;Object(u["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.houseArr=[],this.query.fsHouseIds=[],this.query.fsHouseId="",this.getUnit()},changeUnit:function(){this.houseArr=[],this.query.fsHouseIds=[],this.query.fsHouseId="",this.getHouseList()},getUnit:function(){var e=this;Object(u["mb"])({pageNumber:-1,pageSize:-1,projectCode:this.$store.state.community_uuid,buildingId:this.query.buildingId}).then((function(t){e.unitList=t.data.records}))},getHouseList:function(){var e=this,t={projectCode:this.$store.state.community_uuid,precinctId:this.query.precinctId,buildingId:this.query.buildingId,unitId:this.query.unitId,pageSize:-1};Object(u["M"])(t).then((function(t){0===t.code&&(e.houseArr=t.data.records)}))},refundClick:function(){var e=this;if(0===this.selectionList.length)return this.$message({message:"请先选择需要退款的应收单!",type:"error"}),!1;var t=this.checkSelect(),a=t.paidList,r=t.payIngList,o=t.payPartList,l=t.unPaidList,n=t.payOffList,i=t.refundList,s=t.refundPartList,c=t.payLockList;if(l.length>0||r.length>0||i.length>0||n.length>0||c.length>0)return this.$message({message:"只能对已缴费、部分缴费、部分退款的应收账单进行退款!",type:"warning"}),!1;var u=a.concat(o).concat(s);console.log(u),this.$confirm("同意后,将退还该收费项已实收金额, 是否同意退款?","退款确认",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.payListData=u,e.salesRefund=!0})).catch((function(){}))},closeRefundDialog:function(){this.salesRefund=!1,this.$refs.dataTable.clearSelection(),this.searchClick()},depositTrans:function(){if(0===this.selectList.length)return this.$message({message:"请先选择需要转预缴的押金订单!",type:"warning"}),!1;var e=this.checkSelect(),t=e.paidList,a=e.payIngList,r=e.payPartList,o=e.unPaidList,l=e.payOffList,n=e.refundList,i=e.refundPartList,s=e.payLockList,c=e.deposit;if(r.length>0||o.length>0||a.length>0||n.length>0||l.length>0||s.length>0)return this.$message({message:"只能对分类为押金类且未退款的押金订单进行转预缴!",type:"warning"}),!1;var u=c.filter((function(e){return t.includes(e)})),p=i.concat(u);this.$confirm("同意后,会将该收费项进行押金转预缴, 是否同意押金转预缴?","押金转预缴确认",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){sessionStorage.setItem("depositList",JSON.stringify(p));var e=window.location.origin+"/#/depositOffset";window.open("".concat(e))})).catch((function(){}))},getSelect:function(){return this.selectionList},downloadExcel:function(){var e=this;if("deposit"===this.tableType)return this.exportExecl(),!1;console.log("---------------------------"),this.downloading=!0;var t=this.paramsData();t.projectUuid=this.$store.state.community_uuid,t.companyId=this.$store.state.companyId,t.companyName=localStorage.getItem("companyName"),t.memberId=this.$store.state.user.userInfo.memberId,t.memberName=this.$store.state.user.userInfo.memberName,t.projectName=this.$store.state.community_name,t.projectUuid=this.$store.state.community_uuid,Object(p["f"])(t).then((function(t){e.downloading=!1,0==t.code&&e.$message.success("操作成功!已将任务加入到下载中心,请在下载中心查看状态下载。")})).catch((function(t){e.downloading=!1}))},exportExecl:function(){var e=this;this.downloading=!0;var t=this.paramsData();t.projectUuid=this.$store.state.community_uuid;var a=(new Date).valueOf();Object(d["n"])(t).then((function(t){var r=new Blob([t],{type:"application/vnd.ms-excel;charset=UTF-8"});if(window.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(r);else{var o=document.createElement("a");o.download="押金明细列表导出_".concat(a,".xls"),o.href=URL.createObjectURL(r),o.click(),URL.revokeObjectURL(o.href),document.body.removeChild(o),e.downloading=!1}})).catch((function(t){e.downloading=!1}))},toAccounts:function(e){var t=this,a={};if("all"==e)a=this.paramsData();else if("part"==e){var r=[];if(this.selectionList.length<=0)return void this.$message({message:"请选择需要对账的数据!",type:"warning"});this.selectionList.map((function(e){r.push(e.id)})),a={chargeDetailIds:r}}a.projectUuid=this.$store.state.community_uuid,a.projectName=this.$store.state.community_name,a.memberName=this.$store.state.user.userInfo.memberName,a.memberPhone=this.$store.state.user.userInfo.accountName,a.memberUuid=this.$store.state.user.userInfo.memberUuid,Object(p["j"])(a).then((function(e){t.toPath(e.data),t.$refs.dataTable.clearSelection(),t.$emit("list")}))},checkSelect:function(){var e=[],t=[],a=[],r=[],o=[],l=[],n=[],i=[],s=[],c=[],u={};return this.selectionList.length>0?(this.selectionList.forEach((function(u){switch(u.status){case 1:t.push(u);break;case 2:r.push(u);break;case 3:e.push(u);break;case 4:a.push(u);break;case 5:o.push(u);break;case 6:l.push(u);break;case 7:n.push(u);break;case 8:i.push(u);break}2===u.type?s.push(u):1===u.type&&c.push(u)})),u={unPaidList:t,payPartList:r,paidList:e,payIngList:a,payOffList:o,refundPartList:l,refundList:n,payLockList:i,general:c,deposit:s},u):(this.$message({message:"请选择需要操作的数据!",type:"warning"}),!1)},toPath:function(e){var t=this.$router.resolve({path:"/reconciliation",query:{id:e.id}});window.open(t.href,"_blank")},headClass:function(){return"text-align:center;background:#FAFAFA;"},asyncReconciliation:function(){this.$message("功能开发中!")},syncAmount:function(){var e=this;if(this.listData.length>0){var t=[];this.listData.map((function(e){2==e.type&&3==e.status&&t.push(e.id)})),t.length>0?Object(p["s"])({ids:t}).then((function(t){0==t.code&&(e.$message.success("同步成功!"),e.$emit("list"))})):this.$message("当前展示的数据中无完成缴费数据!")}else this.$message("无可操作数据!")},typeChange:function(){this.query.selectChargeDate=[]},yearRangeChange:function(e){this.query.selectChargeDate=e}}},I=C,D=(a("4d6c"),a("829d")),N=Object(D["a"])(I,r,o,!1,null,"15c6d1ae",null);t["a"]=N.exports}}]);