Files
wysite/output/sourcemaps/hc-pos.sqygj.cn/static/js/chunk-316a0a76.5e66b193.js

1375 lines
129 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-316a0a76"], { "13c9": function(e, t, a) {
"use strict";
a("d3aa");
}, "2b7d": function(e, t, a) {
"use strict";
var s = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", [a2("el-dialog", { attrs: { title: "推送通知类型", visible: e2.show, width: "30%", "before-close": e2.pushClose }, on: { "update:visible": function(t3) {
e2.show = t3;
} } }, [a2("div", [a2("el-table", { ref: "pushTable", attrs: { border: "", data: e2.pushList, "header-cell-style": { background: "#f5f7fa", color: "#606266" } }, on: { "selection-change": e2.pushSelect } }, [a2("el-table-column", { attrs: { label: "#", align: "center", width: "50", type: "selection" } }), e2._v(" "), a2("el-table-column", { attrs: { label: "通知对象", width: "120" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.object) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { label: "通知方式", width: "150" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.way) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { label: "说明" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.msg || "-") + "\n ")];
} }]) })], 1)], 1), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: e2.pushClose } }, [e2._v("取 消")]), e2._v(" "), a2("el-button", { attrs: { type: "primary", loading: e2.btnLoading }, on: { click: e2.toSend } }, [e2._v("确 定")])], 1)])], 1);
}, r = [], l = a("e654"), n = { props: { show: { type: Boolean, default: false }, list: { type: Array, default: function() {
return [];
} }, pushType: { type: String, default: "all" }, searchInfo: { type: Object, default: function() {
return {};
} } }, data: function() {
return { pushList: [{ object: "债务人", way: "微信公众号", msg: "", value: 2 }, { object: "所有住户", way: "微信公众号", msg: "关注公众号并绑定账号的住户", value: 99 }], btnLoading: false, type: "", allMember: false };
}, mounted: function() {
}, methods: { pushSelect: function(e2) {
if (e2.length > 0) {
var t2 = [];
e2.map((function(e3) {
t2.push(e3.value);
})), t2.includes(2) ? this.type = 2 : this.type = "", t2.includes(99) ? this.allMember = true : this.allMember = false;
} else this.type = "", this.allMember = false;
}, pushClose: function() {
this.$emit("close");
}, toSend: function() {
var e2 = this;
if ("" == this.type && !this.allMember) return this.$message({ message: "请选择推送通知类型!", type: "warning" }), false;
this.btnLoading = true;
var t2 = { chargeFeeType: 2, projectUuid: this.$store.state.community_uuid, projectName: this.$store.state.community_name, memberName: this.$store.state.user.userInfo.memberName, memberId: this.$store.state.user.userInfo.memberId, allMember: this.allMember };
if ("all" == this.pushType) {
var a2 = this.searchInfo.type;
t2.allCollection = true, this.searchInfo.fundType = a2, this.searchInfo.type = this.type, Object.assign(t2, this.searchInfo);
} else "select" == this.pushType && (t2.dtoList = this.list, t2.allCollection = false, t2.type = this.type);
Object(l["E"])(t2).then((function(t3) {
0 == t3.code ? (e2.$message({ message: "催收数据提交成功!", type: "success" }), e2.pushClose(), e2.btnLoading = false) : e2.btnLoading = false;
})).catch((function() {
e2.btnLoading = false;
}));
} } }, i = n, o = a("829d"), u = Object(o["a"])(i, s, r, false, null, "470244aa", null);
t["a"] = u.exports;
}, "3c9c": function(e, t, a) {
}, 4945: function(e, t, a) {
}, 7094: function(e, t, a) {
"use strict";
a("9cde");
}, 7459: function(e, t, a) {
"use strict";
a.d(t, "d", (function() {
return r;
})), a.d(t, "f", (function() {
return l;
})), a.d(t, "w", (function() {
return n;
})), a.d(t, "s", (function() {
return i;
})), a.d(t, "u", (function() {
return o;
})), a.d(t, "k", (function() {
return u;
})), a.d(t, "q", (function() {
return c;
})), a.d(t, "r", (function() {
return p;
})), a.d(t, "x", (function() {
return d;
})), a.d(t, "e", (function() {
return h;
})), a.d(t, "p", (function() {
return m;
})), a.d(t, "b", (function() {
return f;
})), a.d(t, "c", (function() {
return b;
})), a.d(t, "t", (function() {
return v;
})), a.d(t, "m", (function() {
return g;
})), a.d(t, "n", (function() {
return y;
})), a.d(t, "i", (function() {
return _;
})), a.d(t, "y", (function() {
return w;
})), a.d(t, "j", (function() {
return L;
})), a.d(t, "a", (function() {
return I;
})), a.d(t, "l", (function() {
return k;
})), a.d(t, "h", (function() {
return D;
})), a.d(t, "g", (function() {
return C;
})), a.d(t, "v", (function() {
return T;
})), a.d(t, "o", (function() {
return F;
}));
var s = a("b775");
function r(e2) {
return Object(s["a"])({ url: "/appproject/ChargeInfo/pageList", method: "post", data: e2 });
}
function l(e2) {
return Object(s["a"])({ url: "/appproject/ChargeInfo/create", method: "post", data: e2 });
}
function n(e2) {
return Object(s["a"])({ url: "/appproject/ChargeInfo/reset", method: "post", data: e2 });
}
function i(e2) {
return Object(s["a"])({ url: "/appproject/ChargeInfo/reload", method: "post", data: e2 });
}
function o(e2) {
return Object(s["a"])({ url: "/appproject/ChargeInfo/reloadTotal", method: "post", data: e2 });
}
function u(e2) {
return Object(s["a"])({ url: "/appproject/ChargeInfo/getChargeAgainstAmount", method: "post", data: e2 });
}
function c(e2) {
return Object(s["a"])({ url: "/appproject/ChargeInfo/release", method: "post", data: e2 });
}
function p(e2) {
return Object(s["a"])({ url: "/appproject/ChargeInfo/release/password", method: "post", data: e2 });
}
function d(e2) {
return Object(s["a"])({ url: "/appproject/ChargeInfo/total", method: "post", data: e2 });
}
function h(e2) {
return Object(s["a"])({ url: "/appproject/ChargeInfo/checkChargeReceivable", method: "post", data: e2 });
}
function m(e2) {
return Object(s["a"])({ url: "/appproject/ChargeInfo/relCharges", method: "post", data: e2 });
}
function f(e2) {
return Object(s["a"])({ url: "/appproject/ChargeHouse/pageList", method: "post", data: e2 });
}
function b(e2) {
return Object(s["a"])({ url: "/appproject/ChargeHouse/total", method: "post", data: e2 });
}
function v(e2) {
return Object(s["a"])({ url: "/appproject/ChargeInfo/reloadHouse", method: "post", data: e2 });
}
function g(e2) {
return Object(s["a"])({ url: "/appproject/ChargeHouse/list", method: "post", data: e2 });
}
function y(e2) {
return Object(s["a"])({ url: "/appproject/ChargeInfo/reloadCharge", method: "post", data: e2 });
}
function _(e2) {
return Object(s["a"])({ url: "/appproject/ChargeInfo/downloadTemplate?projectUuid=" + e2.projectUuid, method: "post", responseType: "blob" });
}
function w(e2, t2) {
return Object(s["a"])({ url: "/appproject/ChargeInfo/importExcel" + t2, method: "post", isReturnResponse: true, responseType: "blob", headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, data: e2 });
}
function L(e2) {
return Object(s["a"])({ url: "/appproject/ChargeInfo/downloadTotal", method: "post", responseType: "blob", data: e2 });
}
function I(e2) {
return Object(s["a"])({ url: "/appproject/ChargeInfo/submitUpdate", method: "post", data: e2 });
}
function k(e2) {
return Object(s["a"])({ url: "/appproject/ChargeInfo/getChargeDate", method: "post", data: e2 });
}
function D(e2) {
return Object(s["a"])({ url: "/appproject/DeductionRecord/pageList", method: "post", data: e2 });
}
function C(e2) {
return Object(s["a"])({ url: "/appproject/ChargeInfo/deductionAgain", method: "post", data: e2 });
}
function T(e2) {
return Object(s["a"])({ url: "/appproject/ChargeInfo/removeCharge", method: "post", data: e2 });
}
function F(e2) {
return Object(s["a"])({ url: "/appproject/ChargeReceivable/recordPageList", method: "post", data: e2 });
}
}, "8f53": function(e, t, a) {
"use strict";
a.d(t, "y", (function() {
return s;
})), a.d(t, "t", (function() {
return r;
})), a.d(t, "v", (function() {
return l;
})), a.d(t, "B", (function() {
return n;
})), a.d(t, "n", (function() {
return i;
})), a.d(t, "a", (function() {
return o;
})), a.d(t, "K", (function() {
return u;
})), a.d(t, "s", (function() {
return c;
})), a.d(t, "u", (function() {
return p;
})), a.d(t, "x", (function() {
return d;
})), a.d(t, "G", (function() {
return h;
})), a.d(t, "I", (function() {
return m;
})), a.d(t, "M", (function() {
return f;
})), a.d(t, "N", (function() {
return b;
})), a.d(t, "z", (function() {
return v;
})), a.d(t, "i", (function() {
return g;
})), a.d(t, "d", (function() {
return y;
})), a.d(t, "p", (function() {
return _;
})), a.d(t, "H", (function() {
return w;
})), a.d(t, "e", (function() {
return L;
})), a.d(t, "h", (function() {
return I;
})), a.d(t, "m", (function() {
return k;
})), a.d(t, "q", (function() {
return D;
})), a.d(t, "A", (function() {
return C;
})), a.d(t, "E", (function() {
return T;
})), a.d(t, "F", (function() {
return F;
})), a.d(t, "r", (function() {
return q;
})), a.d(t, "D", (function() {
return S;
})), a.d(t, "o", (function() {
return O;
})), a.d(t, "L", (function() {
return $;
})), a.d(t, "j", (function() {
return A;
})), a.d(t, "f", (function() {
return j;
})), a.d(t, "w", (function() {
return x;
})), a.d(t, "g", (function() {
return N;
})), a.d(t, "k", (function() {
return P;
})), a.d(t, "J", (function() {
return M;
})), a.d(t, "C", (function() {
return R;
})), a.d(t, "l", (function() {
return B;
})), a.d(t, "b", (function() {
return H;
})), a.d(t, "c", (function() {
return z;
}));
var s = [{ value: 1, label: "低" }, { value: 2, label: "一般" }, { value: 3, label: "紧急" }], r = [{ value: 1, label: "待受理" }, { value: 2, label: "已派单" }, { value: 3, label: "已接单" }, { value: 4, label: "处理中" }, { value: 5, label: "已完成" }, { value: 6, label: "已回访" }, { value: 7, label: "已关闭" }, { value: 8, label: "已延后" }, { value: 9, label: "待评价" }, { value: 10, label: "已评价" }, { value: 11, label: "未受理" }], l = [{ value: 11, label: "公区整改" }, { value: 12, label: "住户服务" }, { value: 13, label: "通用工单" }, { value: 15, label: "工单审核" }], n = [{ value: 1, label: "邻里关系" }, { value: 2, label: "清洁卫生" }, { value: 3, label: "投诉报修" }, { value: 4, label: "房屋认证" }, { value: 5, label: "月卡申请" }, { value: 6, label: "门禁申请" }, { value: 7, label: "个人维修" }, { value: 8, label: "工区维修" }, { value: 9, label: "订单服务" }, { value: 10, label: "管家服务" }], i = [{ label: "日", value: 0 }, { label: "周", value: 1 }, { label: "月", value: 2 }, { label: "年", value: 4 }], o = [{ label: "普通", value: 1 }, { label: "培训", value: 2 }, { label: "认证", value: 3 }], u = [{ value: 1, label: "正常" }, { value: 2, label: "预警" }, { value: 3, label: "超时" }], c = [{ value: 1, label: "服务提交" }, { value: 2, label: "服务受理" }, { value: 3, label: "服务处理" }, { value: 4, label: "服务评价" }, { value: 5, label: "服务完成" }, { value: 6, label: "服务拒绝" }], p = [{ value: 1, label: "房屋认证" }, { value: 2, label: "门禁申请" }, { value: 3, label: "车辆月卡" }, { value: 4, label: "投诉报修" }], d = [{ value: 1, label: "巡检" }, { value: 2, label: "维保" }, { value: 3, label: "抄表" }, { value: 4, label: "保洁" }, { value: 5, label: "绿化" }, { value: 6, label: "拜访" }], h = [{ value: 1, label: "未执行" }, { value: 2, label: "执行中" }, { value: 3, label: "已完成" }, { value: 4, label: "超时" }, { value: 5, label: "领取超时" }, { value: 9, label: "超时完成" }, { value: 12, label: "超时预警" }], m = [{ label: "巡检类", value: 1 }, { label: "维保类", value: 2 }, { label: "抄表类", value: 3 }, { label: "清洁类", value: 4 }, { label: "绿化类", value: 5 }, { label: "上门拜访类", value: 6 }, { label: "维修类", value: 7 }, { label: "服务礼仪类", value: 8 }, { label: "内部管控类", value: 9 }, { label: "社区温度类", value: 10 }], f = [{ label: "人事管控类", value: 1 }, { label: "财务管控类", value: 2 }, { label: "事务管控类", value: 3 }, { label: "物料管控类", value: 4 }], b = [{ label: "人", value: 1 }, { label: "财", value: 2 }, { label: "事", value: 3 }, { label: "物", value: 4 }], v = [{ label: "普通", value: 1 }, { label: "培训", value: 2 }, { label: "认证", value: 3 }], g = [{ label: "日", value: 0 }, { label: "周", value: 1 }, { label: "月", value: 2 }, { label: "年", value: 4 }], y = [{ label: "全员收费", value: 1 }, { label: "全员突击", value: 2 }, { label: "全员巡查", value: 3 }, { label: "全员保洁", value: 4 }], _ = [{ label: "X新增默认", value: "X" }, { label: "A", value: "A" }, { label: "B", value: "B" }, { label: "C", value: "C" }, { label: "D", value: "D" }, { label: "E", value: "E" }], w = [{ label: "自管", value: 1 }, { label: "外包", value: 2 }], L = [{ label: "内勤", value: 1 }, { label: "外勤", value: 2 }], I = [{ label: "固定作业", value: 1 }, { label: "移动作业", value: 2 }], k = [{ label: "发现问题", value: 1 }, { label: "处理问题", value: 2 }], D = [{ label: "人", value: 1 }, { label: "物", value: 2 }], C = [{ label: "客户服务", value: 1 }, { label: "安全服务", value: 2 }, { label: "设施设备管理", value: 3 }, { label: "环境管理", value: 4 }, { label: "基础资料", value: 5 }], T = [{ label: "设备标准", value: 1 }, { label: "空间服务标准", value: 2 }, { label: "物品标准", value: 3 }, { label: "绿化养护标准", value: 5 }, { label: "内部标准", value: 6 }, { label: "体检标准", value: 7 }, { label: "项目标准", value: 8 }], F = [{ label: "1A", value: 1 }, { label: "2A", value: 2 }, { label: "3A", value: 3 }, { label: "4A", value: 4 }, { label: "5A", value: 5 }], q = [{ value: 1, label: "1星级" }, { value: 2, label: "2星级" }, { value: 3, label: "3星级" }, { value: 4, label: "4星级" }, { value: 5, label: "5星级" }], S = [{ label: "业务收入", value: 1 }, { label: "经营收入", value: 2 }, { label: "资产处置收益", value: 3 }, { label: "其他收益", value: 4 }, { label: "营业外收入", value: 5 }, { label: "投资收益", value: 6 }, { label: "筹资活动", value: 7 }, { label: "清洁卫生费", value: 8 }, { label: "安全保卫费", value: 9 }, { label: "绿化养护费", value: 10 }, { label: "工程维护费", value: 11 }, { label: "能源费", value: 12 }, { label: "职工薪酬", value: 13 }, { label: "行政办公费", value: 14 }, { label: "其他物业管理成本", value: 15 }, { label: "停车场经营成本", value: 16 }, { label: "物业经营成本", value: 17 }, { label: "其他业务成本", value: 18 }, { label: "税金及附加", value: 19 }, { label: "财务费用", value: 20 }, { label: "资产减值损失", value: 21 }, { label: "营业外支出", value: 22 }, { label: "所得税费用", value: 23 }, { label: "投资费用", value: 24 }, { label: "筹资费用", value: 25 }, { label: "资本支出", value: 26 }, { label: "代收代付项", value: 27 }], O = [{ label: "水表", value: 1 }, { label: "电表", value: 2 }, { label: "暖气表", value: 3 }, { label: "燃气表", value: 4 }, { label: "热水表", value: 5 }], $ = [{ label: "普通", value: 1 }, { label: "一般", value: 2 }, { label: "重要", value: 3 }], A = [{ label: "房屋认证", value: 1 }, { label: "门禁申请", value: 2 }, { label: "车辆月卡", value: 3 }, { label: "现场品质", value: 4 }, { label: "邻里关系", value: 6 }, { label: "投诉", value: 7 }, { label: "到家服务", value: 8 }, { label: "公区维修", value: 9 }, { label: "满意度调查", value: 10 }, { label: "业委会会议", value: 11 }, { label: "政务沟通", value: 12 }, { label: "客户拜访", value: 13 }, { label: "门禁权限申请", value: 14 }, { label: "服务态度", value: 15 }], j = [{ label: "设备整改", value: 2 }, { label: "电梯整改", value: 3 }, { label: "清洁卫生[内控]", value: 4 }, { label: "车场整改", value: 5 }, { label: "安防整改", value: 6 }, { label: "绿化整改", value: 7 }, { label: "历史工单-1", value: 12 }, { label: "历史工单-2", value: 13 }, { label: "能源整改", value: 15 }, { label: "审批工单", value: 16 }, { label: "内部整改", value: 17 }, { label: "行政", value: 18 }, { label: "人事", value: 19 }, { label: "财务", value: 20 }, { label: "市场", value: 21 }], x = [{ label: "主动服务", value: 1 }, { label: "设备管理", value: 2 }, { label: "电梯管理", value: 3 }, { label: "清洁卫生", value: 4 }, { label: "车场运营", value: 5 }, { label: "安防管理", value: 6 }, { label: "绿化管理", value: 7 }, { label: "业委会会议", value: 8 }, { label: "政务沟通", value: 9 }, { label: "客户拜访", value: 10 }, { label: "能源计划", value: 11 }, { label: "审批工单", value: 12 }, { label: "内部整改", value: 13 }], N = [{ label: "设备管理标准", value: 1 }, { label: "内部管控标准", value: 2 }, { label: "清洁管理标准", value: 3 }, { label: "安全管理标准", value: 4 }, { label: "绿化养护标准", value: 5 }, { label: "消防管控标准", value: 6 }, { label: "电梯管理标准", value: 7 }, { label: "停车场管理标准", value: 8 }, { label: "能源管理标准", value: 9 }], P = [{ label: "产权人", value: 1 }, { label: "亲属", value: 2 }, { label: "租户", value: 3 }, { label: "好友", value: 4 }, { label: "访客", value: 5 }, { label: "产权人(共有)", value: 6 }], M = [{ label: "感知器", value: 1 }, { label: "控制器", value: 2 }, { label: "动作器", value: 3 }], R = [{ label: "日报", value: 1 }, { label: "周报", value: 2 }, { label: "月报", value: 3 }, { label: "季度", value: 4 }, { label: "半年", value: 5 }, { label: "年度", value: 6 }], B = [{ label: "安全生产", value: 1 }, { label: "效益", value: 2 }, { label: "满意", value: 3 }], H = [{ label: "一般", value: [1, 2, 3] }, { label: "重要", value: [4, 5, 6] }, { label: "非常重要", value: [7, 8, 9] }], z = [{ value: 0, label: "不合格" }, { value: 1, label: "合格" }, { value: 2, label: "AI判定中" }, { value: 3, label: "无需AI验收" }, { value: 4, label: "AI标准缺失" }, { value: 5, label: "智能体未配置" }, { value: 6, label: "无权益请充值" }];
}, "9cde": function(e, t, a) {
}, bb07: function(e, t, a) {
"use strict";
a("ca712");
}, bd5b: function(e, t, a) {
"use strict";
var s = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", [a2("el-dialog", { attrs: { title: "生成缴费通知单", visible: e2.show, width: "30%", "close-on-click-modal": false, "close-on-press-escape": false, "before-close": e2.handleClose }, on: { "update:visible": function(t3) {
e2.show = t3;
} } }, [a2("el-form", { ref: "noticeForm", staticClass: "noticeForm", attrs: { model: e2.noticeForm, rules: e2.noticeRules, "label-width": "100px" } }, [a2("el-form-item", { attrs: { label: "管理区", prop: "precinctId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "管理区" }, on: { change: e2.areaChange }, model: { value: e2.noticeForm.precinctId, callback: function(t3) {
e2.$set(e2.noticeForm, "precinctId", t3);
}, expression: "noticeForm.precinctId" } }, e2._l(e2.areaList, (function(e3) {
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "楼栋", prop: "buildingId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "楼栋" }, on: { change: e2.buildChange }, model: { value: e2.noticeForm.buildingId, callback: function(t3) {
e2.$set(e2.noticeForm, "buildingId", t3);
}, expression: "noticeForm.buildingId" } }, e2._l(e2.buildList, (function(e3) {
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "单元", prop: "unitId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", multiple: "", "collapse-tags": "", "multiple-limit": 3, placeholder: "单元" }, on: { change: e2.unitChange }, model: { value: e2.noticeForm.unitId, callback: function(t3) {
e2.$set(e2.noticeForm, "unitId", t3);
}, expression: "noticeForm.unitId" } }, e2._l(e2.unitList, (function(e3) {
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "房屋房号", prop: "houseId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", multiple: "", "collapse-tags": "", placeholder: "房屋房号" }, model: { value: e2.noticeForm.houseId, callback: function(t3) {
e2.$set(e2.noticeForm, "houseId", t3);
}, expression: "noticeForm.houseId" } }, e2._l(e2.houseList, (function(e3) {
return a2("el-option", { key: e3.id, attrs: { label: e3.houseName, value: e3.id } });
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "文件名称", prop: "taskName" } }, [a2("el-input", { attrs: { clearable: "" }, model: { value: e2.noticeForm.taskName, callback: function(t3) {
e2.$set(e2.noticeForm, "taskName", t3);
}, expression: "noticeForm.taskName" } })], 1), e2._v(" "), a2("el-form-item", [a2("el-button", { attrs: { type: "primary", loading: e2.btnLoading }, on: { click: e2.generateNotice } }, [e2._v("立即生成")]), e2._v(" "), a2("el-button", { on: { click: e2.handleClose } }, [e2._v("取消")])], 1)], 1)], 1)], 1);
}, r = [], l = a("2b74"), n = a("e654"), i = { props: { show: { type: Boolean, default: false }, areaList: { type: Array, default: function() {
return [];
} } }, data: function() {
return { buildList: [], unitList: [], houseList: [], noticeForm: { precinctId: "", buildingId: "", unitId: [], houseId: [], taskName: "" }, noticeRules: { precinctId: { required: true, message: "请选择管理区", trigger: "change" }, buildingId: { required: true, message: "请选择楼栋", trigger: "change" }, unitId: { required: true, message: "请选择单元", trigger: "change" }, taskName: { required: true, message: "请输入下载文件名称", trigger: "blur" } }, btnLoading: false };
}, mounted: function() {
}, methods: { areaChange: function(e2) {
this.buildList = [], this.noticeForm.buildingId = "", this.unitList = [], this.noticeForm.unitId = "", this.houseList = [], this.noticeForm.houseId = "", e2 && this.getBuild();
}, getBuild: function() {
var e2 = this;
Object(l["x"])({ precinctId: this.noticeForm.precinctId, projectCode: this.$store.state.community_uuid, projectName: this.$store.state.community_name }).then((function(t2) {
e2.buildList = t2.data;
}));
}, buildChange: function(e2) {
this.unitList = [], this.noticeForm.unitId = "", this.houseList = [], this.noticeForm.houseId = "", e2 && this.getUnit();
}, getUnit: function() {
var e2 = this;
Object(l["mb"])({ pageNumber: -1, pageSize: -1, projectCode: this.$store.state.community_uuid, buildingId: this.noticeForm.buildingId }).then((function(t2) {
e2.unitList = t2.data.records;
}));
}, unitChange: function(e2) {
this.houseList = [], this.noticeForm.houseId = "", e2 && this.getHouseList();
}, getHouseList: function(e2) {
var t2 = this, a2 = { projectCode: this.$store.state.community_uuid, precinctId: this.noticeForm.precinctId, buildingId: this.noticeForm.buildingId, unitIds: this.noticeForm.unitId, pageNumber: -1, pageSize: -1 };
Object(l["M"])(a2).then((function(e3) {
e3.data.records.length && e3.data.records.map((function(e4) {
e4.houseName = "".concat(e4.unitName, "-").concat(e4.roomNum);
})), t2.houseList = e3.data.records;
}));
}, generateNotice: function() {
var e2 = this;
this.$refs["noticeForm"].validate((function(t2) {
if (t2) {
e2.btnLoading = true;
var a2 = { companyId: e2.$store.state.companyId, companyName: localStorage.getItem("companyName"), projectName: e2.$store.state.community_name, projectUuid: e2.$store.state.community_uuid, memberName: e2.$store.state.user.userInfo.memberName, memberId: e2.$store.state.user.userInfo.memberId, taskName: e2.noticeForm.taskName, unitIds: e2.noticeForm.unitId, houseIds: e2.noticeForm.houseId.length ? e2.noticeForm.houseId : [], type: 1 };
Object(n["r"])(a2).then((function(t3) {
0 == t3.code ? (e2.$message.success("操作成功,请前往下载中心查看!"), e2.btnLoading = false, e2.handleClose()) : e2.btnLoading = false;
})).catch((function(t3) {
e2.btnLoading = false;
}));
}
}));
}, handleClose: function() {
this.$refs["noticeForm"].resetFields(), this.buildList = [], this.unitList = [], this.houseList = [], this.$emit("close");
} } }, o = i, u = (a("7094"), a("829d")), c = Object(u["a"])(o, s, r, false, null, "28228b1e", null);
t["a"] = c.exports;
}, bd8d: function(e, t, a) {
"use strict";
a.r(t);
var s = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", { staticClass: "app-container 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: 12 } }, [a2("el-form-item", { attrs: { prop: "selectChargeDate" } }, [a2("div", { staticClass: "timepick-width-prepend" }, [a2("el-select", { staticStyle: { width: "170px" }, attrs: { placeholder: "账期筛选方式" }, on: { change: e2.typeChange }, model: { value: e2.query.chargeType, callback: function(t3) {
e2.$set(e2.query, "chargeType", t3);
}, expression: "query.chargeType" } }, [a2("el-option", { attrs: { label: "按年筛选", value: 1 } }), e2._v(" "), a2("el-option", { attrs: { label: "按月筛选", value: 2 } }), e2._v(" "), a2("el-option", { attrs: { label: "按连续年筛选", value: 3 } }), e2._v(" "), a2("el-option", { attrs: { label: "按连续月筛选", value: 4 } })], 1), e2._v(" "), a2("div", { staticStyle: { flex: "2" } }, [1 == e2.query.chargeType ? a2("el-date-picker", { staticStyle: { width: "100%" }, attrs: { type: "years", format: "yyyy", "value-format": "yyyy", placeholder: "选择计费账期" }, model: { value: e2.query.selectChargeDate, callback: function(t3) {
e2.$set(e2.query, "selectChargeDate", t3);
}, expression: "query.selectChargeDate" } }) : e2._e(), e2._v(" "), 2 == e2.query.chargeType ? a2("el-date-picker", { staticStyle: { width: "100%" }, attrs: { type: "months", format: "yyyy-MM", "value-format": "yyyy-MM", placeholder: "选择计费账期" }, model: { value: e2.query.selectChargeDate, callback: function(t3) {
e2.$set(e2.query, "selectChargeDate", t3);
}, expression: "query.selectChargeDate" } }) : e2._e(), e2._v(" "), 3 == e2.query.chargeType ? a2("ElYearPicker", { on: { onChange: e2.yearRangeChange } }) : e2._e(), e2._v(" "), 4 == e2.query.chargeType ? a2("el-date-picker", { staticStyle: { width: "100%" }, attrs: { type: "monthrange", align: "right", "unlink-panels": "", "range-separator": "至", "start-placeholder": "开始月份", "end-placeholder": "结束月份", format: "yyyy-MM", "value-format": "yyyy-MM", "picker-options": e2.pickerOptions }, model: { value: e2.query.selectChargeDate, callback: function(t3) {
e2.$set(e2.query, "selectChargeDate", t3);
}, expression: "query.selectChargeDate" } }) : e2._e()], 1)], 1)])], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "status" } }, [a2("el-cascader", { attrs: { placeholder: "缴费状态", options: e2.paymentStatus, props: e2.props, clearable: "", filterable: "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
var s2 = t3.data;
return [a2("span", { style: { color: s2.color || "inherit" } }, [e2._v(e2._s(s2.label))])];
} }]), model: { value: e2.query.statusList, callback: function(t3) {
e2.$set(e2.query, "statusList", t3);
}, expression: "query.statusList" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "precinctId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "管理区名称" }, on: { change: e2.selectChange }, model: { value: e2.query.precinctId, callback: function(t3) {
e2.$set(e2.query, "precinctId", t3);
}, expression: "query.precinctId" } }, e2._l(e2.areaOptions, (function(e3) {
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "buildingId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "所有楼栋" }, on: { change: e2.changeBuild }, model: { value: e2.query.buildingId, callback: function(t3) {
e2.$set(e2.query, "buildingId", t3);
}, expression: "query.buildingId" } }, e2._l(e2.building, (function(e3) {
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "unitId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "所有单元" }, on: { change: e2.changeUnit }, model: { value: e2.query.unitId, callback: function(t3) {
e2.$set(e2.query, "unitId", t3);
}, expression: "query.unitId" } }, e2._l(e2.unitList, (function(e3) {
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "fsHouseId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "选择房间" }, model: { value: e2.query.fsHouseId, callback: function(t3) {
e2.$set(e2.query, "fsHouseId", t3);
}, expression: "query.fsHouseId" } }, e2._l(e2.houseList, (function(e3) {
return a2("el-option", { key: e3.id, attrs: { label: e3.roomNum, 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: { label: "", prop: "chargeIds" } }, [a2("el-cascader", { attrs: { placeholder: "收费项", options: e2.chargeItemList, props: e2.props, "collapse-tags": "", filterable: "", clearable: "" }, model: { value: e2.query.chargeIds, callback: function(t3) {
e2.$set(e2.query, "chargeIds", t3);
}, expression: "query.chargeIds" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "", prop: "type" } }, [a2("el-select", { staticClass: "form-item-content", attrs: { clearable: "", placeholder: "应收分类" }, model: { value: e2.query.type, callback: function(t3) {
e2.$set(e2.query, "type", t3);
}, expression: "query.type" } }, e2._l(e2.feeTypeList, (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: { label: "", prop: "source" } }, [a2("el-select", { staticClass: "form-item-content", attrs: { clearable: "", placeholder: "业务订单来源" }, model: { value: e2.query.source, callback: function(t3) {
e2.$set(e2.query, "source", t3);
}, expression: "query.source" } }, e2._l(e2.orderSource, (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: "subjectCodes" } }, [a2("el-select", { attrs: { placeholder: "科目", clearable: "", multiple: "", "collapse-tags": "" }, model: { value: e2.query.subjectCodes, callback: function(t3) {
e2.$set(e2.query, "subjectCodes", t3);
}, expression: "query.subjectCodes" } }, e2._l(e2.categoryArr, (function(e3) {
return a2("el-option", { key: e3.code, attrs: { label: e3.name, value: e3.code } });
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "" } }, [a2("el-form-item", { attrs: { prop: "queryTime" } }, [a2("el-date-picker", { attrs: { type: "daterange", "range-separator": "至", format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", "start-placeholder": "应收日期开始日期", "end-placeholder": "应收日期结束日期" }, model: { value: e2.queryTime, callback: function(t3) {
e2.queryTime = t3;
}, expression: "queryTime" } })], 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "orderNo" } }, [a2("el-input", { attrs: { placeholder: "请输入应收单号", clearable: "" }, model: { value: e2.query.orderNo, callback: function(t3) {
e2.$set(e2.query, "orderNo", t3);
}, expression: "query.orderNo" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "debtorBy" } }, [a2("el-input", { attrs: { placeholder: "债务人", clearable: "" }, model: { value: e2.query.debtorBy, callback: function(t3) {
e2.$set(e2.query, "debtorBy", t3);
}, expression: "query.debtorBy" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "" } }, [a2("el-form-item", { attrs: { prop: "createTime" } }, [a2("el-date-picker", { attrs: { type: "daterange", "range-separator": "至", format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", "start-placeholder": "计费发布开始日期", "end-placeholder": "计费发布结束日期" }, model: { value: e2.createTime, callback: function(t3) {
e2.createTime = t3;
}, expression: "createTime" } })], 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "houseStatus" } }, [a2("el-select", { attrs: { clearable: "", placeholder: "房屋状态" }, model: { value: e2.query.houseStatus, callback: function(t3) {
e2.$set(e2.query, "houseStatus", t3);
}, expression: "query.houseStatus" } }, [a2("el-option", { attrs: { label: "全部", value: 99 } }), e2._v(" "), a2("el-option", { attrs: { label: "正常", value: 0 } }), e2._v(" "), a2("el-option", { attrs: { label: "已删除", value: 1 } })], 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "businessClassifys" } }, [a2("el-select", { attrs: { multiple: "", "collapse-tags": "", clearable: "", placeholder: "收入业务分类" }, model: { value: e2.query.businessClassifys, callback: function(t3) {
e2.$set(e2.query, "businessClassifys", t3);
}, expression: "query.businessClassifys" } }, e2._l(e2.businessTypeArr, (function(e3, t3) {
return a2("el-option", { key: t3, attrs: { value: e3.value, label: e3.label } });
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "chargeCompanyId" } }, [a2("el-select", { attrs: { clearable: "", placeholder: "企业收费项" }, model: { value: e2.query.chargeCompanyId, callback: function(t3) {
e2.$set(e2.query, "chargeCompanyId", t3);
}, expression: "query.chargeCompanyId" } }, e2._l(e2.CompanyFsList, (function(e3, t3) {
return a2("el-option", { key: t3, attrs: { value: e3.id, label: e3.name } });
})), 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.resetFormQuery("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", { staticClass: "totalBar" }, [a2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [a2("div", { staticClass: "descriptionsTitle" }, [e2._v("\n 辅助统计\n "), a2("el-popover", { attrs: { "popper-class": "popoverTip", "visible-arrow": false, placement: "right", width: "650", trigger: "hover" } }, [a2("div", [a2("p", [a2("strong", [e2._v("一、定义")])]), e2._v(" "), a2("p", [e2._v("缴费状态:“未缴费、锁定、部分已缴、全部已缴、已冲销”")]), e2._v(" "), a2("p", [e2._v("(“锁定”状态:是正在缴费中,默认统计为“未缴费”)")]), e2._v(" "), a2("p", [e2._v("欠费:超过“应收日期”的未缴费金额。")]), e2._v(" "), a2("p", [e2._v("待缴:未超过“应收日期”的未缴费金额。")]), e2._v(" "), a2("p", [e2._v("实收:已缴费金额。")]), e2._v(" "), a2("p", [e2._v("违约金:违约金金额。")]), e2._v(" "), a2("p", [a2("br")]), e2._v(" "), a2("p", [a2("strong", [e2._v("二、公式")])]), e2._v(" "), a2("p", [e2._v("\n 应收 = 实收 + (待缴 +\n 欠费)。(公式中均所含本金、违约金,计算“减免违约金”为实收)\n ")]), e2._v(" "), a2("p", [e2._v("应收本金 = 实收本金 + (待缴本金 + 欠费本金)。")]), e2._v(" "), a2("p", [e2._v("\n 应收违约金 = 实收违约金 + 0 +\n 仍欠费违约金。(实收违约金含减免违约金)\n ")]), e2._v(" "), a2("p", [a2("br")]), e2._v(" "), a2("p", [a2("strong", [e2._v("三、延展")])]), e2._v(" "), a2("p", [e2._v("左侧:")]), e2._v(" "), a2("p", [e2._v("\n         应收 = 应收本金\n + 应收违约金\n ")]), e2._v(" "), a2("p", [e2._v("右侧:")]), e2._v(" "), a2("p", [e2._v("\n         实收 =\n (实收本金 + 雨滴减免本金) + (实收违约金 + 雨滴减免违约金)\n ")]), e2._v(" "), a2("p", [e2._v("\n         待缴 = 待缴本金\n ")]), e2._v(" "), a2("p", [e2._v("\n         欠费 = 欠费本金\n + 仍欠费违约金\n ")]), e2._v(" "), a2("p", [e2._v("\n         现金本金:是指实收本金中实际收取的本金,减免的除外。取值方式:实收本金-减免本金\n ")]), e2._v(" "), a2("p", [e2._v("\n         减免本金:支付方式为特殊减免,雨滴抵扣两种方式处理的实收本金。\n ")]), e2._v(" "), a2("p", [e2._v("\n         现金违约金:指违约金实际收取的本金,减免的除外。取值方式:实收违约金-减免违约金\n ")]), e2._v(" "), a2("p", [e2._v("\n         减免违约金:减免的违约的金额,包含特殊减免,\n ")])]), e2._v(" "), a2("i", { staticClass: "el-icon-question titleTip", attrs: { slot: "reference" }, slot: "reference" })])], 1), e2._v(" "), a2("el-row", { staticStyle: { padding: "20px", "font-size": "12px" }, attrs: { gutter: 24 } }, [a2("el-col", { attrs: { span: 6 } }, [a2("div", [a2("span", [e2._v("应收:" + e2._s(e2._f("toThousandFilter")(e2.feeInfo.total_Re)))])]), e2._v(" "), a2("div", { staticStyle: { margin: "15px 0" } }, [a2("span", [e2._v("应收本金:" + e2._s(e2._f("toThousandFilter")(e2.feeInfo.base_Re)))])]), e2._v(" "), a2("div", [a2("span", [e2._v("应收违约金:" + e2._s(e2._f("toThousandFilter")(e2.feeInfo.late_Re)))])])]), e2._v(" "), a2("el-col", { attrs: { span: 10 } }, [a2("div", [a2("span", [e2._v("实收:" + e2._s(e2._f("toThousandFilter")(e2.feeInfo.total_paid)))])]), e2._v(" "), a2("div", { staticStyle: { margin: "15px 0" } }, [a2("el-row", { attrs: { gutter: 18 } }, [a2("el-col", { attrs: { span: 6 } }, [e2._v("实收本金:" + e2._s(e2._f("toThousandFilter")(e2.feeInfo.base_paid)))]), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [e2._v("现金本金:" + e2._s(e2._f("toThousandFilter")((e2.feeInfo.base_paid || 0) - (e2.feeInfo.changeAmount1 || 0))))]), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [e2._v("\n 减免本金:" + e2._s(e2._f("toThousandFilter")(e2.feeInfo.changeAmount1)))])], 1)], 1), e2._v(" "), a2("div", [a2("el-row", { attrs: { gutter: 18 } }, [a2("el-col", { attrs: { span: 6 } }, [e2._v("实收违约金:" + e2._s(e2._f("toThousandFilter")(e2.feeInfo.late_paid)))]), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [e2._v("现金违约金:" + e2._s(e2._f("toThousandFilter")((e2.feeInfo.late_paid || 0) - (e2.feeInfo.changeAmountFeeAmount || 0))))]), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [e2._v("\n 减免违约金:" + e2._s(e2._f("toThousandFilter")(e2.feeInfo.changeAmountFeeAmount)))])], 1)], 1)]), e2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("div", [a2("span", [e2._v("待缴:" + e2._s(e2._f("toThousandFilter")(e2.feeInfo.total_unpaid)))])]), e2._v(" "), a2("div", { staticStyle: { margin: "15px 0" } }, [a2("span", [e2._v("待缴本金:" + e2._s(e2._f("toThousandFilter")(e2.feeInfo.base_unpaid)))])]), e2._v(" "), a2("div", [a2("span", [e2._v("-")])])]), e2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("div", [a2("span", [e2._v("欠费:" + e2._s(e2._f("toThousandFilter")(e2.feeInfo.total_fee)))])]), e2._v(" "), a2("div", { staticStyle: { margin: "15px 0" } }, [a2("span", [e2._v("欠费本金:" + e2._s(e2._f("toThousandFilter")(e2.feeInfo.base_fee)))])]), e2._v(" "), a2("div", [a2("span", [e2._v("欠费违约金:" + e2._s(e2._f("toThousandFilter")(e2.feeInfo.late_fee)))])])])], 1)], 1)], 1), e2._v(" "), a2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [a2("div", { staticClass: "planLst", attrs: { slot: "header" }, slot: "header" }, [a2("span", { staticClass: "planTitle" }, [e2._v("应收列表")]), e2._v(" "), a2("el-button", { attrs: { type: "success", size: "medium" }, on: { click: function(t3) {
e2.noticeShow = true;
} } }, [e2._v("缴费通知单")]), e2._v(" "), a2("el-button", { staticClass: "deduction", attrs: { type: "primary", size: "medium" }, on: { click: function(t3) {
return e2.pushOrder("select");
} } }, [e2._v("推送勾选账单")]), e2._v(" "), a2("el-button", { attrs: { type: "primary", size: "medium" }, on: { click: function(t3) {
return e2.pushOrder("all");
} } }, [e2._v("推送全部账单")]), e2._v(" "), a2("el-popover", { attrs: { placement: "top-start", title: "温馨提示:", width: "400", trigger: "hover" } }, [a2("div", [a2("div", [e2._v("基于数据安全考虑,每次下载均有记录且数据控制如下:")]), e2._v(" "), a2("div", [e2._v("1. 仅支持最多“三年账期”数据下载。")]), e2._v(" "), a2("div", [e2._v("2. 默认为“近三个账期”数据。")]), e2._v(" "), a2("div", [e2._v("3. 若需更改,请在搜索条件选择“计费账期”,并符合上述要求。")]), e2._v(" "), a2("div", [e2._v("\n 4. 应收数据下载默认不含第三方应收数据,若需查询请到“收款记录”。\n ")]), e2._v(" "), a2("div", [e2._v("5. 下载完的Excel文件请在“下载中心”中查看下载状态下载。")])]), e2._v(" "), a2("el-button", { staticClass: "el-icon-download export", staticStyle: { margin: "0 10px" }, attrs: { slot: "reference", type: "success", size: "medium", loading: e2.downloading }, on: { click: e2.exportExcel }, slot: "reference" }, [e2._v("下载Excel")])], 1), e2._v(" "), a2("el-button", { staticClass: "deduction", attrs: { type: "success", size: "medium", loading: e2.deductionloading }, on: { click: e2.deductionPrepayment } }, [e2._v("抵扣预缴")]), e2._v(" "), a2("el-button", { attrs: { type: "success", size: "medium", disabled: e2.salesOrderLoading, loading: e2.salesOrderLoading }, on: { click: e2.salesOrderClick } }, [e2._v("我要销单")]), e2._v(" "), a2("el-button", { attrs: { type: "info", size: "medium" }, on: { click: e2.refundClick } }, [e2._v("我要退款")]), e2._v(" "), a2("el-button", { attrs: { type: "primary", size: "medium" }, on: { click: e2.depositTrans } }, [e2._v("押金转预缴")]), e2._v(" "), a2("el-button", { attrs: { type: "warning", size: "medium" }, on: { click: e2.writeOffClick } }, [e2._v("冲销作废")]), e2._v(" "), a2("el-button", { attrs: { type: "danger", size: "medium" }, on: { click: e2.suspendClick } }, [e2._v("挂起")]), e2._v(" "), a2("el-button", { attrs: { type: "success", size: "medium" }, on: { click: e2.unsuspendClick } }, [e2._v("取消挂起")]), e2._v(" "), a2("el-button", { attrs: { size: "medium" }, on: { click: e2.showSplitList } }, [e2._v("拆分记录")])], 1), e2._v(" "), this.selectList.length ? a2("div", { staticStyle: { "margin-bottom": "10px" } }, [e2._v("\n " + e2._s(this.selectList.length ? "已选:" + this.selectList.length + "条" : "") + "\n ")]) : e2._e(), e2._v(" "), a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.listLoading, expression: "listLoading" }], ref: "receivableTable", attrs: { border: "", data: e2.listData, "header-cell-style": e2.headClass, "row-key": "id" }, on: { "selection-change": e2.selectionChange } }, [a2("el-table-column", { attrs: { type: "selection", align: "center", fixed: "", "min-width": "50", "show-overflow-tooltip": "", selectable: e2.selectable, "reserve-selection": true } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "房屋", fixed: "", "min-width": "160", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [t3.row.precinctName && t3.row.buildingName && t3.row.unitName && t3.row.roomNum ? a2("div", [a2("div", { staticClass: "houseDes", on: { click: function(a3) {
return e2.gotoHouseDeyailes(t3.row);
} } }, [e2._v("\n " + e2._s(t3.row.precinctName + "-" + t3.row.buildingName + "-" + t3.row.unitName + "-" + t3.row.roomNum) + "\n ")])]) : a2("div", [2 == t3.row.source ? a2("div", [e2._v("个人")]) : a2("div", [e2._v("-")])])];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "债务人", "min-width": "120" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.debtorBy || "-") + "\n "), a2("i", { staticClass: "el-icon-edit editPaymentBy", on: { click: function(a3) {
return e2.editThisPaymentBy(t3.row, 1);
} } })];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "缴费人", "min-width": "120" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.paymentBy || "-") + "\n "), a2("i", { staticClass: "el-icon-edit editPaymentBy", on: { click: function(a3) {
return e2.editThisPaymentBy(t3.row, 0);
} } })];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "chargeDate", label: "计费账期", "min-width": "80", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "fsChargesName", label: "收费项", "min-width": "100", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", label: "应收本金", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("toThousandFilter")(t3.row.baseAmount)) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", label: "应收违约金", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("toThousandFilter")(t3.row.lateFee)) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", label: "实收本金", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("toThousandFilter")(t3.row.basePaid)) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", label: "实收违约金", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("toThousandFilter")(t3.row.latePaid)) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", label: "待缴本金", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("toThousandFilter")(t3.row.willPayPrincipal)) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", label: "欠费本金", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [t3.row.arrearagePrincipal ? a2("span", [e2._v("\n " + e2._s(e2._f("toThousandFilter")(t3.row.arrearagePrincipal)) + "\n ")]) : a2("span", [e2._v(" " + e2._s(e2._f("toThousandFilter")(0)))])];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", label: "欠费违约金", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [t3.row.arrearageLateFee ? a2("span", [e2._v("\n " + e2._s(e2._f("toThousandFilter")(t3.row.arrearageLateFee)) + "\n ")]) : a2("span", [e2._v(" " + e2._s(e2._f("toThousandFilter")(0)))])];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", label: "押金余额", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("toThousandFilter")(t3.row.deposit)) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", label: "押金退款", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("toThousandFilter")(t3.row.depositRefund)) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", label: "押金转预缴", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("toThousandFilter")(t3.row.depositPrepay)) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "payDeadline", label: "应收日期", "min-width": "100", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "应收开始日期", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.startTime ? t3.row.startTime.split(" ")[0] : "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "应收结束日期", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.endTime ? t3.row.endTime.split(" ")[0] : "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "应收单号", "min-width": "200", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.orderNo || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "倍率", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.magnification || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "本月用量", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.thisMonthNumber || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "上次读数", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.lastReadCount || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "本次读数", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.curReadCount || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "订单来源", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.source, e2.orderSource)) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "应收分类", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(1 === t3.row.type ? "普通类" : "押金类") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "资源类型", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.targetType, e2.resourceTypeList)) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "资源id", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.targetId || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "计费发布时间", "min-width": "180", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.createTime || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "status", "min-width": "80", fixed: "right", label: "缴费状态", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("div", { style: e2.getColor(t3.row.status) }, [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.status, e2.paymentStatus)) + "\n ")])];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "操作", "min-width": "140", fixed: "right" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [1 == t3.row.status || 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.gotoExpediting(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.viewDetailes(t3.row);
} } }, [e2._v("查看")]), e2._v(" "), 1 === t3.row.type && 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.splitClick(t3.row);
} } }, [e2._v("拆分")]) : e2._e()];
} }]) })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.query.pageNumber, "page-sizes": [10, 30, 50], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.total }, on: { "update:currentPage": function(t3) {
return e2.$set(e2.query, "pageNumber", t3);
}, "update:current-page": function(t3) {
return e2.$set(e2.query, "pageNumber", t3);
}, "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)], 1), e2._v(" "), e2.salesOrderVisible ? a2("salesOrder", { ref: "salesOrder", attrs: { show: e2.salesOrderVisible, orderData: e2.payListData }, on: { scanShow: e2.openScan, close: e2.closeDialog, closeGet: e2.getBack, setSalesOrder: e2.setSalesOrderFun } }) : e2._e(), e2._v(" "), e2.salesRefund ? a2("salesRefund", { ref: "salesRefund", attrs: { show: e2.salesRefund, orderData: e2.payListData }, on: { scanShow: e2.openScan, close: e2.closeRefundDialog } }) : e2._e(), e2._v(" "), a2("scanPay", { attrs: { show: e2.scanVisible, info: e2.scanInfo }, on: { back: e2.getBack } }), e2._v(" "), a2("el-dialog", { attrs: { title: "提示", visible: e2.problemDataDialogVisible }, on: { "update:visible": function(t3) {
e2.problemDataDialogVisible = t3;
} } }, [a2("div", { staticClass: "problemDataNotes" }, [e2._v("\n 以下数据存在应收日期异常,无法正常销单,请联系管理员针对问题数据进行订正。\n ")]), e2._v(" "), a2("el-table", { attrs: { data: e2.problemData, border: "", size: "mini" } }, [a2("el-table-column", { attrs: { align: "center", label: "房屋", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.precinctName + "-" + t3.row.buildingName + "-" + t3.row.unitName + "-" + t3.row.roomNum) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "chargeDate", label: "计费账期", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "fsChargesName", label: "收费项", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "payDeadline", label: "应收日期", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.payDeadline ? t3.row.payDeadline : "暂无应收日期") + "\n ")];
} }]) })], 1), e2._v(" "), a2("div", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: function(t3) {
e2.problemDataDialogVisible = false;
} } }, [e2._v("关闭")])], 1)], 1), e2._v(" "), a2("el-dialog", { attrs: { title: 1 === e2.isChangePaymentBy ? "债务人变更" : "缴费人变更", visible: e2.dialogVisible, width: "30%" }, on: { "update:visible": function(t3) {
e2.dialogVisible = t3;
} } }, [a2("el-form", { ref: "payerForm", attrs: { model: e2.payerForm, rules: e2.formRules, "label-width": "120px" } }, [a2("el-form-item", { attrs: { label: "房屋成员", prop: "id" } }, [a2("el-select", { attrs: { placeholder: "请选房屋成员" }, model: { value: e2.payerForm.id, callback: function(t3) {
e2.$set(e2.payerForm, "id", t3);
}, expression: "payerForm.id" } }, e2._l(e2.memberList, (function(t3, s2) {
return a2("el-option", { key: s2, attrs: { label: t3.realName, value: t3.id } }, [e2._v("\n " + e2._s(t3.realName + "/" + t3.mobile) + "\n (" + e2._s(e2._f("getItemType")(t3.identityType, e2.identityList)) + ")")]);
})), 1)], 1), e2._v(" "), 1 === e2.isChangePaymentBy ? a2("el-form-item", { attrs: { "label-width": "250px", label: "是否同步更新后月应收债务人", prop: "updateResidue" } }, [a2("el-switch", { attrs: { "active-color": "#13ce66", "inactive-color": "#ff4949", "active-value": 1, "inactive-value": 0 }, model: { value: e2.payerForm.updateResidue, callback: function(t3) {
e2.$set(e2.payerForm, "updateResidue", t3);
}, expression: "payerForm.updateResidue" } }), e2._v(" "), a2("span", { staticStyle: { "margin-left": "10px" } }, [e2._v(e2._s(0 == e2.payerForm.updateResidue ? "否" : "是"))])], 1) : e2._e()], 1), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: function(t3) {
return e2.resetForm("payerForm");
} } }, [e2._v("取 消")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: function(t3) {
return e2.submitForm("payerForm");
} } }, [e2._v("确认变更")])], 1)], 1), e2._v(" "), a2("pushType", { attrs: { show: e2.pushShow, list: e2.pushList, pushType: e2.selectType, searchInfo: e2.query }, on: { close: e2.pushClose } }), e2._v(" "), a2("Notice", { attrs: { show: e2.noticeShow, areaList: e2.areaOptions }, on: { close: function(t3) {
e2.noticeShow = false;
} } }), e2._v(" "), a2("splitItem", { ref: "splitItem", attrs: { show: e2.splitShow }, on: { close: function(t3) {
e2.splitShow = false;
}, callback: e2.splitBack } }), e2._v(" "), a2("splitList", { ref: "splitList", attrs: { show: e2.splitListShow }, on: { close: function(t3) {
e2.splitListShow = false;
} } })], 1);
}, r = [], l = a("2b74"), n = a("9192"), i = a("08f8"), o = a("e654"), u = a("7459"), c = a("dce5"), p = a("8f53"), d = a("4059"), h = a("d15f"), m = a("c32d"), f = a("2b7d"), b = a("bd5b"), v = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", [a2("el-dialog", { attrs: { title: "应收拆分", visible: e2.show, width: "750", "before-close": e2.handleClose, "close-on-click-modal": false, "close-on-press-escape": false }, on: { "update:visible": function(t3) {
e2.show = t3;
} } }, [a2("el-descriptions", { attrs: { column: 2 } }, [a2("el-descriptions-item", { attrs: { label: "应收开始日期" } }, [e2._v(e2._s(e2.splitData.minDate || "-"))]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "应收结束日期" } }, [e2._v(e2._s(e2.splitData.maxDate || "-"))]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "应收本金" } }, [e2._v(e2._s(e2._f("toThousandFilter")(e2.splitData.baseAmount)))]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "应收违约金" } }, [e2._v(e2._s(e2._f("toThousandFilter")(e2.splitData.lateFee)))])], 1), e2._v(" "), a2("el-form", { ref: "splitForm", attrs: { model: e2.splitForm, rules: e2.splitRule, "label-width": "80px" } }, [e2._l(e2.splitForm.splitList, (function(t3, s2) {
return a2("el-form-item", { key: s2, attrs: { label: "拆分" + (s2 + 1) } }, [a2("div", { staticClass: "itemList" }, [a2("el-form-item", { attrs: { prop: "splitList." + s2 + ".startTime", rules: e2.splitRule.startTime } }, [a2("el-date-picker", { staticStyle: { width: "180px" }, attrs: { format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", disabled: "", type: "date", placeholder: "开始日期" }, model: { value: t3.startTime, callback: function(a3) {
e2.$set(t3, "startTime", a3);
}, expression: "item.startTime" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "splitList." + s2 + ".endTime", rules: e2.splitRule.endTime } }, [a2("el-date-picker", { staticStyle: { width: "180px" }, attrs: { format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", type: "date", placeholder: "结束日期", "picker-options": e2.disabledPicker, "default-value": e2.setDefaultDate(t3), disabled: s2 + 1 != e2.splitForm.splitList.length }, on: { focus: function(a3) {
return e2.setFocusData(t3);
} }, model: { value: t3.endTime, callback: function(a3) {
e2.$set(t3, "endTime", a3);
}, expression: "item.endTime" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "splitList." + s2 + ".price", rules: e2.splitRule.price } }, [a2("el-input-number", { staticStyle: { width: "160px" }, attrs: { "controls-position": "right", precision: 2, placeholder: "拆分本金" }, model: { value: t3.price, callback: function(a3) {
e2.$set(t3, "price", a3);
}, expression: "item.price" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "splitList." + s2 + ".num", rules: e2.splitRule.num } }, [a2("el-input-number", { staticStyle: { width: "160px" }, attrs: { "controls-position": "right", precision: 2, placeholder: "拆分违约金" }, model: { value: t3.num, callback: function(a3) {
e2.$set(t3, "num", a3);
}, expression: "item.num" } })], 1), e2._v(" "), s2 + 1 == e2.splitForm.splitList.length ? a2("div", [a2("el-button", { attrs: { type: "primary", icon: "el-icon-plus", circle: "" }, on: { click: function(a3) {
return a3.preventDefault(), e2.addItem(t3);
} } }), e2._v(" "), s2 >= 1 ? a2("el-button", { attrs: { type: "danger", icon: "el-icon-delete", circle: "" }, on: { click: function(a3) {
return a3.preventDefault(), e2.removeItem(t3);
} } }) : e2._e()], 1) : e2._e()], 1)]);
})), e2._v(" "), a2("el-form-item", [a2("el-button", { attrs: { type: "primary" }, on: { click: function(t3) {
return e2.onConfirm("splitForm");
} } }, [e2._v("确认")]), e2._v(" "), a2("el-button", { on: { click: e2.handleClose } }, [e2._v("取消")])], 1)], 2)], 1)], 1);
}, g = [], y = a("dd26"), _ = a.n(y), w = { props: { show: { type: Boolean, default: false } }, data: function() {
return { userInfo: "", splitData: "", splitForm: { splitList: [{ startTime: "", endTime: "", price: void 0, num: void 0 }] }, splitRule: { startTime: { required: true, message: "请选择结束日期", trigger: "change" }, endTime: { required: true, message: "请选择结束日期", trigger: "change" }, price: [{ required: true, message: "请输入应收金额", trigger: "blur" }, { validator: this.validateNumber, trigger: "blur" }], num: [{ required: true, message: "请输入违约金", trigger: "blur" }] }, checkMinDate: "", disabledPicker: { disabledDate: this.disabledDate } };
}, mounted: function() {
}, methods: { init: function(e2) {
this.splitData = e2, this.splitData.minDate = _()(e2.startTime).format("YYYY-MM-DD"), this.splitData.maxDate = _()(e2.endTime).format("YYYY-MM-DD"), this.splitForm.splitList[0].startTime = this.splitData.minDate, this.userInfo = this.$store.state.user.userInfo;
}, setFocusData: function(e2) {
this.checkMinDate = e2.startTime;
}, setDefaultDate: function(e2) {
return new Date(_()(e2.startTime));
}, disabledDate: function(e2) {
return e2.getTime() < new Date(_()(this.checkMinDate)).getTime() || e2.getTime() > new Date(_()(this.splitData.maxDate)).getTime();
}, validateNumber: function(e2, t2, a2) {
if (t2 <= 0) return a2(new Error("应收金额必须大于0"));
a2();
}, addItem: function(e2) {
var t2 = this;
this.$refs["splitForm"].validate((function(a2) {
a2 && t2.splitForm.splitList.push({ startTime: _()(e2.endTime).add(1, "days").format("YYYY-MM-DD"), endTime: "", price: void 0, num: void 0 });
}));
}, removeItem: function(e2) {
var t2 = this.splitForm.splitList.indexOf(e2);
-1 !== t2 && this.splitForm.splitList.splice(t2, 1);
}, onConfirm: function(e2) {
var t2 = this;
this.$refs[e2].validate((function(e3) {
if (e3) {
var a2 = [], s2 = 0, r2 = 0;
t2.splitForm.splitList.map((function(e4) {
s2 += Math.round(100 * e4.price), r2 += Math.round(100 * e4.num), a2.push({ startTime: "".concat(e4.startTime, " 00:00:00"), endTime: "".concat(e4.endTime, " 23:59:59"), totalAmount: e4.price, lateFee: e4.num });
}));
var l2 = t2.splitForm.splitList[t2.splitForm.splitList.length - 1].endTime;
if (t2.splitForm.splitList.length <= 1) return t2.$message.error("拆分项最少为2条"), false;
if (_()(l2).diff(_()(t2.splitData.maxDate), "days") < 0) return t2.$message.error("拆分最后结束日期必须为当前月最后一天"), false;
if (s2 / 100 > t2.splitData.baseAmount) return t2.$message.error("拆分本金合计高于应收本金"), false;
if (s2 / 100 < t2.splitData.baseAmount) return t2.$message.error("拆分本金合计低于应收本金"), false;
if (r2 / 100 > t2.splitData.lateFee) return t2.$message.error("拆分违约金合计高于应收违约金"), false;
if (r2 / 100 < t2.splitData.lateFee) return t2.$message.error("拆分违约金合计低于应收违约金"), false;
var n2 = { splitObj: a2, id: t2.splitData.id, opMemberName: t2.userInfo.memberName };
Object(o["F"])(n2).then((function(e4) {
0 == e4.code && (t2.$message.success("拆分成功"), t2.resetForm(), t2.$emit("callback"));
}));
}
}));
}, handleClose: function() {
this.resetForm(), this.$emit("close");
}, resetForm: function() {
this.$refs["splitForm"].resetFields(), this.splitForm.splitList = [{ startTime: "", endTime: "", price: void 0, num: void 0 }];
} } }, L = w, I = (a("f169"), a("829d")), k = Object(I["a"])(L, v, g, false, null, "32ddb9d8", null), D = k.exports, C = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", [a2("el-dialog", { attrs: { title: "拆分记录列表", visible: e2.show, width: "80%", "before-close": e2.handleClose, "close-on-click-modal": false, "close-on-press-escape": false }, on: { "update:visible": function(t3) {
e2.show = t3;
} } }, [a2("div", [a2("el-form", { ref: "query", staticClass: "demo-form-inline", attrs: { model: e2.query, inline: true } }, [a2("el-form-item", { attrs: { prop: "orderNo" } }, [a2("el-input", { attrs: { placeholder: "原应收单号", clearable: "" }, model: { value: e2.query.orderNo, callback: function(t3) {
e2.$set(e2.query, "orderNo", t3);
}, expression: "query.orderNo" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "newOrderNo" } }, [a2("el-input", { attrs: { placeholder: "拆分应收单号", clearable: "" }, model: { value: e2.query.newOrderNo, callback: function(t3) {
e2.$set(e2.query, "newOrderNo", t3);
}, expression: "query.newOrderNo" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "statusList" } }, [a2("el-cascader", { attrs: { placeholder: "缴费状态", options: e2.paymentStatus, props: e2.props, clearable: "", filterable: "", "collapse-tags": "" }, model: { value: e2.query.statusList, callback: function(t3) {
e2.$set(e2.query, "statusList", t3);
}, expression: "query.statusList" } })], 1), e2._v(" "), a2("el-form-item", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")])], 1), e2._v(" "), a2("el-form-item", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: e2.resetForm } }, [e2._v("重置")])], 1)], 1)], 1), e2._v(" "), a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.listLoading, expression: "listLoading" }], staticStyle: { width: "100%" }, attrs: { border: "", data: e2.listData, "header-cell-style": e2.headClass } }, [a2("el-table-column", { attrs: { label: "#", align: "center", width: "70" }, 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", label: "拆分应收单号", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("span", [e2._v(e2._s(t3.row.newOrderNo || "-"))])];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", label: "拆分金额", "show-overflow-tooltip": "", width: "120" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("span", [e2._v(e2._s(e2._f("toThousandFilter")(t3.row.splitAmount)))])];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", label: "拆分违约金", "show-overflow-tooltip": "", width: "120" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("span", [e2._v(e2._s(e2._f("toThousandFilter")(t3.row.splitLateFee)))])];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "原应收单号", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("span", [e2._v(e2._s(t3.row.orderNo || "-"))])];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", label: "原应收金额", "show-overflow-tooltip": "", width: "120" }, 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: "right", label: "原应收违约金", "show-overflow-tooltip": "", width: "120" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("span", [e2._v(e2._s(e2._f("toThousandFilter")(t3.row.totalLateFee)))])];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "拆分单缴费状态", "show-overflow-tooltip": "", width: "140" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("span", [e2._v(e2._s(e2._f("getItemType")(t3.row.status, e2.paymentStatus)))])];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "拆分人", "show-overflow-tooltip": "", width: "100" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("span", [e2._v(e2._s(t3.row.splitBy || "-"))])];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "拆分时间", "show-overflow-tooltip": "", width: "170" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("span", [e2._v(e2._s(t3.row.createTime || "-"))])];
} }]) })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.query.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.total }, on: { "update:currentPage": function(t3) {
return e2.$set(e2.query, "pageNumber", t3);
}, "update:current-page": function(t3) {
return e2.$set(e2.query, "pageNumber", t3);
}, "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)], 1)], 1);
}, T = [], F = { props: { show: { type: Boolean, default: false } }, data: function() {
return { paymentStatus: c["Nb"], listLoading: false, listData: [], total: 0, query: { orderNo: "", newOrderNo: "", statusList: [], pageNumber: 1, pageSize: 10 }, props: { multiple: true } };
}, mounted: function() {
}, methods: { getList: function() {
var e2 = this;
this.listLoading = true, this.query.projectUuid = this.$store.state.community_uuid, this.query.statusList = this.query.statusList.flat(), Object(o["G"])(this.query).then((function(t2) {
t2.data && t2.data.records && (e2.listData = t2.data.records, e2.total = t2.data.rowsCount);
})), this.listLoading = false;
}, onSearch: function() {
this.query.pageNumber = 1, this.getList();
}, resetForm: function() {
this.$refs["query"].resetFields(), this.query.pageNumber = 1, this.getList();
}, handleSizeChange: function(e2) {
this.query.pageSize = e2, this.getList();
}, handleCurrentChange: function(e2) {
this.query.pageNumber = e2, this.getList();
}, handleClose: function() {
this.$emit("close");
}, headClass: function() {
return "text-align:center;background:#FAFAFA;";
} } }, q = F, S = Object(I["a"])(q, C, T, false, null, "0635b596", null), O = S.exports, $ = a("ce63"), A = a("0b37");
function j(e2) {
return j = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e3) {
return typeof e3;
} : function(e3) {
return e3 && "function" == typeof Symbol && e3.constructor === Symbol && e3 !== Symbol.prototype ? "symbol" : typeof e3;
}, j(e2);
}
function x(e2, t2) {
var a2 = Object.keys(e2);
if (Object.getOwnPropertySymbols) {
var s2 = Object.getOwnPropertySymbols(e2);
t2 && (s2 = s2.filter((function(t3) {
return Object.getOwnPropertyDescriptor(e2, t3).enumerable;
}))), a2.push.apply(a2, s2);
}
return a2;
}
function N(e2) {
for (var t2 = 1; t2 < arguments.length; t2++) {
var a2 = null != arguments[t2] ? arguments[t2] : {};
t2 % 2 ? x(Object(a2), true).forEach((function(t3) {
P(e2, t3, a2[t3]);
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e2, Object.getOwnPropertyDescriptors(a2)) : x(Object(a2)).forEach((function(t3) {
Object.defineProperty(e2, t3, Object.getOwnPropertyDescriptor(a2, t3));
}));
}
return e2;
}
function P(e2, t2, a2) {
return (t2 = M(t2)) in e2 ? Object.defineProperty(e2, t2, { value: a2, enumerable: true, configurable: true, writable: true }) : e2[t2] = a2, e2;
}
function M(e2) {
var t2 = R(e2, "string");
return "symbol" == j(t2) ? t2 : t2 + "";
}
function R(e2, t2) {
if ("object" != j(e2) || !e2) return e2;
var a2 = e2[Symbol.toPrimitive];
if (void 0 !== a2) {
var s2 = a2.call(e2, t2 || "default");
if ("object" != j(s2)) return s2;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return ("string" === t2 ? String : Number)(e2);
}
function B() {
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
var e2, t2, a2 = "function" == typeof Symbol ? Symbol : {}, s2 = a2.iterator || "@@iterator", r2 = a2.toStringTag || "@@toStringTag";
function l2(a3, s3, r3, l3) {
var o3 = s3 && s3.prototype instanceof i2 ? s3 : i2, u3 = Object.create(o3.prototype);
return H(u3, "_invoke", (function(a4, s4, r4) {
var l4, i3, o4, u4 = 0, c3 = r4 || [], p3 = false, d3 = { p: 0, n: 0, v: e2, a: h2, f: h2.bind(e2, 4), d: function(t3, a5) {
return l4 = t3, i3 = 0, o4 = e2, d3.n = a5, n2;
} };
function h2(a5, s5) {
for (i3 = a5, o4 = s5, t2 = 0; !p3 && u4 && !r5 && t2 < c3.length; t2++) {
var r5, l5 = c3[t2], h3 = d3.p, m2 = l5[2];
a5 > 3 ? (r5 = m2 === s5) && (o4 = l5[(i3 = l5[4]) ? 5 : (i3 = 3, 3)], l5[4] = l5[5] = e2) : l5[0] <= h3 && ((r5 = a5 < 2 && h3 < l5[1]) ? (i3 = 0, d3.v = s5, d3.n = l5[1]) : h3 < m2 && (r5 = a5 < 3 || l5[0] > s5 || s5 > m2) && (l5[4] = a5, l5[5] = s5, d3.n = m2, i3 = 0));
}
if (r5 || a5 > 1) return n2;
throw p3 = true, s5;
}
return function(r5, c4, m2) {
if (u4 > 1) throw TypeError("Generator is already running");
for (p3 && 1 === c4 && h2(c4, m2), i3 = c4, o4 = m2; (t2 = i3 < 2 ? e2 : o4) || !p3; ) {
l4 || (i3 ? i3 < 3 ? (i3 > 1 && (d3.n = -1), h2(i3, o4)) : d3.n = o4 : d3.v = o4);
try {
if (u4 = 2, l4) {
if (i3 || (r5 = "next"), t2 = l4[r5]) {
if (!(t2 = t2.call(l4, o4))) throw TypeError("iterator result is not an object");
if (!t2.done) return t2;
o4 = t2.value, i3 < 2 && (i3 = 0);
} else 1 === i3 && (t2 = l4.return) && t2.call(l4), i3 < 2 && (o4 = TypeError("The iterator does not provide a '" + r5 + "' method"), i3 = 1);
l4 = e2;
} else if ((t2 = (p3 = d3.n < 0) ? o4 : a4.call(s4, d3)) !== n2) break;
} catch (t3) {
l4 = e2, i3 = 1, o4 = t3;
} finally {
u4 = 1;
}
}
return { value: t2, done: p3 };
};
})(a3, r3, l3), true), u3;
}
var n2 = {};
function i2() {
}
function o2() {
}
function u2() {
}
t2 = Object.getPrototypeOf;
var c2 = [][s2] ? t2(t2([][s2]())) : (H(t2 = {}, s2, (function() {
return this;
})), t2), p2 = u2.prototype = i2.prototype = Object.create(c2);
function d2(e3) {
return Object.setPrototypeOf ? Object.setPrototypeOf(e3, u2) : (e3.__proto__ = u2, H(e3, r2, "GeneratorFunction")), e3.prototype = Object.create(p2), e3;
}
return o2.prototype = u2, H(p2, "constructor", u2), H(u2, "constructor", o2), o2.displayName = "GeneratorFunction", H(u2, r2, "GeneratorFunction"), H(p2), H(p2, r2, "Generator"), H(p2, s2, (function() {
return this;
})), H(p2, "toString", (function() {
return "[object Generator]";
})), (B = function() {
return { w: l2, m: d2 };
})();
}
function H(e2, t2, a2, s2) {
var r2 = Object.defineProperty;
try {
r2({}, "", {});
} catch (e3) {
r2 = 0;
}
H = function(e3, t3, a3, s3) {
function l2(t4, a4) {
H(e3, t4, (function(e4) {
return this._invoke(t4, a4, e4);
}));
}
t3 ? r2 ? r2(e3, t3, { value: a3, enumerable: !s3, configurable: !s3, writable: !s3 }) : e3[t3] = a3 : (l2("next", 0), l2("throw", 1), l2("return", 2));
}, H(e2, t2, a2, s2);
}
function z(e2, t2, a2, s2, r2, l2, n2) {
try {
var i2 = e2[l2](n2), o2 = i2.value;
} catch (e3) {
return void a2(e3);
}
i2.done ? t2(o2) : Promise.resolve(o2).then(s2, r2);
}
function E(e2) {
return function() {
var t2 = this, a2 = arguments;
return new Promise((function(s2, r2) {
var l2 = e2.apply(t2, a2);
function n2(e3) {
z(l2, s2, r2, n2, i2, "next", e3);
}
function i2(e3) {
z(l2, s2, r2, n2, i2, "throw", e3);
}
n2(void 0);
}));
};
}
var Y = { components: { scanPay: d["a"], salesOrder: h["a"], salesRefund: m["a"], pushType: f["a"], Notice: b["a"], splitItem: D, splitList: O, ElYearPicker: i["a"] }, data: function() {
return { pickerOptions: { shortcuts: [{ text: "本月", onClick: function(e2) {
e2.$emit("pick", [/* @__PURE__ */ new Date(), /* @__PURE__ */ new Date()]);
} }, { text: "今年至今", onClick: function(e2) {
var t2 = /* @__PURE__ */ new Date(), a2 = new Date((/* @__PURE__ */ new Date()).getFullYear(), 0);
e2.$emit("pick", [a2, t2]);
} }, { text: "最近六个月", onClick: function(e2) {
var t2 = /* @__PURE__ */ new Date(), a2 = /* @__PURE__ */ new Date();
a2.setMonth(a2.getMonth() - 6), e2.$emit("pick", [a2, t2]);
} }] }, is_show: true, noticeShow: false, splitShow: false, splitListShow: false, height: "", listData: [], listLoading: false, resourceTypeList: c["ac"], paymentStatus: c["Nb"], feeTypeList: c["W"], orderSource: c["yb"], total: 0, feeInfo: { total_Re: 0, total_paid: 0, total_unpaid: 0, total_fee: 0, base_Re: 0, base_paid: 0, base_unpaid: 0, base_fee: 0, late_Re: 0, late_paid: 0, late_fee: 0, changeAmount1: 0, changeAmountFeeAmount: 0 }, salesOrderVisible: false, scanVisible: false, salesRefund: false, query: { chargeType: 2, chargeDates: [], precinctId: "", buildingId: "", unitId: "", fsHouseId: "", deadlineStart: "", deadlineEnd: "", type: "", source: "", subjectCodes: [], orderNo: "", pageNumber: 1, pageSize: 10, statusList: [], chargeIds: [], debtorBy: "", startDate: "", endDate: "", selectChargeDate: [], houseStatus: 99, businessClassifys: [], chargeCompanyId: "" }, areaOptions: [], building: [], unitList: [], houseList: [], selectList: [], payListData: [], scanInfo: {}, problemDataDialogVisible: false, problemData: [], chargeItemList: [], queryTime: "", createTime: "", monthList: [], downloading: false, deductionloading: false, changPaymentByItem: null, dialogVisible: false, payerForm: { id: "", updateResidue: 0 }, identityList: p["k"], formRules: { id: [{ required: true, message: "请选择成员", trigger: "change" }] }, memberList: [], isChangePaymentBy: 0, lockedList: [], categoryArr: [], salesOrderLoading: false, pushList: [], pushShow: false, selectType: "all", props: { multiple: true }, splitData: {}, businessTypeArr: c["v"], CompanyFsList: [] };
}, beforeRouteEnter: function(e2, t2, a2) {
a2((function(t3) {
var a3 = e2.name, s2 = JSON.parse(sessionStorage.getItem(a3));
e2.query.precinctId && e2.query.buildingId && e2.query.unitId && e2.query.fsHouseId || s2 && (t3.query = s2, s2.buildingId && t3.getBuild(), s2.unitId && t3.getUnit(), s2.fsHouseId && t3.getHouseList(), t3.getListData());
}));
}, created: function() {
this.headClass(), this.getRealHeight(), this.findSubjectBy(), this.monthList = this.setMonths(), this.businessTypeArr = this.businessTypeArr.slice(0, 4);
}, mounted: function() {
this.getChargeItemsList(), this.getAreaList(), this.getCompanyFsList(), this.$route.query.precinctId && this.$route.query.buildingId && this.$route.query.unitId && this.$route.query.fsHouseId ? (this.query.precinctId = Number(this.$route.query.precinctId), this.query.buildingId = Number(this.$route.query.buildingId), this.query.unitId = Number(this.$route.query.unitId), this.query.fsHouseId = Number(this.$route.query.fsHouseId), this.getBuild(), this.getUnit(), this.getHouseList(), this.getListData()) : this.getListData();
}, methods: { getCompanyFsList: function() {
var e2 = this;
Object(n["g"])({ companyId: this.$store.state.companyId, pageSize: -1 }).then((function(t2) {
0 == t2.code && t2.data.records.length > 0 && (e2.CompanyFsList = t2.data.records);
}));
}, getColor: function(e2) {
var t2 = this.paymentStatus.find((function(t3) {
return t3.value == e2;
})).color;
return { color: t2 };
}, findSubjectBy: function() {
var e2 = this;
Object(n["o"])({ projectUuid: this.$store.state.community_uuid, subjectType: 3 }).then((function(t2) {
0 == t2.code && (e2.categoryArr = t2.data);
}));
}, getChargeItemsList: function() {
var e2 = this, t2 = { pageNumber: -1, pageSize: -1, projectUuid: this.$store.state.community_uuid };
Object($["b"])(t2).then((function(t3) {
var a2 = [];
t3.data.records.forEach((function(e3) {
a2.push({ label: e3.name, value: e3.fsChargesId });
})), e2.chargeItemList = a2;
}));
}, getTotal: function() {
var e2 = this;
this.query.companyId = this.$store.state.companyId, Object(o["D"])(this.query).then((function(t2) {
e2.feeInfo = t2.data;
}));
}, getListData: function() {
var e2 = this;
this.listLoading = true, this.query.projectUuid = this.$store.state.community_uuid, this.query.fsHouseDelete = 99 != this.query.houseStatus ? this.query.houseStatus : null, this.query.companyId = this.$store.state.companyId, Object(o["B"])(this.query).then((function(t2) {
t2.data && t2.data.records && (e2.listData = t2.data.records, e2.total = t2.data.rowsCount, e2.listLoading = false, sessionStorage.setItem(e2.$route.name, JSON.stringify(e2.query)));
})).catch((function(t2) {
e2.listLoading = false;
})), this.getTotal();
}, getAreaList: function() {
var e2 = this, t2 = { projectUuid: this.$store.state.community_uuid };
Object(l["f"])(t2).then((function(t3) {
0 === t3.code && (e2.areaOptions = t3.data);
}));
}, selectChange: function(e2) {
this.building = [], this.query.buildingId = "", this.unitList = [], this.query.unitId = "", this.houseList = [], this.query.fsHouseId = "", e2 && this.getBuild();
}, changeUnit: function() {
this.houseList = [], this.query.fsHouseId = "", this.getHouseList();
}, getBuild: function() {
var e2 = this;
Object(l["x"])({ precinctId: this.query.precinctId, projectCode: this.$store.state.community_uuid, projectName: this.$store.state.community_name }).then((function(t2) {
e2.building = t2.data;
}));
}, changeBuild: function() {
this.unitList = [], this.query.unitId = "", this.houseList = [], this.query.fsHouseId = "", this.getUnit();
}, getUnit: function() {
var e2 = this;
Object(l["mb"])({ pageNumber: -1, pageSize: -1, projectCode: this.$store.state.community_uuid, buildingId: this.query.buildingId }).then((function(t2) {
e2.unitList = t2.data.records;
}));
}, getHouseList: function() {
var e2 = this, t2 = { projectCode: this.query.projectUuid, precinctId: this.query.precinctId, buildingId: this.query.buildingId, unitId: this.query.unitId, pageSize: -1 };
Object(l["M"])(t2).then((function(t3) {
0 === t3.code && (e2.houseList = t3.data.records);
}));
}, selectionChange: function(e2) {
var t2 = this;
if (console.log(e2), e2 && e2.length > 30) {
this.$message({ message: "批量销单最大允许30单", type: "info" });
var a2 = e2.slice(30);
a2.length > 0 && a2.forEach((function(e3) {
t2.$refs.receivableTable.toggleRowSelection(e3, false);
})), this.selectList = a2;
} else this.selectList = e2;
}, selectable: function(e2, t2) {
var a2 = this.$refs.receivableTable.selection.includes(e2);
return !(this.$refs.receivableTable.selection.length >= 30) || a2;
}, pushOrder: function(e2) {
if (this.selectType = e2, "select" == e2) {
if (0 === this.selectList.length) return this.$message({ message: "请先选择需要推送的账单!", type: "warning" }), false;
var t2 = this.checkSelect(), a2 = t2.paidList, s2 = t2.payIngList, r2 = t2.payPartList, l2 = t2.unPaidList, n2 = t2.payOffList, i2 = t2.refundList, o2 = t2.refundPartList, u2 = t2.payLockList;
if (a2.length > 0 || s2.length > 0 || n2.length > 0 || i2.length > 0 || o2.length > 0 || u2.length > 0) return this.$message({ message: "只能对未缴费和部分缴费的账单进行推送!", type: "warning" }), false;
this.pushList = l2.concat(r2), this.$nextTick((function() {
this.pushShow = true;
}));
} else "all" == e2 && (this.pushShow = true);
}, pushClose: function() {
this.pushShow = false, this.$refs.receivableTable.clearSelection(), this.getListData();
}, salesOrderClick: function() {
var e2 = this;
if (0 === this.selectList.length) return this.$message({ message: "请先选择需要销单的应收单!", type: "warning" }), false;
var t2 = this.checkSelect(), a2 = t2.paidList, s2 = t2.payIngList, r2 = t2.payPartList, l2 = t2.unPaidList, n2 = t2.payOffList, i2 = t2.refundList, o2 = t2.refundPartList, u2 = t2.payLockList;
if (a2.length > 0 || s2.length > 0 || n2.length > 0 || i2.length > 0 || u2.length > 0) return this.$message({ message: "只能对未缴费、部分缴费、部分退费押金的应收账单进行销单!", type: "warning" }), false;
var c2 = l2.concat(r2).concat(o2);
this.payListData = c2;
var p2 = [];
c2.map((function(e3) {
null !== e3.payDeadline && 0 !== e3.payDeadline.length || p2.push(e3);
})), p2.length > 0 ? (this.problemData = p2, this.problemDataDialogVisible = true) : (this.salesOrderVisible = true, this.$nextTick((function() {
e2.$refs.salesOrder.initData();
})));
}, refundClick: function() {
var e2 = this;
if (0 === this.selectList.length) return this.$message({ message: "请先选择需要退款的应收单!", type: "warning" }), false;
var t2 = this.checkSelect(), a2 = t2.paidList, s2 = t2.payIngList, r2 = t2.payPartList, l2 = t2.unPaidList, n2 = t2.payOffList, i2 = t2.refundList, o2 = t2.refundPartList, u2 = t2.payLockList;
if (l2.length > 0 || s2.length > 0 || i2.length > 0 || n2.length > 0 || u2.length > 0) return this.$message({ message: "只能对已缴费、部分缴费、部分退款的应收账单进行退款!", type: "warning" }), false;
var c2 = a2.concat(r2).concat(o2), p2 = 0;
c2.map((function(e3) {
var t3 = Object(A["a"])(e3.basePaid, e3.latePaid);
p2 = Object(A["a"])(p2, t3);
})), this.$confirm("同意后,将退还选中收费项已实收金额【¥".concat(p2, "】, 是否同意退款?"), "退款确认", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
e2.payListData = c2, e2.salesRefund = true;
})).catch((function() {
}));
}, chargeOffClick: function() {
this.$confirm("同意后,将进行审核销单该收费项, 是否同意核销?", "核销确认", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
})).catch((function() {
}));
}, writeOffClick: (function() {
var e2 = E(B().m((function e3() {
var t3, a2, s2, r2, l2, n2, i2, u2, c2, p2, d2, h2 = this;
return B().w((function(e4) {
while (1) switch (e4.n) {
case 0:
if (0 !== this.selectList.length) {
e4.n = 1;
break;
}
return this.$message({ message: "请先选择需要冲销的应收单!", type: "warning" }), e4.a(2, false);
case 1:
if (t3 = this.checkSelect(), a2 = t3.paidList, s2 = t3.payIngList, r2 = t3.payPartList, l2 = t3.unPaidList, n2 = t3.payOffList, i2 = t3.refundList, u2 = t3.refundPartList, c2 = t3.payLockList, !(r2.length > 0 || a2.length > 0 || s2.length > 0 || n2.length > 0 || i2.length > 0 || u2.length > 0 || c2.length > 0)) {
e4.n = 2;
break;
}
return this.$message({ message: "只能对未缴费的应收账单进行冲销作废!", type: "warning" }), e4.a(2, false);
case 2:
return e4.n = 3, this.getLockedchargeDates();
case 3:
if (p2 = e4.v, d2 = [], l2.forEach((function(e5) {
p2.length > 0 && p2.includes(e5.chargeDate) || d2.push(e5.id);
})), !(0 === d2.length && p2.length > 0)) {
e4.n = 4;
break;
}
return this.$message({ message: "您目前选择的冲销抵扣应收账单账期在锁定状态,无法完成冲销作废,请重新选择!", type: "warning" }), e4.a(2, false);
case 4:
this.$prompt("备注", "冲销确认", { confirmButtonText: "确定", cancelButtonText: "取消" }).then((function(e5) {
var t4 = e5.value;
Object(o["b"])({ ids: d2, remark: t4 || "", operatorId: h2.$store.state.user.userInfo.memberId, operatorName: h2.$store.state.user.userInfo.memberName }).then((function(e6) {
h2.$message({ type: "success", message: "冲销成功!" }), h2.getListData();
}));
})).catch((function() {
}));
case 5:
return e4.a(2);
}
}), e3, this);
})));
function t2() {
return e2.apply(this, arguments);
}
return t2;
})(), getLockedchargeDates: function() {
var e2 = { projectUuid: this.$store.state.community_uuid };
return Object(u["l"])(e2).then((function(e3) {
if (0 === e3.code) {
var t2 = e3.data.chargeDates;
return t2.length > 0 ? t2 : [];
}
return [];
}));
}, checkSelect: function() {
var e2 = [], t2 = [], a2 = [], s2 = [], r2 = [], l2 = [], n2 = [], i2 = [], o2 = [], u2 = [], c2 = {};
return this.selectList.length > 0 ? (this.selectList.forEach((function(c3) {
switch (c3.status) {
case 1:
t2.push(c3);
break;
case 2:
s2.push(c3);
break;
case 3:
e2.push(c3);
break;
case 4:
a2.push(c3);
break;
case 5:
r2.push(c3);
break;
case 6:
l2.push(c3);
break;
case 7:
n2.push(c3);
break;
case 8:
i2.push(c3);
break;
}
2 === c3.type ? o2.push(c3) : 1 === c3.type && u2.push(c3);
})), c2 = { unPaidList: t2, payPartList: s2, paidList: e2, payIngList: a2, payOffList: r2, refundPartList: l2, refundList: n2, payLockList: i2, general: u2, deposit: o2 }, c2) : (this.$message({ message: "请选择需要操作的数据!", type: "warning" }), false);
}, depositTrans: function() {
if (0 === this.selectList.length) return this.$message({ message: "请先选择需要转预缴的押金订单!", type: "warning" }), false;
var e2 = this.checkSelect(), t2 = e2.paidList, a2 = e2.payIngList, s2 = e2.payPartList, r2 = e2.unPaidList, l2 = e2.payOffList, n2 = e2.refundList, i2 = e2.refundPartList, o2 = e2.payLockList, u2 = e2.deposit;
if (s2.length > 0 || r2.length > 0 || a2.length > 0 || n2.length > 0 || l2.length > 0 || o2.length > 0) return this.$message({ message: "只能对分类为押金类且未退款的押金订单进行转预缴!", type: "warning" }), false;
var c2 = u2.filter((function(e3) {
return t2.includes(e3);
})), p2 = i2.concat(c2);
this.$confirm("同意后,会将该收费项进行押金转预缴, 是否同意押金转预缴?", "押金转预缴确认", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
sessionStorage.setItem("depositList", JSON.stringify(p2));
var e3 = window.location.origin + "/#/depositOffset";
window.open("".concat(e3));
})).catch((function() {
}));
}, closeDialog: function() {
this.salesOrderVisible = false, this.scanVisible = false, this.salesRefund = false;
}, closeRefundDialog: function() {
this.salesOrderVisible = false, this.scanVisible = false, this.salesRefund = false, this.$refs.receivableTable.clearSelection(), this.getListData(), this.getAreaList();
}, closePay: function() {
this.scanVisible = false, this.salesRefund = false;
}, openScan: function(e2) {
this.salesOrderVisible = false, this.salesRefund = false, this.scanVisible = true, this.scanInfo = e2;
}, getBack: function() {
this.salesOrderVisible = false, this.salesRefund = false, this.scanVisible = false, this.$refs.receivableTable.clearSelection(), 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;
}));
}, onSearch: function() {
if (this.queryTime ? (this.query.deadlineStart = this.queryTime[0] + " 00:00:00", this.query.deadlineEnd = this.queryTime[1] + " 23:59:59") : (this.query.deadlineStart = "", this.query.deadlineEnd = ""), this.createTime ? (this.query.startDate = this.createTime[0] + " 00:00:00", this.query.endDate = this.createTime[1] + " 23:59:59") : (this.query.startDate = "", this.query.endDate = ""), this.query.statusList = this.query.statusList.flat(), this.query.chargeIds = this.query.chargeIds.flat(), this.selectList = [], this.query.selectChargeDate.length) {
if (1 == this.query.chargeType) {
var e2 = [];
this.query.selectChargeDate.forEach((function(t3) {
for (var a3 = 1; a3 <= 12; a3++) e2.push("".concat(t3, "-").concat(a3 < 10 ? "0" + a3 : a3));
})), this.query.chargeDates = e2;
} else if (2 == this.query.chargeType) this.query.chargeDates = this.query.selectChargeDate;
else if (3 == this.query.chargeType) {
for (var t2 = [], a2 = this.query.selectChargeDate[0]; a2 <= this.query.selectChargeDate[1]; a2++) t2.push(a2);
var s2 = [];
t2.forEach((function(e3) {
for (var t3 = 1; t3 <= 12; t3++) s2.push("".concat(e3, "-").concat(t3 < 10 ? "0" + t3 : t3));
})), this.query.chargeDates = s2;
} else if (4 == this.query.chargeType) {
var r2 = _()(this.query.selectChargeDate[0], "YYYY-MM"), l2 = _()(this.query.selectChargeDate[1], "YYYY-MM"), n2 = r2.clone(), i2 = [];
while (n2.isBefore(l2) || n2.isSame(l2, "month")) i2.push(n2.format("YYYY-MM")), n2.add(1, "month");
this.query.chargeDates = i2;
}
} else this.query.chargeDates = [];
this.$refs.receivableTable.clearSelection(), this.query.pageNumber = 1, this.getListData();
}, resetFormQuery: function(e2) {
this.selectList = [], this.query.statusList = [], this.$refs.receivableTable.clearSelection(), this.$refs[e2].resetFields(), console.log(this.query.fsHouseId, "query.fsHouseId---"), this.queryTime = "", this.createTime = "", this.query.pageNumber = 1, this.query.chargeType = 2, sessionStorage.removeItem("receivable"), this.onSearch();
}, handleSizeChange: function(e2) {
this.query.pageSize = e2, this.getListData();
}, handleCurrentChange: function(e2) {
this.query.pageNumber = e2, this.getListData();
}, headClass: function() {
return "text-align:center;background:#FAFAFA;";
}, gotoHouseDeyailes: function(e2) {
var t2 = window.location.origin, a2 = "".concat(t2, "/#/roomDetails2?id=").concat(e2.fsHouseId);
window.open(a2, "_blank");
}, setMonths: function() {
for (var e2 = /* @__PURE__ */ new Date(), t2 = e2.getFullYear() - 3, a2 = [], s2 = 0; s2 < 7; s2++) for (var r2 = 1; r2 <= 12; r2++) a2.push({ key: a2.length + 1, value: "".concat(t2 + s2, "-").concat(r2 <= 9 ? "0" + r2 : r2) });
return a2;
}, viewDetailes: function(e2) {
this.$router.push({ path: "/viewInfo/receivableDetailes", query: { id: e2.id } });
}, gotoExpediting: function(e2) {
var t2 = window.location.origin + "/#/expediting?fsHouseId=".concat(e2.fsHouseId);
window.open("".concat(t2));
}, selectVisibleChange: function(e2) {
var t2 = this, a2 = /* @__PURE__ */ new Date(), s2 = "".concat(a2.getFullYear(), "-").concat(a2.getMonth() < 10 ? "0".concat(a2.getMonth() + 1) : a2.getMonth() + 1), r2 = this.monthList.findIndex((function(e3, t3) {
return e3.value === s2;
}));
if (e2) {
var l2 = 34 * (r2 - 2);
this.$nextTick((function() {
t2.$refs.selectChargeDates.$refs.scrollbar.$refs.wrap.scrollTop = l2;
}));
}
}, exportExcel: function() {
var e2 = this;
if (this.query.selectChargeDate.length) {
if (1 == this.query.chargeType) {
var t2 = [];
this.query.selectChargeDate.forEach((function(e3) {
for (var a3 = 1; a3 <= 12; a3++) t2.push("".concat(e3, "-").concat(a3 < 10 ? "0" + a3 : a3));
})), this.query.chargeDates = t2;
} else if (2 == this.query.chargeType) this.query.chargeDates = this.query.selectChargeDate;
else if (3 == this.query.chargeType) {
for (var a2 = [], s2 = this.query.selectChargeDate[0]; s2 <= this.query.selectChargeDate[1]; s2++) a2.push(s2);
var r2 = [];
a2.forEach((function(e3) {
for (var t3 = 1; t3 <= 12; t3++) r2.push("".concat(e3, "-").concat(t3 < 10 ? "0" + t3 : t3));
})), this.query.chargeDates = r2;
} else if (4 == this.query.chargeType) {
var l2 = _()(this.query.selectChargeDate[0], "YYYY-MM"), n2 = _()(this.query.selectChargeDate[1], "YYYY-MM"), i2 = l2.clone(), u2 = [];
while (i2.isBefore(n2) || i2.isSame(n2, "month")) u2.push(i2.format("YYYY-MM")), i2.add(1, "month");
this.query.chargeDates = u2;
}
} else this.query.chargeDates = [];
this.downloading = true;
var c2 = N({}, this.query);
c2.companyId = this.$store.state.companyId, c2.companyName = localStorage.getItem("companyName"), c2.memberId = this.$store.state.user.userInfo.memberId, c2.memberName = this.$store.state.user.userInfo.memberName, c2.projectName = this.$store.state.community_name, c2.projectUuid = this.$store.state.community_uuid, Object(o["c"])(c2).then((function(t3) {
e2.downloading = false, 0 == t3.code && e2.$message.success("操作成功!已将任务加入到下载中心,请在下载中心查看状态下载。");
})).catch((function(t3) {
e2.downloading = false;
}));
}, deductionPrepayment: function() {
var e2 = this;
if (0 === this.selectList.length) return this.$message({ message: "请选择需要进行抵扣的应收订单!", type: "warning" }), false;
var t2 = this.checkSelect(), a2 = t2.paidList, s2 = t2.payIngList, r2 = t2.payPartList, l2 = t2.unPaidList, n2 = t2.payOffList, i2 = t2.refundList, u2 = t2.refundPartList, c2 = t2.payLockList;
if (a2.length > 0 || s2.length > 0 || n2.length > 0 || i2.length > 0 || u2.length > 0 || c2.length > 0) return this.$message({ message: "只能对未缴费、部分缴费的应收账单进行抵扣预缴!", type: "warning" }), false;
var p2 = l2.concat(r2);
this.$confirm("同意后,应收订单将进行预缴抵扣, 是否继续?", "抵扣预缴确认", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
e2.deductionloading = true;
var t3 = p2.map((function(e3) {
return e3["id"];
})), a3 = { chargeIds: t3, opMemberName: e2.$store.state.user.name };
Object(o["l"])(a3).then((function(t4) {
0 === t4.code ? (e2.$message({ message: "应收订单正在预缴抵扣中...30秒内请勿重复操作", type: "success" }), e2.$refs.receivableTable.clearSelection(), e2.getListData(), setTimeout((function() {
e2.deductionloading = false;
}), 15e3)) : e2.deductionloading = false;
})).catch((function() {
e2.deductionloading = false;
}));
})).catch((function() {
}));
}, editThisPaymentBy: function(e2, t2) {
this.changPaymentByItem = e2, this.isChangePaymentBy = t2, this.getHouseMembers();
}, getHouseMembers: function() {
var e2 = this;
Object(l["E"])({ id: this.changPaymentByItem.fsHouseId }).then((function(t2) {
if (0 === t2.code) {
var a2 = t2.data;
a2.length > 0 ? (e2.memberList = a2, e2.dialogVisible = true) : (e2.memberList = [], e2.$message({ message: "房屋暂无可变更缴费人,请核对后再试", type: "warning" }));
}
}));
}, resetForm: function(e2) {
this.$refs[e2].resetFields(), this.dialogVisible = false;
}, submitForm: function(e2) {
var t2 = this;
this.$refs[e2].validate((function(e3) {
if (!e3) return console.log("error submit!!"), false;
t2.updataHousePayer();
}));
}, updataHousePayer: function() {
var e2 = this, t2 = { id: this.changPaymentByItem.id }, a2 = this.memberList.find((function(t3) {
return t3.id === e2.payerForm.id;
}));
if (!a2.mobile) return this.$message({ message: "该成员手机号信息缺失", type: "warning" }), false;
t2 = 0 === this.isChangePaymentBy ? Object.assign(t2, { paymentBy: a2.realName, paymentMobile: a2.mobile }) : Object.assign(t2, { debtorBy: a2.realName, debtorMobile: a2.mobile }), 1 == this.isChangePaymentBy ? (t2.updateResidue = this.payerForm.updateResidue, Object(o["g"])(t2).then((function(t3) {
0 === t3.code ? (e2.$message({ message: "变更成功", type: "success" }), e2.$refs["payerForm"].resetFields(), e2.dialogVisible = false, e2.getListData()) : e2.$message({ message: "变更失败", type: "error" });
}))) : Object(o["L"])(t2).then((function(t3) {
0 === t3.code ? (e2.$message({ message: "变更成功", type: "success" }), e2.$refs["payerForm"].resetFields(), e2.dialogVisible = false, e2.getListData()) : e2.$message({ message: "变更失败", type: "error" });
}));
}, setSalesOrderFun: function() {
var e2 = this;
this.$refs.receivableTable.clearSelection(), this.salesOrderLoading = true, setTimeout((function() {
e2.salesOrderLoading = false;
}), 3e4);
}, suspendClick: function() {
var e2 = this;
if (0 !== this.selectList.length) {
var t2 = this.selectList.map((function(e3) {
return e3.id;
}));
this.$confirm("确定要挂起选中的应收账单吗?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
Object(o["H"])({ ids: t2 }).then((function(t3) {
0 === t3.code ? (e2.$message({ message: "挂起成功!", type: "success" }), e2.$refs.receivableTable.clearSelection(), e2.getListData()) : e2.$message({ message: t3.message || "挂起失败", type: "error" });
}));
})).catch((function() {
}));
} else this.$message({ message: "请选择需要挂起的应收账单!", type: "warning" });
}, unsuspendClick: function() {
var e2 = this;
if (0 !== this.selectList.length) {
var t2 = this.selectList.map((function(e3) {
return e3.id;
}));
this.$confirm("确定要取消挂起选中的应收账单吗?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
Object(o["K"])({ ids: t2 }).then((function(t3) {
0 === t3.code ? (e2.$message({ message: "取消挂起成功!", type: "success" }), e2.$refs.receivableTable.clearSelection(), e2.getListData()) : e2.$message({ message: t3.message || "取消挂起失败", type: "error" });
}));
})).catch((function() {
}));
} else this.$message({ message: "请选择需要取消挂起的应收账单!", type: "warning" });
}, splitClick: function(e2) {
var t2 = this;
this.splitShow = true, this.$nextTick((function() {
t2.$refs.splitItem.init(e2);
}));
}, splitBack: function() {
this.splitShow = false, this.getListData();
}, showSplitList: function() {
var e2 = this;
this.splitListShow = true, this.$nextTick((function() {
e2.$refs.splitList.getList();
}));
}, typeChange: function() {
this.query.selectChargeDate = [];
}, yearRangeChange: function(e2) {
this.query.selectChargeDate = e2;
} } }, U = Y, V = (a("f211"), a("bb07"), Object(I["a"])(U, s, r, false, null, "1718b9da", null));
t["default"] = V.exports;
}, ca712: function(e, t, a) {
}, d15f: function(e, t, a) {
"use strict";
var s = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", [e2.show ? a2("el-dialog", { attrs: { title: "我要销单", visible: e2.show, width: "50%", "close-on-click-modal": false, "close-on-press-escape": false, "destroy-on-close": true, "before-close": e2.handleClose }, on: { "update:visible": function(t3) {
e2.show = t3;
} } }, [a2("el-form", { ref: "salesForm", staticClass: "demo-ruleForm", attrs: { model: e2.salesForm, rules: e2.rules, "label-width": "130px" } }, [a2("el-form-item", { attrs: { label: "支付类型", prop: "payType" } }, [a2("el-select", { attrs: { placeholder: "请选择销单支付类型" }, on: { change: e2.salesMethodChange }, model: { value: e2.salesForm.payType, callback: function(t3) {
e2.$set(e2.salesForm, "payType", t3);
}, expression: "salesForm.payType" } }, e2._l(e2.payMethodList, (function(t3) {
return a2("el-option", { key: t3.value, attrs: { disabled: !e2.checkDev() && 8 == t3.value || 4 == t3.value || 5 == t3.value || 9 == t3.value, label: t3.label, value: t3.value } });
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "" } }, [a2("div", [a2("span", { staticClass: "red" }, [e2._v("*")]), e2._v("本次销单含应收订单\n "), a2("span", { staticClass: "orderTotal" }, [e2._v(e2._s(e2.orderData.length))]), e2._v(" 个\n ")])]), e2._v(" "), 3 === e2.salesForm.payType ? a2("el-form-item", { attrs: { label: "本金减免方式", prop: "principalReliefType" } }, [a2("el-radio-group", { on: { change: e2.principalReliefTypeChange }, model: { value: e2.salesForm.principalReliefType, callback: function(t3) {
e2.$set(e2.salesForm, "principalReliefType", t3);
}, expression: "salesForm.principalReliefType" } }, [a2("el-radio", { attrs: { label: 1 } }, [e2._v("按金额优惠")]), e2._v(" "), a2("el-radio", { attrs: { label: 2, disabled: !(e2.projectDiscount && e2.projectDiscount > 0) } }, [e2._v("按折扣优惠")])], 1), e2._v(" "), 2 === e2.salesForm.principalReliefType ? a2("el-input-number", { staticClass: "discountInput", attrs: { placeholder: "请输入减免折扣比例", precision: 4, step: 0.1, min: e2.projectDiscount, max: 10 }, on: { change: e2.discountChange }, model: { value: e2.discount, callback: function(t3) {
e2.discount = t3;
}, expression: "discount" } }) : e2._e(), e2._v(" "), a2("el-tooltip", { attrs: { effect: "dark", placement: "top" } }, [a2("template", { slot: "content" }, [a2("div", [e2._v("本次销单优惠本金是给房主的减免金额")])]), e2._v(" "), a2("span", { staticClass: "el-icon-info" })], 2)], 1) : e2._e(), e2._v(" "), a2("el-row", { attrs: { gutter: 24 } }, [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "应收本金", prop: "principal" } }, [a2("el-input", { attrs: { disabled: "" }, model: { value: e2.salesForm.principal, callback: function(t3) {
e2.$set(e2.salesForm, "principal", t3);
}, expression: "salesForm.principal" } }, [a2("template", { slot: "append" }, [e2._v("元")])], 2)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: 3 == e2.salesForm.payType ? "本次优惠本金" : "本次销单本金", prop: "cprincipal", "label-width": "150px" } }, [a2("el-input", { attrs: { disabled: 1 !== e2.orderData.length || 2 === e2.salesForm.principalReliefType }, on: { input: function(t3) {
return e2.priceInput(t3, "cprincipal");
}, change: function(t3) {
return e2.cprincipalChange(t3, "principal");
} }, model: { value: e2.salesForm.cprincipal, callback: function(t3) {
e2.$set(e2.salesForm, "cprincipal", t3);
}, expression: "salesForm.cprincipal" } }, [a2("template", { slot: "append" }, [e2._v("元")])], 2)], 1)], 1)], 1), e2._v(" "), 3 === e2.salesForm.payType ? a2("el-form-item", { attrs: { label: "违约金减免方式", prop: "breachContractReliefType" } }, [a2("el-checkbox", { on: { change: e2.breachContractReliefTypeChange }, model: { value: e2.salesForm.breachContractReliefType, callback: function(t3) {
e2.$set(e2.salesForm, "breachContractReliefType", t3);
}, expression: "salesForm.breachContractReliefType" } }, [e2._v(e2._s(e2.salesForm.breachContractReliefType ? "" : "不") + "减免违约金")])], 1) : e2._e(), e2._v(" "), a2("el-row", { attrs: { gutter: 24 } }, [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "应收违约金", prop: "damages" } }, [a2("el-input", { attrs: { disabled: "" }, model: { value: e2.salesForm.damages, callback: function(t3) {
e2.$set(e2.salesForm, "damages", t3);
}, expression: "salesForm.damages" } }, [a2("template", { slot: "append" }, [e2._v("元")])], 2)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: 3 == e2.salesForm.payType ? "本次优惠违约金" : "本次销单违约金", prop: "ldamages" } }, [a2("el-input", { attrs: { disabled: 1 !== e2.orderData.length }, on: { input: function(t3) {
return e2.priceInput(t3, "ldamages");
}, change: function(t3) {
return e2.cprincipalChange(t3, "damages");
} }, model: { value: e2.salesForm.ldamages, callback: function(t3) {
e2.$set(e2.salesForm, "ldamages", t3);
}, expression: "salesForm.ldamages" } }, [a2("template", { slot: "append" }, [e2._v("元")])], 2)], 1)], 1)], 1), e2._v(" "), 3 === e2.salesForm.payType ? a2("el-form-item", { attrs: { label: "雨滴支付密码", prop: "passwd", rules: e2.passwordR } }, [a2("el-input", { attrs: { type: "password", autocomplete: "off" }, model: { value: e2.salesForm.passwd, callback: function(t3) {
e2.$set(e2.salesForm, "passwd", t3);
}, expression: "salesForm.passwd" } })], 1) : e2._e(), e2._v(" "), a2("el-form-item", { attrs: { label: "销单备注", prop: "remark" } }, [a2("el-input", { attrs: { type: "textarea", placeholder: "请输入销单备注", rows: 4 }, model: { value: e2.salesForm.remark, callback: function(t3) {
e2.$set(e2.salesForm, "remark", t3);
}, expression: "salesForm.remark" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "" } }, [a2("div", { staticClass: "sealesNotes" }, [a2("p", [e2._v("员工 " + e2._s(e2.members) + "")]), e2._v(" "), a2("p", [e2._v("\n 您本次销单金额为\n "), a2("span", { staticClass: "money" }, [e2._v("¥" + e2._s(e2.culSalesMoney(e2.salesForm.cprincipal, e2.salesForm.ldamages)))]), e2._v("。\n ")]), e2._v(" "), a2("p", [e2._v("\n 其中本金\n "), a2("span", { staticClass: "money" }, [e2._v("¥" + e2._s(e2._f("formatDecimal")(e2.salesForm.cprincipal, 2)))]), e2._v(",违约金\n "), a2("span", { staticClass: "money" }, [e2._v("¥" + e2._s(e2._f("formatDecimal")(e2.salesForm.ldamages, 2)))]), e2._v("。\n ")]), e2._v(" "), 3 === e2.salesForm.payType ? a2("p", [e2._v("\n (不含本次,您已累计销单减免"), a2("span", { staticClass: "red" }, [e2._v("¥" + e2._s(e2._f("formatDecimal")(e2.reduction, 2)))]), e2._v("\n ")]) : e2._e()])]), e2._v(" "), a2("el-form-item", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary", loading: e2.btnLoading, disabled: e2.btnLoading }, on: { click: e2.payClick } }, [e2._v("确认")]), e2._v(" "), a2("el-button", { on: { click: e2.closeItem } }, [e2._v("取消")])], 1)], 1)], 1) : e2._e()], 1);
}, r = [], l = a("7274"), n = a("516d"), i = a("e654"), o = a("8194"), u = a("dce5"), c = a("0b37");
function p(e2) {
return f(e2) || m(e2) || h(e2) || d();
}
function d() {
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 h(e2, t2) {
if (e2) {
if ("string" == typeof e2) return b(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) ? b(e2, t2) : void 0;
}
}
function m(e2) {
if ("undefined" != typeof Symbol && null != e2[Symbol.iterator] || null != e2["@@iterator"]) return Array.from(e2);
}
function f(e2) {
if (Array.isArray(e2)) return b(e2);
}
function b(e2, t2) {
(null == t2 || t2 > e2.length) && (t2 = e2.length);
for (var a2 = 0, s2 = Array(t2); a2 < t2; a2++) s2[a2] = e2[a2];
return s2;
}
var v = { props: ["show", "orderData"], data: function() {
return { salesOrderType: u["dc"], payMethodList: u["Db"], btnLoading: false, payWay: 1, userInfo: this.$store.state.user.userInfo, salesForm: { method: 1, payType: 1, principal: 0, cprincipal: 0, damages: 0, ldamages: 0, totalAmount: 0, passwd: "", remark: "", principalReliefType: 1, breachContractReliefType: true }, addReqDTOS: [], rules: { method: [{ required: true, message: "请选择销单类型", trigger: "change" }], principal: [{ required: true, message: "请输入应收本金", trigger: "blur" }], cprincipal: [{ required: true, message: "请输入本次销单本金", trigger: "blur" }], damages: [{ required: true, message: "请输入应收违约金", trigger: "blur" }], ldamages: [{ required: true, message: "请输入本次销单违约金", trigger: "blur" }] }, passwordR: [{ required: true, message: "请输入雨滴支付密码", trigger: "blur" }], showBtn: true, reduction: 0, members: "", membersId: 0, discount: void 0, projectDiscount: null, houseStr: "物业费销单-后台销单", settingBaseAmount: 0 };
}, mounted: function() {
var e2 = this;
Object(l["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(p(e2.payMethodList), p(JSON.parse(t2.data.payTypeList)));
a2 = Array.from(new Set(a2.map(JSON.stringify))).map(JSON.parse), e2.payMethodList = a2;
}
}));
}, methods: { initData: function() {
this.membersId = this.$store.state.user.userInfo.id, this.members = this.$store.state.user.userInfo.memberName, this.salesForm.remark = "住户已缴纳现金给员工 ".concat(this.members, ",由员工本人进行线上代缴。"), this.reCulPayOrders();
}, queryProject: function() {
var e2 = this, t2 = { uuid: this.$store.state.community_uuid };
Object(i["m"])(t2).then((function(t3) {
0 === t3.code && t3.data ? (e2.projectDiscount = t3.data.rate, e2.settingBaseAmount = t3.data.baseAmount || 0) : e2.projectDiscount = null, 3 === e2.salesForm.payType && e2.cprincipalChange(e2.salesForm.cprincipal, "principal");
})).catch((function(t3) {
e2.projectDiscount = null;
}));
}, principalReliefTypeChange: function(e2) {
this.reCulPayOrders();
}, discountChange: function(e2) {
this.reCulPayOrders();
}, breachContractReliefTypeChange: function() {
this.reCulPayOrders();
}, reCulPayOrders: function() {
var e2 = this, t2 = this.orderData;
console.log(t2);
var a2 = 0, s2 = 0, r2 = 0, l2 = 0, n2 = [];
t2.length > 0 && t2.map((function(e3) {
a2 = Object(c["a"])(a2, Object(c["d"])(e3.baseAmount, e3.basePaid)), r2 = Object(c["a"])(r2, Object(c["d"])(e3.lateFee, e3.latePaid)), e3.precinctName && e3.buildingName && e3.unitName && e3.roomNum && (n2.includes("".concat(e3.precinctName, "-").concat(e3.buildingName, "-").concat(e3.unitName, "-").concat(e3.roomNum)) || n2.push("".concat(e3.precinctName, "-").concat(e3.buildingName, "-").concat(e3.unitName, "-").concat(e3.roomNum)));
})), this.houseStr = n2.join("#"), this.salesForm.principal = a2, this.salesForm.cprincipal = a2, this.salesForm.damages = r2, this.salesForm.ldamages = r2;
var i2 = [];
t2.forEach((function(t3) {
i2.push({ chargeDate: t3.chargeDate, chargeName: t3.fsChargesName, houseId: t3.fsHouseId, houseNum: t3.projectName + "-" + t3.precinctName + "-" + t3.buildingName + "-" + t3.unitName + "-" + t3.roomNum, baseAmount: 1 === e2.salesForm.principalReliefType ? Object(c["d"])(t3.baseAmount, t3.basePaid) : Object(c["f"])(Object(c["c"])(Object(c["b"])(Object(c["d"])(10, e2.discount || e2.projectDiscount), 10), Object(c["d"])(t3.baseAmount, t3.basePaid)), 4), feeAmount: e2.salesForm.breachContractReliefType ? t3.lateFee < t3.latePaid ? 0 : Object(c["d"])(t3.lateFee, t3.latePaid) : 0, outNo: t3.orderNo, payDeadline: t3.payDeadline + " 23:59:59", outsideOrderInfo: JSON.stringify(t3) });
})), 2 === this.salesForm.principalReliefType ? (i2.map((function(e3) {
s2 = Object(c["a"])(s2, e3.baseAmount);
})), this.salesForm.cprincipal = s2) : this.salesForm.cprincipal = a2, this.salesForm.breachContractReliefType ? (i2.map((function(e3) {
l2 = Object(c["a"])(l2, e3.feeAmount);
})), this.salesForm.ldamages = l2) : this.salesForm.ldamages = 0, this.addReqDTOS = i2;
}, salesMethodChange: function(e2) {
1 === e2 ? (this.members = this.$store.state.user.userInfo.memberName, this.salesForm.remark = "住户已缴纳现金给员工 ".concat(this.members, ",由员工本人进行线上代缴。")) : 2 === e2 ? this.salesForm.remark = "银行转账/POS刷卡\n收款账户 \n交易流水号" : 3 === e2 ? (this.queryProject(), this.getRainDrop(), this.salesForm.remark = "") : this.salesForm.remark = "", this.salesForm.payType = e2, this.salesForm.principalReliefType = 1, 3 !== e2 ? this.salesForm.cprincipal = this.salesForm.principal : this.cprincipalChange(this.salesForm.cprincipal, "principal");
}, getRainDrop: function() {
var e2 = this;
Object(o["d"])({ id: this.$store.state.user.userInfo.memberId }).then((function(t2) {
0 === t2.code ? e2.reduction = t2.data.amount : e2.reduction = 0;
}));
}, culSalesMoney: function(e2, t2) {
return this.totalAmount = Object(c["f"])(Object(c["a"])(e2, t2), 2), this.totalAmount;
}, cprincipalChange: function(e2, t2) {
"" !== e2 && (Number(e2) > this.salesForm[t2] ? (this.$message({ message: "principal" === t2 ? "金额上限为销单应收本金" : "金额上限为销单应收违约金", type: "error" }), "principal" === t2 ? this.salesForm.cprincipal = this.salesForm[t2] : this.salesForm.ldamages = this.salesForm[t2]) : 1 === this.orderData.length && ("principal" === t2 ? this.addReqDTOS[0].baseAmount = e2 : this.addReqDTOS[0].feeAmount = e2));
}, formatMoney: function(e2) {
return null !== e2 || void 0 !== e2 ? n["a"].formatMoney(e2, 2, "¥") : "0.00";
}, priceInput: function(e2, t2) {
e2 = e2.replace(/[^\d\.]/g, ""), e2 = e2.replace(/^\./g, ""), e2 = e2.replace(/^0\d[0-9]*/g, ""), e2 = e2.replace(/\.{2,}/g, "."), e2 = e2.replace(".", "$#$").replace(/\./g, "").replace("$#$", "."), e2 = e2.replace(/^(\-)*(\d+)\.(\d\d\d).*$/, "$1$2.$3"), this.salesForm[t2] = e2;
}, payClick: function() {
var e2 = this;
this.$refs.salesForm.validate((function(t2) {
if (t2) {
if (3 === e2.salesForm.payType && Number(e2.salesForm.cprincipal) > Number(e2.settingBaseAmount)) return void e2.$message({ message: "企业运营后台设置减免金额上限为".concat(e2.settingBaseAmount, "元,请检查您的减免金额。"), type: "error" });
e2.$confirm("请再次确认销单信息是否正确,然后进行确认!是否继续?", "销单确认", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
e2.btnLoading = true;
var t3 = { title: "物业费销单-后台销单", content: e2.houseStr, projectName: e2.$store.state.community_name, projectUuid: e2.$store.state.community_uuid, companyId: e2.$store.state.companyId, memberName: e2.userInfo.memberName, memberPhone: e2.userInfo.accountName, memberUuid: e2.userInfo.memberUuid, memberId: e2.userInfo.memberId, payType: e2.salesForm.payType, remark: e2.salesForm.remark, derate: e2.salesForm.breachContractReliefType ? 1 : 2, nowRate: e2.discount || e2.projectDiscount, rate: e2.projectDiscount, addReqDTOS: e2.addReqDTOS };
t3.payType >= 100 && (t3.payTypeV2 = t3.payType, t3.payType = 7), 3 === e2.salesForm.payType && (t3 = Object.assign({ passwd: e2.salesForm.passwd }, t3)), Object(i["k"])(t3).then((function(t4) {
if (0 === t4.code) {
var a2 = t4.data;
a2 && 1 === a2.payType ? e2.toPay(t4.data) : (e2.addReqDTOS.length >= 30 ? (e2.$message({ message: "批量销单申请已提交,请在本次销单完成后再次进行其他应收销单", type: "success" }), e2.$emit("setSalesOrder")) : e2.$message({ message: "销单申请已提交", type: "success" }), e2.closeAndGet(), e2.btnLoading = false);
} else e2.$message({ message: "销单申请发起失败", type: "error" }), e2.btnLoading = false;
})).catch((function() {
e2.btnLoading = false;
}));
})).catch((function() {
}));
}
}));
}, handleClose: function() {
this.closeItem();
}, handleAvatarSuccess: function(e2, t2, a2) {
this.salesForm.imgList = a2, this.salesForm.imgList.length >= 3 && (this.showBtn = false);
}, beforeAvatarUpload: function(e2) {
var t2 = e2.size / 1024 / 1024 < 2;
return t2 || this.$message.error("上传头像图片大小不能超过 2MB!"), t2;
}, removeImg: function(e2, t2) {
this.salesForm.imgList = t2, this.salesForm.imgList.length >= 1 ? this.showBtn = false : this.showBtn = true;
}, toPay: function(e2) {
this.$emit("scanShow", e2);
}, closeItem: function() {
this.$emit("close");
}, closeAndGet: function() {
this.$emit("closeGet");
}, checkDev: function() {
var e2 = window.location.href;
return -1 != e2.search("localhost") || -1 != e2.search("6004") || -1 != e2.search("test");
} } }, g = v, y = (a("13c9"), a("829d")), _ = Object(y["a"])(g, s, r, false, null, null, null);
t["a"] = _.exports;
}, d3aa: function(e, t, a) {
}, f169: function(e, t, a) {
"use strict";
a("3c9c");
}, f211: function(e, t, a) {
"use strict";
a("4945");
}, 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";
} }]);