921 lines
78 KiB
JavaScript
921 lines
78 KiB
JavaScript
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-aafb960e"], { "0b37": function(t, e, n) {
|
|
"use strict";
|
|
function o(t2, e2) {
|
|
var n2, o2, a2, r2;
|
|
try {
|
|
n2 = t2.toString().split(".")[1].length;
|
|
} catch (i2) {
|
|
n2 = 0;
|
|
}
|
|
try {
|
|
o2 = e2.toString().split(".")[1].length;
|
|
} catch (i2) {
|
|
o2 = 0;
|
|
}
|
|
if (r2 = Math.abs(n2 - o2), a2 = Math.pow(10, Math.max(n2, o2)), r2 > 0) {
|
|
var l2 = Math.pow(10, r2);
|
|
n2 > o2 ? (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) / a2;
|
|
}
|
|
function a(t2, e2) {
|
|
var n2, o2, a2 = 0, r2 = 0;
|
|
try {
|
|
a2 = t2.toString().split(".")[1].length;
|
|
} catch (l2) {
|
|
}
|
|
try {
|
|
r2 = e2.toString().split(".")[1].length;
|
|
} catch (l2) {
|
|
}
|
|
return n2 = Number(t2.toString().replace(".", "")), o2 = Number(e2.toString().replace(".", "")), n2 / o2 * Math.pow(10, r2 - a2);
|
|
}
|
|
function r(t2, e2) {
|
|
var n2 = 0, o2 = t2.toString(), a2 = e2.toString();
|
|
try {
|
|
n2 += o2.split(".")[1].length;
|
|
} catch (r2) {
|
|
}
|
|
try {
|
|
n2 += a2.split(".")[1].length;
|
|
} catch (r2) {
|
|
}
|
|
return Number(o2.replace(".", "")) * Number(a2.replace(".", "")) / Math.pow(10, n2);
|
|
}
|
|
function l(t2, e2) {
|
|
var n2, o2, a2, r2;
|
|
try {
|
|
n2 = t2.toString().split(".")[1].length;
|
|
} catch (l2) {
|
|
n2 = 0;
|
|
}
|
|
try {
|
|
o2 = e2.toString().split(".")[1].length;
|
|
} catch (l2) {
|
|
o2 = 0;
|
|
}
|
|
return a2 = Math.pow(10, Math.max(n2, o2)), r2 = n2 >= o2 ? n2 : o2, (Math.round(t2 * a2 - e2 * a2) / a2).toFixed(r2);
|
|
}
|
|
function i(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 n2 = /(\d)(\d{3},)/;
|
|
while (n2.test(t2)) t2 = t2.replace(n2, "$1,$2");
|
|
if (t2 = t2.replace(/,(\d\d)$/, ".$1"), 0 === e2 || void 0 === e2) {
|
|
var o2 = t2.split(".");
|
|
"00" == o2[1] && (t2 = o2[0]);
|
|
}
|
|
return t2;
|
|
}
|
|
function s(t2, e2) {
|
|
t2 = t2.toString();
|
|
var n2 = t2.indexOf(".");
|
|
return t2 = -1 !== n2 ? t2.substring(0, e2 + n2 + 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, n2 = c(t2);
|
|
if ("Object" === n2) e2 = {};
|
|
else {
|
|
if ("Array" !== n2) return t2;
|
|
e2 = [];
|
|
}
|
|
for (var o2 in t2) {
|
|
var a2 = t2[o2];
|
|
c(a2), e2[o2] = u(a2);
|
|
}
|
|
return e2;
|
|
}
|
|
n.d(e, "a", (function() {
|
|
return o;
|
|
})), n.d(e, "b", (function() {
|
|
return a;
|
|
})), n.d(e, "c", (function() {
|
|
return r;
|
|
})), n.d(e, "d", (function() {
|
|
return l;
|
|
})), n.d(e, "g", (function() {
|
|
return i;
|
|
})), n.d(e, "f", (function() {
|
|
return s;
|
|
})), n.d(e, "e", (function() {
|
|
return u;
|
|
}));
|
|
}, "2dc3": function(t, e, n) {
|
|
}, "66f8": function(t, e, n) {
|
|
"use strict";
|
|
n("2dc3");
|
|
}, 9192: function(t, e, n) {
|
|
"use strict";
|
|
n.d(e, "z", (function() {
|
|
return a;
|
|
})), n.d(e, "b", (function() {
|
|
return r;
|
|
})), n.d(e, "j", (function() {
|
|
return l;
|
|
})), n.d(e, "l", (function() {
|
|
return i;
|
|
})), n.d(e, "v", (function() {
|
|
return s;
|
|
})), n.d(e, "y", (function() {
|
|
return c;
|
|
})), n.d(e, "A", (function() {
|
|
return u;
|
|
})), n.d(e, "a", (function() {
|
|
return p;
|
|
})), n.d(e, "q", (function() {
|
|
return d;
|
|
})), n.d(e, "o", (function() {
|
|
return m;
|
|
})), n.d(e, "p", (function() {
|
|
return f;
|
|
})), n.d(e, "u", (function() {
|
|
return h;
|
|
})), n.d(e, "s", (function() {
|
|
return v;
|
|
})), n.d(e, "t", (function() {
|
|
return b;
|
|
})), n.d(e, "e", (function() {
|
|
return y;
|
|
})), n.d(e, "B", (function() {
|
|
return _;
|
|
})), n.d(e, "n", (function() {
|
|
return w;
|
|
})), n.d(e, "w", (function() {
|
|
return g;
|
|
})), n.d(e, "k", (function() {
|
|
return k;
|
|
})), n.d(e, "x", (function() {
|
|
return I;
|
|
})), n.d(e, "h", (function() {
|
|
return j;
|
|
})), n.d(e, "g", (function() {
|
|
return S;
|
|
})), n.d(e, "m", (function() {
|
|
return T;
|
|
})), n.d(e, "f", (function() {
|
|
return O;
|
|
})), n.d(e, "r", (function() {
|
|
return A;
|
|
})), n.d(e, "i", (function() {
|
|
return N;
|
|
})), n.d(e, "d", (function() {
|
|
return C;
|
|
})), n.d(e, "c", (function() {
|
|
return F;
|
|
})), n.d(e, "C", (function() {
|
|
return L;
|
|
}));
|
|
var o = n("b775");
|
|
function a(t2) {
|
|
return Object(o["a"])({ url: "/appproject/PropertyCompany/pageList", method: "POST", data: t2 });
|
|
}
|
|
function r(t2) {
|
|
return Object(o["a"])({ url: "/appproject/PropertyCompany/create", method: "POST", data: t2 });
|
|
}
|
|
function l(t2) {
|
|
return Object(o["a"])({ url: "/appproject/PropertyCompany/update", method: "POST", data: t2 });
|
|
}
|
|
function i(t2) {
|
|
return Object(o["a"])({ url: "/appproject/PropertyCompany/findCompanyByCode", method: "POST", data: t2 });
|
|
}
|
|
function s(t2) {
|
|
return Object(o["a"])({ url: "/appproject/PropertyCompany/pageListByCode", method: "POST", data: t2 });
|
|
}
|
|
function c(t2) {
|
|
return Object(o["a"])({ url: "/appproject/OrderInfo/list", method: "POST", data: t2 });
|
|
}
|
|
function u(t2) {
|
|
return Object(o["a"])({ url: "/appproject/StaffEvaluate/listStaff", method: "POST", data: t2 });
|
|
}
|
|
function p(t2) {
|
|
return Object(o["a"])({ url: "/appproject/WorkOrder/listWork", method: "POST", data: t2 });
|
|
}
|
|
function d(t2) {
|
|
return Object(o["a"])({ url: "/project/FsCharges/create", method: "POST", data: t2 });
|
|
}
|
|
function m(t2) {
|
|
return Object(o["a"])({ url: "/project/FsCharges/findSubjectByUuid", method: "POST", data: t2 });
|
|
}
|
|
function f(t2) {
|
|
return Object(o["a"])({ url: "/project/FsCharges/findSubjectByUuid2", method: "POST", data: t2 });
|
|
}
|
|
function h(t2) {
|
|
return Object(o["a"])({ url: "/project/FsCharges/update", method: "POST", data: t2 });
|
|
}
|
|
function v(t2) {
|
|
return Object(o["a"])({ url: "/project/FsCharges/delete", method: "POST", data: t2 });
|
|
}
|
|
function b(t2) {
|
|
return Object(o["a"])({ url: "/project/FsCharges/resume", method: "POST", data: t2 });
|
|
}
|
|
function y(t2) {
|
|
return Object(o["a"])({ url: "/project/FsCharges/pageList", method: "POST", data: t2 });
|
|
}
|
|
function _(t2) {
|
|
return Object(o["a"])({ url: "/project/FsCharges/updateRel", method: "POST", data: t2 });
|
|
}
|
|
function w(t2) {
|
|
return Object(o["a"])({ url: "/project/FsCharges/findById", method: "POST", data: t2 });
|
|
}
|
|
function g(t2, e2) {
|
|
return Object(o["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(o["a"])({ url: "/appproject/MemberEntryRecord/entryAndQuit", method: "POST", data: t2 });
|
|
}
|
|
function I(t2) {
|
|
return Object(o["a"])({ url: "/appproject/MemberEntryRecord/pageList", method: "POST", data: t2 });
|
|
}
|
|
function j(t2) {
|
|
return Object(o["a"])({ url: "/appproject/MemberEntryRecord/delete", method: "POST", data: t2 });
|
|
}
|
|
function S(t2) {
|
|
return Object(o["a"])({ url: "/project/FsCharges/pageList/company", method: "POST", data: t2 });
|
|
}
|
|
function T(t2) {
|
|
return Object(o["a"])({ url: "/project/FsCharges/findParkCharge", method: "POST", data: t2 });
|
|
}
|
|
function O(t2) {
|
|
return Object(o["a"])({ url: "/project/FsCharges/pageListV2", method: "POST", data: t2 });
|
|
}
|
|
function A(t2) {
|
|
return Object(o["a"])({ url: "/project/FsCharges/copy", method: "POST", data: t2 });
|
|
}
|
|
function N(t2) {
|
|
return Object(o["a"])({ url: "/project/FsCharges/deleteFsCharges", method: "POST", data: t2 });
|
|
}
|
|
function C(t2) {
|
|
return Object(o["a"])({ url: "/appproject/ChargePriceTemplate/pageList", method: "POST", data: t2 });
|
|
}
|
|
function F(t2) {
|
|
return Object(o["a"])({ url: "/appproject/ChargePriceTemplate/download", method: "POST", data: t2 });
|
|
}
|
|
function L(t2) {
|
|
return Object(o["a"])({ url: "/appproject/VideoImageCallback/pageList", method: "POST", data: t2 });
|
|
}
|
|
}, "93a9": function(t, e, n) {
|
|
}, "997d": function(t, e, n) {
|
|
"use strict";
|
|
n.d(e, "p", (function() {
|
|
return a;
|
|
})), n.d(e, "g", (function() {
|
|
return r;
|
|
})), n.d(e, "i", (function() {
|
|
return l;
|
|
})), n.d(e, "A", (function() {
|
|
return i;
|
|
})), n.d(e, "m", (function() {
|
|
return s;
|
|
})), n.d(e, "a", (function() {
|
|
return c;
|
|
})), n.d(e, "l", (function() {
|
|
return u;
|
|
})), n.d(e, "h", (function() {
|
|
return p;
|
|
})), n.d(e, "B", (function() {
|
|
return d;
|
|
})), n.d(e, "d", (function() {
|
|
return m;
|
|
})), n.d(e, "e", (function() {
|
|
return f;
|
|
})), n.d(e, "k", (function() {
|
|
return h;
|
|
})), n.d(e, "b", (function() {
|
|
return v;
|
|
})), n.d(e, "c", (function() {
|
|
return b;
|
|
})), n.d(e, "j", (function() {
|
|
return y;
|
|
})), n.d(e, "o", (function() {
|
|
return _;
|
|
})), n.d(e, "s", (function() {
|
|
return w;
|
|
})), n.d(e, "q", (function() {
|
|
return g;
|
|
})), n.d(e, "t", (function() {
|
|
return k;
|
|
})), n.d(e, "f", (function() {
|
|
return I;
|
|
})), n.d(e, "C", (function() {
|
|
return j;
|
|
})), n.d(e, "D", (function() {
|
|
return S;
|
|
})), n.d(e, "r", (function() {
|
|
return T;
|
|
})), n.d(e, "v", (function() {
|
|
return O;
|
|
})), n.d(e, "n", (function() {
|
|
return A;
|
|
})), n.d(e, "y", (function() {
|
|
return N;
|
|
})), n.d(e, "z", (function() {
|
|
return C;
|
|
})), n.d(e, "w", (function() {
|
|
return F;
|
|
})), n.d(e, "x", (function() {
|
|
return L;
|
|
})), n.d(e, "E", (function() {
|
|
return x;
|
|
})), n.d(e, "u", (function() {
|
|
return P;
|
|
}));
|
|
var o = n("b775");
|
|
function a(t2) {
|
|
return Object(o["a"])({ url: "/appproject/Investment/pageList", method: "post", data: t2 });
|
|
}
|
|
function r(t2) {
|
|
return Object(o["a"])({ url: "/appproject/Investment/create", method: "post", data: t2 });
|
|
}
|
|
function l(t2) {
|
|
return Object(o["a"])({ url: "/appproject/Investment/delete", method: "post", data: t2 });
|
|
}
|
|
function i(t2) {
|
|
return Object(o["a"])({ url: "/appproject/Investment/update", method: "post", data: t2 });
|
|
}
|
|
function s(t2) {
|
|
return Object(o["a"])({ url: "/appproject/supplier/listAccountByProjectUuid", method: "post", data: t2 });
|
|
}
|
|
function c(t2) {
|
|
return Object(o["a"])({ url: "/appproject/InvestmentSubscribe/pageList", method: "post", data: t2 });
|
|
}
|
|
function u(t2, e2) {
|
|
return Object(o["a"])({ url: "/appproject/InvestmentSubscribe/importExcel/".concat(e2), method: "post", isReturnResponse: true, responseType: "blob", headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, data: t2 });
|
|
}
|
|
function p(t2) {
|
|
return Object(o["a"])({ url: "/appproject/InvestmentSubscribe/create", method: "post", data: t2 });
|
|
}
|
|
function d(t2) {
|
|
return Object(o["a"])({ url: "/appproject/InvestmentSubscribe/update", method: "post", data: t2 });
|
|
}
|
|
function m(t2) {
|
|
return Object(o["a"])({ url: "/appproject/InvestmentSubscribe/batchAbandon", method: "post", data: t2 });
|
|
}
|
|
function f(t2) {
|
|
return Object(o["a"])({ url: "/appproject/InvestmentSubscribe/batchApply", method: "post", data: t2 });
|
|
}
|
|
function h(t2) {
|
|
return Object(o["a"])({ url: "/appproject/FinanceApprove/findByProjectUuidAndTypeCode", method: "post", data: t2 });
|
|
}
|
|
function v(t2) {
|
|
return Object(o["a"])({ url: "/appproject/InvestmentPlan/pageList", method: "post", data: t2 });
|
|
}
|
|
function b(t2) {
|
|
return Object(o["a"])({ url: "/appproject/InvestmentPlan/approve", method: "post", data: t2 });
|
|
}
|
|
function y(t2) {
|
|
return Object(o["a"])({ url: "/appproject/InvestmentPlan/findById", method: "post", data: t2 });
|
|
}
|
|
function _(t2) {
|
|
return Object(o["a"])({ url: "/appproject/InvestmentOrder/pageList", method: "post", data: t2 });
|
|
}
|
|
function w(t2) {
|
|
return Object(o["a"])({ url: "/appproject/InvestmentOrder/pageList", method: "post", data: t2 });
|
|
}
|
|
function g(t2) {
|
|
return Object(o["a"])({ url: "/appproject/InvestmentPaymentSubscribe/create", method: "post", data: t2 });
|
|
}
|
|
function k(t2) {
|
|
return Object(o["a"])({ url: "/appproject/InvestmentOrder/total", method: "post", data: t2 });
|
|
}
|
|
function I(t2) {
|
|
return Object(o["a"])({ url: "/appproject/InvestmentOrder/cancelOrder", method: "post", data: t2 });
|
|
}
|
|
function j(t2) {
|
|
return Object(o["a"])({ url: "/appproject/InvestmentOrder/updateInvoiceAmount", method: "post", data: t2 });
|
|
}
|
|
function S(t2) {
|
|
return Object(o["a"])({ url: "/appproject/InvestmentOrder/updatePaymentInfo", method: "post", data: t2 });
|
|
}
|
|
function T(t2) {
|
|
return Object(o["a"])({ url: "/appproject/InvestmentOrder/findById", method: "post", data: t2 });
|
|
}
|
|
function O(t2) {
|
|
return Object(o["a"])({ url: "/appproject/InvestmentOrderPaymentRecord/pageList", method: "post", data: t2 });
|
|
}
|
|
function A(t2) {
|
|
return Object(o["a"])({ url: "/appproject/InvestmentOrderPaymentRecord/listTotal", method: "post", data: t2 });
|
|
}
|
|
function N(t2) {
|
|
return Object(o["a"])({ url: "/appproject/InvestmentPaymentSubscribe/pageList", method: "post", data: t2 });
|
|
}
|
|
function C(t2) {
|
|
return Object(o["a"])({ url: "/appproject/InvestmentPaymentSubscribe/paymentConfirm", method: "post", data: t2 });
|
|
}
|
|
function F(t2) {
|
|
return Object(o["a"])({ url: "/appproject/InvestmentOrderPaymentRecord/paymentConfirm", method: "post", data: t2 });
|
|
}
|
|
function L(t2) {
|
|
return Object(o["a"])({ url: "/appproject/InvestmentOrderPaymentRecord/statusRollBack", method: "post", data: t2 });
|
|
}
|
|
function x(t2) {
|
|
return Object(o["a"])({ url: "/appproject/InvestmentOrderPaymentRecord/updateReceiveTime", method: "post", data: t2 });
|
|
}
|
|
function P(t2) {
|
|
return Object(o["a"])({ url: "/appproject/InvestmentOrderPaymentRecord/export", method: "post", responseType: "blob", data: t2 });
|
|
}
|
|
}, b4b7: function(t, e, n) {
|
|
}, e207: function(t, e, n) {
|
|
"use strict";
|
|
n("b4b7");
|
|
}, f7d9: function(t, e, n) {
|
|
"use strict";
|
|
n.r(e);
|
|
var o = function() {
|
|
var t2 = this, e2 = t2.$createElement, n2 = t2._self._c || e2;
|
|
return n2("div", { staticClass: "app-container bgHeight" }, [t2.list ? n2("div", [n2("div", { ref: "box", staticClass: "searchStys transition_dom" }, [n2("el-form", { ref: "query", attrs: { model: t2.query } }, [n2("div", { ref: "form_box", staticClass: "searchBar" }, [n2("div", { staticClass: "searchInput" }, [n2("el-row", { attrs: { gutter: 20 } }, [n2("el-col", { attrs: { span: 6 } }, [n2("el-form-item", { attrs: { prop: "paymentMonthList" } }, [n2("el-date-picker", { attrs: { format: "yyyy-MM", "value-format": "yyyy-MM", type: "months", placeholder: "计提年月" }, model: { value: t2.query.paymentMonthList, callback: function(e3) {
|
|
t2.$set(t2.query, "paymentMonthList", e3);
|
|
}, expression: "query.paymentMonthList" } })], 1)], 1), t2._v(" "), n2("el-col", { attrs: { span: 6 } }, [n2("el-form-item", { attrs: { prop: "subjectId" } }, [n2("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.categoryArr, (function(t3) {
|
|
return n2("el-option", { key: t3.id, attrs: { label: t3.name, value: t3.id } });
|
|
})), 1)], 1)], 1), t2._v(" "), n2("el-col", { attrs: { span: 6 } }, [n2("el-form-item", { attrs: { prop: "investmentId" } }, [n2("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 n2("el-option", { key: t3.id, attrs: { label: t3.name, value: t3.id } });
|
|
})), 1)], 1)], 1), t2._v(" "), n2("el-col", { attrs: { span: 6 } }, [n2("el-form-item", { attrs: { prop: "orderNo" } }, [n2("el-input", { attrs: { placeholder: "应付单号", clearable: "" }, model: { value: t2.query.orderNo, callback: function(e3) {
|
|
t2.$set(t2.query, "orderNo", e3);
|
|
}, expression: "query.orderNo" } })], 1)], 1), t2._v(" "), n2("el-col", { attrs: { span: 6 } }, [n2("el-form-item", { attrs: { prop: "statusList" } }, [n2("el-select", { attrs: { clearable: "", multiple: "", "collapse-tags": "", placeholder: "支出状态" }, model: { value: t2.query.statusList, callback: function(e3) {
|
|
t2.$set(t2.query, "statusList", e3);
|
|
}, expression: "query.statusList" } }, t2._l(t2.payablePayStatusList, (function(t3) {
|
|
return n2("el-option", { key: t3.value, attrs: { label: t3.label, value: t3.value } });
|
|
})), 1)], 1)], 1), t2._v(" "), n2("el-col", { attrs: { span: 6 } }, [n2("el-form-item", { attrs: { prop: "type" } }, [n2("el-select", { attrs: { clearable: "", placeholder: "应付审批来源" }, model: { value: t2.query.type, callback: function(e3) {
|
|
t2.$set(t2.query, "type", e3);
|
|
}, expression: "query.type" } }, t2._l(t2.payableTypeList, (function(t3) {
|
|
return n2("el-option", { key: t3.value, attrs: { label: t3.label, value: t3.value } });
|
|
})), 1)], 1)], 1), t2._v(" "), n2("el-col", { attrs: { span: 6 } }, [n2("el-form-item", { attrs: { prop: "applyNo" } }, [n2("el-input", { attrs: { placeholder: "应付审批来源单号", clearable: "" }, model: { value: t2.query.applyNo, callback: function(e3) {
|
|
t2.$set(t2.query, "applyNo", e3);
|
|
}, expression: "query.applyNo" } })], 1)], 1), t2._v(" "), n2("el-col", { attrs: { span: 6 } }, [n2("el-form-item", { attrs: { prop: "receiveUnit" } }, [n2("el-input", { attrs: { placeholder: "收款单位", clearable: "" }, model: { value: t2.query.receiveUnit, callback: function(e3) {
|
|
t2.$set(t2.query, "receiveUnit", e3);
|
|
}, expression: "query.receiveUnit" } })], 1)], 1), t2._v(" "), n2("el-col", { attrs: { span: 6 } }, [n2("el-form-item", { attrs: { prop: "receiveBank" } }, [n2("el-input", { attrs: { placeholder: "收款开户行", clearable: "" }, model: { value: t2.query.receiveBank, callback: function(e3) {
|
|
t2.$set(t2.query, "receiveBank", e3);
|
|
}, expression: "query.receiveBank" } })], 1)], 1), t2._v(" "), n2("el-col", { attrs: { span: 6 } }, [n2("el-form-item", { attrs: { prop: "receiveAccountNo" } }, [n2("el-input", { attrs: { placeholder: "收款账户", clearable: "" }, model: { value: t2.query.receiveAccountNo, callback: function(e3) {
|
|
t2.$set(t2.query, "receiveAccountNo", e3);
|
|
}, expression: "query.receiveAccountNo" } })], 1)], 1), t2._v(" "), n2("el-col", { attrs: { span: 6 } }, [n2("el-form-item", { attrs: { prop: "paymentUnit" } }, [n2("el-input", { attrs: { placeholder: "付款单位", clearable: "" }, model: { value: t2.query.paymentUnit, callback: function(e3) {
|
|
t2.$set(t2.query, "paymentUnit", e3);
|
|
}, expression: "query.paymentUnit" } })], 1)], 1), t2._v(" "), n2("el-col", { attrs: { span: 6 } }, [n2("el-form-item", { attrs: { prop: "paymentBank" } }, [n2("el-input", { attrs: { placeholder: "付款开户行", clearable: "" }, model: { value: t2.query.paymentBank, callback: function(e3) {
|
|
t2.$set(t2.query, "paymentBank", e3);
|
|
}, expression: "query.paymentBank" } })], 1)], 1), t2._v(" "), n2("el-col", { attrs: { span: 6 } }, [n2("el-form-item", { attrs: { prop: "paymentAccountNo" } }, [n2("el-input", { attrs: { placeholder: "付款账户", clearable: "" }, model: { value: t2.query.paymentAccountNo, callback: function(e3) {
|
|
t2.$set(t2.query, "paymentAccountNo", e3);
|
|
}, expression: "query.paymentAccountNo" } })], 1)], 1), t2._v(" "), n2("el-col", { attrs: { span: 12 } }, [n2("el-form-item", { attrs: { prop: "createTime" } }, [n2("el-date-picker", { attrs: { type: "datetimerange", "range-separator": "至", format: "yyyy-MM-dd HH:mm:ss", "value-format": "yyyy-MM-dd HH:mm:ss", "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)], 1)], 1), t2._v(" "), n2("div", { staticClass: "searchBtn" }, [n2("el-form-item", [n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(e3) {
|
|
return t2.onReset("query");
|
|
} } }, [t2._v("重置")]), t2._v(" "), n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.onSearch } }, [t2._v("查询")]), t2._v(" "), t2.is_show || "80px" == t2.height ? t2._e() : n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: t2.upAndDown } }, [t2._v("展开"), n2("i", { staticClass: "el-icon-arrow-down" })]), t2._v(" "), t2.is_show && "80px" != t2.height ? n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: t2.upAndDown } }, [t2._v("收起"), n2("i", { staticClass: "el-icon-arrow-up" })]) : t2._e()], 1)], 1)])])], 1), t2._v(" "), n2("div", { staticClass: "totalBar" }, [n2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [n2("el-descriptions", { attrs: { column: 5 } }, [n2("template", { slot: "title" }, [t2._v("辅助统计\n "), n2("el-tooltip", { attrs: { content: "应支出 = 已支出 + 待支出 + 未支出 + 审批金额", placement: "left" } }, [n2("i", { staticClass: "el-icon-question" })])], 1), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "应支出" } }, [t2._v(t2._s(t2._f("toThousandFilter")(t2.totalInfo.totalAmount)))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "已支出" } }, [t2._v(t2._s(t2._f("toThousandFilter")(t2.totalInfo.paidAmount)))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "待支出" } }, [t2._v(t2._s(t2._f("toThousandFilter")(t2.totalInfo.processingAmount)))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "未支出" } }, [t2._v(t2._s(t2._f("toThousandFilter")(t2.totalInfo.unpaidAmount)))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "审批金额" } }, [t2._v(t2._s(t2._f("toThousandFilter")(t2.totalInfo.approveAmount)))])], 2)], 1)], 1), t2._v(" "), n2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [n2("div", { staticClass: "planLst", attrs: { slot: "header" }, slot: "header" }, [n2("span", { staticClass: "planTitle" }, [t2._v("应付列表")])]), t2._v(" "), n2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: t2.listLoading, expression: "listLoading" }], ref: "tableData", attrs: { border: "", data: t2.listData, "header-cell-style": t2.headClass, "row-key": "id" }, on: { "selection-change": t2.selectionChange } }, [n2("el-table-column", { attrs: { type: "selection", align: "center", fixed: "", "min-width": "50", "show-overflow-tooltip": "", selectable: t2.selectable, "reserve-selection": true } }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "计提年月", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.paymentMonth || "-") + "\n ")];
|
|
} }], null, false, 3445385018) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "应付单号", "min-width": "200", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.orderNo || "-") + "\n ")];
|
|
} }], null, false, 747299327) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "应付日期", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(t2._f("formatDate")(e3.row.paymentDate)) + "\n ")];
|
|
} }], null, false, 4140182909) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "预算分类", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", { style: { color: 2 == e3.row.budgetType ? "red" : "" } }, [t2._v("\n " + t2._s(t2._f("getItemType")(e3.row.budgetType, t2.budgetTypeList)) + "\n ")])];
|
|
} }], null, false, 1453581944) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "支出科目", "min-width": "140", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.subjectName || "-") + "\n ")];
|
|
} }], null, false, 2695303979) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "支出项", "min-width": "140", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.investmentName || "-") + "\n ")];
|
|
} }], null, false, 28108630) }), t2._v(" "), n2("el-table-column", { attrs: { align: "right", label: "应支出", "min-width": "140", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(t2._f("toThousandFilter")(e3.row.totalAmount)) + "\n ")];
|
|
} }], null, false, 359543247) }), t2._v(" "), n2("el-table-column", { attrs: { align: "right", label: "已支出", "min-width": "140", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(t2._f("toThousandFilter")(e3.row.paidAmount)) + "\n ")];
|
|
} }], null, false, 3522384721) }), t2._v(" "), n2("el-table-column", { attrs: { align: "right", label: "待支出", "min-width": "140", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(t2._f("toThousandFilter")(e3.row.processingAmount)) + "\n ")];
|
|
} }], null, false, 3945752358) }), t2._v(" "), n2("el-table-column", { attrs: { align: "right", label: "未支出", "min-width": "140", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(t2._f("toThousandFilter")(e3.row.unpaidAmount)) + "\n ")];
|
|
} }], null, false, 3495943306) }), t2._v(" "), n2("el-table-column", { attrs: { align: "right", label: "审批金额", "min-width": "140", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(t2._f("toThousandFilter")(e3.row.approveAmount)) + "\n ")];
|
|
} }], null, false, 337077250) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "支出状态", "min-width": "110", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [1 == e3.row.status ? n2("el-tag", { attrs: { type: "danger" } }, [t2._v(t2._s(t2._f("getItemType")(e3.row.status, t2.payablePayStatusList)))]) : t2._e(), t2._v(" "), 2 == e3.row.status ? n2("el-tag", { attrs: { type: "warning" } }, [t2._v(t2._s(t2._f("getItemType")(e3.row.status, t2.payablePayStatusList)))]) : t2._e(), t2._v(" "), 3 == e3.row.status ? n2("el-tag", { attrs: { type: "success" } }, [t2._v(t2._s(t2._f("getItemType")(e3.row.status, t2.payablePayStatusList)))]) : t2._e(), t2._v(" "), 4 == e3.row.status ? n2("el-tag", { attrs: { type: "info" } }, [t2._v(t2._s(t2._f("getItemType")(e3.row.status, t2.payablePayStatusList)))]) : t2._e()];
|
|
} }], null, false, 3931578536) }), t2._v(" "), n2("el-table-column", { attrs: { align: "right", label: "需发票款项", "min-width": "140", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(t2._f("toThousandFilter")(e3.row.needInvoiceAmount)) + "\n ")];
|
|
} }], null, false, 1303302742) }), t2._v(" "), n2("el-table-column", { attrs: { align: "right", label: "已提供发票", "min-width": "140", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(t2._f("toThousandFilter")(e3.row.invoiceAmount)) + "\n ")];
|
|
} }], null, false, 3607524124) }), t2._v(" "), n2("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("getItemType")(e3.row.type, t2.payableTypeList)) + "\n ")];
|
|
} }], null, false, 3032503891) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "应付审批来源编号", "min-width": "240", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.applyNo || "-") + "\n ")];
|
|
} }], null, false, 3396723717) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "收款人", "min-width": "140", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.receiveUnit || "-") + "\n ")];
|
|
} }], null, false, 323742877) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "收款账户", "min-width": "140", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.receiveAccountNo || "-") + "\n ")];
|
|
} }], null, false, 2858926107) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "收款开户行", "min-width": "140", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.receiveBank || "-") + "\n ")];
|
|
} }], null, false, 3156715421) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "付款单位", "min-width": "140", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.paymentUnit || "-") + "\n ")];
|
|
} }], null, false, 2343649516) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "付款开户行", "min-width": "140", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.paymentBank || "-") + "\n ")];
|
|
} }], null, false, 881654764) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "付款账户", "min-width": "140", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.paymentAccountNo || "-") + "\n ")];
|
|
} }], null, false, 2319664490) }), t2._v(" "), n2("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.orderCreateTime || "-") + "\n ")];
|
|
} }], null, false, 907434607) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "校对人", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.checkerName || "-") + "\n ")];
|
|
} }], null, false, 2596407494) }), t2._v(" "), n2("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.checkTime || "-") + "\n ")];
|
|
} }], null, false, 2637311363) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "录入发票操作人", "min-width": "130", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.invoiceEnterName || "-") + "\n ")];
|
|
} }], null, false, 3016946830) }), t2._v(" "), n2("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.invoiceEnterTime || "-") + "\n ")];
|
|
} }], null, false, 2572829276) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "操作", "min-width": "150", fixed: "right", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("el-button", { attrs: { type: "text" }, on: { click: function(n3) {
|
|
return t2.seeDetail(e3.row);
|
|
} } }, [t2._v("查看")])];
|
|
} }], null, false, 2820244829) })], 1), t2._v(" "), n2("div", { staticClass: "paginations" }, [n2("el-pagination", { attrs: { background: "", "current-page": t2.query.pageNumber, "page-sizes": [10, 30, 50], "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)], 1) : t2._e(), t2._v(" "), n2("el-dialog", { attrs: { width: "30%", title: t2.title, "close-on-click-modal": false, "close-on-press-escape": false, visible: t2.showDialog, "before-close": t2.closeDialog }, on: { "update:visible": function(e3) {
|
|
t2.showDialog = e3;
|
|
} } }, [n2("el-form", { ref: "checkForm", staticClass: "checkForm", attrs: { model: t2.checkForm, rules: t2.checkRule, "label-width": "140px" } }, ["off" == t2.dialogType ? n2("el-form-item", { attrs: { label: "登录密码", prop: "pwd" } }, [n2("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._e(), t2._v(" "), "invoice" == t2.dialogType ? n2("el-form-item", { attrs: { label: "已提供发票金额", prop: "invoiceAmount" } }, [n2("el-input-number", { attrs: { "controls-position": "right", precision: 2, min: 0 }, model: { value: t2.checkForm.invoiceAmount, callback: function(e3) {
|
|
t2.$set(t2.checkForm, "invoiceAmount", e3);
|
|
}, expression: "checkForm.invoiceAmount" } })], 1) : t2._e(), t2._v(" "), "pay" == t2.dialogType ? n2("div", [n2("el-form-item", { attrs: { label: "付款单位", prop: "payment" } }, [n2("el-select", { attrs: { placeholder: "选择付款单位", clearable: "", "value-key": "id" }, on: { change: t2.changeCompany }, model: { value: t2.checkForm.payment, callback: function(e3) {
|
|
t2.$set(t2.checkForm, "payment", e3);
|
|
}, expression: "checkForm.payment" } }, t2._l(t2.companyList, (function(t3, e3) {
|
|
return n2("el-option", { key: e3, attrs: { label: t3.name, value: t3 } });
|
|
})), 1)], 1), t2._v(" "), n2("el-form-item", { attrs: { label: "付款开户行", prop: "paymentBank" } }, [n2("el-input", { attrs: { disabled: "", placeholder: "" }, model: { value: t2.checkForm.paymentBank, callback: function(e3) {
|
|
t2.$set(t2.checkForm, "paymentBank", e3);
|
|
}, expression: "checkForm.paymentBank" } })], 1), t2._v(" "), n2("el-form-item", { attrs: { label: "付款账户", prop: "paymentAccountNo" } }, [n2("el-input", { attrs: { disabled: "", placeholder: "" }, model: { value: t2.checkForm.paymentAccountNo, callback: function(e3) {
|
|
t2.$set(t2.checkForm, "paymentAccountNo", e3);
|
|
}, expression: "checkForm.paymentAccountNo" } })], 1)], 1) : t2._e(), t2._v(" "), n2("el-form-item", { attrs: { label: "" } }, [n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.confirmClick } }, [t2._v("确 定")]), t2._v(" "), n2("el-button", { on: { click: t2.closeDialog } }, [t2._v("取 消")])], 1)], 1)], 1), t2._v(" "), n2("payableDetail", { ref: "detailInfo", attrs: { show: t2.see }, on: { back: t2.detailBack } }), t2._v(" "), n2("payableApply", { ref: "applyInfo", attrs: { show: t2.apply }, on: { back: t2.detailBack, callback: t2.detailCallback } })], 1);
|
|
}, a = [], r = n("997d"), l = n("9192"), i = n("dce5"), s = function() {
|
|
var t2 = this, e2 = t2.$createElement, n2 = t2._self._c || e2;
|
|
return t2.show ? n2("div", [n2("el-card", { staticClass: "box-card nav-card" }, [n2("el-page-header", { attrs: { content: t2.title }, on: { back: t2.goBack } })], 1), t2._v(" "), n2("el-card", { staticClass: "box-card" }, [n2("el-descriptions", { attrs: { title: "应付基础信息", column: "4" } }, [n2("el-descriptions-item", { attrs: { label: "计费年月" } }, [t2._v(t2._s(t2.detailInfo.paymentMonth || "-"))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "应付单号" } }, [t2._v(t2._s(t2.detailInfo.orderNo || "-"))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "支出科目" } }, [t2._v(t2._s(t2.detailInfo.subjectName || "-"))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "支出项" } }, [t2._v(t2._s(t2.detailInfo.investmentName || "-"))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "需发票款项" } }, [t2._v(t2._s(t2._f("toThousandFilter")(t2.detailInfo.needInvoiceAmount)))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "已提供发票" } }, [t2._v(t2._s(t2._f("toThousandFilter")(t2.detailInfo.invoiceAmount)))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "校对人" } }, [t2._v(t2._s(t2.detailInfo.checkerName || "-"))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "校对时间" } }, [t2._v(t2._s(t2.detailInfo.checkTime || "-"))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "付款单位" } }, [t2._v(t2._s(t2.detailInfo.paymentUnit || "-"))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "付款开户行" } }, [t2._v(t2._s(t2.detailInfo.paymentBank || "-"))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "付款账户" } }, [t2._v(t2._s(t2.detailInfo.paymentAccountNo || "-"))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "支出状态" } }, [t2._v(t2._s(t2._f("getItemType")(t2.detailInfo.status, t2.payablePayStatusList)))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "收款人" } }, [t2._v(t2._s(t2.detailInfo.receiveUnit || "-"))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "收款开户行" } }, [t2._v(t2._s(t2.detailInfo.receiveBank || "-"))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "收款账户" } }, [t2._v(t2._s(t2.detailInfo.receiveAccountNo || "-"))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "生成时间" } }, [t2._v(t2._s(t2.detailInfo.orderCreateTime || "-"))])], 1)], 1), t2._v(" "), n2("el-card", { staticClass: "box-card nav-card" }, [n2("el-descriptions", { attrs: { title: "支出金额", column: 5 } }, [n2("el-descriptions-item", { attrs: { label: "应支出" } }, [t2._v(t2._s(t2._f("toThousandFilter")(t2.detailInfo.totalAmount)))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "已支出" } }, [t2._v(t2._s(t2._f("toThousandFilter")(t2.detailInfo.paidAmount)))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "待支出" } }, [t2._v(t2._s(t2._f("toThousandFilter")(t2.detailInfo.processingAmount)))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "未支出" } }, [t2._v(t2._s(t2._f("toThousandFilter")(t2.detailInfo.unpaidAmount)))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "审批金额" } }, [t2._v(t2._s(t2._f("toThousandFilter")(t2.detailInfo.approveAmount)))])], 1)], 1), t2._v(" "), n2("el-card", { staticClass: "box-card nav-card" }, [n2("el-descriptions", { attrs: { title: "说明", colon: false } }, [t2.detailInfo.remark ? n2("el-descriptions-item", { attrs: { span: "3", label: t2.detailInfo.remark } }) : n2("el-descriptions-item", { attrs: { span: "3", label: "暂无说明~" } })], 1)], 1), t2._v(" "), n2("el-card", { staticClass: "box-card nav-card" }, [n2("el-descriptions", { attrs: { title: "审批信息" } }, [n2("el-descriptions-item", { attrs: { label: "应付来源" } }, [t2._v(t2._s(t2._f("getItemType")(t2.detailInfo.type, t2.payableTypeList)))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "应付编号" } }, [t2._v(t2._s(t2.detailInfo.applyNo || "-"))])], 1)], 1), t2._v(" "), n2("el-card", { staticClass: "box-card nav-card " }, [n2("div", { staticClass: "table-card-title" }, [t2._v("支出明细")]), t2._v(" "), n2("el-table", { staticStyle: { width: "100%" }, attrs: { border: "", "header-cell-style": t2.headClass, data: t2.listData } }, [n2("el-table-column", { attrs: { align: "center", width: "50", label: "#", type: "index", fixed: "" } }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "计提年月", "show-overflow-tooltip": "", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.paymentMonth || "-"))])];
|
|
} }], null, false, 2230473921) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "应付单号", "show-overflow-tooltip": "", "min-width": "220" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.orderNo || "-"))])];
|
|
} }], null, false, 3944281700) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "支出科目", "show-overflow-tooltip": "", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.subjectName || "-"))])];
|
|
} }], null, false, 2232483120) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "支出项", "show-overflow-tooltip": "", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.investmentName || "-"))])];
|
|
} }], null, false, 28781229) }), t2._v(" "), n2("el-table-column", { attrs: { align: "right", "show-overflow-tooltip": "", label: "支出金额", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(t2._f("toThousandFilter")(e3.row.totalAmount)))])];
|
|
} }], null, false, 1990324468) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "预算分类", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", { style: { color: 2 == e3.row.budgetType ? "red" : "" } }, [t2._v(t2._s(t2._f("getItemType")(e3.row.budgetType, t2.budgetTypeList)))])];
|
|
} }], null, false, 1776546872) }), t2._v(" "), n2("el-table-column", { attrs: { align: "right", "show-overflow-tooltip": "", label: "剩余应付金额", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(t2._f("toThousandFilter")(e3.row.unpaidAmount)))])];
|
|
} }], null, false, 3865187985) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "支出时间", "min-width": "180" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.payTime || "-"))])];
|
|
} }], null, false, 1473270294) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "结算方式", "show-overflow-tooltip": "", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(t2._f("getItemType")(e3.row.settlement, t2.settlementTypeList)))])];
|
|
} }], null, false, 3271288722) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "支付方式", "show-overflow-tooltip": "", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(t2._f("getItemType")(e3.row.type, t2.payablePayTypeList)))])];
|
|
} }], null, false, 3785522720) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "支出审批来源", "show-overflow-tooltip": "", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(t2._f("getItemType")(e3.row.paymentApplyType, t2.expendTypeList)))])];
|
|
} }], null, false, 412791686) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "支出审批编号", "min-width": "240" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.paymentApplyNo || "-"))])];
|
|
} }], null, false, 3358559044) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "付款单位", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.paymentUnit || "-"))])];
|
|
} }], null, false, 3579044535) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "付款开户行", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.paymentBank || "-"))])];
|
|
} }], null, false, 3070467255) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "付款账户", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.paymentAccountNo || "-"))])];
|
|
} }], null, false, 835234769) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "收款单位", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.receiveUnit || "-"))])];
|
|
} }], null, false, 2065507398) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "收款开户行", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.receiveBank || "-"))])];
|
|
} }], null, false, 1556930118) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "收款账户", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.paymentAccountNo || "-"))])];
|
|
} }], null, false, 2317908881) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "状态", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(t2._f("getItemType")(e3.row.status, t2.paymentStatusList)))])];
|
|
} }], null, false, 2384931760) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "实际付款日", "min-width": "180" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.receiveTime || "-"))])];
|
|
} }], null, false, 2750493461) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "付款人", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.payerName || "-"))])];
|
|
} }], null, false, 3747977555) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "操作时间", "min-width": "180" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.payerUpdateTime || "-"))])];
|
|
} }], null, false, 609378544) })], 1)], 1), t2._v(" "), n2("el-card", { staticClass: "box-card nav-card" }, [n2("el-descriptions", { attrs: { title: "附件凭证", colon: false } }, [t2._l(t2.fileData(t2.detailInfo.fileUrls), (function(e3, o2) {
|
|
return n2("el-descriptions-item", { key: o2, attrs: { span: "3", label: e3.fileName } }, [n2("i", { staticClass: "el-icon-download download-style", on: { click: function(n3) {
|
|
return t2.downloadFile(e3);
|
|
} } })]);
|
|
})), t2._v(" "), 0 == t2.fileData(t2.detailInfo.fileUrls).length ? n2("el-descriptions-item", { attrs: { span: "3", label: "无附件信息~" } }) : t2._e()], 2)], 1)], 1) : t2._e();
|
|
}, c = [], u = { props: { show: { type: Boolean, default: false } }, data: function() {
|
|
return { budgetTypeList: i["s"], payableTypeList: i["Kb"], payablePayStatusList: i["Hb"], payablePayTypeList: i["Ib"], expendTypeList: i["V"], paymentStatusList: i["Ob"], settlementTypeList: i["hc"], title: "应付详情", itemInfo: "", detailInfo: {}, 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(r["r"])(e2).then((function(e3) {
|
|
0 == e3.code && (t2.detailInfo = e3.data);
|
|
}));
|
|
}, getList: function() {
|
|
var t2 = this, e2 = { orderNo: this.itemInfo.orderNo, projectUuid: this.$store.state.community_uuid, pageSize: -1, pageNumber: -1, needDefault: 1 };
|
|
Object(r["v"])(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, n2 = new XMLHttpRequest();
|
|
n2.open("GET", e2, true), n2.responseType = "blob", n2.onload = function() {
|
|
var e3 = URL.createObjectURL(n2.response), o2 = document.createElement("a");
|
|
o2.href = e3, o2.download = t2.fileName, o2.target = "_blank", o2.click();
|
|
}, n2.send();
|
|
}, goBack: function() {
|
|
this.$emit("back");
|
|
}, headClass: function() {
|
|
return "text-align:center;background:#FAFAFA;";
|
|
} } }, p = u, d = (n("e207"), n("829d")), m = Object(d["a"])(p, s, c, false, null, "5c06f0bf", null), f = m.exports, h = function() {
|
|
var t2 = this, e2 = t2.$createElement, n2 = t2._self._c || e2;
|
|
return t2.show ? n2("div", [n2("el-card", { staticClass: "box-card nav-card" }, [n2("el-page-header", { attrs: { content: t2.title }, on: { back: t2.goBack } })], 1), t2._v(" "), n2("el-card", { staticClass: "box-card nav-card" }, [n2("el-descriptions", { attrs: { title: "支出信息" } }, [n2("el-descriptions-item", { attrs: { label: "申请人姓名" } }, [t2._v(t2._s(t2.detailInfo.name || "-"))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "计提年月" } }, [t2._v(t2._s(t2.detailInfo.payMonth || "-"))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "应付日期" } }, [t2._v(t2._s(t2.detailInfo.payDate || "-"))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "支出总金额" } }, [t2._v(t2._s(t2._f("toThousandFilter")(t2.detailInfo.applyAmount)))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "需发票款项" } }, [t2._v(t2._s(t2._f("toThousandFilter")(t2.detailInfo.needAmount)))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "已提供发票" } }, [t2._v(t2._s(t2._f("toThousandFilter")(t2.detailInfo.hasAmount)))]), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "说明", span: "3" } }, t2._l(t2.detailInfo.remark, (function(e3, o2) {
|
|
return n2("div", { key: o2 }, [t2._v(t2._s("【" + (o2 + 1) + "】" + e3))]);
|
|
})), 0), t2._v(" "), n2("el-descriptions-item", { attrs: { label: "费用凭证", span: "3" } }, [n2("template", { slot: "label" }, [t2._v("\n 费用凭证\n "), n2("el-tooltip", { staticClass: "item apply-ask", attrs: { effect: "dark", placement: "right" } }, [n2("template", { slot: "content" }, [n2("div", [t2._v("仅支持10m大小以内的附件文件")])]), t2._v(" "), n2("i", { staticClass: "el-icon-question" })], 2)], 1), t2._v(" "), t2._l(t2.detailInfo.fileArr, (function(e3, o2) {
|
|
return n2("div", { key: o2 }, [n2("el-link", { attrs: { type: "primary" }, on: { click: function(n3) {
|
|
return t2.downloadFile(e3);
|
|
} } }, [t2._v(t2._s(e3.fileName))])], 1);
|
|
})), t2._v(" "), t2.detailInfo.fileArr <= 0 ? n2("span", [t2._v("-")]) : t2._e()], 2)], 1)], 1), t2._v(" "), n2("el-card", { staticClass: "box-card nav-card " }, [n2("div", { staticClass: "table-card-title" }, [t2._v("支出明细(总条数:" + t2._s(t2.listData.length || 0) + ")")]), t2._v(" "), n2("el-table", { staticStyle: { width: "100%" }, attrs: { border: "", "header-cell-style": t2.headClass, data: t2.listData } }, [n2("el-table-column", { attrs: { align: "center", width: "50", label: "#", type: "index", fixed: "" } }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "计提年月", "show-overflow-tooltip": "", "min-width": "100" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.paymentMonth || "-"))])];
|
|
} }], null, false, 2230473921) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "应付单号", "show-overflow-tooltip": "", "min-width": "220" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.orderNo || "-"))])];
|
|
} }], null, false, 3944281700) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "支出科目", "show-overflow-tooltip": "", "min-width": "120" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.subjectName || "-"))])];
|
|
} }], null, false, 2232483120) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "支出项", "show-overflow-tooltip": "", "min-width": "120" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.investmentName || "-"))])];
|
|
} }], null, false, 28781229) }), t2._v(" "), n2("el-table-column", { attrs: { align: "right", "show-overflow-tooltip": "", label: "应支出金额", "min-width": "120" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(t2._f("toThousandFilter")(e3.row.totalAmount)))])];
|
|
} }], null, false, 1990324468) }), t2._v(" "), n2("el-table-column", { attrs: { align: "right", "show-overflow-tooltip": "", label: "未支出金额", "min-width": "120" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(t2._f("toThousandFilter")(e3.row.unpaidAmount)))])];
|
|
} }], null, false, 3865187985) }), t2._v(" "), n2("el-table-column", { attrs: { label: "实际支付金额", "min-width": "220" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("el-input-number", { staticStyle: { width: "100%" }, attrs: { "controls-position": "right", precision: 2, min: 0, max: e3.row.unpaidAmount }, model: { value: e3.row.realAmount, callback: function(n3) {
|
|
t2.$set(e3.row, "realAmount", n3);
|
|
}, expression: "scope.row.realAmount" } })];
|
|
} }], null, false, 3193027899) }), t2._v(" "), n2("el-table-column", { attrs: { align: "right", "show-overflow-tooltip": "", label: "已提供发票", "min-width": "120" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(t2._f("toThousandFilter")(e3.row.invoiceAmount)))])];
|
|
} }], null, false, 3763587431) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "应付来源", "show-overflow-tooltip": "", "min-width": "120" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(t2._f("getItemType")(e3.row.type, t2.payableTypeList)))])];
|
|
} }], null, false, 4285614440) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "应付来源编号", "min-width": "240" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.applyNo || "-"))])];
|
|
} }], null, false, 4099259614) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "收款单位", "min-width": "140" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.receiveUnit || "-"))])];
|
|
} }], null, false, 2065507398) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "收款开户行", "min-width": "140" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.receiveBank))])];
|
|
} }], null, false, 2382642443) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "收款账户", "min-width": "140" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.receiveAccountNo || "-"))])];
|
|
} }], null, false, 2539224608) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "应付日期", "min-width": "120" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(t2._f("formatDate")(e3.row.paymentDate)))])];
|
|
} }], null, false, 1848624646) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "付款单位", "min-width": "140" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.paymentUnit || "-"))])];
|
|
} }], null, false, 469885303) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "付款开户行", "min-width": "140" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.paymentBank || "-"))])];
|
|
} }], null, false, 1124009399) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "付款账户", "min-width": "140" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.paymentAccountNo || "-"))])];
|
|
} }], null, false, 2317908881) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "生成时间", "min-width": "180" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.orderCreateTime || "-"))])];
|
|
} }], null, false, 1171023348) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "校对人", "min-width": "100" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.checkerName))])];
|
|
} }], null, false, 1119147920) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "校对时间", "min-width": "180" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.row.checkTime))])];
|
|
} }], null, false, 571286677) }), t2._v(" "), n2("el-table-column", { attrs: { label: "付款方式", "min-width": "160", fixed: "right" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("el-select", { attrs: { placeholder: "付款方式" }, model: { value: e3.row.realPayType, callback: function(n3) {
|
|
t2.$set(e3.row, "realPayType", n3);
|
|
}, expression: "scope.row.realPayType" } }, t2._l(t2.payablePayTypeList, (function(t3) {
|
|
return n2("el-option", { key: t3.value, attrs: { label: t3.label, value: t3.value } });
|
|
})), 1)];
|
|
} }], null, false, 2434727601) })], 1)], 1), t2._v(" "), n2("el-card", { staticClass: "box-card nav-card" }, [n2("el-form", { ref: "checkInfo", staticClass: "demo-form-inline", attrs: { inline: true, model: t2.checkInfo } }, [n2("el-form-item", { staticStyle: { "margin-bottom": "0" }, attrs: { prop: "typeNum", rules: { required: true, message: "类型编号不能为空", trigger: "blur" } } }, [n2("template", { slot: "label" }, [t2._v("\n 类型编号\n "), n2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", placement: "right" } }, [n2("template", { slot: "content" }, [n2("div", [t2._v("仅支持输入8位以下的数字")]), t2._v(" "), "" != t2.codeDec ? n2("div", { staticStyle: { "white-space": "pre-wrap" } }, [t2._v(t2._s(t2.codeDec))]) : t2._e()]), t2._v(" "), n2("i", { staticClass: "el-icon-question" })], 2)], 1), t2._v(" "), n2("el-input", { attrs: { placeholder: "类型编号", clearable: "" }, model: { value: t2.checkInfo.typeNum, callback: function(e3) {
|
|
t2.$set(t2.checkInfo, "typeNum", e3);
|
|
}, expression: "checkInfo.typeNum" } })], 2), t2._v(" "), n2("el-form-item", { staticStyle: { "margin-bottom": "0" }, attrs: { label: "标题", prop: "title", rules: { required: true, message: "审批标题不能为空", trigger: "blur" } } }, [n2("el-input", { staticStyle: { width: "400px" }, attrs: { placeholder: "审批标题", clearable: "", maxlength: "20", "show-word-limit": "" }, model: { value: t2.checkInfo.title, callback: function(e3) {
|
|
t2.$set(t2.checkInfo, "title", e3);
|
|
}, expression: "checkInfo.title" } })], 1)], 1)], 1), t2._v(" "), n2("el-card", { staticClass: "box-card nav-card" }, [n2("el-radio-group", { model: { value: t2.checkType, callback: function(e3) {
|
|
t2.checkType = e3;
|
|
}, expression: "checkType" } }, [n2("div", { staticStyle: { padding: "5px 0" } }, [n2("el-radio", { attrs: { label: 1, size: "medium" } }, [t2._v("无需审批,本人已核实,确认已付款")])], 1), t2._v(" "), n2("div", { staticStyle: { padding: "5px 0" } }, [n2("el-radio", { attrs: { label: 2 } }, [t2._v("发起审批,审批通过后,自动销单")])], 1), t2._v(" "), n2("div", { staticStyle: { padding: "5px 0" } }, [n2("el-radio", { attrs: { label: 3 } }, [t2._v("发起审批,审批通过后,不销单")])], 1), t2._v(" "), n2("div", { staticStyle: { padding: "5px 0" } }, [n2("el-radio", { attrs: { label: 4, disabled: "" } }, [t2._v("发起审批,审批通过后,银企直连自动支付")])], 1)])], 1), t2._v(" "), n2("el-card", { staticClass: "box-card nav-card", staticStyle: { "text-align": "center" } }, [n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary", loading: t2.load }, on: { click: t2.submitCheck } }, [t2._v("提交")]), t2._v(" "), n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: t2.goBack } }, [t2._v("返回")])], 1), t2._v(" "), n2("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;
|
|
} } }, [n2("el-form", { ref: "checkForm", attrs: { model: t2.checkForm, rules: t2.checkRule, "label-width": "100px" } }, [n2("el-form-item", { attrs: { label: "登录密码", prop: "pwd" } }, [n2("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(" "), n2("el-form-item", { attrs: { label: "" } }, [n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.postMineCheck } }, [t2._v("确 定")]), t2._v(" "), n2("el-button", { on: { click: t2.closePwd } }, [t2._v("取 消")])], 1)], 1)], 1)], 1) : t2._e();
|
|
}, v = [], b = n("0b37"), y = n("dd26"), _ = n.n(y), w = { props: { show: { type: Boolean, default: false } }, data: function() {
|
|
return { payableTypeList: i["Kb"], payablePayTypeList: i["Ib"], title: "发起支出审批", itemInfo: "", detailInfo: "", load: false, codeDec: "", listData: [], checkInfo: { title: "", typeNum: "" }, checkType: 1, checkForm: { pwd: "" }, checkRule: { pwd: [{ required: true, message: "请输入登录密码", trigger: "blur" }, { min: 6, message: "密码长度最短6位", trigger: "blur" }] }, showPwd: false };
|
|
}, methods: { setItem: function(t2) {
|
|
this.itemInfo = t2, console.log(t2), "WXwork" == t2.checkType ? this.checkType = 2 : "myself" == t2.checkType && (this.checkType = 1), this.getList(), this.getTips();
|
|
}, getList: function() {
|
|
var t2 = this, e2 = { orderNoList: this.itemInfo.orderNoList, pageSize: -1, pageNumber: -1 };
|
|
Object(r["o"])(e2).then((function(e3) {
|
|
0 == e3.code && e3.data && e3.data.records.length && t2.getFormatInfo(e3.data.records);
|
|
}));
|
|
}, getFormatInfo: function(t2) {
|
|
var e2 = { applyAmount: 0, needAmount: 0, hasAmount: 0 };
|
|
e2.payMonth = _()(t2[0].paymentMonth), e2.payDate = _()(t2[0].paymentDate), e2.remark = [], e2.fileArr = [], e2.name = this.$store.state.user.userInfo.memberName, t2.map((function(t3, n2) {
|
|
if (e2.applyAmount = Object(b["a"])(e2.applyAmount, t3.totalAmount), e2.needAmount = Object(b["a"])(e2.needAmount, t3.needInvoiceAmount), e2.hasAmount = Object(b["a"])(e2.hasAmount, t3.invoiceAmount), e2.payMonth = _.a.min(e2.payMonth, _()(t3.paymentMonth)), e2.payDate = _.a.min(e2.payDate, _()(t3.paymentDate)), t3.remark && "" != t3.remark && e2.remark.push(t3.remark), t3.fileUrls && "" != t3.fileUrls) {
|
|
var o2 = JSON.parse(t3.fileUrls);
|
|
o2.map((function(t4) {
|
|
e2.fileArr.push(t4);
|
|
}));
|
|
}
|
|
t3.realAmount = t3.unpaidAmount, t3.realPayType = 1;
|
|
})), this.listData = t2, e2.payMonth = e2.payMonth.format("YYYY-MM"), e2.payDate = e2.payDate.format("YYYY-MM-DD"), this.detailInfo = e2;
|
|
}, fileData: function(t2) {
|
|
return console.log("val" + t2), t2 && "" != t2 ? JSON.parse(t2) : [];
|
|
}, downloadFile: function(t2) {
|
|
var e2 = t2.fullUrl, n2 = new XMLHttpRequest();
|
|
n2.open("GET", e2, true), n2.responseType = "blob", n2.onload = function() {
|
|
var e3 = URL.createObjectURL(n2.response), o2 = document.createElement("a");
|
|
o2.href = e3, o2.download = t2.fileName, o2.target = "_blank", o2.click();
|
|
}, n2.send();
|
|
}, getTips: function() {
|
|
var t2 = this;
|
|
Object(r["k"])({ projectUuid: this.$store.state.community_uuid, typeCode: "SP10007" }).then((function(e2) {
|
|
t2.codeDec = e2.data.description ? e2.data.description : "";
|
|
}));
|
|
}, submitCheck: function() {
|
|
var t2 = this;
|
|
this.$refs["checkInfo"].validate((function(e2) {
|
|
if (e2) {
|
|
t2.load = true;
|
|
var n2 = t2.getItemList();
|
|
if (!n2.length) return t2.$message.error("请检查支出明细列表数据是否完整!"), void (t2.load = fasle);
|
|
if (1 == t2.checkType) t2.showPwd = true;
|
|
else {
|
|
var o2 = { items: n2, projectUuid: t2.$store.state.community_uuid, title: t2.checkInfo.title, typeNum: t2.checkInfo.typeNum, type: t2.checkType, creatorId: t2.$store.state.user.userInfo.memberId, creatorName: t2.$store.state.user.userInfo.memberName };
|
|
t2.postCheck(o2);
|
|
}
|
|
}
|
|
}));
|
|
}, getItemList: function() {
|
|
var t2 = [];
|
|
return this.listData.forEach((function(e2) {
|
|
if (!e2.id || null == e2.realAmount || void 0 == e2.realAmount || !e2.type) return t2 = [], false;
|
|
t2.push({ orderId: e2.id, totalAmount: e2.realAmount, type: e2.realPayType });
|
|
})), t2;
|
|
}, postMineCheck: function() {
|
|
var t2 = this;
|
|
this.$refs["checkForm"].validate((function(e2) {
|
|
if (e2) {
|
|
var n2 = t2.getItemList(), o2 = { items: n2, projectUuid: t2.$store.state.community_uuid, title: t2.checkInfo.title, typeNum: t2.checkInfo.typeNum, type: t2.checkType, creatorId: t2.$store.state.user.userInfo.memberId, creatorName: t2.$store.state.user.userInfo.memberName, password: t2.checkForm.pwd };
|
|
t2.postCheck(o2);
|
|
}
|
|
}));
|
|
}, postCheck: function(t2) {
|
|
var e2 = this;
|
|
Object(r["q"])(t2).then((function(t3) {
|
|
0 == t3.code ? (e2.$message({ type: "success", message: "操作成功!" }), 1 == e2.checkType ? (e2.closePwd(), e2.callBack(), e2.load = false) : (e2.callBack(), e2.load = false)) : e2.load = false;
|
|
})).catch((function() {
|
|
e2.load = false;
|
|
}));
|
|
}, closePwd: function() {
|
|
this.$refs["checkForm"].resetFields(), this.showPwd = false;
|
|
}, goBack: function() {
|
|
this.$refs["checkInfo"].resetFields(), this.$emit("back");
|
|
}, callBack: function() {
|
|
this.$refs["checkInfo"].resetFields(), this.$emit("callback");
|
|
}, headClass: function() {
|
|
return "text-align:center;background:#FAFAFA;";
|
|
} } }, g = w, k = (n("66f8"), Object(d["a"])(g, h, v, false, null, "18e3fa6c", null)), I = k.exports;
|
|
function j(t2) {
|
|
return j = "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;
|
|
}, j(t2);
|
|
}
|
|
function S(t2, e2) {
|
|
var n2 = Object.keys(t2);
|
|
if (Object.getOwnPropertySymbols) {
|
|
var o2 = Object.getOwnPropertySymbols(t2);
|
|
e2 && (o2 = o2.filter((function(e3) {
|
|
return Object.getOwnPropertyDescriptor(t2, e3).enumerable;
|
|
}))), n2.push.apply(n2, o2);
|
|
}
|
|
return n2;
|
|
}
|
|
function T(t2) {
|
|
for (var e2 = 1; e2 < arguments.length; e2++) {
|
|
var n2 = null != arguments[e2] ? arguments[e2] : {};
|
|
e2 % 2 ? S(Object(n2), true).forEach((function(e3) {
|
|
O(t2, e3, n2[e3]);
|
|
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t2, Object.getOwnPropertyDescriptors(n2)) : S(Object(n2)).forEach((function(e3) {
|
|
Object.defineProperty(t2, e3, Object.getOwnPropertyDescriptor(n2, e3));
|
|
}));
|
|
}
|
|
return t2;
|
|
}
|
|
function O(t2, e2, n2) {
|
|
return (e2 = A(e2)) in t2 ? Object.defineProperty(t2, e2, { value: n2, enumerable: true, configurable: true, writable: true }) : t2[e2] = n2, t2;
|
|
}
|
|
function A(t2) {
|
|
var e2 = N(t2, "string");
|
|
return "symbol" == j(e2) ? e2 : e2 + "";
|
|
}
|
|
function N(t2, e2) {
|
|
if ("object" != j(t2) || !t2) return t2;
|
|
var n2 = t2[Symbol.toPrimitive];
|
|
if (void 0 !== n2) {
|
|
var o2 = n2.call(t2, e2 || "default");
|
|
if ("object" != j(o2)) return o2;
|
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
}
|
|
return ("string" === e2 ? String : Number)(t2);
|
|
}
|
|
var C = { components: { payableDetail: f, payableApply: I }, data: function() {
|
|
return { payableTypeList: i["Kb"], payablePayStatusList: i["Hb"], budgetTypeList: i["s"], is_show: true, see: false, apply: false, list: true, height: "", showDialog: false, categoryArr: [], itemList: [], total: 0, query: { pageNumber: 1, pageSize: 10, paymentMonthList: [], subjectId: "", investmentId: "", orderNo: "", statusList: [], type: "", applyNo: "", receiveUnit: "", receiveBank: "", receiveAccountNo: "", paymentUnit: "", paymentBank: "", paymentAccountNo: "", createTime: "", subscribeType: 2 }, totalInfo: "", listLoading: false, listData: [], selectList: [], companyList: [], title: "冲销验证", dialogType: "", saveData: "", checkForm: { pwd: "", invoiceAmount: void 0, payment: "", paymentBank: "", paymentAccountNo: "" }, checkRule: { pwd: [{ required: true, message: "请输入登录密码", trigger: "blur" }, { min: 6, message: "密码长度最短6位", trigger: "blur" }], invoiceAmount: { required: true, message: "请输入已提供发票金额", trigger: ["change", "blur"] }, payment: { required: true, message: "请选择付款信息", trigger: "change" } } };
|
|
}, created: function() {
|
|
this.getRealHeight();
|
|
}, mounted: function() {
|
|
this.getList(), this.getTotal(), this.getCompany(), this.findSubjectBy();
|
|
}, methods: { getList: function() {
|
|
var t2 = this;
|
|
this.listLoading = true, this.query.projectUuid = this.$store.state.community_uuid, this.query.orderStartTime = this.query.createTime ? this.query.createTime[0] : "", this.query.orderEndTime = this.query.createTime ? this.query.createTime[1] : "", Object(r["s"])(this.query).then((function(e2) {
|
|
0 == e2.code && e2.data ? (t2.listData = e2.data.records, t2.total = e2.data.rowsCount, t2.listLoading = false) : t2.listLoading = false;
|
|
})).catch((function(e2) {
|
|
t2.listLoading = false;
|
|
}));
|
|
}, selectable: function(t2, e2) {
|
|
return (1 == t2.status || 2 == t2.status) && t2.unpaidAmount > 0;
|
|
}, getTotal: function() {
|
|
var t2 = this;
|
|
Object(r["t"])(T({ projectUuid: this.$store.state.community_uuid }, this.query)).then((function(e2) {
|
|
0 == e2.code && e2.data ? t2.totalInfo = e2.data : (t2.totalInfo.totalAmount = 0, t2.totalInfo.paidAmount = 0, t2.totalInfo.processingAmount = 0, t2.totalInfo.unpaidAmount = 0, t2.totalInfo.approveAmount = 0);
|
|
}));
|
|
}, findSubjectBy: function() {
|
|
var t2 = this;
|
|
Object(l["o"])({ projectUuid: this.$store.state.community_uuid, subjectType: 4, incomeClassify: 2 }).then((function(e2) {
|
|
0 == e2.code && (t2.categoryArr = e2.data);
|
|
}));
|
|
}, 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(r["p"])(e2).then((function(e3) {
|
|
t2.itemList = e3.data.records;
|
|
}));
|
|
}, getCompany: function() {
|
|
var t2 = this;
|
|
Object(r["m"])({ uuid: this.$store.state.community_uuid }).then((function(e2) {
|
|
e2.data && e2.data.length && (t2.companyList = e2.data);
|
|
}));
|
|
}, onSearch: function() {
|
|
this.query.pageNumber = 1, this.getList(), this.getTotal();
|
|
}, onReset: 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();
|
|
}, selectionChange: function(t2) {
|
|
this.selectList = t2;
|
|
}, openDialog: function(t2, e2) {
|
|
this.dialogType = t2, "invoice" == t2 || 0 != this.selectList.length ? ("off" == t2 ? this.title = "冲销作废验证" : "pay" == t2 ? this.title = "付款校对" : "invoice" == t2 && (this.title = "录入发票金额", this.saveData = e2), this.showDialog = true) : this.$message({ type: "error", message: "请选择操作数据" });
|
|
}, changeCompany: function(t2) {
|
|
t2 ? (this.checkForm.paymentBank = t2.bankName, this.checkForm.paymentAccountNo = t2.bankAccount) : (this.checkForm.paymentBank = "", this.checkForm.paymentAccountNo = "");
|
|
}, confirmClick: function() {
|
|
var t2 = this;
|
|
this.$refs["checkForm"].validate((function(e2) {
|
|
if (e2) {
|
|
var n2 = [];
|
|
t2.selectList.map((function(t3) {
|
|
n2.push(t3.id);
|
|
})), "off" == t2.dialogType ? t2.postOffOrderInfo(n2) : "pay" == t2.dialogType ? t2.postPayInfo(n2) : "invoice" == t2.dialogType && t2.postInvoiceInfo();
|
|
}
|
|
}));
|
|
}, postPayInfo: function(t2) {
|
|
var e2 = this, n2 = { ids: t2, paymentUnit: this.checkForm.payment.name, paymentId: this.checkForm.payment.id, paymentCreditCode: this.checkForm.payment.corporateCreditCode, paymentAccountNo: this.checkForm.payment.bankAccount, paymentBank: this.checkForm.payment.bankName, checkerId: this.$store.state.user.userInfo.memberId, checkerName: this.$store.state.user.userInfo.memberName };
|
|
Object(r["D"])(n2).then((function(t3) {
|
|
0 == t3.code && (e2.$message({ type: "success", message: "校对更新成功!" }), e2.closeDialog(), e2.$refs.tableData.clearSelection(), e2.getList());
|
|
}));
|
|
}, postInvoiceInfo: function(t2) {
|
|
var e2 = this, n2 = { id: this.saveData.id, invoiceAmount: this.checkForm.invoiceAmount, invoiceEnterId: this.$store.state.user.userInfo.memberId, invoiceEnterName: this.$store.state.user.userInfo.memberName };
|
|
Object(r["C"])(n2).then((function(t3) {
|
|
0 == t3.code && (e2.$message({ type: "success", message: "录入更新成功!" }), e2.closeDialog(), e2.getList());
|
|
}));
|
|
}, postOffOrderInfo: function(t2) {
|
|
var e2 = this, n2 = { ids: t2, password: this.checkForm.pwd, checkerId: this.$store.state.user.userInfo.memberId, checkerName: this.$store.state.user.userInfo.memberName };
|
|
Object(r["f"])(n2).then((function(t3) {
|
|
0 == t3.code && (e2.$message({ type: "success", message: "冲销成功!" }), e2.closeDialog(), e2.$refs.tableData.clearSelection(), e2.getList());
|
|
}));
|
|
}, closeDialog: function() {
|
|
this.$refs["checkForm"].resetFields(), this.showDialog = false;
|
|
}, seeDetail: function(t2) {
|
|
this.see = true, this.list = false, this.$nextTick((function() {
|
|
this.$refs.detailInfo.see(t2);
|
|
}));
|
|
}, payCheck: function(t2) {
|
|
if (0 !== this.selectList.length) {
|
|
var e2 = [];
|
|
this.selectList.map((function(t3) {
|
|
e2.push(t3.orderNo);
|
|
})), this.apply = true, this.list = false, this.$nextTick((function() {
|
|
this.$refs.applyInfo.setItem({ orderNoList: e2, checkType: t2 });
|
|
}));
|
|
} else this.$message({ type: "error", message: "请选择操作数据" });
|
|
}, detailBack: function() {
|
|
this.see = false, this.apply = false, this.list = true, this.selectList = [];
|
|
}, detailCallback: function() {
|
|
this.see = false, this.apply = false, this.list = true, this.selectList = [], this.getList();
|
|
}, upAndDown: function() {
|
|
this.is_show ? this.$refs.box.style.height = "80px" : this.$refs.box.style.height = this.height, this.is_show = !this.is_show;
|
|
}, getRealHeight: function() {
|
|
this.$nextTick((function() {
|
|
this.height = this.$refs.form_box.offsetHeight + "px", this.$refs.box.style.height = this.height;
|
|
}));
|
|
}, headClass: function() {
|
|
return "text-align:center;background:#FAFAFA;";
|
|
} } }, F = C, L = (n("ff17"), Object(d["a"])(F, o, a, false, null, "3b5412a8", null));
|
|
e["default"] = L.exports;
|
|
}, ff17: function(t, e, n) {
|
|
"use strict";
|
|
n("93a9");
|
|
} }]);
|