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