(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-2c0199b8"], { "0b37": function(e, t, a) { "use strict"; function n(e2, t2) { var a2, n2, r2, o2; try { a2 = e2.toString().split(".")[1].length; } catch (l2) { a2 = 0; } try { n2 = t2.toString().split(".")[1].length; } catch (l2) { n2 = 0; } if (o2 = Math.abs(a2 - n2), r2 = Math.pow(10, Math.max(a2, n2)), o2 > 0) { var i2 = Math.pow(10, o2); a2 > n2 ? (e2 = Number(e2.toString().replace(".", "")), t2 = Number(t2.toString().replace(".", "")) * i2) : (e2 = Number(e2.toString().replace(".", "")) * i2, t2 = Number(t2.toString().replace(".", ""))); } else e2 = Number(e2.toString().replace(".", "")), t2 = Number(t2.toString().replace(".", "")); return (e2 + t2) / r2; } function r(e2, t2) { var a2, n2, r2 = 0, o2 = 0; try { r2 = e2.toString().split(".")[1].length; } catch (i2) { } try { o2 = t2.toString().split(".")[1].length; } catch (i2) { } return a2 = Number(e2.toString().replace(".", "")), n2 = Number(t2.toString().replace(".", "")), a2 / n2 * Math.pow(10, o2 - r2); } function o(e2, t2) { var a2 = 0, n2 = e2.toString(), r2 = t2.toString(); try { a2 += n2.split(".")[1].length; } catch (o2) { } try { a2 += r2.split(".")[1].length; } catch (o2) { } return Number(n2.replace(".", "")) * Number(r2.replace(".", "")) / Math.pow(10, a2); } function i(e2, t2) { var a2, n2, r2, o2; try { a2 = e2.toString().split(".")[1].length; } catch (i2) { a2 = 0; } try { n2 = t2.toString().split(".")[1].length; } catch (i2) { n2 = 0; } return r2 = Math.pow(10, Math.max(a2, n2)), o2 = a2 >= n2 ? a2 : n2, (Math.round(e2 * r2 - t2 * r2) / r2).toFixed(o2); } function l(e2, t2) { if (0 == e2 && (e2 = 0), /[^[\-|0-9][0-9]*]/.test(e2)) return "0"; if (null == e2 || "" === e2) return ""; e2 = e2.toString().replace(/^(-\d*)$/, "$1."), e2 = e2.toString().replace(/^(\d*)$/, "$1."), e2 = (e2 + "00").replace(/(\d*\.\d\d)\d*/, "$1"), e2 = e2.replace(".", ","); var a2 = /(\d)(\d{3},)/; while (a2.test(e2)) e2 = e2.replace(a2, "$1,$2"); if (e2 = e2.replace(/,(\d\d)$/, ".$1"), 0 === t2 || void 0 === t2) { var n2 = e2.split("."); "00" == n2[1] && (e2 = n2[0]); } return e2; } function s(e2, t2) { e2 = e2.toString(); var a2 = e2.indexOf("."); return e2 = -1 !== a2 ? e2.substring(0, t2 + a2 + 1) : e2.substring(0), parseFloat(e2).toFixed(t2); } function u(e2) { var t2 = Object.prototype.toString.call(e2).slice(8, -1); return "Null" === t2 ? "Null" : "Undefined" === t2 ? "Undefined" : t2; } function c(e2) { var t2, a2 = u(e2); if ("Object" === a2) t2 = {}; else { if ("Array" !== a2) return e2; t2 = []; } for (var n2 in e2) { var r2 = e2[n2]; u(r2), t2[n2] = c(r2); } return t2; } a.d(t, "a", (function() { return n; })), a.d(t, "b", (function() { return r; })), a.d(t, "c", (function() { return o; })), a.d(t, "d", (function() { return i; })), a.d(t, "g", (function() { return l; })), a.d(t, "f", (function() { return s; })), a.d(t, "e", (function() { return c; })); }, "19d6": function(e, t, a) { "use strict"; a("98f6"); }, 4431: function(e, t, a) { "use strict"; a.d(t, "i", (function() { return r; })), a.d(t, "c", (function() { return o; })), a.d(t, "g", (function() { return i; })), a.d(t, "d", (function() { return l; })), a.d(t, "b", (function() { return s; })), a.d(t, "a", (function() { return u; })), a.d(t, "n", (function() { return c; })), a.d(t, "j", (function() { return p; })), a.d(t, "h", (function() { return d; })), a.d(t, "k", (function() { return m; })), a.d(t, "e", (function() { return f; })), a.d(t, "m", (function() { return h; })), a.d(t, "l", (function() { return b; })), a.d(t, "f", (function() { return g; })); var n = a("b775"); function r(e2) { return Object(n["a"])({ url: "/appproject/ChargeBank/listChangeBank", method: "post", data: e2 }); } function o(e2) { return Object(n["a"])({ url: "/appproject/ChargeBank/downloadBankTemp?projectUuid=" + e2.projectUuid, method: "post", responseType: "blob" }); } function i(e2, t2) { return Object(n["a"])({ url: "/appproject/ChargeBank/importExcel?projectUuid=".concat(t2.projectUuid, "&projectName=").concat(t2.projectName), method: "post", isReturnResponse: true, responseType: "blob", headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, data: e2 }); } function l(e2) { return Object(n["a"])({ url: "/appproject/ChargeBank/exportChangeBank", method: "post", responseType: "blob", data: e2 }); } function s(e2) { return Object(n["a"])({ url: "/appproject/ChargeBank/createRecord", method: "post", data: e2 }); } function u(e2, t2) { return Object(n["a"])({ url: "/appproject/ChargeBank/counteroffer?id=".concat(t2.id, "&type=").concat(t2.type, "&backMemberUuid=").concat(t2.backMemberUuid, "&backMemberName=").concat(t2.backMemberName, "&check=").concat(t2.check), method: "post", isReturnResponse: true, headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, data: e2 }); } function c(e2) { return Object(n["a"])({ url: "/appproject/ChargeBank/updateStatus", method: "post", data: e2 }); } function p(e2) { return Object(n["a"])({ url: "/appproject/ChargeBank/listChargeCounterOffer", method: "post", data: e2 }); } function d(e2) { return Object(n["a"])({ url: "/appproject/ChargeBank/listByHouseId", method: "post", data: e2 }); } function m(e2) { return Object(n["a"])({ url: "/appproject/ChargeBank/listDetail", method: "post", data: e2 }); } function f(e2) { return Object(n["a"])({ url: "/appproject/ChargeBank/findByUuid", method: "post", data: e2 }); } function h(e2) { return Object(n["a"])({ url: "/appproject/ChargeBank/resetRecord", method: "post", data: e2 }); } function b(e2) { return Object(n["a"])({ url: "/appproject/ChargeBank/update", method: "post", data: e2 }); } function g(e2) { return Object(n["a"])({ url: "/appproject/ChargesTemplate/getListByHouseId", method: "post", data: e2 }); } }, "4e3d": function(e, t, a) { "use strict"; a("d287"); }, 6396: function(e, t, a) { "use strict"; Math.easeInOutQuad = function(e2, t2, a2, n) { return e2 /= n / 2, e2 < 1 ? a2 / 2 * e2 * e2 + t2 : (e2--, -a2 / 2 * (e2 * (e2 - 2) - 1) + t2); }; (function() { window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame; })(); }, "6b67": function(e, t, a) { "use strict"; a("bb24"); }, "6f23": function(e, t, a) { }, 7274: function(e, t, a) { "use strict"; a.d(t, "f", (function() { return r; })), a.d(t, "t", (function() { return o; })), a.d(t, "x", (function() { return i; })), a.d(t, "g", (function() { return l; })), a.d(t, "B", (function() { return s; })), a.d(t, "s", (function() { return u; })), a.d(t, "c", (function() { return c; })), a.d(t, "l", (function() { return p; })), a.d(t, "z", (function() { return d; })), a.d(t, "A", (function() { return m; })), a.d(t, "n", (function() { return f; })), a.d(t, "m", (function() { return h; })), a.d(t, "j", (function() { return b; })), a.d(t, "o", (function() { return g; })), a.d(t, "h", (function() { return v; })), a.d(t, "i", (function() { return y; })), a.d(t, "k", (function() { return _; })), a.d(t, "p", (function() { return k; })), a.d(t, "y", (function() { return w; })), a.d(t, "r", (function() { return N; })), a.d(t, "w", (function() { return j; })), a.d(t, "a", (function() { return x; })), a.d(t, "b", (function() { return C; })), a.d(t, "e", (function() { return O; })), a.d(t, "d", (function() { return S; })), a.d(t, "v", (function() { return D; })), a.d(t, "q", (function() { return A; })), a.d(t, "u", (function() { return I; })); var n = a("b775"); function r(e2) { return Object(n["a"])({ url: "/appproject/ProjectConfig/findByUuid", method: "post", data: e2 }); } function o(e2) { return Object(n["a"])({ url: "/appproject/ProjectConfig/updateByProjectUuid", method: "post", data: e2 }); } function i(e2) { return Object(n["a"])({ url: "/appproject/ProjectConfig/scheduled/push/date", method: "post", data: e2 }); } function l(e2) { return Object(n["a"])({ url: "/appproject/OrderInfo/findLiaisonByProjectUuids", method: "post", data: e2 }); } function s(e2) { return Object(n["a"])({ url: "/appproject/ProjectInit/getVisitConfig", method: "post", data: e2 }); } function u(e2) { return Object(n["a"])({ url: "/appproject/ProjectInit/updateBatchVisitConfig", method: "post", data: e2 }); } function c(e2) { return Object(n["a"])({ url: "/appproject/QualityControls/choose", method: "post", data: e2 }); } function p(e2) { return Object(n["a"])({ url: "/appproject/QualityControls/pageList", method: "post", data: e2 }); } function d(e2) { return Object(n["a"])({ url: "/appproject/ChargeReceivable/urge/listFee", method: "post", data: e2 }); } function m(e2) { return Object(n["a"])({ url: "/appproject/CustomerVisit/create/by/urge/model", method: "post", data: e2 }); } function f(e2) { return Object(n["a"])({ url: "/appproject/SalaryConfig/findByProjectUuid", method: "post", data: e2 }); } function h(e2) { return Object(n["a"])({ url: "/appproject/SalaryConfig/edit", method: "post", data: e2 }); } function b(e2) { return Object(n["a"])({ url: "/appproject/MemberSalaryConfig/pageList", method: "post", data: e2 }); } function g(e2) { return Object(n["a"])({ url: "/appproject/MemberSalaryConfig/salaryItemPageList", method: "post", data: e2 }); } function v(e2) { return Object(n["a"])({ url: "/appproject/MemberSalaryConfig/create", method: "post", data: e2 }); } function y(e2) { return Object(n["a"])({ url: "/appproject/MemberSalaryConfig/findById", method: "post", data: e2 }); } function _(e2) { return Object(n["a"])({ url: "/appproject/MemberSalaryConfig/update", method: "post", data: e2 }); } function k(e2) { return Object(n["a"])({ url: "/appproject/ProjectConfig/updateAccessControlByProjectUuid", method: "post", data: e2 }); } function w(e2) { return Object(n["a"])({ url: "/appproject/ProjectConfig/updateTargetValueByProjectUuid", method: "post", data: e2 }); } function N(e2) { return Object(n["a"])({ url: "/appproject/ProjectConfig/updateAutoResetDangerousByProjectUuid", method: "post", data: e2 }); } function j(e2) { return Object(n["a"])({ url: "/appproject/ProjectConfig/updateMeterReadingType", method: "post", data: e2 }); } function x(e2) { return Object(n["a"])({ url: "/appproject/ChargeOrderConfig/pageList", method: "post", data: e2 }); } function C(e2) { return Object(n["a"])({ url: "/appproject/ChargeOrderConfig/update", method: "post", data: e2 }); } function O(e2) { return Object(n["a"])({ url: "/appproject/ProjectReturnStatistics/debtAnalysisDetail", method: "post", data: e2 }); } function S(e2) { return Object(n["a"])({ url: "/appproject/ChargeOrder/createBatch", method: "post", data: e2 }); } function D(e2) { return Object(n["a"])({ url: "/appproject/ProjectConfig/updateEnergyParams", method: "post", data: e2 }); } function A(e2) { return Object(n["a"])({ url: "/appproject/ProjectConfig/updateAutoCharge", method: "post", data: e2 }); } function I(e2) { return Object(n["a"])({ url: "/appproject/ProjectConfig/updateChargeDeduction", method: "post", data: e2 }); } }, "98f6": function(e, t, a) { }, a56b: function(e) { e.exports = JSON.parse('[{"bank":"中国工商银行","bankNo":"02"},{"bank":"中国农业银行","bankNo":"03"},{"bank":"中国银行","bankNo":"04"},{"bank":"中国建设银行","bankNo":"05"},{"bank":"交通银行","bankNo":"06"},{"bank":"中信银行","bankNo":"07"},{"bank":"平安银行【深圳发展银行】","bankNo":"08"},{"bank":"招商银行","bankNo":"09"},{"bank":"广发银行","bankNo":"10"},{"bank":"中国光大银行","bankNo":"11"},{"bank":"中国民生银行","bankNo":"15"},{"bank":"深圳农村商业银行","bankNo":"16"},{"bank":"兴业银行","bankNo":"17"},{"bank":"华夏银行","bankNo":"18"},{"bank":"上海浦东发展银行","bankNo":"21"},{"bank":"北京银行","bankNo":"31"},{"bank":"宁波银行","bankNo":"32"},{"bank":"杭州银行","bankNo":"33"},{"bank":"上海银行","bankNo":"34"},{"bank":"徽商银行","bankNo":"35"},{"bank":"江苏银行","bankNo":"36"},{"bank":"渤海银行","bankNo":"37"},{"bank":"东莞银行","bankNo":"38"},{"bank":"浙商银行","bankNo":"39"},{"bank":"广东南粤银行","bankNo":"40"},{"bank":"广州银行","bankNo":"41"},{"bank":"珠海华润银行","bankNo":"42"},{"bank":"广东华兴银行","bankNo":"43"},{"bank":"花旗银行(中国)","bankNo":"45"},{"bank":"新韩银行(中国)","bankNo":"46"},{"bank":"渣打银行(中国)","bankNo":"47"},{"bank":"企业银行(中国)","bankNo":"48"},{"bank":"三井住友银行(中国)","bankNo":"49"},{"bank":"东亚银行","bankNo":"51"},{"bank":"瑞穗实业银行(中国)","bankNo":"52"},{"bank":"星展银行(中国)","bankNo":"53"},{"bank":"华商银行","bankNo":"54"},{"bank":"汇丰银行(中国)","bankNo":"55"},{"bank":"友利银行(中国)","bankNo":"59"},{"bank":"玉山银行(中国)","bankNo":"77"},{"bank":"华一银行","bankNo":"78"},{"bank":"深圳坪山珠江村镇银行","bankNo":"82"},{"bank":"深圳光明沪农商村镇银行","bankNo":"83"},{"bank":"深圳龙岗鼎业村镇银行","bankNo":"84"},{"bank":"深圳宝安融兴村镇银行","bankNo":"85"},{"bank":"深圳福田银座村镇银行","bankNo":"86"},{"bank":"深圳南山宝生村镇银行","bankNo":"87"},{"bank":"深圳宝安桂银村镇银行","bankNo":"89"},{"bank":"深圳龙岗国安村镇银行","bankNo":"90"},{"bank":"中国邮政储蓄银行","bankNo":"91"}]'); }, b221: function(e, t, a) { "use strict"; a("e0e8"); }, b234: function(e, t, a) { "use strict"; a("6f23"); }, bb24: function(e, t, a) { }, ce63: function(e, t, a) { "use strict"; a.d(t, "c", (function() { return r; })), a.d(t, "g", (function() { return o; })), a.d(t, "i", (function() { return i; })), a.d(t, "o", (function() { return l; })), a.d(t, "b", (function() { return s; })), a.d(t, "k", (function() { return u; })), a.d(t, "h", (function() { return c; })), a.d(t, "j", (function() { return p; })), a.d(t, "p", (function() { return d; })), a.d(t, "d", (function() { return m; })), a.d(t, "e", (function() { return f; })), a.d(t, "f", (function() { return h; })), a.d(t, "m", (function() { return b; })), a.d(t, "l", (function() { return g; })), a.d(t, "n", (function() { return v; })), a.d(t, "a", (function() { return y; })); var n = a("b775"); function r(e2) { return Object(n["a"])({ url: "/project/ChargePrice/treeList", method: "post", data: e2 }); } function o(e2) { return Object(n["a"])({ url: "/project/ChargePrice/create", method: "post", data: e2 }); } function i(e2) { return Object(n["a"])({ url: "/project/ChargePrice/delete", method: "post", data: e2 }); } function l(e2) { return Object(n["a"])({ url: "/project/ChargePrice/update", method: "post", data: e2 }); } function s(e2) { return Object(n["a"])({ url: "/project/ChargePrice/pageList", method: "post", data: e2 }); } function u(e2) { return Object(n["a"])({ url: "/appproject/ChargeFormula/getListByCategoryCode", method: "post", data: e2 }); } function c(e2) { return Object(n["a"])({ url: "/appproject/ChargesTemplate/create", method: "post", data: e2 }); } function p(e2) { return Object(n["a"])({ url: "/appproject/ChargesTemplate/delete", method: "post", data: e2 }); } function d(e2) { return Object(n["a"])({ url: "/appproject/ChargesTemplate/update", method: "post", data: e2 }); } function m(e2) { return Object(n["a"])({ url: "/appproject/ChargesTemplate/pageList", method: "post", data: e2 }); } function f(e2) { return Object(n["a"])({ url: "/appproject/ChargesTemplate/findById", method: "post", data: e2 }); } function h(e2) { return Object(n["a"])({ url: "/appproject/ChargesTemplate/useBatch", method: "post", data: e2 }); } function b(e2) { return Object(n["a"])({ url: "/appproject/ChargesTemplate/getListByProjectUuid", method: "post", data: e2 }); } function g(e2) { return Object(n["a"])({ url: "/appproject/ChargesTemplate/houseChargeTemplatePageList", method: "post", data: e2 }); } function v(e2) { return Object(n["a"])({ url: "/appproject/ChargesTemplate/editHouseTemplate", method: "post", data: e2 }); } function y(e2) { return Object(n["a"])({ url: "/appproject/ChargesTemplate/batchDelete", method: "post", data: e2 }); } }, d287: function(e, t, a) { }, e0e8: function(e, t, a) { }, e654: function(e, t, a) { "use strict"; a.d(t, "D", (function() { return r; })), a.d(t, "B", (function() { return o; })), a.d(t, "C", (function() { return i; })), a.d(t, "k", (function() { return l; })), a.d(t, "z", (function() { return s; })), a.d(t, "A", (function() { return u; })), a.d(t, "b", (function() { return c; })), a.d(t, "s", (function() { return p; })), a.d(t, "t", (function() { return d; })), a.d(t, "u", (function() { return m; })), a.d(t, "q", (function() { return f; })), a.d(t, "v", (function() { return h; })), a.d(t, "e", (function() { return b; })), a.d(t, "f", (function() { return g; })), a.d(t, "c", (function() { return v; })), a.d(t, "n", (function() { return y; })), a.d(t, "p", (function() { return _; })), a.d(t, "l", (function() { return k; })), a.d(t, "L", (function() { return w; })), a.d(t, "g", (function() { return N; })), a.d(t, "m", (function() { return j; })), a.d(t, "J", (function() { return x; })), a.d(t, "a", (function() { return C; })), a.d(t, "h", (function() { return O; })), a.d(t, "x", (function() { return S; })), a.d(t, "E", (function() { return D; })), a.d(t, "y", (function() { return A; })), a.d(t, "I", (function() { return I; })), a.d(t, "j", (function() { return q; })), a.d(t, "r", (function() { return F; })), a.d(t, "F", (function() { return $; })), a.d(t, "G", (function() { return T; })), a.d(t, "M", (function() { return L; })), a.d(t, "i", (function() { return B; })), a.d(t, "d", (function() { return R; })), a.d(t, "o", (function() { return U; })), a.d(t, "w", (function() { return M; })), a.d(t, "H", (function() { return P; })), a.d(t, "K", (function() { return H; })); var n = a("b775"); function r(e2) { return Object(n["a"])({ url: "/appproject/ChargeReceivable/total", method: "post", data: e2 }); } function o(e2) { return Object(n["a"])({ url: "/appproject/ChargeReceivable/pageList", method: "post", data: e2 }); } function i(e2) { return Object(n["a"])({ url: "/appproject/ChargeReceivable/pageList2", method: "post", data: e2 }); } function l(e2) { return Object(n["a"])({ url: "/appproject/Expenses/create", method: "post", data: e2 }); } function s(e2) { return Object(n["a"])({ url: "/appproject/Expenses/pageList", method: "post", data: e2 }); } function u(e2) { return Object(n["a"])({ url: "/appproject/Expenses/findByNo", method: "post", data: e2 }); } function c(e2) { return Object(n["a"])({ url: "/appproject/ChargeReceivable/against", method: "post", data: e2 }); } function p(e2) { return Object(n["a"])({ url: "/appproject/ChargeReceivable/findById", method: "post", data: e2 }); } function d(e2) { return Object(n["a"])({ url: "/appproject/Expenses/findById", method: "post", data: e2 }); } function m(e2) { return Object(n["a"])({ url: "/appproject/Expenses/findByExId", method: "post", data: e2 }); } function f(e2) { return Object(n["a"])({ url: "/appproject/Expenses/findByApproveId", method: "post", data: e2 }); } function h(e2) { return Object(n["a"])({ url: "/project/Expenses/listExpensesDetails", method: "post", data: e2 }); } function b(e2) { return Object(n["a"])({ url: "/appproject/ChargeReceivable/chargePayFeeBills", method: "post", data: e2 }); } function g(e2) { return Object(n["a"])({ url: "/appproject/ChargeReceivable/chargePrepay", method: "post", data: e2 }); } function v(e2) { return Object(n["a"])({ url: "/appproject/ChargeReceivable/asyncExportChargeList", method: "post", data: e2 }); } function y(e2) { return Object(n["a"])({ url: "/appproject/ChargeReceivable/exportDepositList", method: "post", responseType: "blob", data: e2 }); } function _(e2) { return Object(n["a"])({ url: "/appproject/ChargeReceivable/downloadPayBills", method: "post", responseType: "blob", data: e2 }); } function k(e2) { return Object(n["a"])({ url: "/appproject/ChargeReceivable/deduction", method: "post", data: e2 }); } function w(e2) { return Object(n["a"])({ url: "/appproject/ChargeReceivable/update", method: "post", data: e2 }); } function N(e2) { return Object(n["a"])({ url: "/project/ChargeReceivable/updateDebtor", method: "post", data: e2 }); } function j(e2) { return Object(n["a"])({ url: "/appproject/DeductionInfo/findByUuid", method: "post", data: e2 }); } function x(e2) { return Object(n["a"])({ url: "/appproject/ChargeReceivable/turnDeposit", method: "post", data: e2 }); } function C(e2) { return Object(n["a"])({ url: "/appproject/PrepayInfo/addAccountByHouseIdAndChargeId", method: "post", data: e2 }); } function O(e2) { return Object(n["a"])({ url: "/project/ChargeReceivable/createTempCr", method: "post", data: e2 }); } function S(e2) { return Object(n["a"])({ url: "/appproject/InvoiceRecord/openInvoice/pc", method: "post", data: e2 }); } function D(e2) { return Object(n["a"])({ url: "/appproject/ChargeReceivable/smsCollectionFee", method: "post", data: e2 }); } function A(e2) { return Object(n["a"])({ url: "/project/FsCharges/fsCharges/outNos", method: "post", data: e2 }); } function I(e2) { return Object(n["a"])({ url: "/appproject/ChargeReceivable/totalStatistics", method: "post", data: e2 }); } function q(e2) { return Object(n["a"])({ url: "/appproject/Expenses/createReceipt", method: "post", data: e2 }); } function F(e2) { return Object(n["a"])({ url: "/appproject/ChargeReceivable/generatePayBillTask", method: "post", data: e2 }); } function $(e2) { return Object(n["a"])({ url: "/appproject/ChargeReceivable/split", method: "post", data: e2 }); } function T(e2) { return Object(n["a"])({ url: "/appproject/ChargeReceivable/splitPageList", method: "post", data: e2 }); } function L(e2) { return Object(n["a"])({ url: "/appproject/ChargeReceivable/updateRecordPageList", method: "post", data: e2 }); } function B(e2) { return Object(n["a"])({ url: "/appproject/ChargeReceivable/correction", method: "post", data: e2 }); } function R(e2) { return Object(n["a"])({ url: "/appproject/Expenses/batchSynStatus", method: "POST", data: e2 }); } function U(e2) { return Object(n["a"])({ url: "/appproject/ChargeReceivable/depositTypeDetail", method: "POST", data: e2 }); } function M(e2) { return Object(n["a"])({ url: "/appproject/ChargeReceivable/manualRelease", method: "POST", data: e2 }); } function P(e2) { return Object(n["a"])({ url: "/appproject/ChargeReceivable/suspend", method: "POST", data: e2 }); } function H(e2) { return Object(n["a"])({ url: "/appproject/ChargeReceivable/unsuspend", method: "POST", data: e2 }); } }, ee76: function(e, t, a) { "use strict"; a.r(t); var n = function() { var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2; return a2("div", { staticClass: "app-container bgHeight" }, [a2("el-tabs", { attrs: { value: e2.activeName, type: "border-card" }, on: { "tab-click": e2.handleClick } }, [a2("el-tab-pane", { attrs: { label: "应收销单", name: "receivableSalesOrder" } }, ["receivableSalesOrder" === e2.activeName ? a2("receivableSalesOrder") : e2._e()], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "销单记录", name: "list" } }, ["list" === e2.activeName ? a2("list") : e2._e()], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "银行托收", name: "collection" } }, ["collection" === e2.activeName ? a2("collection") : e2._e()], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "银行托收记录", name: "collectionList" } }, ["collectionList" === e2.activeName ? a2("collectionList") : e2._e()], 1)], 1)], 1); }, r = [], o = function() { var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2; return a2("div", { staticClass: "bgHeight" }, [a2("div", { ref: "box", staticClass: "searchStys transition_dom" }, [a2("el-form", { ref: "query", attrs: { model: e2.query } }, [a2("div", { ref: "form_box", staticClass: "searchBar" }, [a2("div", { staticClass: "searchInput" }, [a2("el-row", { attrs: { gutter: 20 } }, [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "expensesNo" } }, [a2("el-input", { attrs: { placeholder: "请输入销单单号", clearable: "" }, model: { value: e2.query.expensesNo, callback: function(t3) { e2.$set(e2.query, "expensesNo", t3); }, expression: "query.expensesNo" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "payType" } }, [a2("el-select", { attrs: { placeholder: "销单支付方式", clearable: "" }, 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 } })]; }))], 2)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", [a2("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(" "), a2("div", { staticClass: "searchBtn" }, [a2("el-form-item", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) { return e2.resetForm("query"); } } }, [e2._v("重置")]), e2._v(" "), a2("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 || "80px" == e2.height ? e2._e() : a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: e2.upAndDown } }, [e2._v("展开"), a2("i", { staticClass: "el-icon-arrow-down" })]), e2._v(" "), e2.is_show && "80px" != e2.height ? a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: e2.upAndDown } }, [e2._v("收起"), a2("i", { staticClass: "el-icon-arrow-up" })]) : e2._e()], 1)], 1)])])], 1), e2._v(" "), a2("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" } }, [a2("el-table-column", { attrs: { label: "#", align: "center", "min-width": "50", fixed: "left", "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) + "\n ")])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { prop: "expensesNo", label: "销单编号", "min-width": "220", align: "center", fixed: "" } }), e2._v(" "), a2("el-table-column", { attrs: { prop: "outNo", label: "业务订单号", "min-width": "250", align: "center", fixed: "" } }), e2._v(" "), a2("el-table-column", { attrs: { prop: "houseNum", label: "房屋号", "min-width": "200", align: "center", "show-overflow-tooltip": "", fixed: "" } }), e2._v(" "), a2("el-table-column", { attrs: { prop: "chargeDate", label: "计费年月", align: "center", "min-width": "100" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v(e2._s(e2._f("formatDate")(e2.formatDateDay(t3.row.chargeDate), "Y年M月")))]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { prop: "chargeName", label: "收费项", align: "left", "min-width": "140", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { prop: "baseAmount", label: "应收本金", align: "right", "min-width": "120" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v(e2._s(e2._f("formatMoney")(e2.getObjectData(t3.row.outsideOrderInfo, 0))))]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { prop: "feeAmount", label: "应收违约金", align: "right", "min-width": "120" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v(e2._s(e2._f("formatMoney")(e2.getObjectData(t3.row.outsideOrderInfo, 1))))]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { prop: "baseAmount", label: "销单本金", align: "right", "min-width": "120" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v(e2._s(e2._f("formatMoney")(t3.row.baseAmount)))]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { prop: "feeAmount", label: "销单违约金", align: "right", "min-width": "120" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v(e2._s(e2._f("formatMoney")(t3.row.feeAmount)))]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { prop: "payDeadline", label: "应收日期", align: "center", "min-width": "160" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v(e2._s(t3.row.payDeadline ? t3.row.payDeadline : "-"))]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { prop: "payDeadline", label: "发起时间", align: "center", "min-width": "160" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v(e2._s(t3.row.createdAt ? t3.row.createdAt : "-"))]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "140", label: "销单支付方式", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(e2.getPayType(t3.row)))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "销单状态", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(1 == t3.row.status ? "销单中" : 2 == t3.row.status ? "已销单" : 3 == t3.row.status ? "销单失败" : "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { label: "操作", align: "center", fixed: "right", "min-width": "90" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) { return e2.gotoReceivableDetailes(t3.row); } } }, [e2._v("查看")])]; } }]) })], 1), e2._v(" "), a2("div", { staticClass: "pagination" }, [a2("Pagination", { attrs: { total: e2.pageTotal }, on: { handleCurrentChange: e2.handleCurrentChange, handleSizeChange: e2.handleSizeChange } })], 1)], 1); }, i = [], l = a("333d"), s = a("e654"), u = a("dce5"), c = a("7274"), p = a("0b37"); function d(e2) { return b(e2) || h(e2) || f(e2) || m(); } function m() { 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 f(e2, t2) { if (e2) { if ("string" == typeof e2) return g(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) ? g(e2, t2) : void 0; } } function h(e2) { if ("undefined" != typeof Symbol && null != e2[Symbol.iterator] || null != e2["@@iterator"]) return Array.from(e2); } function b(e2) { if (Array.isArray(e2)) return g(e2); } function g(e2, t2) { (null == t2 || t2 > e2.length) && (t2 = e2.length); for (var a2 = 0, n2 = Array(t2); a2 < t2; a2++) n2[a2] = e2[a2]; return n2; } var v = { components: { Pagination: l["a"] }, data: function() { return { is_show: false, scanVisible: false, height: "", isShow: false, pageTotal: 0, listLoading: false, listTable: [], taskDate: "", salesOrderType: u["dc"], payMethodList: u["Db"], query: { pageNumber: 1, pageSize: 10, payType: "", expensesNo: "", startDate: "", endDate: "" }, payInfo: {} }; }, mounted: function() { this.getlistData(), this.getPayTypeList(); }, created: function() { this.headClass(), this.getRealHeight(); }, methods: { 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(c["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(d(e2.payMethodList), d(JSON.parse(t2.data.payTypeList))); a2 = Array.from(new Set(a2.map(JSON.stringify))).map(JSON.parse), e2.payMethodList = a2; } })); }, getlistData: function() { var e2 = this; this.listLoading = true, this.query.projectUuid = this.$store.state.community_uuid; var t2 = JSON.parse(JSON.stringify(this.query)); t2.payType >= 100 && (t2.payTypeV2 = t2.payType, t2.payType = 7), Object(s["v"])(t2).then((function(t3) { 0 == t3.code && (e2.listTable = t3.data.records, e2.pageTotal = t3.data.rowsCount, e2.totalMoney = t3.data.totalAmount), sessionStorage.setItem(e2.$route.name, JSON.stringify(e2.query)); })), this.listLoading = false; }, payClick: function(e2) { this.payInfo = e2, this.scanVisible = true; }, getBack: function() { this.scanVisible = false, this.onSearch(); }, 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(); }, gotoReceivableDetailes: function(e2) { this.$router.push({ path: "/viewInfo/receivableDetailes", query: { id: e2.chargeReId } }); }, headClass: function() { return "text-align:center;background:#FAFAFA;"; }, viewOrder: function(e2) { this.$router.push({ path: "/viewInfo/salesOrderDetailes", query: { id: e2.id } }); }, getObjectData: function(e2, t2) { if (e2) { var a2 = JSON.parse(e2), n2 = Object(p["d"])(a2.baseAmount, a2.basePaid), r2 = Object(p["d"])(a2.lateFee, a2.latePaid); return 0 === t2 ? n2 : r2; } return "-"; }, 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"; })); }, formatDateDay: function(e2) { return e2 + "-01"; } } }, y = v, _ = (a("19d6"), a("829d")), k = Object(_["a"])(y, o, i, false, null, "5a64baca", null), w = k.exports, N = function() { var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2; return a2("div", { staticClass: "bgHeight" }, [a2("div", { ref: "box", staticClass: "searchStys transition_dom" }, [a2("el-form", { ref: "query", attrs: { model: e2.query } }, [a2("div", { ref: "form_box", staticClass: "searchBar" }, [a2("div", { staticClass: "searchInput" }, [a2("el-row", { attrs: { gutter: 20 } }, [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "expensesNo" } }, [a2("el-input", { attrs: { placeholder: "请输入销单单号", clearable: "", maxlength: "23" }, model: { value: e2.query.expensesNo, callback: function(t3) { e2.$set(e2.query, "expensesNo", t3); }, expression: "query.expensesNo" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "payType" } }, [a2("el-select", { attrs: { placeholder: "销单支付方式", clearable: "" }, 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("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "status" } }, [a2("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.salesOrderStatus, (function(e3) { return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } }); })), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", [a2("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), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "houseNum" } }, [a2("el-input", { attrs: { placeholder: "请输入房屋房号", clearable: "" }, model: { value: e2.query.houseNum, callback: function(t3) { e2.$set(e2.query, "houseNum", t3); }, expression: "query.houseNum" } })], 1)], 1)], 1)], 1), e2._v(" "), a2("div", { staticClass: "searchBtn" }, [a2("el-form-item", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) { return e2.resetForm("query"); } } }, [e2._v("重置")]), e2._v(" "), a2("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 || "80px" == e2.height ? e2._e() : a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: e2.upAndDown } }, [e2._v("展开"), a2("i", { staticClass: "el-icon-arrow-down" })]), e2._v(" "), e2.is_show && "80px" != e2.height ? a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: e2.upAndDown } }, [e2._v("收起"), a2("i", { staticClass: "el-icon-arrow-up" })]) : e2._e()], 1)], 1)])])], 1), e2._v(" "), a2("div", { staticStyle: { "text-align": "right", "margin-bottom": "15px" } }, [a2("el-popover", { attrs: { placement: "bottom" }, model: { value: e2.refreshShow, callback: function(t3) { e2.refreshShow = t3; }, expression: "refreshShow" } }, [a2("el-date-picker", { attrs: { type: "date", format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", placeholder: "选择订单更新日期" }, model: { value: e2.refreshDate, callback: function(t3) { e2.refreshDate = t3; }, expression: "refreshDate" } }), e2._v(" "), a2("div", { staticStyle: { "margin-top": "10px" } }, [a2("el-button", { attrs: { size: "mini" }, on: { click: e2.refreshEsc } }, [e2._v("取消")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary", size: "mini", loading: e2.refreshLoad }, on: { click: e2.refreshClick } }, [e2._v("确定")])], 1), e2._v(" "), a2("el-button", { attrs: { slot: "reference", type: "success", icon: "el-icon-refresh" }, slot: "reference" }, [e2._v("支付状态更新")])], 1)], 1), e2._v(" "), a2("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" } }, [a2("el-table-column", { attrs: { label: "#", align: "center", "min-width": "50", fixed: "left", "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) + "\n ")])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", fixed: "left", "min-width": "150", label: "销单名称", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.title || "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", fixed: "left", "min-width": "150", label: "房屋房号", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(e2.filterHouseNum(t3.row)))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "销单单号", "min-width": "200", fixed: "left", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.expensesNo || "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", "min-width": "100", label: "销单金额", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(e2._f("toThousandFilter")(t3.row.totalAmount)))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "140", label: "销单支付方式", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(e2.getPayType(t3.row)))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "80", label: "销单状态", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", { staticClass: "salesSet" }, [e2._v(e2._s(e2._f("getItemType")(t3.row.status, e2.salesOrderStatus)) + "\n "), 1 == t3.row.payType && 2 != t3.row.status ? a2("i", { staticClass: "el-icon-refresh", on: { click: function(a3) { return e2.payCallback(t3.row); } } }) : e2._e()])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "支付订单号", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.transactionId || "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "支付渠道" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("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(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "160", label: "提交时间" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.createdTime || "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "操作人" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.memberName || "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { label: "操作", "min-width": "190", align: "center", fixed: "right" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [1 == t3.row.status ? a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(a3) { return e2.payClick(t3.row); } } }, [e2._v("继续支付")]) : e2._e(), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(a3) { return e2.viewOrder(t3.row); } } }, [e2._v("查看")]), e2._v(" "), t3.row.receiptUrl ? a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(a3) { return e2.downloadReceipt(t3.row); } } }, [e2._v("下载收据")]) : e2._e(), e2._v(" "), 2 == t3.row.status && e2.filterInvoiceOpen(t3.row) ? a2("el-button", { attrs: { type: "text", disabled: 0 == t3.row.invoiceFlag }, on: { click: function(a3) { return e2.invoiceClick(t3.row); } } }, [e2._v("开具发票")]) : e2._e(), e2._v(" "), a2("el-button", { attrs: { type: "text", disabled: 0 == t3.row.invoiceFlag || 3 == t3.row.status }, on: { click: function(a3) { return e2.manualClick(t3.row); } } }, [e2._v("手动开收据")])]; } }]) })], 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.pageTotal }, 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), e2._v(" "), a2("scanPay", { attrs: { show: e2.scanVisible, info: e2.payInfo }, on: { back: e2.getBack } }), e2._v(" "), a2("el-dialog", { attrs: { title: "开具发票", visible: e2.invoiceVisible, "close-on-click-modal": false, "close-on-press-escape": false, width: "30%", "before-close": e2.invoiceClose }, on: { "update:visible": function(t3) { e2.invoiceVisible = t3; } } }, [a2("el-form", { ref: "invoiceForm", staticClass: "form-set", attrs: { model: e2.invoiceForm, "label-width": "140px" } }, [a2("el-form-item", { attrs: { label: "类型", prop: "openType" } }, [a2("el-radio-group", { model: { value: e2.invoiceForm.openType, callback: function(t3) { e2.$set(e2.invoiceForm, "openType", t3); }, expression: "invoiceForm.openType" } }, [a2("el-radio", { attrs: { label: 2 } }, [e2._v("个人")]), e2._v(" "), a2("el-radio", { attrs: { label: 1 } }, [e2._v("单位")])], 1)], 1), e2._v(" "), 1 == e2.invoiceForm.openType ? a2("div", [a2("el-form-item", { attrs: { label: "企业名称", prop: "title", rules: { required: true, message: "企业名称不能为空", trigger: ["blur", "change"] } } }, [a2("div", { staticClass: "selectInfo" }, [a2("el-input", { attrs: { clearable: "" }, model: { value: e2.invoiceForm.title, callback: function(t3) { e2.$set(e2.invoiceForm, "title", t3); }, expression: "invoiceForm.title" } }), e2._v(" "), a2("el-popover", { ref: "listPop", attrs: { placement: "right", width: "600" } }, [a2("el-input", { staticStyle: { width: "300px" }, attrs: { size: "mini", placeholder: "输入企业名称关键字搜索" }, on: { input: e2.listSearch }, model: { value: e2.searchKey, callback: function(t3) { e2.searchKey = t3; }, expression: "searchKey" } }), e2._v(" "), a2("el-table", { attrs: { data: e2.companyList, height: "260", "cell-style": e2.cellStyle }, on: { "row-click": e2.clickSelect } }, [a2("el-table-column", { attrs: { property: "title", label: "企业名称", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { property: "taxNo", width: "220", label: "统一社会信用代码" } })], 1), e2._v(" "), a2("el-button", { attrs: { slot: "reference", type: "primary" }, slot: "reference" }, [e2._v("选择")])], 1)], 1)]), e2._v(" "), a2("el-form-item", { attrs: { label: "统一社会信用代码", prop: "taxNo", rules: [{ required: true, message: "统一社会信用代码不能为空", trigger: ["blur", "change"] }, { min: 18, message: "统一社会信用代码长度为18位", trigger: ["blur", "change"] }] } }, [a2("el-input", { attrs: { clearable: "", maxlength: "18" }, model: { value: e2.invoiceForm.taxNo, callback: function(t3) { e2.$set(e2.invoiceForm, "taxNo", t3); }, expression: "invoiceForm.taxNo" } })], 1)], 1) : e2._e(), e2._v(" "), a2("el-form-item", { attrs: { label: "开票抬头/购方名称", prop: "title", rules: { required: true, message: "开票抬头/购方名称不能为空", trigger: ["blur", "change"] } } }, [a2("el-input", { attrs: { placeholder: "开票抬头/购方名称" }, model: { value: e2.invoiceForm.title, callback: function(t3) { e2.$set(e2.invoiceForm, "title", t3); }, expression: "invoiceForm.title" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "购方电话", prop: "buyerPhone", rules: [{ required: true, message: "购方电话不能为空", trigger: ["blur", "change"] }] } }, [a2("el-input", { attrs: { clearable: "", placeholder: "请输入购方电话" }, model: { value: e2.invoiceForm.buyerPhone, callback: function(t3) { e2.$set(e2.invoiceForm, "buyerPhone", t3); }, expression: "invoiceForm.buyerPhone" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "购方地址", prop: "buyerAddress", rules: [{ required: true, message: "购方地址不能为空", trigger: ["blur", "change"] }] } }, [a2("el-input", { attrs: { clearable: "", placeholder: "请输入购方地址" }, model: { value: e2.invoiceForm.buyerAddress, callback: function(t3) { e2.$set(e2.invoiceForm, "buyerAddress", t3); }, expression: "invoiceForm.buyerAddress" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "购方开户行账号", prop: "buyerBankAccount", rules: [{ required: true, message: "购方开户行账号不能为空", trigger: ["blur", "change"] }] } }, [a2("el-input", { attrs: { clearable: "", placeholder: "请输入购方开户行账号" }, model: { value: e2.invoiceForm.buyerBankAccount, callback: function(t3) { e2.$set(e2.invoiceForm, "buyerBankAccount", t3); }, expression: "invoiceForm.buyerBankAccount" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "购方开户行地址", prop: "buyerBankAddress", rules: [{ required: true, message: "购方开户行地址不能为空", trigger: ["blur", "change"] }] } }, [a2("el-input", { attrs: { clearable: "", placeholder: "请输入购方开户行地址" }, model: { value: e2.invoiceForm.buyerBankAddress, callback: function(t3) { e2.$set(e2.invoiceForm, "buyerBankAddress", t3); }, expression: "invoiceForm.buyerBankAddress" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "发票类型", prop: "invoiceType", rules: [{ required: true, message: "发票类型不能为空", trigger: ["change"] }] } }, [a2("el-select", { attrs: { placeholder: "请选择发票类型" }, model: { value: e2.invoiceForm.invoiceType, callback: function(t3) { e2.$set(e2.invoiceForm, "invoiceType", t3); }, expression: "invoiceForm.invoiceType" } }, e2._l(e2.invoiceTypeShow, (function(e3, t3) { return a2("el-option", { key: t3, attrs: { label: e3.label, value: e3.value } }); })), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "邮箱", prop: "email", rules: [{ required: true, message: "邮箱不能为空", trigger: "blur" }, { type: "email", message: "邮箱地址不正确", trigger: "blur" }] } }, [a2("el-input", { attrs: { clearable: "", placeholder: "请输入发票接收邮箱" }, model: { value: e2.invoiceForm.email, callback: function(t3) { e2.$set(e2.invoiceForm, "email", t3); }, expression: "invoiceForm.email" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "备注", prop: "remark" } }, [a2("el-input", { attrs: { type: "textarea", rows: 2, clearable: "", disabled: "" }, model: { value: e2.invoiceForm.remark, callback: function(t3) { e2.$set(e2.invoiceForm, "remark", t3); }, expression: "invoiceForm.remark" } })], 1), e2._v(" "), a2("el-form-item", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 200, expression: "200" }], attrs: { type: "primary", loading: e2.addLoad }, on: { click: function(t3) { return e2.submitAdd("ruleForm"); } } }, [e2._v("确认")]), e2._v(" "), a2("el-button", { on: { click: e2.invoiceClose } }, [e2._v("取消")])], 1)], 1)], 1), e2._v(" "), a2("el-dialog", { attrs: { title: "手动开收据", visible: e2.receiptShow, "close-on-click-modal": false, "close-on-press-escape": false, width: "35%", "before-close": e2.manualClose }, on: { "update:visible": function(t3) { e2.receiptShow = t3; } } }, [a2("el-form", { ref: "manualReceipt", staticClass: "receiptForm", attrs: { model: e2.manualReceipt, "label-width": "140px" } }, [a2("el-form-item", { attrs: { label: "销单单号", rules: [{ required: true, message: "销单单号不能为空", trigger: ["blur", "change"] }], prop: "expensesNo" } }, [a2("el-input", { attrs: { disabled: true }, model: { value: e2.manualReceipt.expensesNo, callback: function(t3) { e2.$set(e2.manualReceipt, "expensesNo", t3); }, expression: "manualReceipt.expensesNo" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { rules: [{ required: true, message: "管理区不能为空", trigger: ["blur", "change"] }], label: "选择管理区", prop: "precinctInfo" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "选择管理区名称", "value-key": "id" }, on: { change: e2.selectCheckChange }, model: { value: e2.manualReceipt.precinctInfo, callback: function(t3) { e2.$set(e2.manualReceipt, "precinctInfo", t3); }, expression: "manualReceipt.precinctInfo" } }, e2._l(e2.areaOptions, (function(e3) { return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3 } }); })), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { rules: [{ required: true, message: "楼栋不能为空", trigger: ["blur", "change"] }], label: "选择楼栋", prop: "buildingInfo" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "选择楼栋", "value-key": "id" }, on: { change: e2.checkChangeBuild }, model: { value: e2.manualReceipt.buildingInfo, callback: function(t3) { e2.$set(e2.manualReceipt, "buildingInfo", t3); }, expression: "manualReceipt.buildingInfo" } }, e2._l(e2.chackbuilding, (function(e3) { return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3 } }); })), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { rules: [{ required: true, message: "单元不能为空", trigger: ["blur", "change"] }], label: "选择单元", prop: "unitInfo" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "选择单元", "value-key": "id" }, on: { change: e2.checkChangeUnit }, model: { value: e2.manualReceipt.unitInfo, callback: function(t3) { e2.$set(e2.manualReceipt, "unitInfo", t3); }, expression: "manualReceipt.unitInfo" } }, e2._l(e2.chackUnitList, (function(e3) { return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3 } }); })), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { rules: [{ required: true, message: "房间不能为空", trigger: ["blur", "change"] }], label: "选择房间", prop: "fsHouseName" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "选择房间" }, model: { value: e2.manualReceipt.fsHouseName, callback: function(t3) { e2.$set(e2.manualReceipt, "fsHouseName", t3); }, expression: "manualReceipt.fsHouseName" } }, e2._l(e2.houseList2, (function(e3) { return a2("el-option", { key: e3.id, attrs: { label: e3.roomNum, value: e3.roomNum } }); })), 1)], 1), e2._v(" "), a2("el-form-item", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 200, expression: "200" }], attrs: { type: "primary", loading: e2.addLoad }, on: { click: function(t3) { return e2.submitDownload("ruleForm"); } } }, [e2._v("确认并下载")]), e2._v(" "), a2("el-button", { on: { click: e2.manualClose } }, [e2._v("取消")])], 1)], 1)], 1)], 1); }, j = [], x = a("2b74"), C = a("4059"); function O(e2) { return I(e2) || A(e2) || D(e2) || S(); } function S() { 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 D(e2, t2) { if (e2) { if ("string" == typeof e2) return q(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) ? q(e2, t2) : void 0; } } function A(e2) { if ("undefined" != typeof Symbol && null != e2[Symbol.iterator] || null != e2["@@iterator"]) return Array.from(e2); } function I(e2) { if (Array.isArray(e2)) return q(e2); } function q(e2, t2) { (null == t2 || t2 > e2.length) && (t2 = e2.length); for (var a2 = 0, n2 = Array(t2); a2 < t2; a2++) n2[a2] = e2[a2]; return n2; } var F = { components: { Pagination: l["a"], scanPay: C["a"] }, data: function() { return { invoiceType: u["lb"], is_show: false, scanVisible: false, height: "", isShow: false, pageTotal: 0, listLoading: false, listTable: [], taskDate: "", salesOrderType: u["dc"], payMethodList: u["Db"], salesOrderStatus: u["cc"], query: { pageNumber: 1, pageSize: 10, expensesNo: "", payType: "", status: "", startDate: "", endDate: "" }, payInfo: {}, showList: false, houseList: [], companyList: [], salesInfo: "", codeList: [], searchKey: "", invoiceForm: { openType: 2, title: "", taxNo: "", email: "", remark: "", id: "" }, invoiceVisible: false, addLoad: false, invoiceTypeList: [], invoiceTypeShow: "", receiptShow: false, manualReceipt: { expensesNo: "", houseNum: "", precinctId: "", precinctName: "", buildingId: "", buildingName: "", unitId: "", unitName: "", fsHouseName: "", projectUuid: this.$store.state.community_uuid, projectName: this.$store.state.community_name, precinctInfo: "", buildingInfo: "", unitInfo: "", fsHouseInfo: "" }, houseNumList: [], areaOptions: [], chackbuilding: [], chackUnitList: [], houseList2: [], refreshShow: false, refreshDate: "", refreshLoad: false }; }, mounted: function() { this.getlistData(), this.getPayTypeList(); }, created: function() { this.headClass(), this.getRealHeight(), this.getBuildList(); }, methods: { getPayTypeList: function() { var e2 = this; Object(c["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(O(e2.payMethodList), O(JSON.parse(t2.data.payTypeList))); a2 = Array.from(new Set(a2.map(JSON.stringify))).map(JSON.parse), e2.payMethodList = a2; } })); }, 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 "-"; }, getBuildList: function() { var e2 = this, t2 = { projectUuid: this.$store.state.community_uuid, pageNumber: -1, pageSize: -1 }; Object(x["f"])(t2).then((function(t3) { 0 === t3.code && (e2.areaOptions = t3.data); })); }, selectCheckChange: function(e2) { this.chackbuilding = [], this.chackUnitList = [], this.houseList2 = [], this.manualReceipt.precinctId = e2.id, this.manualReceipt.precinctName = e2.name, this.manualReceipt.buildingId = "", this.manualReceipt.buildingName = "", this.manualReceipt.unitId = "", this.manualReceipt.unitName = "", this.manualReceipt.fsHouseId = "", this.getBuild(); }, getBuild: function() { var e2 = this; Object(x["x"])({ precinctId: this.manualReceipt.precinctId, projectCode: this.$store.state.community_uuid, projectName: this.$store.state.community_name, pageNumber: -1, pageSize: -1 }).then((function(t2) { e2.chackbuilding = t2.data; })); }, getUnit: function() { var e2 = this; Object(x["mb"])({ pageNumber: -1, pageSize: -1, projectCode: this.$store.state.community_uuid, buildingId: this.manualReceipt.buildingId }).then((function(t2) { e2.chackUnitList = t2.data.records; })); }, checkChangeBuild: function(e2) { this.chackUnitList = [], this.houseList2 = [], this.manualReceipt.buildingId = e2.id, this.manualReceipt.buildingName = e2.name, this.manualReceipt.unitId = "", this.manualReceipt.unitName = "", this.manualReceipt.fsHouseId = "", this.getUnit(); }, checkChangeUnit: function(e2) { var t2 = this; this.houseList2 = [], this.manualReceipt.unitId = e2.id, this.manualReceipt.unitName = e2.name, this.manualReceipt.fsHouseId = ""; var a2 = { projectCode: this.manualReceipt.projectUuid, precinctId: this.manualReceipt.precinctId, buildingId: this.manualReceipt.buildingId, unitId: this.manualReceipt.unitId, pageNumber: -1, pageSize: -1 }; Object(x["M"])(a2).then((function(e3) { 0 === e3.code && (t2.houseList2 = e3.data.records); })); }, filterHouseNum: function(e2) { if (e2.houseNum && e2.houseNum.length > 0) return e2.houseNum.join("/"); if (e2.expensesDetail && e2.expensesDetail.length > 0) { var t2 = e2.expensesDetail.map((function(e3) { return e3.houseNum; })); return Array.from(new Set(t2)).join("/"); } return "-"; }, manualClose: function() { this.$refs["manualReceipt"].resetFields(), this.receiptShow = false; }, checkStringInArray: function(e2, t2) { for (var a2 = 0; a2 < e2.length; a2++) if (e2[a2] === t2) return true; return false; }, submitDownload: function() { var e2 = this; this.$refs["manualReceipt"].validate((function(t2) { if (t2) { if (e2.addLoad = true, e2.manualReceipt.houseNum = e2.manualReceipt.projectName + "-" + e2.manualReceipt.precinctName + "-" + e2.manualReceipt.buildingName + "-" + e2.manualReceipt.unitName + "-" + e2.manualReceipt.fsHouseName, !e2.checkStringInArray(e2.houseNumList, e2.manualReceipt.houseNum)) return e2.$message.error("该房间没有对应的银行托收电子收据,请确认!"), void (e2.addLoad = false); Object(s["j"])(e2.manualReceipt).then((function(t3) { if (0 == t3.code) { var a2 = document.createElement("a"); a2.href = t3.data.receiptUrl, a2.setAttribute("download", ""), document.body.appendChild(a2), a2.click(), document.body.removeChild(a2), e2.$refs["manualReceipt"].resetFields(), e2.receiptShow = false, e2.addLoad = false; } })).catch((function() { e2.addLoad = false; })); } })); }, manualClick: function(e2) { if (this.manualReceipt.expensesNo = e2.expensesNo, e2.houseNum.length > 0) this.houseNumList = e2.houseNum; else { var t2 = e2.expensesDetail.map((function(e3) { return e3.houseNum; })); this.houseNumList = Array.from(new Set(t2)); } this.receiptShow = true; }, filterInvoiceOpen: function(e2) { return e2.expensesDetail.some((function(e3) { return 0 == e3.invoiceStatus || 1 == e3.invoiceStatus || 5 == e3.invoiceStatus; })); }, getlistData: function() { var e2 = this; this.listLoading = true, this.taskDate ? (this.query.startDate = this.taskDate[0], this.query.endDate = this.taskDate[1]) : (this.query.startDate = "", this.query.endDate = ""), this.query.projectUuid = this.$store.state.community_uuid; var t2 = JSON.parse(JSON.stringify(this.query)); t2.payType >= 100 && (t2.payTypeV2 = t2.payType, t2.payType = 7), Object(s["z"])(t2).then((function(t3) { 0 == t3.code && (e2.listTable = t3.data.records, e2.pageTotal = t3.data.rowsCount, e2.totalMoney = t3.data.totalAmount), sessionStorage.setItem(e2.$route.name, JSON.stringify(e2.query)); })), this.listLoading = false; }, payClick: function(e2) { this.payInfo = e2, this.scanVisible = true; }, getBack: function() { this.scanVisible = false, this.onSearch(); }, onSearch: function() { this.query.pageNumber = 1, this.getlistData(); }, handleSizeChange: function(e2) { this.query.pageSize = e2, this.query.pageNumber = 1, this.getlistData(); }, handleCurrentChange: function(e2) { this.query.pageNumber = e2, this.getlistData(); }, resetForm: function(e2) { this.taskDate = "", this.$refs[e2].resetFields(), this.query.pageNumber = 1, this.getlistData(); }, headClass: function() { return "text-align:center;background:#FAFAFA;"; }, viewOrder: function(e2) { this.$router.push({ path: "/viewInfo/salesOrderDetailes", query: { id: e2.id } }); }, 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", this.$refs.box.style.height = this.height; })); }, downloadReceipt: function(e2) { if (e2.receiptUrl) { var t2 = document.createElement("a"); t2.href = e2.receiptUrl, t2.click(), URL.revokeObjectURL(t2.href); } else console.log("".concat(e2.title, "_").concat(e2.expensesNo, "_无收据地址")); }, payCallback: function(e2) { var t2 = this; Object(s["A"])({ expensesNo: e2.expensesNo }).then((function(e3) { 0 == e3.code && (t2.$message({ message: "状态已更新" }), t2.getlistData()); })); }, invoiceClick: function(e2) { var t2 = "支付订单号: " + e2.transactionId; this.invoiceForm.remark = t2, this.salesInfo = e2, this.invoiceForm.id = e2.id, this.invoiceVisible = true, console.log(e2.expensesDetail, "val.expensesDetail"); var a2 = []; a2 = e2.expensesDetail.map((function(e3) { return e3.outNo; })), this.getOutNos(a2); }, getOutNos: function(e2) { var t2 = this; this.invoiceTypeList = [], Object(s["y"])({ outNos: e2, projectUuid: this.$store.state.community_uuid }).then((function(e3) { 0 == e3.code && e3.data.length > 0 && (e3.data.forEach((function(e4) { var a2; e4.invoiceType && (a2 = t2.invoiceTypeList).push.apply(a2, O(e4.invoiceType.split(","))); })), t2.invoiceTypeList = O(new Set(t2.invoiceTypeList)), console.log(t2.invoiceTypeList, "this.invoiceTypeList"), t2.invoiceTypeShow = t2.invoiceType.filter((function(e4) { if (t2.invoiceTypeList.includes(e4.value)) return e4; })), console.log(t2.invoiceTypeShow, "this.invoiceTypeShow")); })); }, listSearch: function() { var e2 = this, t2 = this.codeList.filter((function(t3) { return t3.name.includes(e2.searchKey); })); this.companyList = t2; }, cellStyle: function() { return "cursor:pointer"; }, clickSelect: function(e2) { this.invoiceForm.title = e2.title, this.invoiceForm.taxNo = e2.taxNo, this.$refs["listPop"].doClose(); }, invoiceClose: function() { this.$refs["invoiceForm"].resetFields(), this.invoiceVisible = false; }, submitAdd: function() { var e2 = this; this.$refs["invoiceForm"].validate((function(t2) { t2 && (e2.addLoad = true, e2.invoiceForm.businessNo = e2.salesInfo.expensesNo, e2.invoiceForm.createId = e2.$store.state.user.userInfo.memberId, e2.invoiceForm.createName = e2.$store.state.user.userInfo.memberName, e2.invoiceForm.projectName = e2.$store.state.community_name, e2.invoiceForm.projectUuid = e2.$store.state.community_uuid, e2.invoiceForm.source = 1, Object(s["x"])(e2.invoiceForm).then((function(t3) { 0 == t3.code && (e2.$message({ message: "开票操作成功", type: "success" }), e2.invoiceClose(), e2.getlistData()), e2.addLoad = false; })).catch((function() { e2.addLoad = false; }))); })); }, refreshClick: function() { var e2 = this; this.refreshDate && (this.refreshLoad = true, Object(s["d"])({ projectUuid: this.$store.state.community_uuid, startDate: "".concat(this.refreshDate, " 00:00:00"), endDate: "".concat(this.refreshDate, " 23:59:59") }).then((function(t2) { 0 == t2.code ? (e2.$message.success("状态刷新成功!"), e2.refreshEsc(), thie.getlistData()) : e2.refreshLoad = false; })).catch((function(t2) { e2.refreshLoad = false; }))); }, refreshEsc: function() { this.refreshLoad = false, this.refreshDate = "", this.refreshShow = false; } } }, $ = F, T = (a("b221"), Object(_["a"])($, N, j, false, null, "23661348", null)), L = T.exports, B = function() { var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2; return a2("div", { staticClass: "bgHeight" }, [a2("div", { ref: "box", staticClass: "searchStys transition_dom" }, [a2("el-form", { ref: "query", attrs: { model: e2.query } }, [a2("div", { ref: "form_box", staticClass: "searchBar" }, [a2("div", { staticClass: "searchInput" }, [a2("el-row", { attrs: { gutter: 20 } }, [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "precinctId" } }, [a2("el-select", { staticClass: "form-item-content", attrs: { filterable: "", clearable: "", placeholder: "管理区名称" }, on: { change: e2.changeArea }, 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)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "buildingId" } }, [a2("el-select", { staticClass: "form-item-content", 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)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "unitId" } }, [a2("el-select", { staticClass: "form-item-content", 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 a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } }); })), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [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("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "name" } }, [a2("el-input", { attrs: { placeholder: "托收人", clearable: "" }, model: { value: e2.query.name, callback: function(t3) { e2.$set(e2.query, "name", t3); }, expression: "query.name" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "mobile" } }, [a2("el-input", { attrs: { placeholder: "手机号", clearable: "" }, model: { value: e2.query.mobile, callback: function(t3) { e2.$set(e2.query, "mobile", t3); }, expression: "query.mobile" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "bankNo" } }, [a2("el-input", { attrs: { placeholder: "银行账号", clearable: "" }, model: { value: e2.query.bankNo, callback: function(t3) { e2.$set(e2.query, "bankNo", t3); }, expression: "query.bankNo" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "status" } }, [a2("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.agreementStatus, (function(e3) { return [a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } })]; }))], 2)], 1)], 1)], 1)], 1), e2._v(" "), a2("div", { staticClass: "searchBtn" }, [a2("el-form-item", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) { return e2.resetForm("query"); } } }, [e2._v("重置")]), e2._v(" "), a2("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 || "80px" == e2.height ? e2._e() : a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: e2.upAndDown } }, [e2._v("\n 展开"), a2("i", { staticClass: "el-icon-arrow-down" })]), e2._v(" "), e2.is_show && "80px" != e2.height ? a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: e2.upAndDown } }, [e2._v("\n 收起"), a2("i", { staticClass: "el-icon-arrow-up" })]) : e2._e()], 1)], 1)])])], 1), e2._v(" "), a2("div", { staticClass: "tableTitle" }, [a2("div", { staticClass: "planLst" }, [a2("span", { staticClass: "planTitle" }, [e2._v("托收人列表")]), e2._v(" "), a2("div", { staticClass: "planBtn" }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "success", size: "small" }, on: { click: e2.downloadExcel } }, [e2._v("下载Excel")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { size: "small" }, on: { click: e2.downloadTem } }, [e2._v("下载托收人导入模板")]), e2._v(" "), a2("el-upload", { ref: "upload", attrs: { "auto-upload": true, "show-file-list": false, accept: ".xls,.xlsx", "http-request": e2.importData, action: "" } }, [a2("el-button", { attrs: { size: "small", type: "primary" } }, [e2._v("导入银行托收人")])], 1), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "danger", size: "small" }, on: { click: function(t3) { e2.collectionVisible = true; } } }, [e2._v("我要银行托收")])], 1)])]), e2._v(" "), a2("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" } }, [a2("el-table-column", { attrs: { label: "#", align: "center", "min-width": "50", fixed: "left", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v(e2._s(t3.$index + (e2.query.pageNumber - 1) * e2.query.pageSize + 1))]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "220", label: "房间号", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.precinctName + "-" + t3.row.buildingName + "-" + t3.row.unitName + "-" + t3.row.roomNum))])]; } }]) }), 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 [a2("span", [e2._v(e2._s(t3.row.number || "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "产权人", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.realName || "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "托收人", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.name))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "140", label: "联系电话", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.mobile || "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "180", label: "开户行", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.bank || "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "200", label: "银行账号", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.bankNo || "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "200", label: "不支持托收人", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [t3.row.noDebtorBy && t3.row.noDebtorMobile ? a2("span", [e2._v(e2._s(t3.row.noDebtorBy + "/" + t3.row.noDebtorMobile))]) : a2("span", [e2._v("无")])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "到期日期", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.dueDate))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "签署日期", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.signDate))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "生效日期", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.effectDate))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "协议状态", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(e2._f("getItemType")(t3.row.status, e2.agreementStatus)))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "开户人证件号", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.accountNum || "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { label: "操作", "min-width": "170", align: "center", fixed: "right" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text", disabled: "" } }, [e2._v("查看")]), e2._v(" "), 1 == t3.row.status || 3 == t3.row.status ? a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(a3) { return e2.collectionStr(t3.row); } } }, [e2._v("启用")]) : e2._e(), e2._v(" "), 2 == t3.row.status ? a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(a3) { return e2.collectionEnd(t3.row); } } }, [e2._v("禁用")]) : e2._e(), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(a3) { return e2.showCollectionUserDialog(t3.row); } } }, [e2._v("修改")])]; } }]) })], 1), e2._v(" "), a2("div", { staticClass: "pagination" }, [a2("Pagination", { attrs: { total: e2.pageTotal }, on: { handleCurrentChange: e2.handleCurrentChange, handleSizeChange: e2.handleSizeChange } })], 1), e2._v(" "), a2("el-dialog", { attrs: { title: "我要托收", visible: e2.collectionVisible, "close-on-click-modal": false, "close-on-press-escape": false, width: "30%", "before-close": e2.dialogClose }, on: { "update:visible": function(t3) { e2.collectionVisible = t3; } } }, [a2("div", { staticClass: "doFormContent" }, [a2("el-form", { ref: "doForm", attrs: { model: e2.doForm, rules: e2.doRules, "label-width": "100px" } }, [a2("el-form-item", { attrs: { label: "托收方案", prop: "type" } }, [a2("el-select", { model: { value: e2.doForm.type, callback: function(t3) { e2.$set(e2.doForm, "type", t3); }, expression: "doForm.type" } }, e2._l(e2.collectionTypeList, (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: "bank" } }, [a2("el-select", { attrs: { filterable: "" }, model: { value: e2.doForm.bank, callback: function(t3) { e2.$set(e2.doForm, "bank", t3); }, expression: "doForm.bank" } }, [a2("el-option", { attrs: { label: "全部", value: -1 } }), e2._v(" "), e2._l(e2.bankList, (function(e3) { return a2("el-option", { key: e3.bankNo, attrs: { label: e3.bank, value: e3.bankNo } }); }))], 2)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "费用范围", prop: "billType" } }, [a2("el-select", { model: { value: e2.doForm.billType, callback: function(t3) { e2.$set(e2.doForm, "billType", t3); }, expression: "doForm.billType" } }, e2._l(e2.collectionFeeList, (function(e3) { return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } }); })), 1)], 1), e2._v(" "), 4 == e2.doForm.billType ? a2("el-form-item", { attrs: { label: "截止日期", prop: "payDeadline" } }, [a2("el-date-picker", { attrs: { format: "yyyy-MM-dd HH:mm:ss", "value-format": "yyyy-MM-dd HH:mm:ss", "default-time": "23:59:59", type: "datetime", placeholder: "选择日期" }, model: { value: e2.doForm.payDeadline, callback: function(t3) { e2.$set(e2.doForm, "payDeadline", t3); }, expression: "doForm.payDeadline" } })], 1) : e2._e(), e2._v(" "), a2("el-form-item", { attrs: { label: "收费项", prop: "chargeId" } }, [a2("el-select", { attrs: { placeholder: "收费项", filterable: "" }, on: { change: e2.selectChange }, model: { value: e2.doForm.chargeId, callback: function(t3) { e2.$set(e2.doForm, "chargeId", t3); }, expression: "doForm.chargeId" } }, [a2("el-option", { attrs: { label: "全部", value: -1 } }), e2._v(" "), e2._l(e2.chargeItemList, (function(e3) { return a2("el-option", { key: e3.fsChargesId, attrs: { label: e3.name, value: e3.fsChargesId } }); }))], 2)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "结算账户名称" } }, [a2("el-input", { attrs: { disabled: "", value: e2.installInfo.bankName } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "结算银行账号" } }, [a2("el-input", { attrs: { disabled: "", value: e2.installInfo.bankNo } })], 1), e2._v(" "), a2("el-form-item", [a2("el-button", { attrs: { type: "primary", loading: e2.offerload }, on: { click: e2.cellectionOffer } }, [e2._v("报盘")]), e2._v(" "), a2("el-button", { on: { click: e2.dialogClose } }, [e2._v("取消")])], 1)], 1)], 1)]), e2._v(" "), a2("el-dialog", { attrs: { title: "修改托收人信息", visible: e2.updataCollectionDialog, "close-on-click-modal": false, width: "50%" }, on: { "update:visible": function(t3) { e2.updataCollectionDialog = t3; }, close: e2.updataClose } }, [a2("div", [a2("el-form", { ref: "updataForm", staticClass: "demo-updataForm", attrs: { model: e2.updataForm, rules: e2.updataRules, "label-width": "140px" } }, [a2("el-form-item", { attrs: { label: "房屋号:" } }, [a2("div", [e2._v("\n " + e2._s(e2.updataForm.precinctName + "-" + e2.updataForm.precinctName + "-" + e2.updataForm.unitName + "-" + e2.updataForm.roomNum) + "\n ")])]), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 11 } }, [a2("el-form-item", { attrs: { label: "协议号:", prop: "number" } }, [a2("el-input", { attrs: { clearable: "" }, model: { value: e2.updataForm.number, callback: function(t3) { e2.$set(e2.updataForm, "number", "string" === typeof t3 ? t3.trim() : t3); }, expression: "updataForm.number" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 11 } }, [a2("el-form-item", { attrs: { label: "客户名称:", prop: "name" } }, [a2("el-input", { attrs: { clearable: "" }, model: { value: e2.updataForm.name, callback: function(t3) { e2.$set(e2.updataForm, "name", "string" === typeof t3 ? t3.trim() : t3); }, expression: "updataForm.name" } })], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 11 } }, [a2("el-form-item", { attrs: { label: "联系电话:", prop: "mobile" } }, [a2("el-input", { attrs: { clearable: "", maxlength: "11" }, model: { value: e2.updataForm.mobile, callback: function(t3) { e2.$set(e2.updataForm, "mobile", "string" === typeof t3 ? t3.trim() : t3); }, expression: "updataForm.mobile" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 11 } }, [a2("el-form-item", { attrs: { label: "开户行:", prop: "bank" } }, [a2("el-input", { attrs: { clearable: "" }, model: { value: e2.updataForm.bank, callback: function(t3) { e2.$set(e2.updataForm, "bank", "string" === typeof t3 ? t3.trim() : t3); }, expression: "updataForm.bank" } })], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 11 } }, [a2("el-form-item", { attrs: { label: "银行行别:", prop: "bankNum" } }, [a2("el-input", { attrs: { clearable: "" }, model: { value: e2.updataForm.bankNum, callback: function(t3) { e2.$set(e2.updataForm, "bankNum", "string" === typeof t3 ? t3.trim() : t3); }, expression: "updataForm.bankNum" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 11 } }, [a2("el-form-item", { attrs: { label: "账号:", prop: "bankNo" } }, [a2("el-input", { attrs: { clearable: "" }, model: { value: e2.updataForm.bankNo, callback: function(t3) { e2.$set(e2.updataForm, "bankNo", "string" === typeof t3 ? t3.trim() : t3); }, expression: "updataForm.bankNo" } })], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 11 } }, [a2("el-form-item", { attrs: { label: "不支持托收人:", prop: "exclude" } }, [a2("el-select", { attrs: { placeholder: "请选择不支持的托收人", clearable: "", multiple: "", "collapse-tags": "", "value-key": "debtorBy" }, model: { value: e2.updataForm.exclude, callback: function(t3) { e2.$set(e2.updataForm, "exclude", t3); }, expression: "updataForm.exclude" } }, e2._l(e2.userList, (function(e3) { return a2("el-option", { key: e3.debtorBy, attrs: { label: e3.debtorBy + "/" + (e3.debtorMobile || ""), value: e3 } }); })), 1)], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 11 } }, [a2("el-form-item", { attrs: { label: "到期日期:", prop: "dueDate" } }, [a2("el-date-picker", { attrs: { format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", type: "date", placeholder: "选择日期", clearable: "" }, model: { value: e2.updataForm.dueDate, callback: function(t3) { e2.$set(e2.updataForm, "dueDate", t3); }, expression: "updataForm.dueDate" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 11 } }, [a2("el-form-item", { attrs: { label: "签署日期:", prop: "signDate" } }, [a2("el-date-picker", { attrs: { format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", type: "date", placeholder: "选择日期", clearable: "" }, model: { value: e2.updataForm.signDate, callback: function(t3) { e2.$set(e2.updataForm, "signDate", t3); }, expression: "updataForm.signDate" } })], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 11 } }, [a2("el-form-item", { attrs: { label: "生效日期:", prop: "effectDate" } }, [a2("el-date-picker", { attrs: { format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", type: "date", placeholder: "选择日期", clearable: "" }, model: { value: e2.updataForm.effectDate, callback: function(t3) { e2.$set(e2.updataForm, "effectDate", t3); }, expression: "updataForm.effectDate" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 11 } }, [a2("el-form-item", { attrs: { label: "协议状态:", prop: "status" } }, [a2("el-select", { attrs: { placeholder: "请选择协议状态", clearable: "" }, model: { value: e2.updataForm.status, callback: function(t3) { e2.$set(e2.updataForm, "status", t3); }, expression: "updataForm.status" } }, e2._l(e2.agreementStatus, (function(e3) { return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } }); })), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 11 } }, [a2("el-form-item", { attrs: { label: "开户人证件号:", prop: "accountNum" } }, [a2("div", { staticStyle: { display: "flex", "align-items": "center" } }, [a2("el-input", { attrs: { clearable: "" }, model: { value: e2.updataForm.accountNum, callback: function(t3) { e2.$set(e2.updataForm, "accountNum", "string" === typeof t3 ? t3.trim() : t3); }, expression: "updataForm.accountNum" } }), e2._v(" "), a2("el-tooltip", { staticClass: "item", staticStyle: { "margin-left": "10px" }, attrs: { effect: "dark", placement: "right" } }, [a2("div", { attrs: { slot: "content" }, slot: "content" }, [a2("div", [e2._v("\n 1.\n 当托收方案为“银结通”时,这个字段定义为“客户编号”,需要联系银结通获取客户编号进行录入;\n ")]), e2._v(" "), a2("div", [e2._v("\n 2.\n 当托收方案为非“银结通”时可以随意填写数据,没有其他逻辑。\n ")])]), e2._v(" "), a2("i", { staticClass: "el-icon-question" })])], 1)])], 1)], 1)], 1)], 1), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: function(t3) { e2.updataCollectionDialog = false; } } }, [e2._v("取 消")]), e2._v(" "), a2("el-button", { attrs: { type: "primary", disabled: e2.updataBtnLoading, loading: e2.updataBtnLoading }, on: { click: function(t3) { return e2.updataCollectionFun("updataForm"); } } }, [e2._v("确 定")])], 1)])], 1); }, R = [], U = a("4431"), M = a("ce63"), P = a("a56b"), H = { components: { Pagination: l["a"] }, data: function() { var e2 = function(e3, t2, a2) { /^1\d{10}$/.test(t2) ? a2() : a2(new Error("手机号格式错误")); }; return { is_show: true, agreementStatus: u["l"], collectionFeeList: u["F"], collectionTypeList: u["H"], bankList: P, height: "", collectionVisible: false, listLoading: false, listTable: [], areaOptions: [], building: [], unit: [], chargeItemList: [], pageTotal: 0, query: { pageNumber: 1, pageSize: 10, precinctId: "", buildingId: "", unitId: "", roomNum: "", name: "", mobile: "", bankNo: "", status: "" }, offerload: false, doForm: { type: 1, bank: -1, billType: 1, payDeadline: "", chargeId: -1, chargeName: "" }, doRules: { type: { required: true, message: "请选择托收方案", trigger: "change" }, bank: { required: true, message: "请选择托收银行", trigger: "change" }, billType: { required: true, message: "请选择费用范围", trigger: "change" }, payDeadline: { required: true, message: "请选择截止日期", trigger: "change" }, chargeId: { required: true, message: "请选择收费项", trigger: "change" } }, installInfo: {}, updataCollectionDialog: false, updataForm: { uuid: "", projectUuid: "", houseId: null, number: "", name: "", mobile: "", bank: "", bankNum: "", bankNo: "", dueDate: "", signDate: "", effectDate: "", status: null, createBy: null, createDate: null, updateDate: null, roomNum: null, houseNo: null, buildingId: null, buildingName: null, unitId: null, unitName: null, precinctId: null, precinctName: null, accountNum: null, exclude: [] }, updataRules: { number: { required: true, message: "请输入协议号", trigger: "blur" }, name: { required: true, message: "请输入客户名称", trigger: "blur" }, mobile: [{ required: true, message: "请输入联系电话", trigger: "blur" }, { validator: e2, trigger: "blur" }], bank: { required: true, message: "请输入开户行", trigger: "blur" }, bankNum: { required: true, message: "请输入银行行别", trigger: "blur" }, bankNo: { required: true, message: "请输入银行账号", trigger: "blur" }, effectDate: { required: true, message: "请选择生效日期", trigger: "change" }, signDate: { required: true, message: "请选择签署日期", trigger: "change" }, dueDate: { required: true, message: "请选择到期日期", trigger: "change" }, accountNum: { required: true, message: "请输入开户人证件号", trigger: "blur" } }, updataBtnLoading: false, userList: [] }; }, mounted: function() { this.getAreaOptions(), this.getChargeItemsList(), this.getInstallInfo(), 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.getBuild({ buildingId: this.query.buildingId }), this.query.unitId = Number(this.$route.query.unitId), this.getUnit({ unitId: this.query.unitId }), this.query.roomNum = this.$route.query.roomNum, this.getlistData()) : this.getlistData(); }, created: function() { this.getRealHeight(); }, methods: { getlistData: function() { var e2 = this; this.listLoading = true, this.query.projectUuid = this.$store.state.community_uuid, Object(U["i"])(this.query).then((function(t2) { 0 == t2.code && (e2.listTable = t2.data.records, e2.pageTotal = t2.data.rowsCount); })), this.listLoading = false; }, getChargeItemsList: function() { var e2 = this, t2 = { pageNumber: -1, pageSize: -1, projectUuid: this.$store.state.community_uuid }; Object(M["b"])(t2).then((function(t3) { e2.chargeItemList = t3.data.records; })); }, getAreaOptions: function() { var e2 = this, t2 = { projectUuid: this.$store.state.community_uuid }; Object(x["f"])(t2).then((function(t3) { 0 === t3.code && (e2.areaOptions = t3.data); })); }, getInstallInfo: function() { var e2 = this; Object(U["e"])({ uuid: this.$store.state.community_uuid }).then((function(t2) { e2.installInfo = t2.data; })); }, changeArea: function(e2) { this.getBuild(e2); }, getBuild: function(e2) { var t2 = this; Object(x["x"])({ precinctId: e2.precinctId, projectCode: this.$store.state.community_uuid }).then((function(e3) { t2.building = e3.data; })); }, changeBuild: function(e2) { this.getUnit(e2); }, getUnit: function(e2) { var t2 = this; Object(x["mb"])({ pageNumber: -1, pageSize: -1, projectCode: this.$store.state.community_uuid, buildingId: e2.buildingId }).then((function(e3) { t2.unit = e3.data.records; })); }, onSearch: function() { this.query.pageNumber = 1, this.getlistData(); }, resetForm: function(e2) { this.query.pageNumber = 1, this.getlistData(); }, handleSizeChange: function(e2) { this.query.pageSize = e2.limit, this.query.pageNumber = 1, this.getlistData(); }, handleCurrentChange: function(e2) { this.query.pageNumber = e2.currentPage, this.getlistData(); }, 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", this.$refs.box.style.height = this.height; })); }, downloadTem: function() { var e2 = "托收人导入模板_".concat((/* @__PURE__ */ new Date()).getTime(), ".xls"); Object(U["c"])({ projectUuid: this.$store.state.community_uuid }).then((function(t2) { var a2 = new Blob([t2], { type: "application/vnd.ms-excel;charset=UTF-8" }); if (window.navigator.msSaveOrOpenBlob) navigator.msSaveBlob(a2); else { var n2 = document.createElement("a"); n2.download = e2, n2.href = URL.createObjectURL(a2), n2.click(), URL.revokeObjectURL(n2.href), document.body.removeChild(n2); } })).catch((function(e3) { })); }, downloadExcel: function() { this.query.projectUuid = this.$store.state.community_uuid; var e2 = "托收人信息列表_".concat((/* @__PURE__ */ new Date()).getTime(), ".xls"); Object(U["d"])(this.query).then((function(t2) { var a2 = new Blob([t2], { type: "application/vnd.ms-excel;charset=UTF-8" }); if (window.navigator.msSaveOrOpenBlob) navigator.msSaveBlob(a2); else { var n2 = document.createElement("a"); n2.download = e2, n2.href = URL.createObjectURL(a2), n2.click(), URL.revokeObjectURL(n2.href), document.body.removeChild(n2); } })); }, importData: function(e2) { var t2 = this; console.log(e2); var a2 = e2.file, n2 = a2.size / 1024 / 1024 < 10, r2 = a2.name.lastIndexOf("."), o2 = a2.name.length, i2 = a2.name.substring(r2 + 1, o2); if ("xls" == i2 || "xlsx" == i2) if (n2) { var l2 = new FormData(); this.fileName = a2.name, l2.append("file", a2, a2.name), l2.append("appId", 2); var s2 = { projectUuid: this.$store.state.community_uuid, projectName: this.$store.state.community_name }; Object(U["g"])(l2, s2).then((function(e3) { console.log(e3); var a3 = e3.headers, n3 = e3.data; if (a3.count) if (a3.count.includes(-1)) t2.teanslateResBlob(n3); else { var r3 = JSON.parse(a3.count); r3 && (0 == r3.code && (r3.errorCount > 0 ? (t2.$message({ message: "上传结果:总条数".concat(r3.totalCount, "条,成功").concat(r3.successCount, "条,失败").concat(r3.errorCount, "条。"), type: "info" }), t2.downloadImportDetailes(n3)) : t2.$message({ message: "导入成功", type: "success" })), t2.query.pageNumber = 1, t2.getlistData()); } else t2.teanslateResBlob(n3); })).catch((function() { })); } else this.$message("上传文件大小不能超过10M!"); else this.$message("只能上传Excel文件!"); }, downloadImportDetailes: function(e2) { var t2 = "application/vnd.ms-excel", a2 = new Blob([e2], { type: t2 }), n2 = "托收人导入失败信息.xls"; if (window.navigator.msSaveOrOpenBlob) navigator.msSaveBlob(a2); else { var r2 = document.createElement("a"); r2.download = n2, r2.style.display = "none", r2.href = URL.createObjectURL(a2), document.body.appendChild(r2), r2.click(), document.body.removeChild(r2); } }, teanslateResBlob: function(e2) { var t2 = this, a2 = new FileReader(); a2.readAsText(e2), a2.onload = function() { var e3 = this.result; e3 && (e3 = JSON.parse(e3), -1 === e3.code && t2.$message({ message: e3.message, type: "error" })); }; }, cellectionOffer: function() { var e2 = this; this.$refs["doForm"].validate((function(t2) { if (t2) { e2.offerload = true, console.log(e2.doForm); var a2 = { type: e2.doForm.type, bank: -1 != e2.doForm.bank ? e2.doForm.bank : "", billType: e2.doForm.billType, payDeadline: 4 == e2.doForm.billType ? e2.doForm.payDeadline : "", chargeId: -1 != e2.doForm.chargeId ? e2.doForm.chargeId : "", chargeName: -1 != e2.doForm.chargeId ? e2.doForm.chargeName : "" }; a2.projectUuid = e2.$store.state.community_uuid, a2.memberId = e2.$store.state.user.userInfo.id, a2.memberName = e2.$store.state.user.userInfo.memberName, Object(U["b"])(a2).then((function(t3) { t3 && 0 == t3.code ? (e2.$message({ message: "托收成功!", type: "success" }), e2.dialogClose(), e2.offerload = false) : e2.offerload = false; })).catch((function() { e2.offerload = false; })); } })); }, selectChange: function(e2) { if (-1 != e2) { var t2 = this.chargeItemList.filter((function(t3) { return t3.fsChargesId === e2; })); this.doForm.chargeId = t2[0].fsChargesId, this.doForm.chargeName = t2[0].name; } else this.doForm.chargeId = -1, this.doForm.chargeName = ""; }, dialogClose: function() { this.$refs["doForm"].resetFields(), this.collectionVisible = false; }, collectionStr: function(e2) { var t2 = this; this.$confirm("此操作将启用该托收人信息, 是否继续?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() { t2.strAndEnd(e2, 2); })).catch((function() { })); }, collectionEnd: function(e2) { var t2 = this; this.$confirm("此操作将禁用该托收人信息, 是否继续?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() { t2.strAndEnd(e2, 3); })).catch((function() { })); }, strAndEnd: function(e2, t2) { var a2 = this, n2 = { id: e2.id, status: t2 }; Object(U["n"])(n2).then((function(e3) { 2 == t2 ? a2.$message({ type: "success", message: "启用成功!" }) : 3 == t2 && a2.$message({ type: "success", message: "禁用成功!" }), a2.getlistData(); })); }, showCollectionUserDialog: function(e2) { this.updataForm = Object.assign(this.updataForm, e2), this.updataForm.exclude = [], this.getHouseUserList(e2), this.updataCollectionDialog = true; }, getHouseUserList: function(e2) { var t2 = this; Object(U["f"])({ houseId: e2.houseId }).then((function(a2) { if (0 == a2.code && (t2.userList = a2.data, e2.noDebtorBy)) { var n2 = e2.noDebtorBy.split(","), r2 = []; n2.map((function(e3) { var a3 = t2.userList.filter((function(t3) { return e3 == t3.debtorBy; })); r2.push({ debtorBy: a3[0].debtorBy, debtorMobile: a3[0].debtorMobile }); })), t2.updataForm.exclude = r2; } })); }, updataCollectionFun: function(e2) { var t2 = this; this.$refs[e2].validate((function(e3) { if (e3) { t2.updataBtnLoading = true; var a2 = t2.updataForm, n2 = [], r2 = []; a2.exclude.length > 0 ? (a2.exclude.forEach((function(e4) { n2.push(e4.debtorBy), r2.push(e4.debtorMobile); })), a2.noDebtorBy = n2.toString(), a2.noDebtorMobile = r2.toString()) : (a2.noDebtorBy = "", a2.noDebtorMobile = ""), Object(U["l"])(a2).then((function(e4) { 0 === e4.code ? (t2.$message({ type: "success", message: "修改成功!" }), t2.getlistData(), t2.updataClose()) : t2.$message({ type: "error", message: "修改失败!" }); })).catch((function(e4) { t2.updataBtnLoading = false; })); } })); }, updataClose: function() { this.$refs.updataForm.resetFields(), this.updataBtnLoading = false, this.updataCollectionDialog = false; }, headClass: function() { return "text-align:center;background:#FAFAFA;"; } } }, z = H, E = (a("4e3d"), Object(_["a"])(z, B, R, false, null, "00fe6a0c", null)), V = E.exports, J = function() { var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2; return a2("div", { staticClass: "bgHeight" }, [a2("div", { directives: [{ name: "show", rawName: "v-show", value: e2.list, expression: "list" }] }, [a2("div", { ref: "box", staticClass: "searchStys transition_dom" }, [a2("el-form", { ref: "query", attrs: { model: e2.query } }, [a2("div", { ref: "form_box", staticClass: "searchBar" }, [a2("div", { staticClass: "searchInput" }, [a2("el-row", { attrs: { gutter: 20 } }, [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "memberName" } }, [a2("el-input", { attrs: { placeholder: "托收发起人", clearable: "" }, model: { value: e2.query.memberName, callback: function(t3) { e2.$set(e2.query, "memberName", t3); }, expression: "query.memberName" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "number" } }, [a2("el-input", { attrs: { placeholder: "托收批次号", clearable: "" }, model: { value: e2.query.number, callback: function(t3) { e2.$set(e2.query, "number", t3); }, expression: "query.number" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "type" } }, [a2("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.collectionTypeList, (function(e3) { return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } }); })), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "status" } }, [a2("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.collectionStatus, (function(e3) { return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } }); })), 1)], 1)], 1)], 1)], 1), e2._v(" "), a2("div", { staticClass: "searchBtn" }, [a2("el-form-item", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) { return e2.resetForm("query"); } } }, [e2._v("重置")]), e2._v(" "), a2("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 || "80px" == e2.height ? e2._e() : a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: e2.upAndDown } }, [e2._v("\n 展开"), a2("i", { staticClass: "el-icon-arrow-down" })]), e2._v(" "), e2.is_show && "80px" != e2.height ? a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: e2.upAndDown } }, [e2._v("\n 收起"), a2("i", { staticClass: "el-icon-arrow-up" })]) : e2._e()], 1)], 1)])])], 1), e2._v(" "), e2._m(0), e2._v(" "), a2("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" } }, [a2("el-table-column", { attrs: { label: "#", align: "center", "min-width": "50", fixed: "left", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v(e2._s(t3.$index + (e2.query.pageNumber - 1) * e2.query.pageSize + 1))]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", fixed: "left", "min-width": "130", label: "托收批次号", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.chargeNo || "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "托收方案", "min-width": "80", fixed: "left", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(e2._f("getItemType")(t3.row.type, e2.collectionTypeList)))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "80", label: "发起人", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.memberName || "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "托收发起时间", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.createTime || "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "结算账户名称", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.bankName || "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "140", label: "结算银行账号", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.bankNo || "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "托收批次", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.number || "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "80", label: "托收时间", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.outDate || "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "回盘操作人", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.backMemberName || "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "80", label: "状态", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(e2._f("getItemType")(t3.row.status, e2.collectionStatus)))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { label: "操作", width: "260", align: "center", fixed: "right" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("div", { staticClass: "btnTem" }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(a3) { return e2.offerClick(t3.row); } } }, [e2._v("下载报盘")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(a3) { return e2.viewClick(t3.row); } } }, [e2._v("查看")]), e2._v(" "), 1 == t3.row.status ? a2("el-button", { attrs: { loading: e2.disBack, type: "text" }, on: { click: function(a3) { return e2.beforeUpload(t3.row); } } }, [e2._v("上传回盘")]) : e2._e(), e2._v(" "), a2("el-upload", { directives: [{ name: "show", rawName: "v-show", value: false, expression: "false" }], ref: "upload", attrs: { "auto-upload": true, "show-file-list": false, "http-request": e2.backClick, action: "", loading: e2.disBack } }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], staticClass: "upload-button", attrs: { type: "text" } }, [e2._v("上传回盘")])], 1), e2._v(" "), 1 == t3.row.status ? a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(a3) { return e2.waiverClick(t3.row); } } }, [e2._v("放弃回盘")]) : e2._e()], 1)]; } }]) })], 1), e2._v(" "), a2("div", { staticClass: "pagination" }, [a2("Pagination", { attrs: { total: e2.pageTotal }, on: { handleCurrentChange: e2.handleCurrentChange, handleSizeChange: e2.handleSizeChange } })], 1)], 1), e2._v(" "), a2("detail", { ref: "detail", attrs: { show: e2.detail }, on: { back: e2.detailBack } })], 1); }, Q = [function() { var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2; return a2("div", { staticClass: "tableTitle" }, [a2("div", { staticClass: "planLst" }, [a2("span", { staticClass: "planTitle" }, [e2._v("托收记录列表")])])]); }], Z = function() { var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2; return e2.show ? a2("div", [a2("el-page-header", { attrs: { content: "托收详情" }, on: { back: e2.goBack } }), e2._v(" "), a2("div", { staticClass: "searchBar" }, [a2("div", { staticClass: "searchInput" }, [a2("el-form", { ref: "query", attrs: { model: e2.query } }, [a2("el-row", { attrs: { gutter: 20 } }, [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "precinctId" } }, [a2("el-select", { staticClass: "form-item-content", attrs: { filterable: "", clearable: "", placeholder: "管理区名称" }, on: { change: e2.changeArea }, 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)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "buildingId" } }, [a2("el-select", { staticClass: "form-item-content", 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)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "unitId" } }, [a2("el-select", { staticClass: "form-item-content", 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 a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } }); })), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [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("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "counterOfferName" } }, [a2("el-input", { attrs: { placeholder: "托收人", clearable: "" }, model: { value: e2.query.counterOfferName, callback: function(t3) { e2.$set(e2.query, "counterOfferName", t3); }, expression: "query.counterOfferName" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "bank" } }, [a2("el-input", { attrs: { placeholder: "开户行", clearable: "" }, model: { value: e2.query.bank, callback: function(t3) { e2.$set(e2.query, "bank", t3); }, expression: "query.bank" } })], 1)], 1)], 1)], 1)], 1), e2._v(" "), a2("div", { staticClass: "searchBtn" }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) { return e2.resetForm("query"); } } }, [e2._v("重置")])], 1)]), e2._v(" "), a2("el-descriptions", { attrs: { title: "托收信息" } }, [a2("el-descriptions-item", { attrs: { label: "托收批次" } }, [e2._v(e2._s(e2.info.chargeNo || "-"))]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "托收时间" } }, [e2._v(e2._s(e2.info.createTime || "-"))]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "回盘结果" } }, [e2._v(e2._s(e2._f("getItemType")(e2.info.status, e2.collectionStatus)))]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "结算账户名称" } }, [e2._v(e2._s(e2.info.bankName || "-"))]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "结算银行账号" } }, [e2._v(e2._s(e2.info.bankNo || "-"))]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "托收发起人" } }, [e2._v(e2._s(e2.info.memberName || "-"))])], 1), e2._v(" "), a2("div", [a2("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" } }, [a2("el-table-column", { attrs: { label: "#", align: "center", "min-width": "50", fixed: "left", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v(e2._s(t3.$index + (e2.query.pageNumber - 1) * e2.query.pageSize + 1))]; } }], null, false, 3355511203) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "房间号", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.precinctName + "-" + t3.row.precinctName + "-" + t3.row.unitName + "-" + t3.row.roomNum))])]; } }], null, false, 3068716099) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "应收订单号", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.chargeNo || "-"))])]; } }], null, false, 3471611920) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "应收状态", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(e2._f("getItemType")(t3.row.chargeStatus, e2.paymentStatus)))])]; } }], null, false, 3799846440) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "托收人", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.counterOfferName || "-"))])]; } }], null, false, 1554764416) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "托收金额", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(e2._f("formatMoney")(t3.row.amount)))])]; } }], null, false, 211358976) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "开户行", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.bank || "-"))])]; } }], null, false, 2506297037) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", label: "银行账号", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.bankNo || "-"))])]; } }], null, false, 1693875116) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", label: "协议号", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.bankNumber || "-"))])]; } }], null, false, 4095974830) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "金额(不含税)", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(e2._f("formatMoney")(t3.row.amount)))])]; } }], null, false, 211358976) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "备注", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.remark || "-"))])]; } }], null, false, 1634639913) })], 1)], 1), e2._v(" "), a2("div", { staticClass: "pagination" }, [a2("Pagination", { attrs: { total: e2.pageTotal }, on: { handleCurrentChange: e2.handleCurrentChange, handleSizeChange: e2.handleSizeChange } })], 1)], 1) : e2._e(); }, K = [], X = { components: { Pagination: l["a"] }, props: { show: { type: Boolean, default: false } }, data: function() { return { paymentStatus: u["Nb"], collectionStatus: u["G"], listLoading: false, listTable: [], pageTotal: 0, query: { precinctId: "", buildingId: "", unitId: "", roomNum: "", counterOfferName: "", bank: "", pageNumber: 1, pageSize: 10 }, info: {}, areaOptions: [], building: [], unit: [] }; }, mounted: function() { this.getAreaOptions(); }, methods: { init: function(e2) { this.info = e2, this.getList(); }, getList: function() { var e2 = this; this.query.counterofferId = this.info.id, Object(U["k"])(this.query).then((function(t2) { e2.listTable = t2.data.records, e2.pageTotal = t2.data.rowsCount; })); }, getAreaOptions: function() { var e2 = this, t2 = { projectUuid: this.$store.state.community_uuid }; Object(x["f"])(t2).then((function(t3) { 0 === t3.code && (e2.areaOptions = t3.data); })); }, changeArea: function(e2) { this.getBuild(e2); }, getBuild: function(e2) { var t2 = this; Object(x["x"])({ precinctId: e2.precinctId, projectCode: this.$store.state.community_uuid }).then((function(e3) { t2.building = e3.data; })); }, changeBuild: function(e2) { this.getUnit(e2); }, getUnit: function(e2) { var t2 = this; Object(x["mb"])({ pageNumber: -1, pageSize: -1, projectCode: this.$store.state.community_uuid, buildingId: e2.buildingId }).then((function(e3) { t2.unit = e3.data.records; })); }, goBack: function() { this.$emit("back"); }, headClass: function() { return "text-align:center;background:#FAFAFA;"; }, onSearch: function() { this.query.pageNumber = 1, this.getList(); }, resetForm: function(e2) { this.$refs[e2].resetFields(), this.query.pageNumber = 1, this.query.pageSize = 10, this.getList(); }, handleSizeChange: function(e2) { this.query.pageSize = e2.limit, this.query.pageNumber = 1, this.getList(); }, handleCurrentChange: function(e2) { this.query.pageNumber = e2.currentPage, this.getList(); } } }, G = X, W = (a("b234"), Object(_["a"])(G, Z, K, false, null, "d69bfe60", null)), Y = W.exports, ee = { components: { Pagination: l["a"], detail: Y }, data: function() { return { list: true, detail: false, is_show: true, disBack: false, collectionTypeList: u["H"], collectionStatus: u["G"], height: "", listLoading: false, listTable: [], areaOptions: [], building: [], unit: [], pageTotal: 0, query: { pageNumber: 1, pageSize: 10, precinctId: "", buildingId: "", unitId: "", roomNum: "", memberName: "", number: "", type: "", status: "" }, check: null, selectUpdateInfo: "" }; }, mounted: function() { this.getAreaOptions(), this.getlistData(); }, created: function() { this.getRealHeight(); }, methods: { beforeUpload: function(e2) { var t2 = this; this.selectUpdateInfo = e2, this.$confirm("是否校验回盘金额?", "提示", { confirmButtonText: "是", cancelButtonText: "否", type: "warning" }).then((function() { t2.check = 1, t2.$refs.upload.$el.querySelector(".upload-button").click(); })).catch((function() { t2.check = 0, t2.$refs.upload.$el.querySelector(".upload-button").click(); })); }, getAreaOptions: function() { var e2 = this, t2 = { projectUuid: this.$store.state.community_uuid }; Object(x["f"])(t2).then((function(t3) { 0 === t3.code && (e2.areaOptions = t3.data); })); }, changeArea: function(e2) { this.building = [], this.unit = [], this.getBuild(e2); }, getBuild: function(e2) { var t2 = this; e2 ? Object(x["x"])({ precinctId: e2, projectCode: this.$store.state.community_uuid }).then((function(e3) { t2.building = e3.data; })) : (this.building = [], this.unit = [], this.query.buildingId = "", this.query.unitId = ""); }, changeBuild: function(e2) { this.unit = [], this.getUnit(e2); }, getUnit: function(e2) { var t2 = this; e2 ? Object(x["mb"])({ pageNumber: -1, pageSize: -1, projectCode: this.$store.state.community_uuid, buildingId: e2 }).then((function(e3) { t2.unit = e3.data.records; })) : (this.unit = [], this.query.unitId = ""); }, getlistData: function() { var e2 = this; this.listLoading = true, this.query.projectUuid = this.$store.state.community_uuid, Object(U["j"])(this.query).then((function(t2) { 0 == t2.code && (e2.listTable = t2.data.records, e2.pageTotal = t2.data.rowsCount); })), this.listLoading = false; }, onSearch: function() { this.query.pageNumber = 1, this.getlistData(); }, resetForm: function(e2) { this.$refs[e2].resetFields(), this.query.pageNumber = 1, this.query.pageSize = 10, this.getlistData(); }, handleSizeChange: function(e2) { this.query.pageSize = e2.limit, this.query.pageNumber = 1, this.getlistData(); }, handleCurrentChange: function(e2) { this.query.pageNumber = e2.currentPage, this.getlistData(); }, viewClick: function(e2) { this.list = false, this.detail = true, this.$nextTick((function() { this.$refs.detail.init(e2); })); }, offerClick: function(e2) { var t2 = this; Object(U["k"])({ counterofferId: e2.id, pageNumber: -1, pageSize: -1 }).then((function(a2) { if (0 == a2.code && a2.data.records.length > 0) if (e2.outUrl) { var n2 = document.createElement("a"); n2.href = e2.outUrl, n2.click(), URL.revokeObjectURL(n2.href); } else t2.$message("请等待报盘文件生成!"); else t2.$message("请先确认托收数据是否正常?"); })).catch((function(e3) { t2.$message("请等待报盘文件生成!"); })); }, backClick: function(e2) { var t2 = this, a2 = e2.file, n2 = a2.size / 1024 / 1024 < 10, r2 = a2.name.lastIndexOf("."), o2 = a2.name.length; a2.name.substring(r2 + 1, o2); if (n2) { var i2 = new FormData(); this.fileName = a2.name, i2.append("file", a2, a2.name), i2.append("appId", 2); var l2 = { id: this.selectUpdateInfo.id, type: this.selectUpdateInfo.type, check: this.check, backMemberUuid: this.$store.state.user.userInfo.memberUuid, backMemberName: this.$store.state.user.userInfo.memberName }; this.disBack = true, Object(U["a"])(i2, l2).then((function(e3) { e3 && e3.data && (0 == e3.data.code ? (t2.$message({ message: "回盘成功!", type: "success" }), t2.getlistData(), t2.disBack = false) : t2.disBack = false); })).catch((function() { t2.disBack = false; })); } else this.$message("上传文件大小不能超过10M!"); }, waiverClick: function(e2) { var t2 = this; this.$confirm("此操作将取消当前托收批次回盘, 是否继续?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() { Object(U["m"])({ id: e2.id }).then((function(e3) { t2.$message({ message: "取消回盘成功!", type: "success" }), t2.getlistData(); })); })).catch((function() { })); }, detailBack: function() { this.list = true, this.detail = false; }, 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", this.$refs.box.style.height = this.height; })); }, downloadReceipt: function(e2) { if (e2.receiptUrl) { var t2 = document.createElement("a"); t2.href = e2.receiptUrl, t2.click(), URL.revokeObjectURL(t2.href); } else console.log("".concat(e2.title, "_").concat(e2.expensesNo, "_无收据地址")); }, headClass: function() { return "text-align:center;background:#FAFAFA;"; } } }, te = ee, ae = (a("6b67"), Object(_["a"])(te, J, Q, false, null, "75fea364", null)), ne = ae.exports, re = { name: "salesOrderList", components: { receivableSalesOrder: w, list: L, collection: V, collectionList: ne }, data: function() { return { activeName: "receivableSalesOrder" }; }, mounted: function() { if (this.$route.query.gotoCollection) this.activeName = "collection"; else { var e2 = this.$route.query.type; this.activeName = 0 === e2 ? "receivableSalesOrder" : "list"; } }, methods: { handleClick: function(e2) { var t2 = e2.paneName; this.activeName = t2; } } }, oe = re, ie = Object(_["a"])(oe, n, r, false, null, null, null); t["default"] = ie.exports; }, f4f1: function(e, t) { e.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANwAAAERCAMAAAAnhTltAAAAAXNSR0IArs4c6QAAAPNQTFRFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMzMzAAAAQEBAAAAAAAAAKysrgICAhYWFQkJCSUlJWlpaw8PDxcXFwcHBw8PDycnJtLS0ra2ttLS0uLi4ycnJtbW1ubm5ysrKzs7Otra2u7u7y8vLubm5v7+/w8PD7+/v7Ozs7u7u7u7u8vLy8PDw8vLy8vLy+Pj4+fn5+Pj4+fn5+Pj4+Pj4/f39/f39/f39/f39/v7+/v7+/v7+/////v7+/v7+/////v7+/v7+/////v7+/////v7+////5ubm////KZvzUwAAAE90Uk5TAAECAwQFBgcICQoLDA0ODw8QEBESGBgZGxwfLzAxMzQ6Oz09PT4+Pj4/QEBCREiSlZWZmZucnrCxs7O1tuLk5ebt7/Dx8vT09fb29/f4+ISmxcYAAAL4SURBVHja7dtXU9wwFIZhqzdsZ8OmAmmk9x5IhySQRtb//9fkZjOsjHPNSPN+N75+Zo58JM1R0xBCTiuiivyPJqUqPFJO8YSQShtjrSs41hqjlRzzhFDaOB9iKjoxeGf0WCeUcSG1XT8rOn3XpuC0zHBCahe33h4MxedwdyOOdEKZcHV/qCJ7m8EosbritEvvh0ryJjm9ipPGt4e14L603qzUpZA2dEM16UKGUzb29eD6aNUqzqVZPbhZcuDAgQMHDhw4cODAgQMHDhw4cODAgQMHDhw4cODAgQMHDhw4cODAgQMHDhw4cODAgQMHDhw4cODAgQMHDhw4cODAgQMHDhw4cODAgQMHDhw4cODAgQMHDhw4cODAgQMHDhw4cODAgQMHDhw4cODAgQMHDhw4cODAgQMHDhw4cODAgQMHDhw4cODAgQMHDhw4cODAgQMHDhw4cODAgQMHDhw4cODAgQMHDhw4cODAgQMHrihcXy/OxopwfY6TJnQV4aLNcNqv1YPrgpHHuEYoG+vBrXmd44w/c+fV7zpwWVU2jRDKhHZ9+1PxsF9P7p71JsM1Qmob2vmto8JtH7fX22CUyHCNkNrGbv6ybNvRjXkbbLbi/unc2uxx2bhn8y5O2BohlEv95WFYLBaLYSjxOwz3Z8lN2Ja4S2XjzvXJjhfccVk+KrssL07jlj+U52XjHk6W5bIV3Cu8FTyd+qEsm/jtz4W3uR/X10+2AqGMv/Dg9Z/iNygfrp1s4vVsnH++uHk+335VduTJN86VHVbzI09l1wz5YbWyC6LRNUNdV3s9l7LgwIEDBw4cOHDgwIEDBw4cOHDgwIEDBw4cOHDgwIEDB67WRxOjdwVVzaGMRjWk8e23WmxfW5/hhHZptxbcTnI6H2wz4cp+Hba9rZC/KxBSu7j57nv5tIOdjTgelhXSuJDarp8Vnb5rU3Dm5KisNs6HmIpODN4ZLccj3EJIpY2x1hUca43RSk7N3gshpSo8UooJ2pJXQRpCyGnlL1bgRzdPHX8ZAAAAAElFTkSuQmCC"; } }]);