(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-b80719aa"], { "17c2": function(e, t, a) { "use strict"; a("cb18"); }, "4e5f": function(e, t, a) { }, "54f4": function(e, t, a) { "use strict"; a.r(t); var i = function() { var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2; return a2("div", { staticClass: "app-container bgHeight" }, [a2("div", { staticClass: "material" }, [a2("el-tabs", { attrs: { type: "border-card" }, on: { "tab-click": e2.handleClick }, model: { value: e2.activeName, callback: function(t3) { e2.activeName = t3; }, expression: "activeName" } }, [a2("el-tab-pane", { attrs: { label: "收款明细", name: "collection" } }, [a2("collection-info", { directives: [{ name: "show", rawName: "v-show", value: "collection" === e2.activeName, expression: "activeName === 'collection'" }], ref: "collection", on: { list: e2.recordList } })], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "保证金/押金明细", name: "temporary" } }, [a2("temporary-info", { directives: [{ name: "show", rawName: "v-show", value: "temporary" === e2.activeName, expression: "activeName === 'temporary'" }], ref: "temporary" })], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "对账记录", name: "record" } }, [a2("record-list", { directives: [{ name: "show", rawName: "v-show", value: "record" === e2.activeName, expression: "activeName === 'record'" }], ref: "record", on: { list: e2.recordList } })], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "预缴明细", name: "prePayRecord" } }, ["prePayRecord" === e2.activeName ? a2("prePayRecord", { ref: "prePayRecord" }) : e2._e()], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "流水账", name: "chronicle" } }, [a2("chronicle", { directives: [{ name: "show", rawName: "v-show", value: "chronicle" === e2.activeName, expression: "activeName === 'chronicle'" }], ref: "chronicle" })], 1)], 1)], 1)]); }, n = [], r = function() { var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2; return a2("div", [a2("info-table", { ref: "infoTable", attrs: { download: "", all: "", part: "", statistics: "", statisticsData: e2.statisticsInfo, tableType: "collection", listData: e2.listData, total: e2.total, listLoading: e2.listLoad }, on: { list: e2.getList, search: e2.formSearch, pageChange: e2.formSearch, reset: e2.formReset } })], 1); }, o = [], l = a("dce1"), s = a("a3cb"), u = { components: { infoTable: s["a"] }, data: function() { return { listLoad: false, listData: [], total: 0, search: { pageSize: 10, pageNumber: 1 }, statisticsInfo: {} }; }, mounted: function() { var e2 = sessionStorage.getItem("canQuery"); this.$route.query.accountNo && e2 && (this.search.accountNo = this.$route.query.accountNo, this.search.isRefund = this.$route.query.isRefund, this.search.payType = this.$route.query.payType, this.$refs.infoTable.setVal(this.$route.query), sessionStorage.setItem("canQuery", false)), this.$refs.infoTable.searchClick(); }, methods: { getListData: function() { var e2 = this; this.listLoad = true, this.search.projectUuid = this.$store.state.community_uuid, console.log("最终搜索被触发了++++,", this.search), Object(l["k"])(this.search).then((function(t2) { t2.data && t2.data.records ? (e2.listData = t2.data.records, e2.total = t2.data.rowsCount, e2.listLoad = false) : e2.listLoad = false; })).catch((function(t2) { e2.listLoad = false; })), this.search.changeSize || this.getTotal(); }, getTotal: function() { var e2 = this; Object(l["t"])(this.search).then((function(t2) { t2.data ? e2.statisticsInfo = t2.data : e2.statisticsInfo = {}; })); }, formSearch: function(e2) { if (e2.accountNo) { var t2 = e2.accountNo.replace(/ /g, ",").replace(/,/g, ""); if (t2.split("/").length > 7) return void this.$message.error("一次性只能输入七个账户"); t2 = t2.split("/").join(","), e2.accountNo = t2; } this.search = e2, this.getListData(); }, formReset: function(e2) { this.search = e2, this.getListData(); }, getList: function() { this.$emit("list"); } } }, c = u, d = a("829d"), p = Object(d["a"])(c, r, o, false, null, "de9545f4", null), m = p.exports, h = function() { var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2; return a2("div", [a2("el-tabs", { model: { value: e2.activeName, callback: function(t3) { e2.activeName = t3; }, expression: "activeName" } }, [a2("el-tab-pane", { attrs: { label: "收款记录", name: "list" } }, [a2("info-table", { attrs: { tableType: "deposit", download: "", refund: "", change: "", depositData: e2.depositData, listData: e2.listData, statistics: "", total: e2.total, listLoading: e2.listLoad }, on: { search: e2.formSearch, pageChange: e2.formSearch, reset: e2.formReset } })], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "押金使用明细", name: "detail" } }, [a2("detail-table")], 1)], 1)], 1); }, f = [], y = function() { var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2; return a2("div", [a2("div", { staticClass: "searchContent" }, [a2("el-form", { ref: "query", staticClass: "demo-form-inline", attrs: { inline: true, model: e2.query } }, [a2("el-form-item", { attrs: { prop: "chargeDates" } }, [a2("el-date-picker", { attrs: { type: "months", format: "yyyy-MM", "value-format": "yyyy-MM", placeholder: "选择计费账期" }, model: { value: e2.query.chargeDates, callback: function(t3) { e2.$set(e2.query, "chargeDates", t3); }, expression: "query.chargeDates" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "chargesIdList" } }, [a2("el-cascader", { attrs: { placeholder: "选择收费项", options: e2.chargesArr, props: e2.props, clearable: "", filterable: "" }, model: { value: e2.query.chargesIdList, callback: function(t3) { e2.$set(e2.query, "chargesIdList", t3); }, expression: "query.chargesIdList" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "precinctId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "管理区名称" }, on: { change: e2.selectChange }, model: { value: e2.query.precinctId, callback: function(t3) { e2.$set(e2.query, "precinctId", t3); }, expression: "query.precinctId" } }, e2._l(e2.areaOptions, (function(e3) { return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } }); })), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "buildingId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "所有楼栋" }, on: { change: e2.changeBuild }, model: { value: e2.query.buildingId, callback: function(t3) { e2.$set(e2.query, "buildingId", t3); }, expression: "query.buildingId" } }, e2._l(e2.building, (function(e3) { return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } }); })), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "unitId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "所有单元" }, model: { value: e2.query.unitId, callback: function(t3) { e2.$set(e2.query, "unitId", t3); }, expression: "query.unitId" } }, e2._l(e2.unitList, (function(e3) { return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } }); })), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "roomNum" } }, [a2("el-input", { attrs: { placeholder: "请输入房号", clearable: "" }, model: { value: e2.query.roomNum, callback: function(t3) { e2.$set(e2.query, "roomNum", t3); }, expression: "query.roomNum" } })], 1)], 1), e2._v(" "), a2("div", [a2("el-button", { attrs: { type: "primary" }, on: { click: e2.searchClick } }, [e2._v("搜索")]), e2._v(" "), a2("el-button", { on: { click: e2.resetClick } }, [e2._v("重置")])], 1)], 1), e2._v(" "), a2("el-table", { attrs: { data: e2.tableData, "header-cell-style": e2.headClass, border: "" } }, [a2("el-table-column", { attrs: { type: "expand", label: "#" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [1 == t3.row.directionType ? a2("div", [a2("el-table", { attrs: { data: t3.row.chargeReceivableDetailRespDTOS, size: "mini", "header-cell-style": e2.headClass2, border: "" } }, [a2("el-table-column", { attrs: { align: "center", label: "转入房屋号", prop: "roomNum", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t4) { return [e2._v("\n " + e2._s(t4.row.precinctName + "-" + t4.row.buildingName + "-" + t4.row.unitName + "-" + t4.row.roomNum) + "\n ")]; } }], null, true) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "转入收费项", prop: "chargeName", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t4) { return [e2._v("\n " + e2._s(t4.row.chargeName || "-") + "\n ")]; } }], null, true) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "转入账期", prop: "chargeDate", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t4) { return [e2._v("\n " + e2._s(t4.row.chargeDate || "-") + "\n ")]; } }], null, true) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "转入本金", prop: "payAmount", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t4) { return [a2("div", { staticStyle: { "text-align": "right" } }, [e2._v("\n " + e2._s(e2._f("toThousandFilter")(t4.row.payAmount)) + "\n ")])]; } }], null, true) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "转入违约金", prop: "feeAmount", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t4) { return [a2("div", { staticStyle: { "text-align": "right" } }, [e2._v("\n " + e2._s(e2._f("toThousandFilter")(t4.row.feeAmount)) + "\n ")])]; } }], null, true) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "销单备注", prop: "remark", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t4) { return [e2._v("\n " + e2._s(t4.row.remark || "-") + "\n ")]; } }], null, true) })], 1)], 1) : e2._e(), e2._v(" "), 2 == t3.row.directionType ? a2("div", [a2("el-table", { attrs: { data: t3.row.prepayChargeAccountRespDTOS, size: "mini", "header-cell-style": e2.headClass2, border: "" } }, [a2("el-table-column", { attrs: { align: "center", label: "转入房屋号", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t4) { return [e2._v("\n " + e2._s(t4.row.precinctName + "-" + t4.row.buildingName + "-" + t4.row.unitName + "-" + t4.row.roomNum) + "\n ")]; } }], null, true) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "转入收费项", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t4) { return [e2._v("\n " + e2._s(t4.row.fschargeName || "-") + "\n ")]; } }], null, true) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "转入本金", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t4) { return [a2("div", { staticStyle: { "text-align": "right" } }, [e2._v("\n " + e2._s(e2._f("toThousandFilter")(t4.row.amount)) + "\n ")])]; } }], null, true) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "转入结算账户", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t4) { return [e2._v("\n " + e2._s(t4.row.account || "-") + "\n ")]; } }], null, true) })], 1)], 1) : e2._e()]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "转出房屋号", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.precinctName + "-" + t3.row.buildingName + "-" + t3.row.unitName + "-" + t3.row.roomNum) + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "使用方式", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(1 == t3.row.directionType ? "冲抵历史欠费" : 2 == t3.row.directionType ? "充值预缴" : "-") + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "转出收费项", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.chargeName || "-") + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "应收分类", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.type, e2.feeTypeList)) + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "账期", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.chargeDate || "-") + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "转出支付/销单时间", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.payTime || "-") + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "交易金额", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("div", { staticStyle: { "text-align": "right" } }, [e2._v("\n " + e2._s(e2._f("toThousandFilter")(t3.row.payAmount)) + "\n ")])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "交易违约金", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("div", { staticStyle: { "text-align": "right" } }, [e2._v("\n " + e2._s(e2._f("toThousandFilter")(t3.row.feeAmount)) + "\n ")])]; } }]) })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.query.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.total }, on: { "update:currentPage": function(t3) { return e2.$set(e2.query, "pageNumber", t3); }, "update:current-page": function(t3) { return e2.$set(e2.query, "pageNumber", t3); }, "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)], 1); }, b = [], g = a("dce5"), v = a("ce63"), _ = a("2b74"), w = a("e654"), T = { data: function() { return { feeTypeList: g["W"], payMethodList: g["Db"], areaOptions: [], building: [], unitList: [], chargesArr: [], props: { multiple: true }, query: { chargeDates: [], chargesIdList: [], precinctId: "", buildingId: "", unitId: "", roomNum: "", pageNumber: 1, pageSize: 10 }, total: 0, tableData: [] }; }, mounted: function() { this.getChargesList(), this.getAreaList(), this.$route.query.precinctId && this.$route.query.buildingId && this.$route.query.unitId && this.$route.query.roomNum ? (this.query.precinctId = Number(this.$route.query.precinctId), this.query.buildingId = Number(this.$route.query.buildingId), this.query.unitId = Number(this.$route.query.unitId), this.query.roomNum = this.$route.query.roomNum, this.getBuild(), this.getUnit(), this.getListData()) : this.getListData(); }, methods: { getListData: function() { var e2 = this; this.query.projectUuid = this.$store.state.community_uuid, this.query.chargesIdList.length ? this.query.chargesIdList = this.query.chargesIdList.flat() : this.query.chargesIdList = [], Object(w["o"])(this.query).then((function(t2) { 0 == t2.code && (e2.tableData = t2.data.records, e2.total = t2.data.rowsCount); })); }, handleSizeChange: function(e2) { this.query.pageNumber = 1, this.query.pageSize = e2, this.getListData(); }, handleCurrentChange: function(e2) { this.query.pageNumber = e2, this.getListData(); }, getAreaList: function() { var e2 = this, t2 = { projectUuid: this.$store.state.community_uuid, pageNumber: -1, pageSize: -1 }; Object(_["f"])(t2).then((function(t3) { 0 === t3.code && (e2.areaOptions = t3.data); })); }, selectChange: function(e2) { this.building = [], this.query.buildingId = "", this.unitList = [], this.query.unitId = "", e2 && this.getBuild(); }, getBuild: function() { var e2 = this; Object(_["x"])({ precinctId: this.query.precinctId, projectCode: this.$store.state.community_uuid, projectName: this.$store.state.community_name, pageNumber: -1, pageSize: -1 }).then((function(t2) { e2.building = t2.data; })); }, changeBuild: function() { this.unitList = [], this.query.unitId = "", this.getUnit(); }, getUnit: function() { var e2 = this; Object(_["mb"])({ pageNumber: -1, pageSize: -1, projectCode: this.$store.state.community_uuid, buildingId: this.query.buildingId }).then((function(t2) { e2.unitList = t2.data.records; })); }, getChargesList: function() { var e2 = this; Object(v["b"])({ pageNumber: -1, pageSize: -1, projectUuid: this.$store.state.community_uuid }).then((function(t2) { var a2 = []; t2.data.records.forEach((function(e3) { a2.push({ label: e3.name, value: e3.fsChargesId }); })), e2.chargesArr = a2; })); }, searchClick: function() { this.query.pageNumber = 1, this.getListData(); }, resetClick: function() { this.$refs["query"].resetFields(), this.query.pageNumber = 1, this.getListData(); }, headClass: function() { return "text-align:center;background:#DEDEDE;"; }, headClass2: function() { return "text-align:center;background:#FAFAFA;"; } } }, k = T, q = (a("8fa1"), Object(d["a"])(k, y, b, false, null, "6d79d758", null)), S = q.exports, L = { components: { infoTable: s["a"], detailTable: S }, data: function() { return { activeName: "list", listLoad: false, listData: [], total: 0, search: { pageSize: 10, pageNumber: 1, type: 2 }, depositData: {} }; }, mounted: function() { this.$route.query.gotoTemporaryInfo && (this.activeName = "detail"), this.getListData(); }, methods: { getListData: function() { var e2 = this; this.listLoad = true, this.search.projectUuid = this.$store.state.community_uuid, Object(w["C"])(this.search).then((function(t2) { t2.data && t2.data.records ? (e2.listData = t2.data.records, e2.total = t2.data.rowsCount, e2.listLoad = false) : e2.listLoad = false; })).catch((function(t2) { e2.listLoad = false; })), this.search.changeSize || this.getTotal(); }, getTotal: function() { var e2 = this; Object(w["I"])(this.search).then((function(t2) { t2.data ? e2.depositData = t2.data : e2.depositData = {}; })); }, formSearch: function(e2) { this.search = e2, this.getListData(); }, formReset: function(e2) { this.search = e2, this.getListData(); } } }, N = L, I = Object(d["a"])(N, h, f, false, null, "47ac95ae", null), C = I.exports, D = function() { var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2; return a2("div", [a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.listLoading, expression: "listLoading" }], staticStyle: { width: "100%" }, attrs: { border: "", data: e2.listData, "header-cell-style": e2.headClass, fit: "", "highlight-current-row": "" } }, [a2("el-table-column", { attrs: { label: "#", align: "center", fixed: "", width: "50", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.$index + (e2.query.pageNumber - 1) * e2.query.pageSize + 1))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "对账编号", "min-width": "200", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.checkNo || "-") + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "误差金额", "min-width": "200", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("toThousandFilter")(t3.row.amount)) + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "对账结果", "min-width": "200", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.status, e2.accountsTypeList)) + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "对账人", "min-width": "200", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.memberName || "-") + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "对账提交时间", "min-width": "200", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.createdTime || "-") + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "操作", "min-width": "200", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [t3.row.status ? e2._e() : a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) { return e2.toPath(t3.row); } } }, [e2._v("继续对账")]), e2._v(" "), t3.row.status ? e2._e() : a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) { return e2.delClick(t3.row); } } }, [e2._v("删除")]), e2._v(" "), t3.row.status > 0 ? a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) { return e2.toPath(t3.row); } } }, [e2._v("查看")]) : e2._e()]; } }]) })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.query.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.total }, on: { "update:currentPage": function(t3) { return e2.$set(e2.query, "pageNumber", t3); }, "update:current-page": function(t3) { return e2.$set(e2.query, "pageNumber", t3); }, "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)], 1); }, $ = [], j = { data: function() { return { accountsTypeList: g["f"], total: 0, query: { pageNumber: 1, pageSize: 10 }, listLoading: false, listData: [] }; }, mounted: function() { this.getListData(); }, methods: { init: function() { this.getListData(); }, getListData: function() { var e2 = this; this.listLoading = true, this.query.projectUuid = this.$store.state.community_uuid, Object(l["l"])(this.query).then((function(t2) { t2.data && t2.data.records ? (e2.listData = t2.data.records, e2.total = t2.data.rowsCount, e2.listLoading = false) : (e2.listData = [], e2.total = 0, e2.listLoading = false); })).catch((function(t2) { e2.listLoading = false; })); }, delClick: function(e2) { var t2 = this; this.$confirm("此操作将删除该对账记录, 是否继续?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() { Object(l["g"])({ id: e2.id }).then((function(e3) { t2.$message({ type: "success", message: "删除成功!" }), t2.init(); })); })).catch((function() { })); }, handleSizeChange: function(e2) { this.query.pageNumber = 1, this.query.pageSize = e2, this.getListData(); }, handleCurrentChange: function(e2) { this.query.pageNumber = e2, this.getListData(); }, toPath: function(e2) { var t2 = this.$router.resolve({ path: "/reconciliation", query: { id: e2.id } }); window.open(t2.href, "_blank"); }, headClass: function() { return "text-align:center;background:#FAFAFA;"; } } }, A = j, x = (a("a2a4"), Object(d["a"])(A, D, $, false, null, "914f6d9e", null)), O = x.exports, F = function() { var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2; return a2("div", [e2.showList ? a2("div", [a2("div", { staticClass: "searchContent" }, [a2("el-form", { ref: "query", staticClass: "demo-form-inline", attrs: { inline: true, model: e2.query } }, [a2("el-form-item", { attrs: { prop: "precinctId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "管理区名称" }, on: { change: e2.selectChange }, model: { value: e2.query.precinctId, callback: function(t3) { e2.$set(e2.query, "precinctId", t3); }, expression: "query.precinctId" } }, e2._l(e2.areaOptions, (function(e3) { return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } }); })), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "buildingId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "所有楼栋" }, on: { change: e2.changeBuild }, model: { value: e2.query.buildingId, callback: function(t3) { e2.$set(e2.query, "buildingId", t3); }, expression: "query.buildingId" } }, e2._l(e2.building, (function(e3) { return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } }); })), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "unitId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "所有单元" }, on: { change: e2.changeUnit }, model: { value: e2.query.unitId, callback: function(t3) { e2.$set(e2.query, "unitId", t3); }, expression: "query.unitId" } }, e2._l(e2.unitList, (function(e3) { return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } }); })), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "houseId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "选择房间" }, model: { value: e2.query.houseId, callback: function(t3) { e2.$set(e2.query, "houseId", t3); }, expression: "query.houseId" } }, e2._l(e2.houseArr, (function(e3) { return a2("el-option", { key: e3.id, attrs: { label: e3.roomNum, value: e3.id } }); })), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "chargeId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "收费项" }, model: { value: e2.query.chargeId, callback: function(t3) { e2.$set(e2.query, "chargeId", t3); }, expression: "query.chargeId" } }, e2._l(e2.chargesArr, (function(e3) { return a2("el-option", { key: e3.fsChargesId, attrs: { label: e3.name, value: e3.fsChargesId } }); })), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "prepayCode" } }, [a2("el-select", { attrs: { placeholder: "预收款科目", clearable: "" }, model: { value: e2.query.prepayCode, callback: function(t3) { e2.$set(e2.query, "prepayCode", t3); }, expression: "query.prepayCode" } }, e2._l(e2.prepaySubjectList, (function(e3) { return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.code } }); })), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "", prop: "source" } }, [a2("el-select", { staticClass: "form-item-content", attrs: { clearable: "", placeholder: "操作来源" }, model: { value: e2.query.source, callback: function(t3) { e2.$set(e2.query, "source", t3); }, expression: "query.source" } }, e2._l(e2.optSource, (function(e3) { return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } }); })), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "", prop: "payTime" } }, [a2("el-date-picker", { attrs: { type: "daterange", "range-separator": "至", format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", "start-placeholder": "预缴实收开始日期", "end-placeholder": "预缴实收结束日期" }, model: { value: e2.payTime, callback: function(t3) { e2.payTime = t3; }, expression: "payTime" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "", prop: "transactionTime" } }, [a2("el-date-picker", { attrs: { type: "daterange", "range-separator": "至", format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", "start-placeholder": "入账交易开始日期", "end-placeholder": "入账交易结束日期" }, model: { value: e2.transactionTime, callback: function(t3) { e2.transactionTime = t3; }, expression: "transactionTime" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "opName" } }, [a2("el-input", { attrs: { placeholder: "请输入经办人", clearable: "" }, model: { value: e2.query.opName, callback: function(t3) { e2.$set(e2.query, "opName", t3); }, expression: "query.opName" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "opPhone" } }, [a2("el-input", { attrs: { placeholder: "请输入经办人手机号", clearable: "" }, model: { value: e2.query.opPhone, callback: function(t3) { e2.$set(e2.query, "opPhone", t3); }, expression: "query.opPhone" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "outNo" } }, [a2("el-input", { attrs: { placeholder: "支付/导入订单ID", clearable: "" }, model: { value: e2.query.outNo, callback: function(t3) { e2.$set(e2.query, "outNo", t3); }, expression: "query.outNo" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "outId" } }, [a2("el-input", { attrs: { placeholder: "导入入账列表ID", clearable: "" }, model: { value: e2.query.outId, callback: function(t3) { e2.$set(e2.query, "outId", t3); }, expression: "query.outId" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "", prop: "direction" } }, [a2("el-select", { staticClass: "form-item-content", attrs: { clearable: "", placeholder: "支付方向" }, model: { value: e2.query.direction, callback: function(t3) { e2.$set(e2.query, "direction", t3); }, expression: "query.direction" } }, e2._l(e2.directionList, (function(e3) { return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } }); })), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "remark" } }, [a2("el-input", { attrs: { placeholder: "备注", clearable: "" }, model: { value: e2.query.remark, callback: function(t3) { e2.$set(e2.query, "remark", t3); }, expression: "query.remark" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "", prop: "payType" } }, [a2("el-select", { staticClass: "form-item-content", attrs: { clearable: "", placeholder: "预缴支付方式" }, model: { value: e2.query.payType, callback: function(t3) { e2.$set(e2.query, "payType", t3); }, expression: "query.payType" } }, e2._l(e2.payMethodList, (function(e3) { return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } }); })), 1)], 1)], 1), e2._v(" "), a2("div", [a2("el-button", { attrs: { type: "primary" }, on: { click: e2.searchClick } }, [e2._v("搜索")]), e2._v(" "), a2("el-button", { on: { click: e2.resetClick } }, [e2._v("重置")])], 1)], 1), e2._v(" "), a2("el-descriptions", { attrs: { column: 4 } }, [a2("template", { slot: "title" }, [a2("span", { staticClass: "descTitleTip" }, [e2._v("辅助统计")])]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "预缴(货币)收入" } }, [a2("b", [e2._v(e2._s(e2._f("toThousandFilter")(e2.statisticsData.realTotal)))])]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "预缴(货币)退款" } }, [a2("b", [e2._v(e2._s(e2._f("toThousandFilter")(e2.statisticsData.refundReadTotal)))])]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "预缴(雨滴)补贴" } }, [a2("b", [e2._v(e2._s(e2._f("toThousandFilter")(e2.statisticsData.ydTotal)))])]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "预缴(雨滴)退款" } }, [a2("b", [e2._v(e2._s(e2._f("toThousandFilter")(e2.statisticsData.refundYdTotal)))])])], 2), e2._v(" "), a2("el-descriptions", { staticStyle: { "margin-top": "15px" }, attrs: { column: 4 } }, [a2("template", { slot: "title" }, [a2("span", { staticClass: "descTitleTip" }, [e2._v("\n DL(货币)余额:" + e2._s(e2._f("toThousandFilter")(e2.statisticsData.dlBalance)) + "\n 【更新时间:" + e2._s(e2.statisticsData.updateDate) + "】\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "DL(货币)余额 =DL预缴(货币)收入-DL(货币)结转-DL(货币)退款+DL去年结转(货币)余额", placement: "top-end" } }, [a2("i", { staticClass: "el-icon-question" })])], 1)]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "DL预缴(货币)收入" } }, [a2("b", [e2._v(e2._s(e2._f("toThousandFilter")(e2.statisticsData.dlRealTotal)))])]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "DL(货币)结转" } }, [a2("b", [e2._v(e2._s(e2._f("toThousandFilter")(e2.statisticsData.dlTransferKnot)))])]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "DL(货币)退款" } }, [a2("b", [e2._v(e2._s(e2._f("toThousandFilter")(e2.statisticsData.dlRefund)))])]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "DL去年结转(货币)余额" } }, [a2("b", [e2._v(e2._s(e2._f("toThousandFilter")(e2.statisticsData.dlTransferKnotLast)))])])], 2), e2._v(" "), a2("div", { staticClass: "titleContent" }, [a2("div", { staticClass: "tableTitle" }, [e2._v("预收记录")]), e2._v(" "), a2("div", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "success", loading: e2.downloading }, on: { click: e2.exportExcel } }, [e2._v("下载Excel")])], 1)]), e2._v(" "), a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.listLoading, expression: "listLoading" }], ref: "dataTable", staticStyle: { width: "100%" }, attrs: { border: "", data: e2.listData, "row-key": "id", "header-cell-style": e2.headClass, fit: "", "highlight-current-row": "" } }, [a2("el-table-column", { attrs: { label: "#", align: "center", width: "50" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.$index + (e2.query.pageNumber - 1) * e2.query.pageSize + 1) + "\n ")])]; } }], null, false, 2770601025) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "房屋号", "min-width": "150", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.precinctName ? t3.row.precinctName + "-" + t3.row.buildingName + "-" + t3.row.unitName + "-" + t3.row.roomNum : "-") + "\n ")]; } }], null, false, 3450463809) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "收费项ID", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.codeNumber) + "\n ")]; } }], null, false, 2495661555) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "收费项", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.chargeName) + "\n ")]; } }], null, false, 382268736) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "预收款项科目", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.prepayName || "-") + "\n ")]; } }], null, false, 3797393144) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "支付方向", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.direction, e2.directionList)) + "\n ")]; } }], null, false, 3631096849) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", label: "实收货币金额", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(2 === t3.row.direction ? "-" : "") + e2._s(e2._f("toThousandFilter")(t3.row.realAmount)) + "\n ")]; } }], null, false, 3631293907) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", label: "补贴雨滴金额", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(2 === t3.row.direction ? "-" : "") + e2._s(e2._f("toThousandFilter")(t3.row.ydAmount)) + "\n ")]; } }], null, false, 2513498644) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "预缴实收时间", "min-width": "160", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.payTime) + "\n ")]; } }], null, false, 2005994720) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "入账交易时间", "min-width": "160", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.transactionTime) + "\n ")]; } }], null, false, 3473173324) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "操作来源", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.source, e2.optSource)) + "\n ")]; } }], null, false, 1471601752) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "预缴支付方式", "min-width": "220", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("div", [t3.row.isEdit ? e2._e() : a2("div", [e2._v("\n " + e2._s(e2.getPayType(t3.row)) + "\n\n "), a2("i", { staticClass: "el-icon-edit", on: { click: function(a3) { return e2.toEdit(t3.row); } } })]), e2._v(" "), t3.row.isEdit ? a2("div", { staticClass: "setEdit" }, [a2("el-select", { staticStyle: { width: "120px" }, model: { value: t3.row.payType, callback: function(a3) { e2.$set(t3.row, "payType", a3); }, expression: "scope.row.payType" } }, e2._l(e2.payMethodList, (function(e3) { return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } }); })), 1), e2._v(" "), a2("div", [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) { return e2.editSave(t3.row); } } }, [e2._v("保存")]), e2._v(" "), a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) { return e2.escEdit(t3.row); } } }, [e2._v("取消")])], 1)], 1) : e2._e()])]; } }], null, false, 41293573) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "经办人", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.opName) + "\n ")]; } }], null, false, 2870265605) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "经办人手机号", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.opPhone) + "\n ")]; } }], null, false, 2319914046) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "支付/导入订单ID", "min-width": "160", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [3 !== t3.row.source ? a2("el-link", { attrs: { type: "primary" }, on: { click: function(a3) { return e2.gotoOrderDetailes(t3.row); } } }, [e2._v(e2._s(t3.row.outNo))]) : a2("span", [e2._v(e2._s("-"))])]; } }], null, false, 2776132406) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "导入入账列表ID", "min-width": "160", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [2 == t3.row.source ? a2("el-link", { attrs: { type: "primary" }, on: { click: function(a3) { return e2.getImportOrder(t3.row); } } }, [e2._v(e2._s(t3.row.outId))]) : a2("span", [e2._v(e2._s("-"))])]; } }], null, false, 4282464645) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "备注", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.remark || "-") + "\n ")]; } }], null, false, 2039719826) })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.query.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.total }, on: { "update:currentPage": function(t3) { return e2.$set(e2.query, "pageNumber", t3); }, "update:current-page": function(t3) { return e2.$set(e2.query, "pageNumber", t3); }, "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)], 1) : e2._e(), e2._v(" "), a2("importDetail", { ref: "detail", attrs: { show: e2.detail, info: e2.saveData }, on: { back: e2.detailBack } })], 1); }, z = [], M = a("3380"), E = a("9192"), P = a("7274"), U = a("d059"); function R(e2) { return R = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e3) { return typeof e3; } : function(e3) { return e3 && "function" == typeof Symbol && e3.constructor === Symbol && e3 !== Symbol.prototype ? "symbol" : typeof e3; }, R(e2); } function Y(e2) { return H(e2) || J(e2) || V(e2) || B(); } function B() { 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 V(e2, t2) { if (e2) { if ("string" == typeof e2) return K(e2, t2); var a2 = {}.toString.call(e2).slice(8, -1); return "Object" === a2 && e2.constructor && (a2 = e2.constructor.name), "Map" === a2 || "Set" === a2 ? Array.from(e2) : "Arguments" === a2 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a2) ? K(e2, t2) : void 0; } } function J(e2) { if ("undefined" != typeof Symbol && null != e2[Symbol.iterator] || null != e2["@@iterator"]) return Array.from(e2); } function H(e2) { if (Array.isArray(e2)) return K(e2); } function K(e2, t2) { (null == t2 || t2 > e2.length) && (t2 = e2.length); for (var a2 = 0, i2 = Array(t2); a2 < t2; a2++) i2[a2] = e2[a2]; return i2; } function Q(e2, t2) { var a2 = Object.keys(e2); if (Object.getOwnPropertySymbols) { var i2 = Object.getOwnPropertySymbols(e2); t2 && (i2 = i2.filter((function(t3) { return Object.getOwnPropertyDescriptor(e2, t3).enumerable; }))), a2.push.apply(a2, i2); } return a2; } function W(e2) { for (var t2 = 1; t2 < arguments.length; t2++) { var a2 = null != arguments[t2] ? arguments[t2] : {}; t2 % 2 ? Q(Object(a2), true).forEach((function(t3) { G(e2, t3, a2[t3]); })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e2, Object.getOwnPropertyDescriptors(a2)) : Q(Object(a2)).forEach((function(t3) { Object.defineProperty(e2, t3, Object.getOwnPropertyDescriptor(a2, t3)); })); } return e2; } function G(e2, t2, a2) { return (t2 = X(t2)) in e2 ? Object.defineProperty(e2, t2, { value: a2, enumerable: true, configurable: true, writable: true }) : e2[t2] = a2, e2; } function X(e2) { var t2 = Z(e2, "string"); return "symbol" == R(t2) ? t2 : t2 + ""; } function Z(e2, t2) { if ("object" != R(e2) || !e2) return e2; var a2 = e2[Symbol.toPrimitive]; if (void 0 !== a2) { var i2 = a2.call(e2, t2 || "default"); if ("object" != R(i2)) return i2; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === t2 ? String : Number)(e2); } var ee = { name: "", components: { importDetail: M["a"] }, data: function() { return { payMethodList: g["Db"], areaOptions: [], building: [], unitList: [], houseArr: [], total: 0, chargesArr: [], prepaySubjectList: [], query: { pageNumber: 1, pageSize: 10, projectUuid: this.$store.state.community_uuid, precinctId: "", buildingId: "", unitId: "", houseId: "", roomNum: "", chargeId: "", prepayCode: "", opName: "", opPhone: "", outNo: "", outId: "", direction: "", remark: "", payType: "" }, payTime: "", transactionTime: "", listData: [], listLoading: false, statisticsData: {}, downloading: false, optSource: [{ label: "线上预缴", value: 1 }, { label: "人工入账", value: 2 }, { label: "押金转入", value: 3 }], directionList: [{ label: "充值", value: 1 }, { label: "退款", value: 2 }], saveData: {}, showList: true, detail: false }; }, mounted: function() { }, methods: { initData: function() { this.getPayTypeList(), this.findPrepaySubjectList(), this.getChargesList(), this.getAreaList(); var e2 = JSON.parse(sessionStorage.getItem("prePayRecord")) || {}; this.payTime = [], this.transactionTime = [], e2.realStartTime && (this.payTime[0] = e2.realStartTime.split(" ")[0]), e2.realEndTime && (this.payTime[1] = e2.realEndTime.split(" ")[0]), e2.startTime && (this.transactionTime[0] = e2.startTime.split(" ")[0]), e2.endTime && (this.transactionTime[1] = e2.endTime.split(" ")[0]); var t2 = W({}, e2); delete t2.realStartTime, delete t2.realEndTime, delete t2.startTime, delete t2.endTime, delete t2.projectUuid, e2.buildingId && this.getBuild(), e2.unitId && this.getUnit(), e2.houseId && this.getHouseList(), this.query = W(W({}, this.query), t2), this.getTableList(); }, getPayType: function(e2) { if (e2.payTypeV2) { var t2 = this.payMethodList.find((function(t3) { return t3.value == e2.payTypeV2; })); return t2 ? t2.label : "-"; } if (e2.payType) { var a2 = this.payMethodList.find((function(t3) { return t3.value == e2.payType; })); return a2 ? a2.label : "-"; } return "-"; }, getPayTypeList: function() { var e2 = this; Object(P["f"])({ uuid: this.$store.state.community_uuid }).then((function(t2) { if (t2.data && 0 == t2.code && t2.data.payTypeList && t2.data.payTypeList.length > 0) { var a2 = [].concat(Y(e2.payMethodList), Y(JSON.parse(t2.data.payTypeList))); a2 = Array.from(new Set(a2.map(JSON.stringify))).map(JSON.parse), e2.payMethodList = a2, console.log(e2.payMethodList, "asdasd+++"); } })); }, escEdit: function(e2) { e2.isEdit = false; }, editSave: function(e2) { var t2 = this; if (e2.payType) { var a2 = { id: e2.id }; e2.payType >= 100 ? (a2.payTypeV2 = e2.payType, a2.payType = 7) : a2.payType = e2.payType, Object(l["u"])(a2).then((function(a3) { 0 === a3.code ? (e2.isEdit = false, t2.$message({ message: "编辑成功", type: "success" })) : e2.isEdit = false; })); } else this.$message({ message: "请选择支付方式", type: "warning" }); }, toEdit: function(e2) { e2.isEdit = true; }, getTableList: function() { var e2 = this; this.listLoading = true, this.payTime && 2 == this.payTime.length ? (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 && 2 == this.transactionTime.length ? (this.query.startTime = this.transactionTime[0] + " 00:00:00", this.query.endTime = this.transactionTime[1] + " 23:59:59") : (this.query.startTime = "", this.query.endTime = ""), this.query.projectUuid = this.$store.state.community_uuid, this.getStatisicRes(), Object(l["o"])(this.query).then((function(t2) { 0 === t2.code && (t2.data.records.forEach((function(e3) { e3.isEdit = false; })), e2.listData = t2.data.records, e2.total = t2.data.rowsCount, sessionStorage.setItem("prePayRecord", JSON.stringify(e2.query))), e2.listLoading = false; })).catch((function() { e2.listLoading = false; })); }, getStatisicRes: function() { var e2 = this; Object(l["q"])(this.query).then((function(t2) { 0 === t2.code && (e2.statisticsData = t2.data); })); }, getSubjectList: function() { var e2 = this; Object(E["o"])({ projectUuid: this.$store.state.community_uuid, subjectType: 3 }).then((function(t2) { 0 == t2.code && (e2.subjectList = t2.data); })), this.findPrepaySubjectList(); }, findPrepaySubjectList: function() { var e2 = this; Object(E["o"])({ projectUuid: this.$store.state.community_uuid, subjectType: 2 }).then((function(t2) { 0 == t2.code && (e2.prepaySubjectList = t2.data); })); }, getChargesList: function() { var e2 = this; Object(v["b"])({ pageNumber: -1, pageSize: -1, projectUuid: this.$store.state.community_uuid }).then((function(t2) { e2.chargesArr = t2.data.records; })); }, exportExcel: function() { var e2 = this; this.downloading = true, Object(l["n"])(this.query).then((function(t2) { e2.downloading = false; var a2 = new Blob([t2], { type: "application/vnd.ms-excel;charset=UTF-8" }), i2 = (/* @__PURE__ */ new Date()).valueOf(); if (window.navigator.msSaveOrOpenBlob) navigator.msSaveBlob(a2); else { var n2 = document.createElement("a"); n2.download = "预收明细导出_".concat(i2, ".xls"), n2.href = URL.createObjectURL(a2), n2.click(), URL.revokeObjectURL(n2.href), document.body.removeChild(n2); } })).catch((function(t2) { e2.downloading = false; })); }, gotoOrderDetailes: function(e2) { 1 === e2.source ? this.$router.replace({ path: "/viewInfo/orderDetail", query: { no: e2.outNo, type: 8, source: 1 } }) : this.getImportOrder(e2); }, getImportOrder: function(e2) { var t2 = this, a2 = { orderNo: e2.outNo, projectUuid: e2.projectUuid }; Object(U["y"])(a2).then((function(e3) { if (0 === e3.code && e3.data.records) { var a3 = e3.data.records; a3.length > 0 && (t2.showList = false, t2.detail = true, t2.saveData = a3[0], t2.$nextTick((function() { this.$refs.detail.init(); }))); } })); }, detailBack: function() { this.showList = true, this.detail = false; }, getAreaList: function() { var e2 = this, t2 = { projectUuid: this.$store.state.community_uuid, pageNumber: -1, pageSize: -1 }; Object(_["f"])(t2).then((function(t3) { 0 === t3.code && (e2.areaOptions = t3.data); })); }, selectChange: function(e2) { this.building = [], this.query.buildingId = "", this.unitList = [], this.query.unitId = "", this.houseArr = [], this.query.houseId = "", e2 && this.getBuild(); }, getBuild: function() { var e2 = this; Object(_["x"])({ precinctId: this.query.precinctId, projectCode: this.$store.state.community_uuid, projectName: this.$store.state.community_name, pageNumber: -1, pageSize: -1 }).then((function(t2) { e2.building = t2.data; })); }, changeBuild: function() { this.unitList = [], this.query.unitId = "", this.houseArr = [], this.query.houseId = "", this.getUnit(); }, getUnit: function() { var e2 = this; Object(_["mb"])({ pageNumber: -1, pageSize: -1, projectCode: this.$store.state.community_uuid, buildingId: this.query.buildingId }).then((function(t2) { e2.unitList = t2.data.records; })); }, changeUnit: function() { this.houseArr = [], this.query.houseId = "", this.getHouseList(); }, getHouseList: function() { var e2 = this, t2 = { projectCode: this.$store.state.community_uuid, precinctId: this.query.precinctId, buildingId: this.query.buildingId, unitId: this.query.unitId, pageSize: -1 }; Object(_["M"])(t2).then((function(t3) { 0 === t3.code && (e2.houseArr = t3.data.records); })); }, searchClick: function() { this.getTableList(); }, resetClick: function() { this.payTime = "", this.transactionTime = "", this.$refs["query"].resetFields(), this.getTableList(); }, handleSizeChange: function(e2) { this.query.pageNumber = 1, this.query.pageSize = e2, this.getTableList(); }, handleCurrentChange: function(e2) { this.query.pageNumber = e2, this.getTableList(); }, headClass: function() { return "text-align:center;background:#FAFAFA;"; } } }, te = ee, ae = (a("cdaa"), Object(d["a"])(te, F, z, false, null, "b40bde8e", null)), ie = ae.exports, ne = function() { var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2; return a2("div", [a2("div", { staticClass: "searchContent" }, [a2("el-form", { ref: "query", staticClass: "demo-form-inline", attrs: { inline: true, model: e2.query } }, [a2("el-form-item", { attrs: { prop: "precinctId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "管理区名称" }, on: { change: e2.selectChange }, model: { value: e2.query.precinctId, callback: function(t3) { e2.$set(e2.query, "precinctId", t3); }, expression: "query.precinctId" } }, e2._l(e2.areaOptions, (function(e3) { return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } }); })), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "buildingId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "所有楼栋" }, on: { change: e2.changeBuild }, model: { value: e2.query.buildingId, callback: function(t3) { e2.$set(e2.query, "buildingId", t3); }, expression: "query.buildingId" } }, e2._l(e2.building, (function(e3) { return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } }); })), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "unitId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "所有单元" }, on: { change: e2.changeUnit }, model: { value: e2.query.unitId, callback: function(t3) { e2.$set(e2.query, "unitId", t3); }, expression: "query.unitId" } }, e2._l(e2.unitList, (function(e3) { return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } }); })), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "houseId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "选择房间" }, model: { value: e2.query.houseId, callback: function(t3) { e2.$set(e2.query, "houseId", t3); }, expression: "query.houseId" } }, e2._l(e2.houseArr, (function(e3) { return a2("el-option", { key: e3.id, attrs: { label: e3.roomNum, value: e3.id } }); })), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "", prop: "payTime" } }, [a2("el-date-picker", { attrs: { clearable: false, type: "daterange", "range-separator": "-", format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", "start-placeholder": "操作/支付开始日期", "end-placeholder": "操作/支付结束日期" }, model: { value: e2.payTime, callback: function(t3) { e2.payTime = t3; }, expression: "payTime" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "opName" } }, [a2("el-input", { attrs: { placeholder: "请输入操作人", clearable: "" }, model: { value: e2.query.opName, callback: function(t3) { e2.$set(e2.query, "opName", t3); }, expression: "query.opName" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "payType" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "选择支付方式" }, model: { value: e2.query.payType, callback: function(t3) { e2.$set(e2.query, "payType", t3); }, expression: "query.payType" } }, e2._l(e2.payMethodList, (function(e3) { return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } }); })), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "fsChargesId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "收费项" }, model: { value: e2.query.fsChargesId, callback: function(t3) { e2.$set(e2.query, "fsChargesId", t3); }, expression: "query.fsChargesId" } }, e2._l(e2.chargesArr, (function(e3) { return a2("el-option", { key: e3.fsChargesId, attrs: { label: e3.name, value: e3.fsChargesId } }); })), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "payDirection" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "选择支付方向" }, model: { value: e2.query.payDirection, callback: function(t3) { e2.$set(e2.query, "payDirection", t3); }, expression: "query.payDirection" } }, e2._l(e2.paymentDirection, (function(e3) { return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } }); })), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "type" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "选择记录类型" }, model: { value: e2.query.type, callback: function(t3) { e2.$set(e2.query, "type", t3); }, expression: "query.type" } }, e2._l(e2.typeList, (function(e3) { return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } }); })), 1)], 1)], 1), e2._v(" "), a2("div", { staticClass: "rightBox" }, [a2("el-button", { attrs: { type: "primary" }, on: { click: e2.searchClick } }, [e2._v("搜索")]), e2._v(" "), a2("el-button", { staticStyle: { margin: "10px 0" }, on: { click: e2.resetClick } }, [e2._v("重置")]), e2._v(" "), a2("el-button", { staticClass: "myButton", attrs: { type: "warning" }, on: { click: e2.updateData } }, [e2._v("更新数据")])], 1)], 1), e2._v(" "), a2("div", [e2._m(0), e2._v(" "), a2("el-table", { ref: "dataTable", staticStyle: { width: "100%" }, attrs: { "show-summary": "", "summary-method": e2.getSummaries, border: "", size: "mini", data: e2.advanceListOrChargeList, "row-class-name": e2.tableRowClassName, "row-key": "id", "header-cell-style": e2.headClass, fit: "", "highlight-current-row": "" } }, [a2("el-table-column", { attrs: { label: "本金", align: "center" } }, [a2("el-table-column", { attrs: { align: "center", label: "收费项", "min-width": "120", "show-overflow-tooltip": "", prop: "fsChargesName" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("el-link", { attrs: { type: "primary" }, on: { click: function(a3) { return e2.fsChargesClick(t3.row); } } }, [e2._v("\n " + e2._s(t3.row.fsChargesName || "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", label: "收费金额", "min-width": "120", "show-overflow-tooltip": "", prop: "baseAmount" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("toThousandFilter2")(t3.row.baseAmount)) + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", label: "优惠金额", "min-width": "120", "show-overflow-tooltip": "", prop: "discountAmount" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("toThousandFilter2")(t3.row.discountAmount)) + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", label: "抵扣金额", "min-width": "120", "show-overflow-tooltip": "", prop: "deductionAmount" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("toThousandFilter2")(t3.row.deductionAmount)) + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", label: "赠送金额", "min-width": "120", "show-overflow-tooltip": "", prop: "donationAmount" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("toThousandFilter2")(t3.row.donationAmount)) + "\n ")]; } }]) })], 1), e2._v(" "), a2("el-table-column", { attrs: { label: "违约金", align: "center" } }, [a2("el-table-column", { attrs: { align: "right", label: "实收违约金", "min-width": "120", "show-overflow-tooltip": "", prop: "feeAmount" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("toThousandFilter2")(t3.row.feeAmount)) + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", label: "优惠违约金", "min-width": "120", "show-overflow-tooltip": "", prop: "discountFeeAmount" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("toThousandFilter2")(t3.row.discountFeeAmount)) + "\n ")]; } }]) })], 1), e2._v(" "), a2("el-table-column", { attrs: { label: "合计(元)", align: "right", prop: "hj" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("toThousandFilter2")(t3.row.hj)) + "\n ")]; } }]) })], 1)], 1), e2._v(" "), a2("div", [e2._m(1), e2._v(" "), a2("el-table", { ref: "dataTable", staticStyle: { width: "100%" }, attrs: { "show-summary": "", "summary-method": e2.getSummaries, border: "", size: "mini", data: e2.payTypeList, "row-key": "id", "header-cell-style": e2.headClass, fit: "", "highlight-current-row": "" } }, [a2("el-table-column", { attrs: { label: "支付方式名称", align: "center" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [t3.row.payTypeName.includes("未知") ? a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", placement: "top" } }, [a2("div", { attrs: { slot: "content" }, slot: "content" }, [e2._v("\n 提示:未知是支付方式为空,需要在预缴明细页面补齐预缴支付方式。\n ")]), e2._v(" "), a2("el-link", { attrs: { type: "primary" }, on: { click: function(a3) { return e2.payClick(t3.row); } } }, [e2._v("\n " + e2._s(t3.row.payTypeName))])], 1) : a2("el-link", { attrs: { type: "primary" }, on: { click: function(a3) { return e2.payClick(t3.row); } } }, [e2._v("\n " + e2._s(t3.row.payTypeName || "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { label: "收费金额", align: "right", prop: "baseAmount" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("toThousandFilter2")(t3.row.baseAmount)) + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { label: "优惠金额", align: "right", prop: "discountAmount" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("toThousandFilter2")(t3.row.discountAmount)) + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { label: "抵扣金额", align: "right", prop: "deductionAmount" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("toThousandFilter2")(t3.row.deductionAmount)) + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { label: "赠送金额", align: "right", prop: "donationAmount" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("toThousandFilter2")(t3.row.donationAmount)) + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { label: "实收违约金", align: "right", prop: "feeAmount" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("toThousandFilter2")(t3.row.feeAmount)) + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { label: "优惠违约金", align: "right", prop: "discountFeeAmount" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("toThousandFilter2")(t3.row.discountFeeAmount)) + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { label: "合计(元)", align: "right", prop: "hj" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("toThousandFilter2")(t3.row.hj)) + "\n ")]; } }]) })], 1)], 1), e2._v(" "), a2("div", [e2._m(2), e2._v(" "), a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.listLoading, expression: "listLoading" }], ref: "dataTable", attrs: { "show-summary": "", "summary-method": e2.getSummaries, border: "", size: "mini", data: e2.listData, "row-key": "id", "header-cell-style": e2.headClass, "highlight-current-row": "" } }, [a2("el-table-column", { attrs: { label: "基础信息", align: "center" } }, [a2("el-table-column", { attrs: { align: "center", label: "房屋", "min-width": "180", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v("\n " + e2._s(t3.row.precinctName ? t3.row.precinctName + "-" + t3.row.buildingName + "-" + t3.row.unitName + "-" + t3.row.roomNum : "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { label: "姓名", "min-width": "80", align: "center" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.houseOwner || "-") + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { label: "收费项", "min-width": "180", "show-overflow-tooltip": "", align: "center" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.fsChargesName || "-") + "\n ")]; } }]) })], 1), e2._v(" "), a2("el-table-column", { attrs: { label: "本金", align: "center" } }, [a2("el-table-column", { attrs: { "min-width": "110", label: "收费金额", prop: "baseAmount", align: "right" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("toThousandFilter2")(t3.row.baseAmount)) + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { "min-width": "110", label: "优惠金额", align: "right", prop: "discountAmount" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("toThousandFilter2")(t3.row.discountAmount)) + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { "min-width": "110", label: "抵扣金额", align: "right", prop: "deductionAmount" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("toThousandFilter2")(t3.row.deductionAmount)) + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { "min-width": "110", label: "赠送金额", align: "right", prop: "donationAmount" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("toThousandFilter2")(t3.row.donationAmount)) + "\n ")]; } }]) })], 1), e2._v(" "), a2("el-table-column", { attrs: { label: "违约金", align: "center" } }, [a2("el-table-column", { attrs: { "min-width": "110", label: "违约金", align: "right", prop: "feeAmount" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("toThousandFilter2")(t3.row.feeAmount)) + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { "min-width": "110", label: "优惠违约金", align: "right", prop: "discountFeeAmount" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("toThousandFilter2")(t3.row.discountFeeAmount)) + "\n ")]; } }]) })], 1), e2._v(" "), a2("el-table-column", { attrs: { label: "操作信息", align: "center" } }, [a2("el-table-column", { attrs: { label: "操作人", align: "center", "min-width": "80" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.operatorName || "-") + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { label: "操作时间", "min-width": "150", align: "center" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.payTime || "-") + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { label: "备注", align: "center", "min-width": "180" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", placement: "top" } }, [a2("div", { attrs: { slot: "content" }, slot: "content" }, [a2("p", [e2._v("备注修改人:" + e2._s(t3.row.remarkUpdaterName || "-"))]), e2._v(" "), a2("p", [e2._v("备注修改时间:" + e2._s(t3.row.remarkUpdateTime || "-"))])]), e2._v(" "), a2("div", [e2._v("\n " + e2._s(t3.row.remark || "-") + "\n "), a2("i", { staticClass: "el-icon-edit", on: { click: function(a3) { return e2.editRemark(t3.row); } } })])])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { label: "支付方式", align: "center", "show-overflow-tooltip": "", "min-width": "120" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2.getPayType(t3.row)) + "\n ")]; } }]) })], 1), e2._v(" "), a2("el-table-column", { attrs: { label: "来源", align: "center", "min-width": "80" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.type, e2.typeList)) + "\n ")]; } }]) })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.query.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.total }, on: { "update:currentPage": function(t3) { return e2.$set(e2.query, "pageNumber", t3); }, "update:current-page": function(t3) { return e2.$set(e2.query, "pageNumber", t3); }, "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)], 1), e2._v(" "), a2("el-dialog", { attrs: { title: "更新数据时间区间", visible: e2.updateDataVisible, width: "25%" }, on: { "update:visible": function(t3) { e2.updateDataVisible = t3; }, close: function(t3) { e2.updateDataVisible = false; } } }, [a2("div", { staticClass: "f-c-c" }, [a2("el-date-picker", { attrs: { clearable: false, type: "daterange", "range-separator": "-", format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", "start-placeholder": "操作/支付开始日期", "end-placeholder": "操作/支付结束日期" }, model: { value: e2.updateTime, callback: function(t3) { e2.updateTime = t3; }, expression: "updateTime" } })], 1), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: e2.updateTimeClose } }, [e2._v("取 消")]), e2._v(" "), a2("el-button", { attrs: { type: "primary" }, on: { click: e2.updateTimeSubmit } }, [e2._v("确认")])], 1)]), e2._v(" "), a2("el-dialog", { attrs: { title: "更新备注", visible: e2.dialogVisible, "close-on-press-escape": false, "close-on-click-modal": false, width: "30%", "before-close": e2.handleClose } }, [a2("el-form", { ref: "editForm", attrs: { model: e2.editForm, "label-width": "100px" } }, [a2("el-form-item", { attrs: { label: "备注", prop: "remark" } }, [a2("el-input", { model: { value: e2.editForm.remark, callback: function(t3) { e2.$set(e2.editForm, "remark", t3); }, expression: "editForm.remark" } })], 1)], 1), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: function(t3) { return e2.resetForm("editForm"); } } }, [e2._v("取 消")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: function(t3) { return e2.submitForm("editForm"); } } }, [e2._v("确认变更")])], 1)], 1)], 1); }, re = [function() { var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2; return a2("div", { staticClass: "titleContent" }, [a2("div", { staticClass: "tableTitle" }, [e2._v("收费项及预缴维度")])]); }, function() { var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2; return a2("div", { staticClass: "titleContent" }, [a2("div", { staticClass: "tableTitle" }, [e2._v("支付方式维度")])]); }, function() { var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2; return a2("div", { staticClass: "titleContent" }, [a2("div", { staticClass: "tableTitle" }, [e2._v("明细表")])]); }]; function oe(e2) { return ce(e2) || ue(e2) || se(e2) || le(); } function le() { 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 se(e2, t2) { if (e2) { if ("string" == typeof e2) return de(e2, t2); var a2 = {}.toString.call(e2).slice(8, -1); return "Object" === a2 && e2.constructor && (a2 = e2.constructor.name), "Map" === a2 || "Set" === a2 ? Array.from(e2) : "Arguments" === a2 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a2) ? de(e2, t2) : void 0; } } function ue(e2) { if ("undefined" != typeof Symbol && null != e2[Symbol.iterator] || null != e2["@@iterator"]) return Array.from(e2); } function ce(e2) { if (Array.isArray(e2)) return de(e2); } function de(e2, t2) { (null == t2 || t2 > e2.length) && (t2 = e2.length); for (var a2 = 0, i2 = Array(t2); a2 < t2; a2++) i2[a2] = e2[a2]; return i2; } var pe = { name: "", components: { importDetail: M["a"] }, data: function() { return { payMethodList: g["Db"], areaOptions: [], building: [], unitList: [], houseArr: [], chargesArr: [], total: 0, query: { pageNumber: 1, pageSize: 10, projectUuid: this.$store.state.community_uuid, precinctId: "", buildingId: "", unitId: "", houseId: "", payType: "", payDirection: 1, type: "", fsChargesId: "" }, payTime: [], transactionTime: "", listData: [], listLoading: false, advanceListOrChargeList: [], payTypeList: [], saveData: {}, paymentDirection: [{ value: 1, label: "缴费" }, { value: 2, label: "退款" }], typeList: [{ value: 1, label: "收款记录" }, { value: 2, label: "预缴明细" }], updateDataVisible: false, updateTime: "", dialogVisible: false, editForm: { remark: "" } }; }, mounted: function() { this.payMethodList.push({ value: -1, label: "未知" }), this.payTime = [this.$moment().format("YYYY-MM-DD"), this.$moment().format("YYYY-MM-DD")], this.getPayTypeList(), this.getAreaList(), this.getTableList(), this.getChargeItemsList(); }, methods: { submitForm: function(e2) { var t2 = this; Object(l["d"])({ id: this.editForm.id, remark: this.editForm.remark, remarkUpdaterName: this.$store.state.user.userInfo.memberName }).then((function(e3) { 0 == e3.code && (t2.$message.success("更新成功"), t2.handleClose(), t2.getTableList()); })); }, editRemark: function(e2) { this.editForm.remark = e2.remark, this.editForm.id = e2.id, this.dialogVisible = true; }, resetForm: function(e2) { this.$refs[e2].resetFields(), this.dialogVisible = false; }, handleClose: function() { this.$refs["editForm"].resetFields(), this.dialogVisible = false; }, tableRowClassName: function(e2) { var t2 = e2.row; e2.rowIndex; if (t2.isColor) return "info-row"; }, getSummaries: function(e2) { var t2 = e2.columns, a2 = e2.data, i2 = []; return t2.forEach((function(e3, t3) { if (0 !== t3) { var n2 = a2.map((function(t4) { return Number(t4[e3.property]); })); if (n2.every((function(e4) { return isNaN(e4); }))) i2[t3] = "-"; else { var r2 = n2.reduce((function(e4, t4) { var a3 = Number(t4); return isNaN(a3) ? e4 : e4 + a3; }), 0); i2[t3] = Number(r2.toFixed(2)); } } else i2[t3] = "合计(元)"; })), i2; }, updateTimeClose: function() { this.updateTime = "", this.updateDataVisible = false; }, updateData: function() { this.updateTime = [this.$moment().format("YYYY-MM-DD"), this.$moment().format("YYYY-MM-DD")], this.updateDataVisible = true; }, updateTimeSubmit: function() { var e2 = this; this.updateTime ? Object(l["b"])({ operatorName: this.$store.state.user.userInfo.memberName, projectUuid: this.$store.state.community_uuid, startTime: this.updateTime[0] + " 00:00:00", endTime: this.updateTime[1] + " 23:59:59" }).then((function(t2) { 0 == t2.code && (e2.$message.success("操作成功!"), e2.updateTimeClose(), e2.getTableList()); })) : this.$message.error("请选择更新数据时间区间!"); }, payClick: function(e2) { e2.payTypeV2 > 0 ? this.query.payType = e2.payTypeV2 : this.query.payType = e2.payType, this.searchClick(); }, fsChargesClick: function(e2) { this.query.fsChargesId = e2.fsChargesId, this.searchClick(); }, getChargeItemsList: function() { var e2 = this, t2 = { pageNumber: -1, pageSize: -1, projectUuid: this.$store.state.community_uuid }; Object(v["b"])(t2).then((function(t3) { e2.chargesArr = t3.data.records; })); }, getPayType: function(e2) { if (e2.payTypeV2) { var t2 = this.payMethodList.find((function(t3) { return t3.value == e2.payTypeV2; })); return t2 ? t2.label : "-"; } if (e2.payType) { var a2 = this.payMethodList.find((function(t3) { return t3.value == e2.payType; })); return a2 ? a2.label : "-"; } return "-"; }, getPayTypeList: function() { var e2 = this; Object(P["f"])({ uuid: this.$store.state.community_uuid }).then((function(t2) { if (t2.data && 0 == t2.code && t2.data.payTypeList && t2.data.payTypeList.length > 0) { var a2 = [].concat(oe(e2.payMethodList), oe(JSON.parse(t2.data.payTypeList))); a2 = Array.from(new Set(a2.map(JSON.stringify))).map(JSON.parse), e2.payMethodList = a2, console.log(e2.payMethodList, "asdasd+++"); } })); }, getTableList: function() { var e2 = this; this.listLoading = true, this.payTime ? (this.query.startTime = this.payTime[0] + " 00:00:00", this.query.endTime = this.payTime[1] + " 23:59:59") : (this.query.startTime = "", this.query.endTime = ""), this.getStatisicRes(), Object(l["a"])(this.query).then((function(t2) { 0 === t2.code && (t2.data.records.forEach((function(e3) { e3.isEdit = false; })), e2.listData = t2.data.records, e2.total = t2.data.rowsCount), e2.listLoading = false; })).catch((function() { e2.listLoading = false; })); }, getStatisicRes: function() { var e2 = this; Object(l["c"])(this.query).then((function(t2) { if (0 === t2.code && t2.data) { t2.data.advanceList.forEach((function(e3) { e3.isColor = true; })); var a2 = t2.data.advanceList, i2 = t2.data.chargeList, n2 = t2.data.payTypeList, r2 = [].concat(oe(a2), oe(i2)); r2.forEach((function(e3) { e3.hj = (e3.baseAmount || 0) + (e3.deductionAmount || 0) + (e3.discountAmount || 0) + (e3.donationAmount || 0) + (e3.discountFeeAmount || 0) + (e3.feeAmount || 0); })), e2.advanceListOrChargeList = r2, n2.forEach((function(e3) { e3.hj = (e3.baseAmount || 0) + (e3.deductionAmount || 0) + (e3.discountAmount || 0) + (e3.donationAmount || 0) + (e3.discountFeeAmount || 0) + (e3.feeAmount || 0); })), e2.payTypeList = n2; } })); }, getAreaList: function() { var e2 = this, t2 = { projectUuid: this.$store.state.community_uuid, pageNumber: -1, pageSize: -1 }; Object(_["f"])(t2).then((function(t3) { 0 === t3.code && (e2.areaOptions = t3.data); })); }, selectChange: function(e2) { this.building = [], this.query.buildingId = "", this.unitList = [], this.query.unitId = "", this.houseArr = [], this.query.houseId = "", e2 && this.getBuild(); }, getBuild: function() { var e2 = this; Object(_["x"])({ precinctId: this.query.precinctId, projectCode: this.$store.state.community_uuid, projectName: this.$store.state.community_name, pageNumber: -1, pageSize: -1 }).then((function(t2) { e2.building = t2.data; })); }, changeBuild: function() { this.unitList = [], this.query.unitId = "", this.houseArr = [], this.query.houseId = "", this.getUnit(); }, getUnit: function() { var e2 = this; Object(_["mb"])({ pageNumber: -1, pageSize: -1, projectCode: this.$store.state.community_uuid, buildingId: this.query.buildingId }).then((function(t2) { e2.unitList = t2.data.records; })); }, changeUnit: function() { this.houseArr = [], this.query.houseId = "", this.getHouseList(); }, getHouseList: function() { var e2 = this, t2 = { projectCode: this.$store.state.community_uuid, precinctId: this.query.precinctId, buildingId: this.query.buildingId, unitId: this.query.unitId, pageSize: -1 }; Object(_["M"])(t2).then((function(t3) { 0 === t3.code && (e2.houseArr = t3.data.records); })); }, searchClick: function() { this.getTableList(); }, resetClick: function() { this.payTime = [this.$moment().format("YYYY-MM-DD"), this.$moment().format("YYYY-MM-DD")], this.transactionTime = "", this.$refs["query"].resetFields(), this.getTableList(); }, handleSizeChange: function(e2) { this.query.pageNumber = 1, this.query.pageSize = e2, this.getTableList(); }, handleCurrentChange: function(e2) { this.query.pageNumber = e2, this.getTableList(); }, headClass: function() { return "text-align:center;background:#FAFAFA;"; } } }, me = pe, he = (a("9c1a"), a("17c2"), Object(d["a"])(me, ne, re, false, null, "7c37877e", null)), fe = he.exports, ye = { components: { collectionInfo: m, temporaryInfo: C, recordList: O, prePayRecord: ie, chronicle: fe }, data: function() { return { activeName: "collection" }; }, mounted: function() { this.$route.query.gotoTemporaryInfo && (this.activeName = "temporary"); }, methods: { handleClick: function(e2) { var t2 = this, a2 = e2.paneName; this.activeName = a2, "prePayRecord" == this.activeName && this.$nextTick((function() { t2.$refs.prePayRecord.initData(); })); }, recordList: function() { this.$refs.record.init(); } } }, be = ye, ge = Object(d["a"])(be, i, n, false, null, null, null); t["default"] = ge.exports; }, "61eb": function(e, t, a) { }, "8fa1": function(e, t, a) { "use strict"; a("a752"); }, "9c1a": function(e, t, a) { "use strict"; a("4e5f"); }, a2a4: function(e, t, a) { "use strict"; a("bdfb"); }, a752: function(e, t, a) { }, bdfb: function(e, t, a) { }, cb18: function(e, t, a) { }, cdaa: function(e, t, a) { "use strict"; a("61eb"); } }]);