531 lines
34 KiB
JavaScript
531 lines
34 KiB
JavaScript
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-57f9a674"], { 3380: function(t, e, r) {
|
|
"use strict";
|
|
var n = function() {
|
|
var t2 = this, e2 = t2.$createElement, r2 = t2._self._c || e2;
|
|
return t2.show ? r2("div", [r2("el-card", { staticClass: "box-card", staticStyle: { "margin-bottom": "20px" }, attrs: { shadow: "never" } }, [r2("el-page-header", { attrs: { content: "导入预缴订单详情" }, on: { back: t2.goBack } })], 1), t2._v(" "), r2("el-card", { staticClass: "box-card", staticStyle: { "margin-bottom": "20px" }, attrs: { shadow: "never" } }, [r2("el-form", { ref: "query", attrs: { model: t2.query } }, [r2("div", { staticClass: "searchBar" }, [r2("div", { staticClass: "searchInput" }, [r2("el-row", { attrs: { gutter: 20 } }, [r2("el-col", { attrs: { span: 6 } }, [r2("el-form-item", { attrs: { prop: "houseNo" } }, [r2("el-input", { attrs: { placeholder: "输入房屋编号", clearable: "" }, model: { value: t2.query.houseNo, callback: function(e3) {
|
|
t2.$set(t2.query, "houseNo", e3);
|
|
}, expression: "query.houseNo" } })], 1)], 1), t2._v(" "), r2("el-col", { attrs: { span: 6 } }, [r2("el-form-item", { attrs: { prop: "remark" } }, [r2("el-input", { attrs: { placeholder: "输入备注", clearable: "" }, model: { value: t2.query.remark, callback: function(e3) {
|
|
t2.$set(t2.query, "remark", e3);
|
|
}, expression: "query.remark" } })], 1)], 1), t2._v(" "), r2("el-col", { attrs: { span: 6 } }, [r2("el-form-item", { attrs: { prop: "chargeCode" } }, [r2("el-input", { attrs: { placeholder: "输入收费项ID", clearable: "" }, model: { value: t2.query.chargeCode, callback: function(e3) {
|
|
t2.$set(t2.query, "chargeCode", e3);
|
|
}, expression: "query.chargeCode" } })], 1)], 1), t2._v(" "), r2("el-col", { attrs: { span: 6 } }, [r2("el-form-item", { attrs: { prop: "chargeName" } }, [r2("el-input", { attrs: { placeholder: "输入收费项名称", clearable: "" }, model: { value: t2.query.chargeName, callback: function(e3) {
|
|
t2.$set(t2.query, "chargeName", e3);
|
|
}, expression: "query.chargeName" } })], 1)], 1), t2._v(" "), r2("el-col", { attrs: { span: 6 } }, [r2("el-form-item", { attrs: { prop: "status" } }, [r2("el-select", { attrs: { placeholder: "选择入账状态", clearable: "" }, model: { value: t2.query.status, callback: function(e3) {
|
|
t2.$set(t2.query, "status", e3);
|
|
}, expression: "query.status" } }, t2._l(t2.advanceBillStateList, (function(t3) {
|
|
return r2("el-option", { key: t3.value, attrs: { label: t3.label, value: t3.value } });
|
|
})), 1)], 1)], 1), t2._v(" "), r2("el-col", { attrs: { span: 6 } }, [r2("el-form-item", { attrs: { prop: "deductDate" } }, [r2("el-date-picker", { attrs: { clearable: "", placeholder: "开始抵扣年月", "value-format": "yyyy-MM", format: "yyyy-MM", type: "month" }, model: { value: t2.query.deductDate, callback: function(e3) {
|
|
t2.$set(t2.query, "deductDate", e3);
|
|
}, expression: "query.deductDate" } })], 1)], 1), t2._v(" "), r2("el-col", { attrs: { span: 6 } }, [r2("el-form-item", { attrs: { prop: "writeOffStatus" } }, [r2("el-select", { attrs: { placeholder: "选择核销状态", clearable: "" }, model: { value: t2.query.writeOffStatus, callback: function(e3) {
|
|
t2.$set(t2.query, "writeOffStatus", e3);
|
|
}, expression: "query.writeOffStatus" } }, [r2("el-option", { attrs: { label: "已核销", value: 2 } }), t2._v(" "), r2("el-option", { attrs: { label: "未核销", value: 1 } })], 1)], 1)], 1)], 1)], 1), t2._v(" "), r2("div", { staticClass: "searchBtn" }, [r2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.onSearch } }, [t2._v("查询")]), t2._v(" "), r2("el-button", { on: { click: function(e3) {
|
|
return t2.resetForm("query");
|
|
} } }, [t2._v("重置")])], 1)])]), t2._v(" "), r2("div", [r2("el-descriptions", { attrs: { title: "辅助统计", column: 4 } }, [r2("el-descriptions-item", { attrs: { label: "实收货币金额" } }, [t2._v(t2._s(t2._f("toThousandFilter")(t2.amountTotal.readAmount)))]), t2._v(" "), r2("el-descriptions-item", { attrs: { label: "优惠雨滴金额" } }, [t2._v(t2._s(t2._f("toThousandFilter")(t2.amountTotal.ydAmount)))])], 1)], 1)], 1), t2._v(" "), r2("el-card", { staticClass: "box-card", staticStyle: { "min-height": "600px" }, attrs: { shadow: "never" } }, [r2("div", { staticClass: "planLst", attrs: { slot: "header" }, slot: "header" }, [r2("span", { staticClass: "planTitle" }, [t2._v("导入列表")]), t2._v(" "), r2("div", [r2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.entryAllClick } }, [t2._v("批量入账")]), t2._v(" "), r2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.writeOffAllClick } }, [t2._v("批量核销")])], 1)]), t2._v(" "), r2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: t2.listLoading, expression: "listLoading" }], staticStyle: { width: "100%" }, attrs: { border: "", data: t2.listData, "header-cell-style": t2.headClass }, on: { "selection-change": t2.selectionChange } }, [r2("el-table-column", { attrs: { type: "selection", align: "center", width: "55" } }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", label: "房屋编号", "min-width": "180", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.houseNo || "-") + "\n ")];
|
|
} }], null, false, 4054528213) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", label: "备注", "min-width": "180", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.remark || "-") + "\n ")];
|
|
} }], null, false, 2039719826) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", label: "收费项ID", "min-width": "140", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.chargeCode) + "\n ")];
|
|
} }], null, false, 579472522) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", label: "收费项", "min-width": "140", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("span", [t2._v(t2._s(e3.row.chargeName))])];
|
|
} }], null, false, 3690927323) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", label: "实收货币金额", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(t2._f("toThousandFilter")(e3.row.amounts)) + "\n ")];
|
|
} }], null, false, 4103456574) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", label: "优惠雨滴金额", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(t2._f("toThousandFilter")(e3.row.ydAmounts)) + "\n ")];
|
|
} }], null, false, 3036857603) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", label: "预缴实收日期", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.incomeDate) + "\n ")];
|
|
} }], null, false, 3759625898) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", label: "抵扣开始年月", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.deductDate) + "\n ")];
|
|
} }], null, false, 145834862) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", label: "入账经办人", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.opName || "-") + "\n ")];
|
|
} }], null, false, 1120983496) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", label: "入账操作时间", "min-width": "170", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.opTime || "-") + "\n ")];
|
|
} }], null, false, 2371140250) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", label: "入账状态", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(t2._f("getItemType")(e3.row.status, t2.advanceBillStateList)) + "\n ")];
|
|
} }], null, false, 1029020739) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", label: "核销状态", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(1 == e3.row.writeOffStatus ? "未核销" : 2 == e3.row.writeOffStatus ? "已核销" : "-") + "\n ")];
|
|
} }], null, false, 1732685963) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", label: "操作", width: "180", "show-overflow-tooltip": "", fixed: "right" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [1 == e3.row.status ? r2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(r3) {
|
|
return t2.entryClick(e3.row.id);
|
|
} } }, [t2._v("开始入账")]) : t2._e(), t2._v(" "), 1 == e3.row.status ? r2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(r3) {
|
|
return t2.delClick(e3.row);
|
|
} } }, [t2._v("删除")]) : t2._e(), t2._v(" "), 1 == e3.row.status ? r2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(r3) {
|
|
return t2.editClick(e3.row);
|
|
} } }, [t2._v("修改")]) : t2._e(), t2._v(" "), 2 == e3.row.status && 2 !== e3.row.writeOffStatus ? r2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(r3) {
|
|
return t2.writeOffClick(e3.row.id);
|
|
} } }, [t2._v("核销应收")]) : t2._e()];
|
|
} }], null, false, 683016304) })], 1), t2._v(" "), r2("div", { staticClass: "pagination" }, [r2("Pagination", { attrs: { total: t2.pageTotal }, on: { handleCurrentChange: t2.handleCurrentChange, handleSizeChange: t2.handleSizeChange } })], 1)], 1), t2._v(" "), r2("el-dialog", { attrs: { title: "入账验证", visible: t2.entryVisible, width: "30%", "before-close": t2.closeEntry }, on: { "update:visible": function(e3) {
|
|
t2.entryVisible = e3;
|
|
} } }, [r2("el-form", { ref: "entryForm", attrs: { model: t2.entryForm, "label-width": "100px" } }, [r2("el-form-item", { attrs: { label: "登录密码", prop: "pwdWord", rules: [{ required: true, message: "请输入登录密码", trigger: "blur" }, { min: 6, message: "登录密码为6位及以上", trigger: "blur" }] } }, [r2("el-input", { attrs: { type: "password", minlength: "6", clearable: "" }, model: { value: t2.entryForm.pwdWord, callback: function(e3) {
|
|
t2.$set(t2.entryForm, "pwdWord", e3);
|
|
}, expression: "entryForm.pwdWord" } })], 1), t2._v(" "), r2("el-form-item", { attrs: { label: "备注", prop: "remark" } }, [r2("el-input", { attrs: { "show-word-limit": true, maxlength: 100, clearable: "", placeholder: "请输入备注" }, model: { value: t2.entryForm.remark, callback: function(e3) {
|
|
t2.$set(t2.entryForm, "remark", e3);
|
|
}, expression: "entryForm.remark" } })], 1), t2._v(" "), r2("el-form-item", { attrs: { label: "" } }, [r2("span", { staticClass: "entryTip" }, [r2("i", { staticClass: "el-icon-warning" }), t2._v("此操作不可逆,操作前请确认金额是否正确")])])], 1), t2._v(" "), r2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [r2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: t2.closeEntry } }, [t2._v("取 消")]), t2._v(" "), r2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary", loading: t2.btnLoading, disabled: t2.btnLoading }, on: { click: function(e3) {
|
|
return t2.entryPost("entryForm");
|
|
} } }, [t2._v("确 定")])], 1)], 1), t2._v(" "), r2("el-dialog", { attrs: { title: "预缴导入数据修改", visible: t2.editVisible, "close-on-click-modal": false, "close-on-press-escape": false, width: "30%", "before-close": t2.editClose }, on: { "update:visible": function(e3) {
|
|
t2.editVisible = e3;
|
|
} } }, [r2("el-form", { ref: "editForm", staticClass: "editClass", attrs: { model: t2.editForm, rules: t2.editRules, "label-width": "80px" } }, [r2("el-form-item", { attrs: { label: "实收货币", prop: "amounts" } }, [r2("div", { staticClass: "editFormClass" }, [r2("el-input-number", { attrs: { "controls-position": "right", precision: 2, step: 0.1, min: 0 }, model: { value: t2.editForm.amounts, callback: function(e3) {
|
|
t2.$set(t2.editForm, "amounts", e3);
|
|
}, expression: "editForm.amounts" } }), t2._v(" "), r2("span", [t2._v("原值:" + t2._s(t2._f("toThousandFilter")(t2.saveData.amounts)))])], 1)]), t2._v(" "), r2("el-form-item", { attrs: { label: "优惠雨滴", prop: "ydAmounts" } }, [r2("div", { staticClass: "editFormClass" }, [r2("el-input-number", { attrs: { "controls-position": "right", precision: 2, step: 0.1, min: 0 }, model: { value: t2.editForm.ydAmounts, callback: function(e3) {
|
|
t2.$set(t2.editForm, "ydAmounts", e3);
|
|
}, expression: "editForm.ydAmounts" } }), t2._v(" "), r2("span", [t2._v("原值:" + t2._s(t2._f("toThousandFilter")(t2.saveData.ydAmounts)))])], 1)]), t2._v(" "), r2("el-form-item", { attrs: { label: "抵扣年月", prop: "deductDate" } }, [r2("div", { staticClass: "editFormClass" }, [r2("el-date-picker", { attrs: { type: "month", format: "yyyy-MM", "value-format": "yyyy-MM", placeholder: "选择月" }, model: { value: t2.editForm.deductDate, callback: function(e3) {
|
|
t2.$set(t2.editForm, "deductDate", e3);
|
|
}, expression: "editForm.deductDate" } }), t2._v(" "), r2("span", [t2._v("原值:" + t2._s(t2.saveData.deductDate))])], 1)]), t2._v(" "), r2("el-form-item", { attrs: { label: "" } }, [r2("span", { staticClass: "enterTip" }, [r2("i", { staticClass: "el-icon-warning" }), t2._v("请对照原值按要求进行修改,无需修改的填入原值即可")])]), t2._v(" "), r2("el-form-item", { attrs: { label: "" } }, [r2("el-button", { on: { click: t2.editClose } }, [t2._v("取 消")]), t2._v(" "), r2("el-button", { attrs: { type: "primary" }, on: { click: t2.editSubmit } }, [t2._v("确 定")])], 1)], 1)], 1)], 1) : t2._e();
|
|
}, o = [], a = r("d059"), i = r("dce5"), s = r("333d");
|
|
function u(t2) {
|
|
return u = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t3) {
|
|
return typeof t3;
|
|
} : function(t3) {
|
|
return t3 && "function" == typeof Symbol && t3.constructor === Symbol && t3 !== Symbol.prototype ? "symbol" : typeof t3;
|
|
}, u(t2);
|
|
}
|
|
function l(t2, e2, r2) {
|
|
return (e2 = c(e2)) in t2 ? Object.defineProperty(t2, e2, { value: r2, enumerable: true, configurable: true, writable: true }) : t2[e2] = r2, t2;
|
|
}
|
|
function c(t2) {
|
|
var e2 = d(t2, "string");
|
|
return "symbol" == u(e2) ? e2 : e2 + "";
|
|
}
|
|
function d(t2, e2) {
|
|
if ("object" != u(t2) || !t2) return t2;
|
|
var r2 = t2[Symbol.toPrimitive];
|
|
if (void 0 !== r2) {
|
|
var n2 = r2.call(t2, e2 || "default");
|
|
if ("object" != u(n2)) return n2;
|
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
}
|
|
return ("string" === e2 ? String : Number)(t2);
|
|
}
|
|
var p = { props: ["show", "info"], components: { Pagination: s["a"] }, data: function() {
|
|
var t2 = function(t3, e2, r2) {
|
|
return console.log("val", "" == e2 || void 0 == e2 || null == e2), e2 <= 0 ? r2(new Error("金额必须大于0")) : "" == e2 || void 0 == e2 || null == e2 ? r2(new Error("金额不能为空")) : void r2();
|
|
};
|
|
return l(l(l({ advanceBillStateList: i["i"], listData: [], saveData: {}, listLoading: false, pageTotal: 0, saveSelect: [], selectNot: [], selectEntry: [], selectWriteOff: [], query: { pageNumber: 1, pageSize: 10, houseNo: "", remark: "", chargeCode: "", chargeName: "", status: "", writeOffStatus: "", deductDate: "" }, entryForm: { pwdWord: "", remark: "" }, entryVisible: false, userInfo: {}, btnLoading: false, amountTotal: {}, editVisible: false }, "saveData", {}), "editForm", { amounts: void 0, ydAmounts: void 0, deductDate: "" }), "editRules", { amounts: { required: true, validator: t2, trigger: "blur" }, ydAmounts: { required: true, message: "请输入优惠雨滴金额", trigger: "blur" }, deductDate: { required: true, message: "请选择抵扣年月", trigger: "change" } });
|
|
}, created: function() {
|
|
this.headClass(), this.userInfo = this.$store.state.user.userInfo;
|
|
}, methods: { init: function() {
|
|
this.getList(), this.getTotal();
|
|
}, getList: function() {
|
|
var t2 = this;
|
|
this.listLoading = true, this.query.orderId = this.info.id, Object(a["x"])(this.query).then((function(e2) {
|
|
e2.data && e2.data.records && (t2.listData = e2.data.records, t2.pageTotal = e2.data.rowsCount);
|
|
})), this.listLoading = false;
|
|
}, getTotal: function() {
|
|
var t2 = this;
|
|
this.query.orderId = this.info.id, Object(a["D"])(this.query).then((function(e2) {
|
|
e2.data ? t2.amountTotal = e2.data : t2.amountTotal = {};
|
|
}));
|
|
}, handleSizeChange: function(t2) {
|
|
this.query.pageSize = t2.limit, this.query.pageNumber = 1, this.getList(), this.getTotal();
|
|
}, handleCurrentChange: function(t2) {
|
|
this.query.pageNumber = t2.currentPage, this.getList(), this.getTotal();
|
|
}, onSearch: function() {
|
|
this.query.pageNumber = 1, this.getList(), this.getTotal();
|
|
}, resetForm: function() {
|
|
this.query.pageNumber = 1, this.$refs["query"].resetFields(), this.getList(), this.getTotal();
|
|
}, entryClick: function(t2) {
|
|
this.saveData = t2, this.entryVisible = true;
|
|
}, entryPost: function(t2) {
|
|
var e2 = this;
|
|
this.$refs[t2].validate((function(t3) {
|
|
if (t3) {
|
|
var r2 = [];
|
|
Array.isArray(e2.saveData) ? r2 = e2.saveData : r2.push(e2.saveData);
|
|
var n2 = { mobile: e2.userInfo.accountName, pwdWord: e2.entryForm.pwdWord, remark: e2.entryForm.remark, ids: r2, opPhone: e2.userInfo.accountName, opId: e2.userInfo.memberId, opName: e2.userInfo.memberName };
|
|
e2.btnLoading = true, Object(a["p"])(n2).then((function(t4) {
|
|
e2.$message({ message: "入账成功", type: "success" }), e2.btnLoading = false, e2.closeEntry(), e2.getList(), e2.getTotal();
|
|
})).catch((function() {
|
|
e2.btnLoading = false;
|
|
}));
|
|
}
|
|
}));
|
|
}, closeEntry: function() {
|
|
this.$refs["entryForm"].resetFields(), this.entryVisible = false;
|
|
}, writeOffClick: function(t2) {
|
|
var e2 = this;
|
|
this.$confirm("确定核销该应收?", "核销", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
|
|
var r2 = [];
|
|
Array.isArray(t2) ? r2 = t2 : r2.push(t2), Object(a["q"])({ ids: r2, cancelName: e2.userInfo.memberName }).then((function(t3) {
|
|
e2.$message({ message: "操作成功", type: "success" }), e2.getList(), e2.getTotal();
|
|
}));
|
|
})).catch((function() {
|
|
}));
|
|
}, selectionChange: function(t2) {
|
|
var e2 = this;
|
|
this.saveSelect = t2, this.selectNot = [], this.selectEntry = [], this.selectWriteOff = [], this.saveSelect.length > 0 ? this.saveSelect.forEach((function(t3) {
|
|
1 == t3.status ? e2.selectNot.push(t3.id) : 2 == t3.status ? e2.selectEntry.push(t3.id) : 3 == t3.status && e2.selectWriteOff.push(t3.id);
|
|
})) : (this.selectNot = [], this.selectEntry = [], this.selectWriteOff = []);
|
|
}, entryAllClick: function() {
|
|
return 0 == this.saveSelect.length ? (this.$message("请选择入账数据"), false) : this.selectEntry.length > 0 ? (this.$message("存在已入账数据,请检查!"), false) : this.selectWriteOff.length > 0 ? (this.$message("存在已核销数据,请检查!"), false) : void this.entryClick(this.selectNot);
|
|
}, writeOffAllClick: function() {
|
|
return 0 == this.saveSelect.length ? (this.$message("请选择核销数据"), false) : this.selectWriteOff.length > 0 ? (this.$message("存在已核销数据,请检查!"), false) : this.selectNot.length > 0 ? (this.$message("未入账数据不能进行核销,请检查!"), false) : void this.writeOffClick(this.selectEntry);
|
|
}, delClick: function(t2) {
|
|
var e2 = this;
|
|
this.$confirm("确定删除该应收?", "删除", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
|
|
Object(a["j"])({ id: t2.id }).then((function(t3) {
|
|
e2.$message({ message: "操作成功", type: "success" }), e2.getList();
|
|
}));
|
|
})).catch((function() {
|
|
}));
|
|
}, editClick: function(t2) {
|
|
this.saveData = t2, this.editVisible = true;
|
|
}, editSubmit: function() {
|
|
var t2 = this;
|
|
this.$refs["editForm"].validate((function(e2) {
|
|
if (e2) {
|
|
var r2 = { amounts: t2.editForm.amounts, ydAmounts: t2.editForm.ydAmounts, deductDate: t2.editForm.deductDate, id: t2.saveData.id, updaterName: t2.userInfo.memberName };
|
|
Object(a["O"])(r2).then((function(e3) {
|
|
0 == e3.code && (t2.$message({ message: "修改成功", type: "success" }), t2.editClose(), t2.getList());
|
|
}));
|
|
}
|
|
}));
|
|
}, editClose: function() {
|
|
this.$refs["editForm"].resetFields(), this.editVisible = false;
|
|
}, goBack: function() {
|
|
this.$emit("back");
|
|
}, headClass: function() {
|
|
return "text-align:center;background:#FAFAFA;";
|
|
} } }, f = p, m = (r("ede3"), r("829d")), h = Object(m["a"])(f, n, o, false, null, "d827b552", null);
|
|
e["a"] = h.exports;
|
|
}, 6396: function(t, e, r) {
|
|
"use strict";
|
|
Math.easeInOutQuad = function(t2, e2, r2, n) {
|
|
return t2 /= n / 2, t2 < 1 ? r2 / 2 * t2 * t2 + e2 : (t2--, -r2 / 2 * (t2 * (t2 - 2) - 1) + e2);
|
|
};
|
|
(function() {
|
|
window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame;
|
|
})();
|
|
}, ae88: function(t, e, r) {
|
|
}, d059: function(t, e, r) {
|
|
"use strict";
|
|
r.d(e, "E", (function() {
|
|
return o;
|
|
})), r.d(e, "l", (function() {
|
|
return a;
|
|
})), r.d(e, "N", (function() {
|
|
return i;
|
|
})), r.d(e, "n", (function() {
|
|
return s;
|
|
})), r.d(e, "I", (function() {
|
|
return u;
|
|
})), r.d(e, "m", (function() {
|
|
return l;
|
|
})), r.d(e, "P", (function() {
|
|
return c;
|
|
})), r.d(e, "o", (function() {
|
|
return d;
|
|
})), r.d(e, "e", (function() {
|
|
return p;
|
|
})), r.d(e, "k", (function() {
|
|
return f;
|
|
})), r.d(e, "y", (function() {
|
|
return m;
|
|
})), r.d(e, "r", (function() {
|
|
return h;
|
|
})), r.d(e, "s", (function() {
|
|
return b;
|
|
})), r.d(e, "v", (function() {
|
|
return v;
|
|
})), r.d(e, "w", (function() {
|
|
return y;
|
|
})), r.d(e, "x", (function() {
|
|
return g;
|
|
})), r.d(e, "p", (function() {
|
|
return j;
|
|
})), r.d(e, "Q", (function() {
|
|
return w;
|
|
})), r.d(e, "q", (function() {
|
|
return _;
|
|
})), r.d(e, "j", (function() {
|
|
return O;
|
|
})), r.d(e, "u", (function() {
|
|
return C;
|
|
})), r.d(e, "A", (function() {
|
|
return k;
|
|
})), r.d(e, "z", (function() {
|
|
return F;
|
|
})), r.d(e, "L", (function() {
|
|
return x;
|
|
})), r.d(e, "B", (function() {
|
|
return I;
|
|
})), r.d(e, "C", (function() {
|
|
return S;
|
|
})), r.d(e, "J", (function() {
|
|
return D;
|
|
})), r.d(e, "F", (function() {
|
|
return T;
|
|
})), r.d(e, "G", (function() {
|
|
return A;
|
|
})), r.d(e, "H", (function() {
|
|
return q;
|
|
})), r.d(e, "f", (function() {
|
|
return N;
|
|
})), r.d(e, "i", (function() {
|
|
return R;
|
|
})), r.d(e, "g", (function() {
|
|
return P;
|
|
})), r.d(e, "h", (function() {
|
|
return L;
|
|
})), r.d(e, "D", (function() {
|
|
return $;
|
|
})), r.d(e, "O", (function() {
|
|
return E;
|
|
})), r.d(e, "b", (function() {
|
|
return B;
|
|
})), r.d(e, "t", (function() {
|
|
return V;
|
|
})), r.d(e, "a", (function() {
|
|
return W;
|
|
})), r.d(e, "c", (function() {
|
|
return M;
|
|
})), r.d(e, "d", (function() {
|
|
return z;
|
|
})), r.d(e, "M", (function() {
|
|
return G;
|
|
})), r.d(e, "K", (function() {
|
|
return H;
|
|
}));
|
|
var n = r("b775");
|
|
function o(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ApRuleGroup/pageList", method: "post", data: t2 });
|
|
}
|
|
function a(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ApRuleGroup/create", method: "post", data: t2 });
|
|
}
|
|
function i(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ApRuleGroup/update", method: "post", data: t2 });
|
|
}
|
|
function s(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ApRuleGroup/delete", method: "post", data: t2 });
|
|
}
|
|
function u(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ApRule/pageList", method: "post", data: t2 });
|
|
}
|
|
function l(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ApRule/create", method: "post", data: t2 });
|
|
}
|
|
function c(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ApRule/update", method: "post", data: t2 });
|
|
}
|
|
function d(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ApRule/delete", method: "post", data: t2 });
|
|
}
|
|
function p(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ApRule/batchUpdate", method: "post", data: t2 });
|
|
}
|
|
function f(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ApRuleGroup/chargeGroupRel", method: "post", data: t2 });
|
|
}
|
|
function m(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargeImportOrder/pageList", method: "post", data: t2 });
|
|
}
|
|
function h(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargeImportOrder/export", method: "post", responseType: "blob", data: t2 });
|
|
}
|
|
function b(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargeImportOrder/exportV2", method: "post", responseType: "blob", data: t2 });
|
|
}
|
|
function v(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargeImportOrder/importExcel", method: "post", headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, data: t2 });
|
|
}
|
|
function y(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargeImportOrder/importExcelV2", method: "post", headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, data: t2 });
|
|
}
|
|
function g(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargeImportOrderDetails/pageList", method: "post", data: t2 });
|
|
}
|
|
function j(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargeImportOrderDetails/enterAccount", method: "post", data: t2 });
|
|
}
|
|
function w(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargeImportOrderDetails/updateV2", method: "post", data: t2 });
|
|
}
|
|
function _(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargeImportOrderDetails/enterChargeFee", method: "post", data: t2 });
|
|
}
|
|
function O(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargeImportOrderDetails/delete", method: "post", data: t2 });
|
|
}
|
|
function C(t2) {
|
|
return Object(n["a"])({ url: "/appproject/PrepayInfo/listPrepay", method: "post", data: t2 });
|
|
}
|
|
function k(t2) {
|
|
return Object(n["a"])({ url: "/appproject/PrepayInfo/listPrepay", method: "post", data: t2 });
|
|
}
|
|
function F(t2) {
|
|
return Object(n["a"])({ url: "/appproject/PrepayInfo/listHouseAccount", method: "post", data: t2 });
|
|
}
|
|
function x(t2) {
|
|
return Object(n["a"])({ url: "/appproject/TransactionDetails/pageList", method: "post", data: t2 });
|
|
}
|
|
function I(t2) {
|
|
return Object(n["a"])({ url: "/appproject/PrepayInfo/listPrepayHouseInfo", method: "post", data: t2 });
|
|
}
|
|
function S(t2) {
|
|
return Object(n["a"])({ url: "/appproject/PrepayInfo/listPrepayRule", method: "post", data: t2 });
|
|
}
|
|
function D(t2) {
|
|
return Object(n["a"])({ url: "/appproject/PrepayInfo/totalListHouseAccount", method: "post", data: t2 });
|
|
}
|
|
function T(t2) {
|
|
return Object(n["a"])({ url: "/appproject/PrepayInfo/export", method: "post", responseType: "blob", data: t2 });
|
|
}
|
|
function A(t2) {
|
|
return Object(n["a"])({ url: "/appproject/PrepayInfo/exportV2", method: "post", responseType: "blob", data: t2, timeout: 18e4 });
|
|
}
|
|
function q(t2) {
|
|
return Object(n["a"])({ url: "/project/FsCharges/queryHouseCharges", method: "post", data: t2 });
|
|
}
|
|
function N(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargeAccountRel/create", method: "post", data: t2 });
|
|
}
|
|
function R(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargeAccountRel/update", method: "post", data: t2 });
|
|
}
|
|
function P(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargeAccountRel/delete", method: "post", data: t2 });
|
|
}
|
|
function L(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargeAccountRel/list", method: "post", data: t2 });
|
|
}
|
|
function $(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargeImportOrderDetails/listTotal", method: "post", data: t2 });
|
|
}
|
|
function E(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargeImportOrderDetails/updateOne", method: "post", data: t2 });
|
|
}
|
|
function B(t2) {
|
|
return Object(n["a"])({ url: "/appproject/PrepayInfo/accountRefund", method: "post", data: t2 });
|
|
}
|
|
function V(t2) {
|
|
return Object(n["a"])({ url: "appproject/PrepayInfo/findByHouseIdAndFschargesId", method: "post", data: t2 });
|
|
}
|
|
function W(t2) {
|
|
return Object(n["a"])({ url: "appproject/PrepayInfo/accountRecharge", method: "post", data: t2 });
|
|
}
|
|
function M(t2) {
|
|
return Object(n["a"])({ url: "appproject/PrepayInfo/accountTransfer", method: "post", data: t2 });
|
|
}
|
|
function z(t2) {
|
|
return Object(n["a"])({ url: "/project/ChargePrice/pageList", method: "post", data: t2 });
|
|
}
|
|
function G(t2) {
|
|
return Object(n["a"])({ url: "/project/ChargeAccountRel/unify/config", method: "post", data: t2 });
|
|
}
|
|
function H(t2) {
|
|
return Object(n["a"])({ url: "bonuspoints/TransactionDetails/preList", method: "post", data: t2 });
|
|
}
|
|
}, dce1: function(t, e, r) {
|
|
"use strict";
|
|
r.d(e, "k", (function() {
|
|
return o;
|
|
})), r.d(e, "l", (function() {
|
|
return a;
|
|
})), r.d(e, "g", (function() {
|
|
return i;
|
|
})), r.d(e, "j", (function() {
|
|
return s;
|
|
})), r.d(e, "i", (function() {
|
|
return u;
|
|
})), r.d(e, "t", (function() {
|
|
return l;
|
|
})), r.d(e, "h", (function() {
|
|
return c;
|
|
})), r.d(e, "f", (function() {
|
|
return d;
|
|
})), r.d(e, "r", (function() {
|
|
return p;
|
|
})), r.d(e, "o", (function() {
|
|
return f;
|
|
})), r.d(e, "n", (function() {
|
|
return m;
|
|
})), r.d(e, "q", (function() {
|
|
return h;
|
|
})), r.d(e, "p", (function() {
|
|
return b;
|
|
})), r.d(e, "m", (function() {
|
|
return v;
|
|
})), r.d(e, "e", (function() {
|
|
return y;
|
|
})), r.d(e, "s", (function() {
|
|
return g;
|
|
})), r.d(e, "u", (function() {
|
|
return j;
|
|
})), r.d(e, "a", (function() {
|
|
return w;
|
|
})), r.d(e, "c", (function() {
|
|
return _;
|
|
})), r.d(e, "b", (function() {
|
|
return O;
|
|
})), r.d(e, "d", (function() {
|
|
return C;
|
|
}));
|
|
var n = r("b775");
|
|
function o(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargeReceivable/listDetail", method: "post", data: t2 });
|
|
}
|
|
function a(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargeCheckRecord/listRecord", method: "post", data: t2 });
|
|
}
|
|
function i(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargeCheckRecord/delete", method: "post", data: t2 });
|
|
}
|
|
function s(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargeCheckRecord/listCheckAll", method: "post", data: t2 });
|
|
}
|
|
function u(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargeCheckRecord/findById", method: "post", data: t2 });
|
|
}
|
|
function l(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargeCheckRecord/totalDetail", method: "post", data: t2 });
|
|
}
|
|
function c(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargeReceivable/export", responseType: "blob", method: "post", data: t2 });
|
|
}
|
|
function d(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargeReceivable/asyncExport", method: "post", data: t2 });
|
|
}
|
|
function p(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargeCheckRecord/submitCheck", method: "post", data: t2 });
|
|
}
|
|
function f(t2) {
|
|
return Object(n["a"])({ url: "/appproject/PrecollectedInfo/list", method: "post", data: t2 });
|
|
}
|
|
function m(t2) {
|
|
return Object(n["a"])({ url: "/appproject/PrecollectedInfo/export", method: "post", responseType: "blob", data: t2 });
|
|
}
|
|
function h(t2) {
|
|
return Object(n["a"])({ url: "/appproject/PrecollectedInfo/listTotal", method: "post", data: t2 });
|
|
}
|
|
function b(t2) {
|
|
return Object(n["a"])({ url: "/appproject/PrecollectedInfo/pageList", method: "post", data: t2 });
|
|
}
|
|
function v(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargeImportOrderDetails/createReceipt", method: "post", data: t2 });
|
|
}
|
|
function y(t2) {
|
|
return Object(n["a"])({ url: "/appproject/PrepayDeduction/pageList", method: "post", data: t2 });
|
|
}
|
|
function g(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargeReceivable/repair/data/sync/deposit", method: "post", data: t2 });
|
|
}
|
|
function j(t2) {
|
|
return Object(n["a"])({ url: "/appproject/PrecollectedInfo/updatePayType", method: "post", data: t2 });
|
|
}
|
|
function w(t2) {
|
|
return Object(n["a"])({ url: "/appproject/PaymentRecord/pageList", method: "post", data: t2 });
|
|
}
|
|
function _(t2) {
|
|
return Object(n["a"])({ url: "/appproject/PaymentRecord/total", method: "post", data: t2 });
|
|
}
|
|
function O(t2) {
|
|
return Object(n["a"])({ url: "/appproject/PaymentRecord/syncData", method: "post", data: t2 });
|
|
}
|
|
function C(t2) {
|
|
return Object(n["a"])({ url: "/appproject/PaymentRecord/updateRemark", method: "post", data: t2 });
|
|
}
|
|
}, ede3: function(t, e, r) {
|
|
"use strict";
|
|
r("ae88");
|
|
} }]);
|