785 lines
66 KiB
JavaScript
785 lines
66 KiB
JavaScript
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-c8efcde0"], { "0b37": function(t, e, a) {
|
|
"use strict";
|
|
function n(t2, e2) {
|
|
var a2, n2, r2, o2;
|
|
try {
|
|
a2 = t2.toString().split(".")[1].length;
|
|
} catch (s2) {
|
|
a2 = 0;
|
|
}
|
|
try {
|
|
n2 = e2.toString().split(".")[1].length;
|
|
} catch (s2) {
|
|
n2 = 0;
|
|
}
|
|
if (o2 = Math.abs(a2 - n2), r2 = Math.pow(10, Math.max(a2, n2)), o2 > 0) {
|
|
var l2 = Math.pow(10, o2);
|
|
a2 > n2 ? (t2 = Number(t2.toString().replace(".", "")), e2 = Number(e2.toString().replace(".", "")) * l2) : (t2 = Number(t2.toString().replace(".", "")) * l2, e2 = Number(e2.toString().replace(".", "")));
|
|
} else t2 = Number(t2.toString().replace(".", "")), e2 = Number(e2.toString().replace(".", ""));
|
|
return (t2 + e2) / r2;
|
|
}
|
|
function r(t2, e2) {
|
|
var a2, n2, r2 = 0, o2 = 0;
|
|
try {
|
|
r2 = t2.toString().split(".")[1].length;
|
|
} catch (l2) {
|
|
}
|
|
try {
|
|
o2 = e2.toString().split(".")[1].length;
|
|
} catch (l2) {
|
|
}
|
|
return a2 = Number(t2.toString().replace(".", "")), n2 = Number(e2.toString().replace(".", "")), a2 / n2 * Math.pow(10, o2 - r2);
|
|
}
|
|
function o(t2, e2) {
|
|
var a2 = 0, n2 = t2.toString(), r2 = e2.toString();
|
|
try {
|
|
a2 += n2.split(".")[1].length;
|
|
} catch (o2) {
|
|
}
|
|
try {
|
|
a2 += r2.split(".")[1].length;
|
|
} catch (o2) {
|
|
}
|
|
return Number(n2.replace(".", "")) * Number(r2.replace(".", "")) / Math.pow(10, a2);
|
|
}
|
|
function l(t2, e2) {
|
|
var a2, n2, r2, o2;
|
|
try {
|
|
a2 = t2.toString().split(".")[1].length;
|
|
} catch (l2) {
|
|
a2 = 0;
|
|
}
|
|
try {
|
|
n2 = e2.toString().split(".")[1].length;
|
|
} catch (l2) {
|
|
n2 = 0;
|
|
}
|
|
return r2 = Math.pow(10, Math.max(a2, n2)), o2 = a2 >= n2 ? a2 : n2, (Math.round(t2 * r2 - e2 * r2) / r2).toFixed(o2);
|
|
}
|
|
function s(t2, e2) {
|
|
if (0 == t2 && (t2 = 0), /[^[\-|0-9][0-9]*]/.test(t2)) return "0";
|
|
if (null == t2 || "" === t2) return "";
|
|
t2 = t2.toString().replace(/^(-\d*)$/, "$1."), t2 = t2.toString().replace(/^(\d*)$/, "$1."), t2 = (t2 + "00").replace(/(\d*\.\d\d)\d*/, "$1"), t2 = t2.replace(".", ",");
|
|
var a2 = /(\d)(\d{3},)/;
|
|
while (a2.test(t2)) t2 = t2.replace(a2, "$1,$2");
|
|
if (t2 = t2.replace(/,(\d\d)$/, ".$1"), 0 === e2 || void 0 === e2) {
|
|
var n2 = t2.split(".");
|
|
"00" == n2[1] && (t2 = n2[0]);
|
|
}
|
|
return t2;
|
|
}
|
|
function i(t2, e2) {
|
|
t2 = t2.toString();
|
|
var a2 = t2.indexOf(".");
|
|
return t2 = -1 !== a2 ? t2.substring(0, e2 + a2 + 1) : t2.substring(0), parseFloat(t2).toFixed(e2);
|
|
}
|
|
function c(t2) {
|
|
var e2 = Object.prototype.toString.call(t2).slice(8, -1);
|
|
return "Null" === e2 ? "Null" : "Undefined" === e2 ? "Undefined" : e2;
|
|
}
|
|
function u(t2) {
|
|
var e2, a2 = c(t2);
|
|
if ("Object" === a2) e2 = {};
|
|
else {
|
|
if ("Array" !== a2) return t2;
|
|
e2 = [];
|
|
}
|
|
for (var n2 in t2) {
|
|
var r2 = t2[n2];
|
|
c(r2), e2[n2] = u(r2);
|
|
}
|
|
return e2;
|
|
}
|
|
a.d(e, "a", (function() {
|
|
return n;
|
|
})), a.d(e, "b", (function() {
|
|
return r;
|
|
})), a.d(e, "c", (function() {
|
|
return o;
|
|
})), a.d(e, "d", (function() {
|
|
return l;
|
|
})), a.d(e, "g", (function() {
|
|
return s;
|
|
})), a.d(e, "f", (function() {
|
|
return i;
|
|
})), a.d(e, "e", (function() {
|
|
return u;
|
|
}));
|
|
}, "162d": function(t, e, a) {
|
|
"use strict";
|
|
a("52a7");
|
|
}, "26c3": function(t, e, a) {
|
|
}, "52a7": function(t, e, a) {
|
|
}, "63cb": function(t, e, a) {
|
|
"use strict";
|
|
a.r(e);
|
|
var n = function() {
|
|
var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2;
|
|
return a2("div", { staticClass: "app-container bgHeight" }, [t2.tabs ? a2("el-tabs", { attrs: { value: t2.activeName, type: "border-card" }, on: { "tab-click": t2.handleClick } }, [a2("el-tab-pane", { attrs: { label: "应付管控申请表", name: "list" } }, [a2("payableList", { directives: [{ name: "show", rawName: "v-show", value: "list" === t2.activeName, expression: "activeName === 'list'" }], ref: "payablelist", attrs: { category: t2.categoryArr }, on: { apply: t2.applyClick } })], 1), t2._v(" "), a2("el-tab-pane", { attrs: { label: "应付管控", name: "control" } }, ["control" === t2.activeName ? a2("payableControl", { on: { see: t2.seeClick } }) : t2._e()], 1)], 1) : t2._e(), t2._v(" "), a2("apply", { ref: "apply", attrs: { show: t2.apply, title: t2.applyTitle, list: t2.list, companyList: t2.companyList, userList: t2.userList }, on: { back: t2.backApply, callback: t2.applyCallback } }), t2._v(" "), a2("controlDetail", { ref: "controlDetail", attrs: { show: t2.control }, on: { back: t2.backApply } })], 1);
|
|
}, r = [], o = function() {
|
|
var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2;
|
|
return a2("div", [a2("el-form", { ref: "query", attrs: { model: t2.query } }, [a2("el-row", [a2("el-col", { attrs: { span: 20 } }, [a2("el-row", { staticClass: "search-bar", attrs: { gutter: 20 } }, [a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "subjectId" } }, [a2("el-select", { attrs: { placeholder: "支出科目", filterable: "", clearable: "" }, on: { change: t2.changeCategorySelect }, model: { value: t2.query.subjectId, callback: function(e3) {
|
|
t2.$set(t2.query, "subjectId", e3);
|
|
}, expression: "query.subjectId" } }, t2._l(t2.category, (function(t3) {
|
|
return a2("el-option", { key: t3.id, attrs: { label: t3.name, value: t3.id } });
|
|
})), 1)], 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "investmentId" } }, [a2("el-select", { attrs: { placeholder: "支出项", filterable: "", clearable: "" }, model: { value: t2.query.investmentId, callback: function(e3) {
|
|
t2.$set(t2.query, "investmentId", e3);
|
|
}, expression: "query.investmentId" } }, t2._l(t2.itemList, (function(t3) {
|
|
return a2("el-option", { key: t3.id, attrs: { label: t3.name, value: t3.id } });
|
|
})), 1)], 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "status" } }, [a2("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.statusList, (function(t3) {
|
|
return a2("el-option", { key: t3.value, attrs: { label: t3.label, value: t3.value } });
|
|
})), 1)], 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "month" } }, [a2("el-date-picker", { attrs: { format: "yyyy-MM", "value-format": "yyyy-MM", type: "month", placeholder: "计提年月" }, model: { value: t2.query.month, callback: function(e3) {
|
|
t2.$set(t2.query, "month", e3);
|
|
}, expression: "query.month" } })], 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "updaterName" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "操作人" }, model: { value: t2.query.updaterName, callback: function(e3) {
|
|
t2.$set(t2.query, "updaterName", e3);
|
|
}, expression: "query.updaterName" } })], 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "paymentUnit" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "付款单位" }, model: { value: t2.query.paymentUnit, callback: function(e3) {
|
|
t2.$set(t2.query, "paymentUnit", e3);
|
|
}, expression: "query.paymentUnit" } })], 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "receiveUnit" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "收款单位" }, model: { value: t2.query.receiveUnit, callback: function(e3) {
|
|
t2.$set(t2.query, "receiveUnit", e3);
|
|
}, expression: "query.receiveUnit" } })], 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 8 } }, [a2("el-form-item", { attrs: { prop: "time" } }, [a2("el-date-picker", { attrs: { type: "datetimerange", "value-format": "yyyy-MM-dd HH:mm:ss", "range-separator": "至", "start-placeholder": "操作开始日期", "end-placeholder": "操作结束日期", "default-time": ["00:00:00", "23:59:59"] }, model: { value: t2.query.time, callback: function(e3) {
|
|
t2.$set(t2.query, "time", e3);
|
|
}, expression: "query.time" } })], 1)], 1)], 1)], 1), t2._v(" "), a2("el-col", { staticStyle: { "text-align": "right" }, attrs: { span: 4 } }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(e3) {
|
|
return t2.resetForm("query");
|
|
} } }, [t2._v("重置")]), t2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.onSearch } }, [t2._v("查询")])], 1)], 1)], 1), t2._v(" "), a2("div", { staticClass: "titleContent" }, [a2("div", { staticClass: "tableTitle" }, [t2._v("应付管控申请列表")]), t2._v(" "), a2("div", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "warning" }, on: { click: t2.applyLists } }, [t2._v("应付管控申请")]), t2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "success" }, on: { click: t2.exportTemplate } }, [t2._v("导出模板")]), t2._v(" "), a2("el-upload", { ref: "upload", staticClass: "importSpaceTmpBtn", attrs: { loading: t2.importDataBtn, "auto-upload": true, "show-file-list": false, accept: ".xlsx", "http-request": t2.importSpaceTmp, action: "" } }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" } }, [t2._v("导入数据")])], 1), t2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "info" }, on: { click: t2.addApply } }, [t2._v("人工添加")]), t2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "danger" }, on: { click: t2.discardSelect } }, [t2._v("人工作废")])], 1)]), t2._v(" "), a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: t2.listLoading, expression: "listLoading" }], ref: "tableData", attrs: { border: "", "header-cell-style": t2.headClass, data: t2.listData, "row-key": "id" }, on: { "selection-change": t2.selectionChange } }, [a2("el-table-column", { attrs: { align: "center", width: "50", type: "selection", fixed: "", "reserve-selection": true, selectable: t2.selectable } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "计提年月", "show-overflow-tooltip": "", "min-width": "80" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.paymentMonth || "-"))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "支出项", "show-overflow-tooltip": "", "min-width": "100" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.investmentName || "-"))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "支出科目", "show-overflow-tooltip": "", "min-width": "100" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.subjectName || "-"))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "right", "show-overflow-tooltip": "", label: "支出金额", "min-width": "120" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(t2._f("toThousandFilter")(e3.row.totalAmount)))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "预算分类", "min-width": "100" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", { style: { color: 2 == e3.row.budgetType ? "red" : "" } }, [t2._v(t2._s(t2._f("getItemType")(e3.row.budgetType, t2.budgetTypeList)))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "滚动预算", "min-width": "100" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [2 == e3.row.budgetType ? a2("span", [t2._v(t2._s(0 == e3.row.isRollingBudget ? "否" : 1 == e3.row.isRollingBudget ? "是" : "-"))]) : a2("span", [t2._v("-")])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "收款单位", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.receiveUnit || "-"))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "收款开户行", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.receiveBank || "-"))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "收款账户", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.receiveAccountNo || "-"))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "right", "show-overflow-tooltip": "", label: "需发票款项", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(t2._f("toThousandFilter")(e3.row.needInvoiceAmount)))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "right", "show-overflow-tooltip": "", label: "已提供发票", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(t2._f("toThousandFilter")(e3.row.invoiceAmount)))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "应付日期", "min-width": "100" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(t2._f("formatDate")(e3.row.paymentDate)))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "付款单位", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.paymentUnit || "-"))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "付款开户行", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.paymentBank || "-"))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "付款账户", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.paymentAccountNo || "-"))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "付款企业编码", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.paymentCreditCode || "-"))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "支出说明", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.remark || "-"))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "状态", "min-width": "90" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [1 == e3.row.status ? a2("el-tag", { attrs: { type: "warning" } }, [t2._v("未申请")]) : t2._e(), t2._v(" "), 2 == e3.row.status ? a2("el-tag", { attrs: { type: "success" } }, [t2._v("已申请")]) : t2._e(), t2._v(" "), 3 == e3.row.status ? a2("el-tag", { attrs: { type: "danger" } }, [t2._v("已作废")]) : t2._e()];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "附件", "min-width": "60" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [e3.row.fileArr && 0 !== e3.row.fileArr.length ? a2("div", [a2("el-popover", { attrs: { placement: "right", width: "400", trigger: "click" } }, [t2._l(e3.row.fileArr, (function(e4, n2) {
|
|
return a2("div", { key: n2 }, [a2("div", { staticClass: "download-style" }, [a2("span", [t2._v(t2._s(e4.fileName))]), t2._v(" "), a2("i", { staticClass: "el-icon-download", on: { click: function(a3) {
|
|
return t2.downloadItem(e4);
|
|
} } })])]);
|
|
})), t2._v(" "), a2("el-link", { attrs: { slot: "reference", type: "primary" }, slot: "reference" }, [t2._v(t2._s(e3.row.fileArr.length))])], 2)], 1) : a2("div", [t2._v(t2._s(0))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "操作人", "min-width": "120" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.updaterName || "-"))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "操作时间", "min-width": "180" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.updateTime || "-"))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", fixed: "right", "show-overflow-tooltip": "", label: "操作", "min-width": "100" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [1 == e3.row.status ? a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
|
return t2.editApply(e3.row);
|
|
} } }, [t2._v("编辑")]) : t2._e()];
|
|
} }]) })], 1), t2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": t2.query.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "page-size": t2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: t2.total }, on: { "update:currentPage": function(e3) {
|
|
return t2.$set(t2.query, "pageNumber", e3);
|
|
}, "update:current-page": function(e3) {
|
|
return t2.$set(t2.query, "pageNumber", e3);
|
|
}, "size-change": t2.handleSizeChange, "current-change": t2.handleCurrentChange } })], 1), t2._v(" "), a2("applyDetail", { ref: "applyDetail", attrs: { show: t2.apply }, on: { back: t2.applyBack, callback: t2.applyCallback } })], 1);
|
|
}, l = [], s = a("997d"), i = a("0b37"), c = a("dd26"), u = a.n(c), p = function() {
|
|
var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2;
|
|
return a2("div", [a2("el-dialog", { attrs: { title: "应付管控申请", visible: t2.show, "close-on-click-modal": false, "close-on-press-escape": false, width: "45%", "before-close": t2.handleClose }, on: { "update:visible": function(e3) {
|
|
t2.show = e3;
|
|
} } }, [a2("el-row", [a2("el-col", { attrs: { span: 14 } }, [a2("el-form", { ref: "applyForm", attrs: { model: t2.applyForm, rules: t2.applyRules, "label-width": "100px" } }, [a2("el-form-item", { attrs: { label: "标题", prop: "title" } }, [a2("el-input", { attrs: { placeholder: "审批标题", clearable: "", maxlength: "20", "show-word-limit": "" }, model: { value: t2.applyForm.title, callback: function(e3) {
|
|
t2.$set(t2.applyForm, "title", e3);
|
|
}, expression: "applyForm.title" } })], 1), t2._v(" "), a2("el-form-item", { attrs: { label: "类型编号", prop: "type" } }, [a2("el-input", { attrs: { placeholder: "审批类型编号", maxlength: "8", oninput: "value=value.replace(/[^\\d]/g,'')", clearable: "" }, model: { value: t2.applyForm.type, callback: function(e3) {
|
|
t2.$set(t2.applyForm, "type", e3);
|
|
}, expression: "applyForm.type" } }), t2._v(" "), a2("el-tooltip", { staticClass: "item apply-ask", attrs: { effect: "dark", placement: "right" } }, [a2("template", { slot: "content" }, [a2("div", [t2._v("仅支持输入8位以下的数字")]), t2._v(" "), "" != t2.codeDec ? a2("div", { staticStyle: { "white-space": "pre-wrap" } }, [t2._v("\n " + t2._s(t2.codeDec) + "\n ")]) : t2._e()]), t2._v(" "), a2("i", { staticClass: "el-icon-question" })], 2)], 1), t2._v(" "), a2("el-form-item", { attrs: { label: "发起审批" } }, [a2("el-switch", { attrs: { "active-value": 1, "inactive-value": 0, "active-text": "开启", "inactive-text": "关闭" }, model: { value: t2.applyForm.needApply, callback: function(e3) {
|
|
t2.$set(t2.applyForm, "needApply", e3);
|
|
}, expression: "applyForm.needApply" } }), t2._v(" "), a2("div", { staticClass: "apply-tips" }, [a2("div", [t2._v("1. 开启发起审批,则提交后自动走企业微信平台审批流程")]), t2._v(" "), a2("div", [t2._v("2. 如流程无需进行审批,平台仍会记录一切操作记录")])])], 1)], 1)], 1)], 1), t2._v(" "), a2("el-descriptions", { attrs: { title: "申请信息", border: "" } }, [a2("el-descriptions-item", { attrs: { label: "申请人姓名", span: "3" } }, [t2._v(t2._s(t2.detailInfo.name))]), t2._v(" "), a2("el-descriptions-item", { attrs: { label: "计提年月" } }, [t2._v(t2._s(t2.detailInfo.payMonth))]), t2._v(" "), a2("el-descriptions-item", { attrs: { label: "应付日期" } }, [t2._v(t2._s(t2.detailInfo.payDate))]), t2._v(" "), a2("el-descriptions-item", { attrs: { label: "申请条数" } }, [t2._v(t2._s(t2.detailInfo.length))]), t2._v(" "), a2("el-descriptions-item", { attrs: { label: "应付总金额" } }, [t2._v(t2._s(t2._f("toThousandFilter")(t2.detailInfo.applyAmount)))]), t2._v(" "), a2("el-descriptions-item", { attrs: { label: "需发票款项" } }, [t2._v(t2._s(t2._f("toThousandFilter")(t2.detailInfo.needAmount)))]), t2._v(" "), a2("el-descriptions-item", { attrs: { label: "已提供发票" } }, [t2._v(t2._s(t2._f("toThousandFilter")(t2.detailInfo.hasAmount)))]), t2._v(" "), a2("el-descriptions-item", { attrs: { label: "说明", span: "3" } }, t2._l(t2.detailInfo.remark, (function(e3, n2) {
|
|
return a2("div", { key: n2 }, [t2._v("\n " + t2._s("【" + (n2 + 1) + "】" + e3) + "\n ")]);
|
|
})), 0), t2._v(" "), a2("el-descriptions-item", { attrs: { label: "费用凭证", span: "3" } }, [a2("template", { slot: "label" }, [t2._v("\n 费用凭证\n "), a2("el-tooltip", { staticClass: "item apply-ask", attrs: { effect: "dark", placement: "right" } }, [a2("template", { slot: "content" }, [a2("div", [t2._v("仅支持10m大小以内的附件文件")])]), t2._v(" "), a2("i", { staticClass: "el-icon-question" })], 2)], 1), t2._v(" "), t2._l(t2.detailInfo.fileArr, (function(e3, n2) {
|
|
return a2("div", { key: n2 }, [e3 ? a2("div", [a2("el-link", { attrs: { type: "primary" }, on: { click: function(a3) {
|
|
return t2.downloadFile(e3);
|
|
} } }, [t2._v(t2._s(e3.fileName))])], 1) : t2._e()]);
|
|
})), t2._v(" "), t2.detailInfo.fileArr.length <= 0 ? a2("span", [t2._v("-")]) : t2._e()], 2)], 1), t2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: t2.handleClose } }, [t2._v("返回")]), t2._v(" "), a2("el-button", { attrs: { type: "primary", loading: t2.applyLoad }, on: { click: t2.submitApply } }, [t2._v("提交")])], 1), t2._v(" "), a2("el-dialog", { attrs: { width: "30%", title: "提交验证", "close-on-click-modal": false, "close-on-press-escape": false, visible: t2.showPwd, "before-close": t2.closePwd, "append-to-body": "" }, on: { "update:visible": function(e3) {
|
|
t2.showPwd = e3;
|
|
} } }, [a2("el-form", { ref: "checkForm", attrs: { model: t2.checkForm, rules: t2.checkRule, "label-width": "100px" } }, [a2("el-form-item", { attrs: { label: "登录密码", prop: "pwd" } }, [a2("el-input", { attrs: { type: "password", clearable: "", placeholder: "请输入登录密码" }, model: { value: t2.checkForm.pwd, callback: function(e3) {
|
|
t2.$set(t2.checkForm, "pwd", e3);
|
|
}, expression: "checkForm.pwd" } })], 1), t2._v(" "), a2("el-form-item", { attrs: { label: "" } }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.postMineApply } }, [t2._v("确 定")]), t2._v(" "), a2("el-button", { on: { click: t2.closePwd } }, [t2._v("取 消")])], 1)], 1)], 1)], 1)], 1);
|
|
}, d = [];
|
|
function m(t2) {
|
|
return m = "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;
|
|
}, m(t2);
|
|
}
|
|
function f(t2, e2) {
|
|
var a2 = Object.keys(t2);
|
|
if (Object.getOwnPropertySymbols) {
|
|
var n2 = Object.getOwnPropertySymbols(t2);
|
|
e2 && (n2 = n2.filter((function(e3) {
|
|
return Object.getOwnPropertyDescriptor(t2, e3).enumerable;
|
|
}))), a2.push.apply(a2, n2);
|
|
}
|
|
return a2;
|
|
}
|
|
function h(t2) {
|
|
for (var e2 = 1; e2 < arguments.length; e2++) {
|
|
var a2 = null != arguments[e2] ? arguments[e2] : {};
|
|
e2 % 2 ? f(Object(a2), true).forEach((function(e3) {
|
|
v(t2, e3, a2[e3]);
|
|
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t2, Object.getOwnPropertyDescriptors(a2)) : f(Object(a2)).forEach((function(e3) {
|
|
Object.defineProperty(t2, e3, Object.getOwnPropertyDescriptor(a2, e3));
|
|
}));
|
|
}
|
|
return t2;
|
|
}
|
|
function v(t2, e2, a2) {
|
|
return (e2 = y(e2)) in t2 ? Object.defineProperty(t2, e2, { value: a2, enumerable: true, configurable: true, writable: true }) : t2[e2] = a2, t2;
|
|
}
|
|
function y(t2) {
|
|
var e2 = b(t2, "string");
|
|
return "symbol" == m(e2) ? e2 : e2 + "";
|
|
}
|
|
function b(t2, e2) {
|
|
if ("object" != m(t2) || !t2) return t2;
|
|
var a2 = t2[Symbol.toPrimitive];
|
|
if (void 0 !== a2) {
|
|
var n2 = a2.call(t2, e2 || "default");
|
|
if ("object" != m(n2)) return n2;
|
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
}
|
|
return ("string" === e2 ? String : Number)(t2);
|
|
}
|
|
var _ = { props: { show: { type: Boolean, default: false } }, data: function() {
|
|
return { applyForm: { title: "", type: "", needApply: 1 }, applyLoad: false, applyRules: { title: { required: true, message: "请输入应付管控申请标题", trigger: "blur" }, type: { required: true, message: "请输入应付管控申请类型编号", trigger: "blur" } }, checkForm: { pwd: "" }, checkRule: { pwd: [{ required: true, message: "请输入登录密码", trigger: "blur" }, { min: 6, message: "密码长度最短6位", trigger: "blur" }] }, detailInfo: "", codeDec: "", showPwd: false };
|
|
}, methods: { init: function(t2) {
|
|
this.detailInfo = t2, this.getTips();
|
|
}, submitApply: function() {
|
|
var t2 = this;
|
|
this.$refs["applyForm"].validate((function(e2) {
|
|
if (e2) if (t2.applyLoad = true, 1 == t2.applyForm.needApply) {
|
|
var a2 = h(h({}, t2.applyForm), {}, { ids: t2.detailInfo.ids, updaterId: t2.$store.state.user.userInfo.memberId, updaterName: t2.$store.state.user.userInfo.memberName });
|
|
t2.postApply(a2);
|
|
} else t2.showPwd = true;
|
|
}));
|
|
}, postMineApply: function() {
|
|
var t2 = this;
|
|
this.$refs["checkForm"].validate((function(e2) {
|
|
if (e2) {
|
|
var a2 = h(h({}, t2.applyForm), {}, { password: t2.checkForm.pwd, ids: t2.detailInfo.ids, updaterId: t2.$store.state.user.userInfo.memberId, updaterName: t2.$store.state.user.userInfo.memberName });
|
|
t2.postApply(a2);
|
|
}
|
|
}));
|
|
}, postApply: function(t2) {
|
|
var e2 = this;
|
|
Object(s["e"])(t2).then((function(t3) {
|
|
0 == t3.code ? (e2.applyLoad = false, e2.$message({ type: "success", message: "操作成功!" }), 1 == e2.applyForm.needApply || e2.closePwd(), e2.handleCallback()) : e2.applyLoad = false;
|
|
})).catch((function(t3) {
|
|
e2.applyLoad = false;
|
|
}));
|
|
}, downloadFile: function(t2) {
|
|
var e2 = t2.fullUrl, a2 = new XMLHttpRequest();
|
|
a2.open("GET", e2, true), a2.responseType = "blob", a2.onload = function() {
|
|
var e3 = URL.createObjectURL(a2.response), n2 = document.createElement("a");
|
|
n2.href = e3, n2.download = t2.fileName, n2.target = "_blank", n2.click();
|
|
}, a2.send();
|
|
}, getTips: function() {
|
|
var t2 = this;
|
|
Object(s["k"])({ projectUuid: this.$store.state.community_uuid, typeCode: "SP10006" }).then((function(e2) {
|
|
t2.codeDec = e2.data.description ? e2.data.description : "";
|
|
}));
|
|
}, closePwd: function() {
|
|
this.$refs["checkForm"].resetFields(), this.showPwd = false, this.applyLoad = false;
|
|
}, handleClose: function() {
|
|
this.$refs["applyForm"].resetFields(), this.$emit("back");
|
|
}, handleCallback: function() {
|
|
this.$refs["applyForm"].resetFields(), this.$emit("callback");
|
|
} } }, g = _, w = (a("9ed3"), a("829d")), k = Object(w["a"])(g, p, d, false, null, "077ef419", null), S = k.exports, T = a("dce5"), j = { components: { applyDetail: S }, props: { category: { type: Array, default: function() {
|
|
return [];
|
|
} } }, data: function() {
|
|
return { list: [], itemList: [], listLoading: false, statusList: T["Gb"], budgetTypeList: T["s"], total: 0, query: { pageNumber: 1, pageSize: 10, subjectId: "", investmentId: "", status: "", month: "", updaterName: "", paymentUnit: "", receiveUnit: "", time: "", subscribeType: 1 }, importDataBtn: false, listData: [], selectList: [], apply: false, gridData: [] };
|
|
}, mounted: function() {
|
|
this.query.status = 1, this.getList();
|
|
}, methods: { getList: function() {
|
|
var t2 = this;
|
|
this.query.projectUuid = this.$store.state.community_uuid, this.query.paymentMonthList = this.query.month ? [this.query.month] : [], this.query.startTime = this.query.time ? this.query.time[0] : "", this.query.endTime = this.query.time ? this.query.time[1] : "", this.query.memberId = this.$store.state.user.userInfo.memberId, Object(s["a"])(this.query).then((function(e2) {
|
|
0 == e2.code && e2.data && (e2.data.records.map((function(t3) {
|
|
var e3 = t3.fileUrls ? JSON.parse(t3.fileUrls) : [];
|
|
t3.fileArr = e3.filter((function(t4) {
|
|
return null != t4 && void 0 != t4;
|
|
}));
|
|
})), t2.listData = e2.data.records, t2.total = e2.data.rowsCount);
|
|
}));
|
|
}, onSearch: function() {
|
|
this.query.pageNumber = 1, this.getList();
|
|
}, resetForm: function(t2) {
|
|
this.$refs[t2].resetFields(), this.itemList = [], this.query.pageNumber = 1, this.getList();
|
|
}, handleSizeChange: function(t2) {
|
|
this.query.pageSize = t2, this.getList();
|
|
}, handleCurrentChange: function(t2) {
|
|
this.query.pageNumber = t2, this.getList();
|
|
}, changeCategorySelect: function(t2) {
|
|
t2 ? this.getItemList() : (this.query.investmentId = "", this.itemList = []);
|
|
}, getItemList: function() {
|
|
var t2 = this, e2 = { projectUuid: this.$store.state.community_uuid, pageSize: -1, pageNumber: -1, subjectId: this.query.subjectId };
|
|
Object(s["p"])(e2).then((function(e3) {
|
|
t2.itemList = e3.data.records;
|
|
}));
|
|
}, downloadItem: function(t2) {
|
|
var e2 = t2.fullUrl, a2 = new XMLHttpRequest();
|
|
a2.open("GET", e2, true), a2.responseType = "blob", a2.onload = function() {
|
|
var e3 = URL.createObjectURL(a2.response), n2 = document.createElement("a");
|
|
n2.href = e3, n2.download = t2.fileName, n2.target = "_blank", n2.click();
|
|
}, a2.send();
|
|
}, exportTemplate: function() {
|
|
var t2 = "/static/template/payableApplicationImportTemplate.xlsx", e2 = this.$store.state.community_name, a2 = "".concat(e2, "_应付管控申请导入模板.xlsx"), n2 = document.createElement("a");
|
|
n2.setAttribute("type", "download"), n2.setAttribute("download", a2), n2.style.display = "none", n2.href = t2, document.body.appendChild(n2), n2.click(), document.body.removeChild(n2);
|
|
}, importSpaceTmp: function(t2) {
|
|
var e2 = this, a2 = t2.file, n2 = a2.size / 1024 / 1024 < 20, r2 = a2.name.lastIndexOf("."), o2 = a2.name.length, l2 = a2.name.substring(r2 + 1, o2);
|
|
if ("xls" == l2 || "xlsx" == l2) if (n2) {
|
|
var i2 = new FormData();
|
|
this.fileName = a2.name, i2.append("file", a2, a2.name);
|
|
var c2 = "".concat(this.$store.state.community_uuid, "/").concat(this.$store.state.user.userInfo.memberId);
|
|
this.importDataBtn = true, Object(s["l"])(i2, c2).then((function(t3) {
|
|
var a3 = t3.headers, n3 = t3.data;
|
|
if (a3.count) {
|
|
var r3 = JSON.parse(a3.count);
|
|
0 == r3.code ? r3.errorCount > 0 ? (e2.$message({ message: "上传结果:总条数".concat(r3.totalCount, "条,成功").concat(r3.successCount, "条,失败").concat(r3.errorCount, "条。"), type: "warning" }), e2.downloadImportDetailes(n3), e2.query.pageNumber = 1, e2.getList()) : (e2.$message({ message: "导入数据成功!", type: "success" }), e2.query.pageNumber = 1, e2.getList()) : e2.$message({ message: "数据导入失败,请检查模板数据格式是否规范!", type: "error" }), e2.importDataBtn = false;
|
|
} else e2.$message({ message: "数据导入失败,请检查模板数据格式是否规范!", type: "error" }), e2.importDataBtn = false;
|
|
})).catch((function() {
|
|
e2.$message({ message: "数据导入失败,请检查模板数据格式是否规范!", type: "error" }), e2.importDataBtn = false;
|
|
}));
|
|
} else this.$message("上传文件大小不能超过20M!");
|
|
else this.$message("只能上传Excel文件!");
|
|
}, downloadImportDetailes: function(t2) {
|
|
var e2 = "application/vnd.ms-excel", a2 = new Blob([t2], { type: e2 }), n2 = "应付管控申请导入失败信息.xls";
|
|
if (window.navigator.msSaveOrOpenBlob) navigator.msSaveBlob(a2);
|
|
else {
|
|
var r2 = document.createElement("a");
|
|
r2.download = n2, r2.style.display = "none", r2.href = URL.createObjectURL(a2), document.body.appendChild(r2), r2.click(), document.body.removeChild(r2);
|
|
}
|
|
}, selectionChange: function(t2) {
|
|
this.selectList = t2;
|
|
}, discardSelect: function() {
|
|
var t2 = this;
|
|
if (0 === this.selectList.length) return this.$message({ type: "error", message: "请选择操作数据" }), false;
|
|
this.$confirm("确定手动作废当前应付申请?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
|
|
var e2 = [];
|
|
t2.selectList.map((function(t3) {
|
|
e2.push(t3.id);
|
|
}));
|
|
var a2 = { ids: e2, updaterId: t2.$store.state.user.userInfo.memberId, updaterName: t2.$store.state.user.userInfo.memberName };
|
|
Object(s["d"])(a2).then((function(e3) {
|
|
t2.$message({ type: "success", message: "操作成功!" }), t2.$refs.tableData.clearSelection(), t2.getList();
|
|
}));
|
|
}));
|
|
}, applyLists: function() {
|
|
if (0 === this.selectList.length) return this.$message({ type: "error", message: "请选择操作数据" }), false;
|
|
var t2 = { applyAmount: 0, needAmount: 0, hasAmount: 0 };
|
|
t2.payMonth = u()(this.selectList[0].paymentMonth), t2.payDate = u()(this.selectList[0].paymentDate), t2.remark = [], t2.fileArr = [], t2.length = this.selectList.length, t2.name = this.$store.state.user.userInfo.memberName, t2.ids = [], this.selectList.map((function(e2, a2) {
|
|
if (t2.applyAmount = Object(i["a"])(t2.applyAmount, e2.totalAmount), t2.needAmount = Object(i["a"])(t2.needAmount, e2.needInvoiceAmount), t2.hasAmount = Object(i["a"])(t2.hasAmount, e2.invoiceAmount), t2.payMonth = u.a.min(t2.payMonth, u()(e2.paymentMonth)), t2.payDate = u.a.min(t2.payDate, u()(e2.paymentDate)), t2.ids.push(e2.id), e2.remark && "" != e2.remark && t2.remark.push(e2.remark), e2 && e2.fileUrls && "" != e2.fileUrls) {
|
|
var n2 = JSON.parse(e2.fileUrls);
|
|
n2.map((function(e3) {
|
|
t2.fileArr.push(e3);
|
|
}));
|
|
}
|
|
})), this.apply = true, this.$nextTick((function() {
|
|
t2.payMonth = t2.payMonth.format("YYYY-MM"), t2.payDate = t2.payDate.format("YYYY-MM-DD"), this.$refs.applyDetail.init(t2);
|
|
}));
|
|
}, selectable: function(t2, e2) {
|
|
return 1 == t2.status;
|
|
}, applyCallback: function() {
|
|
this.applyBack(), this.getList();
|
|
}, applyBack: function() {
|
|
this.apply = false, this.$refs.tableData.clearSelection();
|
|
}, addApply: function() {
|
|
this.$emit("apply");
|
|
}, editApply: function(t2) {
|
|
this.$emit("apply", t2);
|
|
}, headClass: function() {
|
|
return "text-align:center;background:#FAFAFA;";
|
|
} } }, O = j, C = (a("162d"), Object(w["a"])(O, o, l, false, null, "57f762e1", null)), I = C.exports, q = function() {
|
|
var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2;
|
|
return a2("div", [a2("div", [a2("el-form", { ref: "query", attrs: { model: t2.query } }, [a2("el-row", [a2("el-col", { attrs: { span: 20 } }, [a2("el-row", { staticClass: "search-bar", attrs: { gutter: 20 } }, [a2("el-col", { attrs: { span: 5 } }, [a2("el-form-item", { attrs: { prop: "type" } }, [a2("el-select", { attrs: { placeholder: "审批来源", clearable: "" }, model: { value: t2.query.type, callback: function(e3) {
|
|
t2.$set(t2.query, "type", e3);
|
|
}, expression: "query.type" } }, t2._l(t2.typeList, (function(t3) {
|
|
return a2("el-option", { key: t3.value, attrs: { label: t3.label, value: t3.value } });
|
|
})), 1)], 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 5 } }, [a2("el-form-item", { attrs: { prop: "applyNo" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "审批编号" }, model: { value: t2.query.applyNo, callback: function(e3) {
|
|
t2.$set(t2.query, "applyNo", e3);
|
|
}, expression: "query.applyNo" } })], 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 5 } }, [a2("el-form-item", { attrs: { prop: "status" } }, [a2("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.statusList, (function(t3) {
|
|
return a2("el-option", { key: t3.value, attrs: { label: t3.label, value: t3.value } });
|
|
})), 1)], 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 10 } }, [a2("el-form-item", { attrs: { prop: "createTime" } }, [a2("el-date-picker", { attrs: { type: "datetimerange", "value-format": "yyyy-MM-dd HH:mm:ss", "range-separator": "至", "start-placeholder": "提交开始日期", "end-placeholder": "提交结束日期", "default-time": ["00:00:00", "23:59:59"] }, model: { value: t2.query.createTime, callback: function(e3) {
|
|
t2.$set(t2.query, "createTime", e3);
|
|
}, expression: "query.createTime" } })], 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 10 } }, [a2("el-form-item", { attrs: { prop: "checkTime" } }, [a2("el-date-picker", { attrs: { type: "datetimerange", "value-format": "yyyy-MM-dd HH:mm:ss", "range-separator": "至", "start-placeholder": "审核开始日期", "end-placeholder": "审核结束日期", "default-time": ["00:00:00", "23:59:59"] }, model: { value: t2.query.checkTime, callback: function(e3) {
|
|
t2.$set(t2.query, "checkTime", e3);
|
|
}, expression: "query.checkTime" } })], 1)], 1)], 1)], 1), t2._v(" "), a2("el-col", { staticStyle: { "text-align": "right" }, attrs: { span: 4 } }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(e3) {
|
|
return t2.resetForm("query");
|
|
} } }, [t2._v("重置")]), t2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.onSearch } }, [t2._v("查询")])], 1)], 1)], 1)], 1), t2._v(" "), t2._m(0), t2._v(" "), a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: t2.listLoading, expression: "listLoading" }], ref: "tableData", attrs: { border: "", "header-cell-style": t2.headClass, data: t2.listData } }, [a2("el-table-column", { attrs: { align: "center", label: "审批编号", "show-overflow-tooltip": "", "min-width": "220" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.applyNo || "-"))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "审批来源", "show-overflow-tooltip": "", "min-width": "100" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(t2._f("getItemType")(e3.row.type, t2.typeList)))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "计提年月", "show-overflow-tooltip": "", "min-width": "100" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.paymentMonth || "-"))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "应付日期", "show-overflow-tooltip": "", "min-width": "120" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(t2._f("formatDate")(e3.row.paymentDate)))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "支出项", "show-overflow-tooltip": "", "min-width": "120" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.investmentName || "-"))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "right", "show-overflow-tooltip": "", label: "应付总金额", "min-width": "120" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(t2._f("toThousandFilter")(e3.row.totalAmount)))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "right", "show-overflow-tooltip": "", label: "需发票款项", "min-width": "120" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(t2._f("toThousandFilter")(e3.row.needInvoiceAmount)))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "right", "show-overflow-tooltip": "", label: "已提供发票", "min-width": "120" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(t2._f("toThousandFilter")(e3.row.invoiceAmount)))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "提交人", "min-width": "90" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.creatorName || "-"))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "提交时间", "min-width": "180" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.createTime || "-"))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "状态", "min-width": "120" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [1 == e3.row.status ? a2("el-tag", { attrs: { type: "warning" } }, [t2._v("进行中")]) : t2._e(), t2._v(" "), 2 == e3.row.status ? a2("el-tag", { attrs: { type: "success" } }, [t2._v("通过且发布")]) : t2._e(), t2._v(" "), 3 == e3.row.status ? a2("el-tag", { attrs: { type: "danger" } }, [t2._v("未通过")]) : t2._e(), t2._v(" "), 4 == e3.row.status ? a2("el-tag", { attrs: { type: "info" } }, [t2._v("已撤销")]) : t2._e()];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "审核人", "min-width": "100" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.approverName || "-"))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "审核时间", "min-width": "180" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.approveTime || "-"))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", fixed: "right", "show-overflow-tooltip": "", label: "操作", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
|
return t2.seeDetail(e3.row);
|
|
} } }, [t2._v("查看")]), t2._v(" "), 2 == e3.row.type && 1 == e3.row.status ? a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
|
return t2.checkItem(e3.row, 1);
|
|
} } }, [t2._v("同意")]) : t2._e(), t2._v(" "), 2 == e3.row.type && 1 == e3.row.status ? a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
|
return t2.checkItem(e3.row, 2);
|
|
} } }, [t2._v("拒绝")]) : t2._e()];
|
|
} }]) })], 1), t2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": t2.query.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "page-size": t2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: t2.total }, on: { "update:currentPage": function(e3) {
|
|
return t2.$set(t2.query, "pageNumber", e3);
|
|
}, "update:current-page": function(e3) {
|
|
return t2.$set(t2.query, "pageNumber", e3);
|
|
}, "size-change": t2.handleSizeChange, "current-change": t2.handleCurrentChange } })], 1)], 1);
|
|
}, N = [function() {
|
|
var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2;
|
|
return a2("div", { staticClass: "titleContent" }, [a2("div", { staticClass: "tableTitle" }, [t2._v("应付管控列表")])]);
|
|
}], L = { data: function() {
|
|
return { listLoading: false, total: 0, query: { pageNumber: 1, pageSize: 10, type: "", applyNo: "", status: "", createTime: "", checkTime: "" }, typeList: T["Kb"], statusList: T["Jb"], listData: [] };
|
|
}, mounted: function() {
|
|
this.getList();
|
|
}, methods: { getList: function() {
|
|
var t2 = this;
|
|
this.query.projectUuid = this.$store.state.community_uuid, this.query.createStartTime = this.query.createTime ? this.query.createTime[0] : "", this.query.createEndTime = this.query.createTime ? this.query.createTime[1] : "", this.query.approveStartTime = this.query.checkTime ? this.query.checkTime[0] : "", this.query.approveEndTime = this.query.checkTime ? this.query.checkTime[1] : "", Object(s["b"])(this.query).then((function(e2) {
|
|
0 == e2.code && e2.data && (e2.data.records.map((function(t3) {
|
|
t3.fileArr = t3.fileUrls ? JSON.parse(t3.fileUrls) : [];
|
|
})), t2.listData = e2.data.records, t2.total = e2.data.rowsCount);
|
|
}));
|
|
}, onSearch: function() {
|
|
this.query.pageNumber = 1, this.getList();
|
|
}, resetForm: function(t2) {
|
|
this.$refs[t2].resetFields(), this.query.pageNumber = 1, this.getList();
|
|
}, handleSizeChange: function(t2) {
|
|
this.query.pageSize = t2, this.getList();
|
|
}, handleCurrentChange: function(t2) {
|
|
this.query.pageNumber = t2, this.getList();
|
|
}, seeDetail: function(t2) {
|
|
this.$emit("see", t2);
|
|
}, checkItem: function(t2, e2) {
|
|
var a2 = this, n2 = "", r2 = 0, o2 = "";
|
|
1 == e2 ? (n2 = "确定通过当前应付申请吗?", r2 = 1, o2 = "success") : (n2 = "确定拒绝当前应付申请吗?", r2 = 2, o2 = "error"), this.$confirm(n2, "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: o2 }).then((function() {
|
|
var e3 = { approverResult: r2, id: t2.id, approverId: a2.$store.state.user.userInfo.memberId, approverName: a2.$store.state.user.userInfo.memberName };
|
|
Object(s["c"])(e3).then((function(t3) {
|
|
a2.$message({ type: "success", message: "操作成功!" }), a2.getList();
|
|
}));
|
|
}));
|
|
}, headClass: function() {
|
|
return "text-align:center;background:#FAFAFA;";
|
|
} } }, $ = L, x = (a("d71b"), Object(w["a"])($, q, N, false, null, "7054d520", null)), F = x.exports, A = a("dee1"), D = function() {
|
|
var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2;
|
|
return t2.show ? a2("div", [a2("el-card", { staticClass: "box-card nav-card" }, [a2("el-page-header", { attrs: { content: t2.title }, on: { back: t2.goBack } })], 1), t2._v(" "), a2("el-card", { staticClass: "box-card" }, [a2("el-descriptions", { attrs: { title: "基础信息" } }, [a2("el-descriptions-item", { attrs: { label: "标题" } }, [t2._v(t2._s(t2.applyInfo.title || "-"))]), t2._v(" "), a2("el-descriptions-item", { attrs: { label: "类型编号" } }, [t2._v(t2._s(t2.applyInfo.typeNo || "-"))]), t2._v(" "), a2("el-descriptions-item", { attrs: { label: "审批来源" } }, [t2._v(t2._s(t2._f("getItemType")(t2.applyInfo.type, t2.payableTypeList)))]), t2._v(" "), a2("el-descriptions-item", { attrs: { label: "审批编号" } }, [t2._v(t2._s(t2.applyInfo.applyNo || "-"))]), t2._v(" "), a2("el-descriptions-item", { attrs: { label: "状态" } }, [t2._v(t2._s(t2._f("getItemType")(t2.applyInfo.status, t2.payableStatusList)))]), t2._v(" "), a2("el-descriptions-item", { attrs: { label: "提交人" } }, [t2._v(t2._s(t2.applyInfo.creatorName || "-"))]), t2._v(" "), a2("el-descriptions-item", { attrs: { label: "提交时间", span: "2" } }, [t2._v(t2._s(t2.applyInfo.createTime || "-"))]), t2._v(" "), a2("el-descriptions-item", { attrs: { label: "审核人" } }, [t2._v(t2._s(t2.applyInfo.approverName || "-"))]), t2._v(" "), a2("el-descriptions-item", { attrs: { label: "审核时间", span: "2" } }, [t2._v(t2._s(t2.applyInfo.approveTime || "-"))])], 1)], 1), t2._v(" "), a2("el-card", { staticClass: "box-card nav-card" }, [a2("el-descriptions", { attrs: { title: "支出信息" } }, [a2("el-descriptions-item", { attrs: { label: "应付总金额" } }, [t2._v(t2._s(t2._f("toThousandFilter")(t2.applyInfo.totalAmount)))]), t2._v(" "), a2("el-descriptions-item", { attrs: { label: "需发票款项" } }, [t2._v(t2._s(t2._f("toThousandFilter")(t2.applyInfo.needInvoiceAmount)))]), t2._v(" "), a2("el-descriptions-item", { attrs: { label: "已提供发票" } }, [t2._v(t2._s(t2._f("toThousandFilter")(t2.applyInfo.invoiceAmount)))])], 1)], 1), t2._v(" "), a2("el-card", { staticClass: "box-card nav-card" }, [a2("el-descriptions", { attrs: { title: "附件信息", colon: false } }, [t2._l(t2.fileData(t2.applyInfo.fileInfo), (function(e3, n2) {
|
|
return a2("el-descriptions-item", { key: n2, attrs: { span: "3", label: e3.fileName } }, [a2("i", { staticClass: "el-icon-download download-style", on: { click: function(a3) {
|
|
return t2.downloadFile(e3);
|
|
} } })]);
|
|
})), t2._v(" "), 0 == t2.fileData(t2.applyInfo.fileInfo).length ? a2("el-descriptions-item", { attrs: { span: "3", label: "无附件信息~" } }) : t2._e()], 2)], 1), t2._v(" "), a2("el-card", { staticClass: "box-card nav-card" }, [a2("div", { staticClass: "table-card-title" }, [t2._v("管控明细")]), t2._v(" "), a2("el-table", { staticStyle: { width: "100%" }, attrs: { border: "", "header-cell-style": t2.headClass, data: t2.listData } }, [a2("el-table-column", { attrs: { align: "center", width: "80", label: "#", type: "index", fixed: "" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "项目名称", "show-overflow-tooltip": "", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.projectName || "-"))])];
|
|
} }], null, false, 2449137593) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "计提年月", "show-overflow-tooltip": "", "min-width": "120" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.paymentMonth || "-"))])];
|
|
} }], null, false, 2230473921) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "支出项", "show-overflow-tooltip": "", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.investmentName || "-"))])];
|
|
} }], null, false, 28781229) }), t2._v(" "), a2("el-table-column", { attrs: { align: "right", "show-overflow-tooltip": "", label: "应支出金额", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(t2._f("toThousandFilter")(e3.row.totalAmount)))])];
|
|
} }], null, false, 1990324468) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "预算分类", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", { style: { color: 2 == e3.row.budgetType ? "red" : "" } }, [t2._v(t2._s(t2._f("getItemType")(e3.row.budgetType, t2.budgetTypeList)))])];
|
|
} }], null, false, 1446169528) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "收款单位", "show-overflow-tooltip": "", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.receiveUnit || "-"))])];
|
|
} }], null, false, 2929067910) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "收款开户行", "show-overflow-tooltip": "", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.receiveBank || "-"))])];
|
|
} }], null, false, 2420490630) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "收款账户", "show-overflow-tooltip": "", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.receiveAccountNo || "-"))])];
|
|
} }], null, false, 2325711584) }), t2._v(" "), a2("el-table-column", { attrs: { align: "right", "show-overflow-tooltip": "", label: "需发票款项", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(t2._f("toThousandFilter")(e3.row.needInvoiceAmount)))])];
|
|
} }], null, false, 1381602925) }), t2._v(" "), a2("el-table-column", { attrs: { align: "right", "show-overflow-tooltip": "", label: "已提供发票", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(t2._f("toThousandFilter")(e3.row.invoiceAmount)))])];
|
|
} }], null, false, 3763587431) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "应付日期", "min-width": "150" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(t2._f("formatDate")(e3.row.paymentDate)))])];
|
|
} }], null, false, 1848624646) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "付款单位", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.paymentUnit || "-"))])];
|
|
} }], null, false, 1632586679) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "付款开户行", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.paymentBank || "-"))])];
|
|
} }], null, false, 1124009399) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "付款账户", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.paymentAccountNo || "-"))])];
|
|
} }], null, false, 2317908881) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "支出说明", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.remark || "-"))])];
|
|
} }], null, false, 1515408361) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "应付单号", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.orderNo || "-"))])];
|
|
} }], null, false, 3944281700) }), t2._v(" "), a2("el-table-column", { attrs: { align: "right", "show-overflow-tooltip": "", label: "已支出", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [e3.row.paidAmount ? a2("span", [t2._v(t2._s(t2._f("toThousandFilter")(e3.row.paidAmount)))]) : a2("span", [t2._v("-")])];
|
|
} }], null, false, 277092896) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "待支出", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [e3.row.processingAmount ? a2("span", [t2._v(t2._s(t2._f("toThousandFilter")(e3.row.processingAmount)))]) : a2("span", [t2._v("-")])];
|
|
} }], null, false, 906014944) }), t2._v(" "), a2("el-table-column", { attrs: { align: "right", "show-overflow-tooltip": "", label: "未支出", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [e3.row.unpaidAmount ? a2("span", [t2._v(t2._s(t2._f("toThousandFilter")(e3.row.unpaidAmount)))]) : a2("span", [t2._v("-")])];
|
|
} }], null, false, 2415670304) }), t2._v(" "), a2("el-table-column", { attrs: { align: "right", "show-overflow-tooltip": "", label: "审批金额", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(t2._f("toThousandFilter")(e3.row.approveAmount)))])];
|
|
} }], null, false, 3359311225) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "支出状态", "min-width": "130" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [1 == e3.row.status ? a2("el-tag", { attrs: { type: "info" } }, [t2._v("未支付")]) : t2._e(), t2._v(" "), 2 == e3.row.status ? a2("el-tag", { attrs: { type: "warning" } }, [t2._v("部分支付")]) : t2._e(), t2._v(" "), 3 == e3.row.status ? a2("el-tag", { attrs: { type: "success" } }, [t2._v("全部支付")]) : t2._e(), t2._v(" "), 0 == e3.row.status ? a2("span", [t2._v("-")]) : t2._e()];
|
|
} }], null, false, 3111704263) })], 1)], 1)], 1) : t2._e();
|
|
}, P = [], U = { props: { show: { type: Boolean, default: false } }, data: function() {
|
|
return { payableTypeList: T["Kb"], payableStatusList: T["Jb"], budgetTypeList: T["s"], title: "查看", itemInfo: "", applyInfo: {}, listData: [] };
|
|
}, mounted: function() {
|
|
}, methods: { see: function(t2) {
|
|
this.itemInfo = t2, this.getInfo(), this.getList();
|
|
}, getInfo: function() {
|
|
var t2 = this, e2 = { id: this.itemInfo.id };
|
|
Object(s["j"])(e2).then((function(e3) {
|
|
0 == e3.code && (t2.applyInfo = e3.data);
|
|
}));
|
|
}, getList: function() {
|
|
var t2 = this, e2 = { id: this.itemInfo.id, planUuid: this.itemInfo.uuid, pageSize: -1, pageNumber: -1, needDefault: 1 };
|
|
Object(s["o"])(e2).then((function(e3) {
|
|
0 == e3.code && (t2.listData = e3.data.records);
|
|
}));
|
|
}, fileData: function(t2) {
|
|
return console.log("val" + t2), t2 && "" != t2 ? JSON.parse(t2) : [];
|
|
}, downloadFile: function(t2) {
|
|
var e2 = t2.fullUrl, a2 = new XMLHttpRequest();
|
|
a2.open("GET", e2, true), a2.responseType = "blob", a2.onload = function() {
|
|
var e3 = URL.createObjectURL(a2.response), n2 = document.createElement("a");
|
|
n2.href = e3, n2.download = t2.fileName, n2.target = "_blank", n2.click();
|
|
}, a2.send();
|
|
}, goBack: function() {
|
|
this.$emit("back");
|
|
}, headClass: function() {
|
|
return "text-align:center;background:#FAFAFA;";
|
|
} } }, M = U, B = (a("d372"), Object(w["a"])(M, D, P, false, null, "7d54b7ba", null)), E = B.exports, z = a("9192"), R = a("8194"), H = { components: { payableList: I, payableControl: F, apply: A["a"], controlDetail: E }, data: function() {
|
|
return { activeName: "list", tabs: true, apply: false, control: false, list: [], categoryArr: [], companyList: [], applyTitle: "", userList: [] };
|
|
}, mounted: function() {
|
|
this.getList(), this.getCompany(), this.findSubjectBy(), this.getEngineer();
|
|
}, methods: { getEngineer: function() {
|
|
var t2 = this, e2 = JSON.parse(localStorage.getItem("C_userInfo")), a2 = { projectUuid: this.$store.state.community_uuid, pageSize: -1, pageNumber: -1, companyId: this.$store.state.companyId, roleId: e2.roleId };
|
|
Object(R["a"])(a2).then((function(e3) {
|
|
t2.userList = e3.data.records;
|
|
}));
|
|
}, handleClick: function(t2) {
|
|
this.activeName = t2.name;
|
|
}, getList: function() {
|
|
var t2 = this, e2 = { projectUuid: this.$store.state.community_uuid, pageSize: -1, pageNumber: -1, companyId: this.$store.state.companyId };
|
|
Object(s["p"])(e2).then((function(e3) {
|
|
t2.list = e3.data.records;
|
|
}));
|
|
}, getCompany: function() {
|
|
var t2 = this;
|
|
Object(s["m"])({ uuid: this.$store.state.community_uuid }).then((function(e2) {
|
|
e2.data && e2.data.length && (t2.companyList = e2.data);
|
|
}));
|
|
}, findSubjectBy: function() {
|
|
var t2 = this;
|
|
Object(z["o"])({ projectUuid: this.$store.state.community_uuid, subjectType: 4, incomeClassify: 2 }).then((function(e2) {
|
|
0 == e2.code && (t2.categoryArr = e2.data);
|
|
}));
|
|
}, applyClick: function(t2) {
|
|
this.tabs = false, this.apply = true, this.applyTitle = "添加应付管控申请", t2 && t2.id && (this.applyTitle = "编辑应付管控申请", this.$nextTick((function() {
|
|
this.$refs.apply.setEdit(t2);
|
|
})));
|
|
}, seeClick: function(t2) {
|
|
this.tabs = false, this.control = true, this.$nextTick((function() {
|
|
this.$refs.controlDetail.see(t2);
|
|
}));
|
|
}, backApply: function() {
|
|
this.tabs = true, this.apply = false, this.control = false;
|
|
}, applyCallback: function() {
|
|
this.tabs = true, this.apply = false, this.control = false, this.$nextTick((function() {
|
|
this.$refs.payablelist.getList();
|
|
}));
|
|
} } }, J = H, Y = Object(w["a"])(J, n, r, false, null, null, null);
|
|
e["default"] = Y.exports;
|
|
}, 6954: function(t, e, a) {
|
|
}, "76ed": function(t, e, a) {
|
|
}, 9192: function(t, e, a) {
|
|
"use strict";
|
|
a.d(e, "z", (function() {
|
|
return r;
|
|
})), a.d(e, "b", (function() {
|
|
return o;
|
|
})), a.d(e, "j", (function() {
|
|
return l;
|
|
})), a.d(e, "l", (function() {
|
|
return s;
|
|
})), a.d(e, "v", (function() {
|
|
return i;
|
|
})), a.d(e, "y", (function() {
|
|
return c;
|
|
})), a.d(e, "A", (function() {
|
|
return u;
|
|
})), a.d(e, "a", (function() {
|
|
return p;
|
|
})), a.d(e, "q", (function() {
|
|
return d;
|
|
})), a.d(e, "o", (function() {
|
|
return m;
|
|
})), a.d(e, "p", (function() {
|
|
return f;
|
|
})), a.d(e, "u", (function() {
|
|
return h;
|
|
})), a.d(e, "s", (function() {
|
|
return v;
|
|
})), a.d(e, "t", (function() {
|
|
return y;
|
|
})), a.d(e, "e", (function() {
|
|
return b;
|
|
})), a.d(e, "B", (function() {
|
|
return _;
|
|
})), a.d(e, "n", (function() {
|
|
return g;
|
|
})), a.d(e, "w", (function() {
|
|
return w;
|
|
})), a.d(e, "k", (function() {
|
|
return k;
|
|
})), a.d(e, "x", (function() {
|
|
return S;
|
|
})), a.d(e, "h", (function() {
|
|
return T;
|
|
})), a.d(e, "g", (function() {
|
|
return j;
|
|
})), a.d(e, "m", (function() {
|
|
return O;
|
|
})), a.d(e, "f", (function() {
|
|
return C;
|
|
})), a.d(e, "r", (function() {
|
|
return I;
|
|
})), a.d(e, "i", (function() {
|
|
return q;
|
|
})), a.d(e, "d", (function() {
|
|
return N;
|
|
})), a.d(e, "c", (function() {
|
|
return L;
|
|
})), a.d(e, "C", (function() {
|
|
return $;
|
|
}));
|
|
var n = a("b775");
|
|
function r(t2) {
|
|
return Object(n["a"])({ url: "/appproject/PropertyCompany/pageList", method: "POST", data: t2 });
|
|
}
|
|
function o(t2) {
|
|
return Object(n["a"])({ url: "/appproject/PropertyCompany/create", method: "POST", data: t2 });
|
|
}
|
|
function l(t2) {
|
|
return Object(n["a"])({ url: "/appproject/PropertyCompany/update", method: "POST", data: t2 });
|
|
}
|
|
function s(t2) {
|
|
return Object(n["a"])({ url: "/appproject/PropertyCompany/findCompanyByCode", method: "POST", data: t2 });
|
|
}
|
|
function i(t2) {
|
|
return Object(n["a"])({ url: "/appproject/PropertyCompany/pageListByCode", method: "POST", data: t2 });
|
|
}
|
|
function c(t2) {
|
|
return Object(n["a"])({ url: "/appproject/OrderInfo/list", method: "POST", data: t2 });
|
|
}
|
|
function u(t2) {
|
|
return Object(n["a"])({ url: "/appproject/StaffEvaluate/listStaff", method: "POST", data: t2 });
|
|
}
|
|
function p(t2) {
|
|
return Object(n["a"])({ url: "/appproject/WorkOrder/listWork", method: "POST", data: t2 });
|
|
}
|
|
function d(t2) {
|
|
return Object(n["a"])({ url: "/project/FsCharges/create", method: "POST", data: t2 });
|
|
}
|
|
function m(t2) {
|
|
return Object(n["a"])({ url: "/project/FsCharges/findSubjectByUuid", method: "POST", data: t2 });
|
|
}
|
|
function f(t2) {
|
|
return Object(n["a"])({ url: "/project/FsCharges/findSubjectByUuid2", method: "POST", data: t2 });
|
|
}
|
|
function h(t2) {
|
|
return Object(n["a"])({ url: "/project/FsCharges/update", method: "POST", data: t2 });
|
|
}
|
|
function v(t2) {
|
|
return Object(n["a"])({ url: "/project/FsCharges/delete", method: "POST", data: t2 });
|
|
}
|
|
function y(t2) {
|
|
return Object(n["a"])({ url: "/project/FsCharges/resume", method: "POST", data: t2 });
|
|
}
|
|
function b(t2) {
|
|
return Object(n["a"])({ url: "/project/FsCharges/pageList", method: "POST", data: t2 });
|
|
}
|
|
function _(t2) {
|
|
return Object(n["a"])({ url: "/project/FsCharges/updateRel", method: "POST", data: t2 });
|
|
}
|
|
function g(t2) {
|
|
return Object(n["a"])({ url: "/project/FsCharges/findById", method: "POST", data: t2 });
|
|
}
|
|
function w(t2, e2) {
|
|
return Object(n["a"])({ url: "/project/FsCharges/importExcel" + e2, method: "post", isReturnResponse: true, responseType: "blob", headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, data: t2 });
|
|
}
|
|
function k(t2) {
|
|
return Object(n["a"])({ url: "/appproject/MemberEntryRecord/entryAndQuit", method: "POST", data: t2 });
|
|
}
|
|
function S(t2) {
|
|
return Object(n["a"])({ url: "/appproject/MemberEntryRecord/pageList", method: "POST", data: t2 });
|
|
}
|
|
function T(t2) {
|
|
return Object(n["a"])({ url: "/appproject/MemberEntryRecord/delete", method: "POST", data: t2 });
|
|
}
|
|
function j(t2) {
|
|
return Object(n["a"])({ url: "/project/FsCharges/pageList/company", method: "POST", data: t2 });
|
|
}
|
|
function O(t2) {
|
|
return Object(n["a"])({ url: "/project/FsCharges/findParkCharge", method: "POST", data: t2 });
|
|
}
|
|
function C(t2) {
|
|
return Object(n["a"])({ url: "/project/FsCharges/pageListV2", method: "POST", data: t2 });
|
|
}
|
|
function I(t2) {
|
|
return Object(n["a"])({ url: "/project/FsCharges/copy", method: "POST", data: t2 });
|
|
}
|
|
function q(t2) {
|
|
return Object(n["a"])({ url: "/project/FsCharges/deleteFsCharges", method: "POST", data: t2 });
|
|
}
|
|
function N(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargePriceTemplate/pageList", method: "POST", data: t2 });
|
|
}
|
|
function L(t2) {
|
|
return Object(n["a"])({ url: "/appproject/ChargePriceTemplate/download", method: "POST", data: t2 });
|
|
}
|
|
function $(t2) {
|
|
return Object(n["a"])({ url: "/appproject/VideoImageCallback/pageList", method: "POST", data: t2 });
|
|
}
|
|
}, "9ed3": function(t, e, a) {
|
|
"use strict";
|
|
a("76ed");
|
|
}, d372: function(t, e, a) {
|
|
"use strict";
|
|
a("26c3");
|
|
}, d71b: function(t, e, a) {
|
|
"use strict";
|
|
a("6954");
|
|
} }]);
|