1161 lines
105 KiB
JavaScript
1161 lines
105 KiB
JavaScript
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-2b5457b4"], { "0b37": function(t, e, a) {
|
|
"use strict";
|
|
a.d(e, "a", (function() {
|
|
return r;
|
|
})), a.d(e, "b", (function() {
|
|
return o;
|
|
})), a.d(e, "c", (function() {
|
|
return n;
|
|
})), a.d(e, "d", (function() {
|
|
return i;
|
|
})), a.d(e, "f", (function() {
|
|
return s;
|
|
})), a.d(e, "e", (function() {
|
|
return l;
|
|
}));
|
|
a("8dee"), a("e680"), a("4057"), a("fc02");
|
|
function r(t2, e2) {
|
|
var a2, r2, o2, n2;
|
|
try {
|
|
a2 = t2.toString().split(".")[1].length;
|
|
} catch (s2) {
|
|
a2 = 0;
|
|
}
|
|
try {
|
|
r2 = e2.toString().split(".")[1].length;
|
|
} catch (s2) {
|
|
r2 = 0;
|
|
}
|
|
if (n2 = Math.abs(a2 - r2), o2 = Math.pow(10, Math.max(a2, r2)), n2 > 0) {
|
|
var i2 = Math.pow(10, n2);
|
|
a2 > r2 ? (t2 = Number(t2.toString().replace(".", "")), e2 = Number(e2.toString().replace(".", "")) * i2) : (t2 = Number(t2.toString().replace(".", "")) * i2, e2 = Number(e2.toString().replace(".", "")));
|
|
} else t2 = Number(t2.toString().replace(".", "")), e2 = Number(e2.toString().replace(".", ""));
|
|
return (t2 + e2) / o2;
|
|
}
|
|
function o(t2, e2) {
|
|
var a2, r2, o2 = 0, n2 = 0;
|
|
try {
|
|
o2 = t2.toString().split(".")[1].length;
|
|
} catch (i2) {
|
|
}
|
|
try {
|
|
n2 = e2.toString().split(".")[1].length;
|
|
} catch (i2) {
|
|
}
|
|
return a2 = Number(t2.toString().replace(".", "")), r2 = Number(e2.toString().replace(".", "")), a2 / r2 * Math.pow(10, n2 - o2);
|
|
}
|
|
function n(t2, e2) {
|
|
var a2 = 0, r2 = t2.toString(), o2 = e2.toString();
|
|
try {
|
|
a2 += r2.split(".")[1].length;
|
|
} catch (n2) {
|
|
}
|
|
try {
|
|
a2 += o2.split(".")[1].length;
|
|
} catch (n2) {
|
|
}
|
|
return Number(r2.replace(".", "")) * Number(o2.replace(".", "")) / Math.pow(10, a2);
|
|
}
|
|
function i(t2, e2) {
|
|
var a2, r2, o2, n2;
|
|
try {
|
|
a2 = t2.toString().split(".")[1].length;
|
|
} catch (i2) {
|
|
a2 = 0;
|
|
}
|
|
try {
|
|
r2 = e2.toString().split(".")[1].length;
|
|
} catch (i2) {
|
|
r2 = 0;
|
|
}
|
|
return o2 = Math.pow(10, Math.max(a2, r2)), n2 = a2 >= r2 ? a2 : r2, (Math.round(t2 * o2 - e2 * o2) / o2).toFixed(n2);
|
|
}
|
|
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 r2 = t2.split(".");
|
|
"00" == r2[1] && (t2 = r2[0]);
|
|
}
|
|
return t2;
|
|
}
|
|
function l(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);
|
|
}
|
|
}, "0eb7": function(t, e, a) {
|
|
}, "127f": function(t, e, a) {
|
|
"use strict";
|
|
a.d(e, "a", (function() {
|
|
return r;
|
|
}));
|
|
a("4057");
|
|
var r = function() {
|
|
function t2() {
|
|
return (65536 * (1 + Math.random()) | 0).toString(16).substring(1);
|
|
}
|
|
return "".concat(+/* @__PURE__ */ new Date(), "_").concat(t2()).concat(t2());
|
|
};
|
|
}, "1eb5": function(module, __webpack_exports__, __webpack_require__) {
|
|
"use strict";
|
|
var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ac67"), core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__), core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("32ea"), core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_1__), core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("4057"), core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_2__), core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("e680"), core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_3__), core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("fc02"), core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_4__), core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("a450"), core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_5___default = __webpack_require__.n(core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_5__), core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("1bc7"), core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_6___default = __webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_6__), _data_jenkins_home_jenkins_workspace_sqy_pro_hakopc_company_v2_beui_node_modules_babel_runtime_corejs2_7_29_2_babel_runtime_corejs2_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("5821"), _api_roleManage__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("67d5"), _api_contract__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("35ad"), _components_contractInfor__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("99d6"), _utils_cul__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("0b37"), _api_supplier__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("a6b9"), _utils_dataDict__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("dce5");
|
|
function ownKeys(t, e) {
|
|
var a = Object.keys(t);
|
|
if (Object.getOwnPropertySymbols) {
|
|
var r = Object.getOwnPropertySymbols(t);
|
|
e && (r = r.filter((function(e2) {
|
|
return Object.getOwnPropertyDescriptor(t, e2).enumerable;
|
|
}))), a.push.apply(a, r);
|
|
}
|
|
return a;
|
|
}
|
|
function _objectSpread(t) {
|
|
for (var e = 1; e < arguments.length; e++) {
|
|
var a = null != arguments[e] ? arguments[e] : {};
|
|
e % 2 ? ownKeys(Object(a), true).forEach((function(e2) {
|
|
Object(_data_jenkins_home_jenkins_workspace_sqy_pro_hakopc_company_v2_beui_node_modules_babel_runtime_corejs2_7_29_2_babel_runtime_corejs2_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_7__["a"])(t, e2, a[e2]);
|
|
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(a)) : ownKeys(Object(a)).forEach((function(e2) {
|
|
Object.defineProperty(t, e2, Object.getOwnPropertyDescriptor(a, e2));
|
|
}));
|
|
}
|
|
return t;
|
|
}
|
|
__webpack_exports__["a"] = { components: { contractInfor: _components_contractInfor__WEBPACK_IMPORTED_MODULE_10__["a"] }, data: function() {
|
|
return { is_show: true, height: 220, type: "", pageTotal: 0, viewInfo: false, infoList: true, projectList: [], contractTypeList: _utils_dataDict__WEBPACK_IMPORTED_MODULE_13__["y"], statusList: [{ name: "未发布", value: 1 }, { name: "已发布", value: 2 }, { name: "已结束", value: 3 }], contractStatusList: [{ label: "履约", value: 1 }, { label: "过期", value: 2 }, { label: "作废", value: 3 }], payStatusList: [{ label: "未支付", value: 1 }, { label: "部分支付", value: 2 }, { label: "已支付", value: 3 }], query: { contractNo: "", type: "", name: "", companyId: JSON.parse(window.localStorage.getItem("companyInfo")).osId, projectUuid: "", firstDelegateName: "", firstName: "", secondDelegateName: "", secondName: "", category: "", pageNumber: 1, pageSize: 10, payStatus: "", method: "", contractStatus: "", payStartTime: "", payEndTime: "", startTime: "", endTime: "" }, contractTime: "", payTime: "", tableData: [], ascriptionList: _utils_dataDict__WEBPACK_IMPORTED_MODULE_13__["j"], totalInfo: [{ title: "合同类型", infoList: [{ label: "物业合同", value: 0 }, { label: "外委合同", value: 0 }, { label: "租赁合同", value: 0 }, { label: "多经合同", value: 0 }], column: 1 }, { title: "合同归属", infoList: [{ label: "设备", value: 0 }, { label: "车场", value: 0 }, { label: "电梯", value: 0 }, { label: "清洁", value: 0 }, { label: "绿化", value: 0 }, { label: "安防", value: 0 }, { label: "租赁", value: 0 }], column: 2 }, { title: "合同金额", column: 1, infoList: [{ label: "应付金额", value: 0 }, { label: "已付金额", value: 0 }, { label: "应收金额", value: 0 }, { label: "已收金额", value: 0 }] }, { title: "合同亮灯", column: 3, infoList: [{ label: "到期时间", value1: 0, value2: 0, value3: 0 }, { label: "付款时间", value1: 0, value2: 0, value3: 0 }] }, { title: "合同到期", column: 1, infoList: [{ label: "近一个月到期数量", value: 0 }, { label: "近15天到期数量", value: 0 }] }] };
|
|
}, mounted: function() {
|
|
this.headClass(), this.getProjectInfo(), this.getlistData(), this.getTotal();
|
|
}, beforeRouteLeave: function(t, e, a) {
|
|
this.viewInfo = false, this.infoList = true, a();
|
|
}, methods: { getTotal: function getTotal() {
|
|
var payTime = this.payTime, contractTime = this.contractTime, query = this.query, totalInfo = this.totalInfo;
|
|
query.payStartTime = payTime ? "".concat(payTime[0], " 00:00:00") : "", query.payEndTime = payTime ? "".concat(payTime[1], " 23:59:59") : "", query.startTime = contractTime ? "".concat(contractTime[0], " 00:00:00") : "", query.endTime = contractTime ? "".concat(contractTime[1], " 23:59:59") : "";
|
|
var params = _objectSpread({}, query);
|
|
Object(_api_contract__WEBPACK_IMPORTED_MODULE_9__["c"])(params).then((function(res) {
|
|
if (0 === res.code && res.data) {
|
|
var _res$data = res.data, type1 = _res$data.type1, type2 = _res$data.type2, type3 = _res$data.type3, type4 = _res$data.type4, category1 = _res$data.category1, category2 = _res$data.category2, category3 = _res$data.category3, category4 = _res$data.category4, category5 = _res$data.category5, category6 = _res$data.category6, category7 = _res$data.category7, amount = _res$data.amount, paidAmount = _res$data.paidAmount, receivableAmount = _res$data.receivableAmount, receivedAmount = _res$data.receivedAmount, endTimeLight1 = _res$data.endTimeLight1, endTimeLight2 = _res$data.endTimeLight2, endTimeLight3 = _res$data.endTimeLight3, payTimeLight1 = _res$data.payTimeLight1, payTimeLight2 = _res$data.payTimeLight2, payTimeLight3 = _res$data.payTimeLight3, residue1 = _res$data.residue1, residue2 = _res$data.residue2;
|
|
totalInfo[0].infoList.slice(0, 4).forEach((function(item, index) {
|
|
return item.value = eval("type".concat(index + 1));
|
|
})), totalInfo[1].infoList.slice(0, 7).forEach((function(item, index) {
|
|
return item.value = eval("category".concat(index + 1));
|
|
})), totalInfo[2].infoList.forEach((function(item, index) {
|
|
return item.value = Object(_utils_cul__WEBPACK_IMPORTED_MODULE_11__["f"])(eval(["amount", "paidAmount", "receivableAmount", "receivedAmount"][index]));
|
|
})), totalInfo[3].infoList[0].value1 = endTimeLight1, totalInfo[3].infoList[0].value2 = endTimeLight2, totalInfo[3].infoList[0].value3 = endTimeLight3, totalInfo[3].infoList[1].value1 = payTimeLight1, totalInfo[3].infoList[1].value2 = payTimeLight2, totalInfo[3].infoList[1].value3 = payTimeLight3, totalInfo[4].infoList.forEach((function(item, index) {
|
|
return item.value = eval("residue".concat(index + 1));
|
|
}));
|
|
}
|
|
}));
|
|
}, upAndDown: function() {
|
|
this.is_show ? this.height = "80" : this.height = "240", this.is_show = !this.is_show;
|
|
}, filterPayStatus: function(t) {
|
|
var e = { 0: { 1: "未支付", 2: "部分支付", 3: "已支付" }, 1: { 1: "未收款", 2: "部分收款", 3: "已收款" } };
|
|
return e[t.method] && e[t.method][t.payStatus] ? e[t.method][t.payStatus] : "-";
|
|
}, confirm: function(t) {
|
|
var e = this;
|
|
t.status = 2, t.opName = JSON.parse(window.localStorage.getItem("memberInfor")).name, Object(_api_contract__WEBPACK_IMPORTED_MODULE_9__["g"])(t).then((function(t2) {
|
|
0 == t2.code && (e.$message({ message: "修改成功", type: "success" }), e.getlistData());
|
|
}));
|
|
}, getTime: function() {
|
|
this.payTime ? (this.query.payStartTime = this.payTime[0] + " 00:00:00", this.query.payEndTime = this.payTime[1] + " 23:59:59") : (this.query.payStartTime = "", this.query.payEndTime = ""), this.contractTime ? (this.query.startTime = this.contractTime[0] + " 00:00:00", this.query.endTime = this.contractTime[1] + " 23:59:59") : (this.query.startTime = "", this.query.endTime = "");
|
|
}, getProjectInfo: function() {
|
|
var t = this, e = JSON.parse(window.localStorage.getItem("companyInfo")).osId;
|
|
Object(_api_roleManage__WEBPACK_IMPORTED_MODULE_8__["j"])({ id: e, attribute: 1 }).then((function(e2) {
|
|
0 === e2.code && e2.data ? t.projectList = e2.data : t.projectList = [];
|
|
}));
|
|
}, categoryArr: function(t) {
|
|
var e = [], a = t.split(",");
|
|
return this.ascriptionList.forEach((function(t2) {
|
|
a.forEach((function(a2) {
|
|
t2.value === Number(a2) && e.push(t2.name);
|
|
}));
|
|
})), e.join(",");
|
|
}, reviewProjectName: function(t) {
|
|
var e = this.projectList;
|
|
if (e.length > 0) {
|
|
if (t.indexOf(",") > 0) {
|
|
var a = t.split(","), r = [];
|
|
return e.map((function(t2) {
|
|
a.map((function(e2) {
|
|
t2.uuid === e2 && r.push(t2.name);
|
|
}));
|
|
})), r.join(",");
|
|
}
|
|
if (null != t && "" != t && void 0 != t) {
|
|
var o = e.filter((function(e2) {
|
|
return e2.uuid == t;
|
|
}));
|
|
return o.length > 0 ? o[0].name : "-";
|
|
}
|
|
return "-";
|
|
}
|
|
return "-";
|
|
}, reViewPartyInfor: function(t, e) {
|
|
if (t.contractInfo) {
|
|
var a = JSON.parse(t.contractInfo);
|
|
return a[e];
|
|
}
|
|
return "-";
|
|
}, deleteClick: function(t) {
|
|
var e = this;
|
|
this.$confirm("确定作废该数据吗?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "info", center: true }).then((function() {
|
|
Object(_api_contract__WEBPACK_IMPORTED_MODULE_9__["d"])({ id: t.id }).then((function(t2) {
|
|
0 === t2.code && (e.$message({ type: "success", message: "作废成功" }), e.getlistData());
|
|
}));
|
|
})).catch((function() {
|
|
}));
|
|
}, detailsClick: function(t, e) {
|
|
var a = t;
|
|
this.querySupplierList(a, e);
|
|
}, addRuleGroup: function() {
|
|
this.querySupplierList("", "add");
|
|
}, querySupplierList: function(t, e) {
|
|
var a = this;
|
|
Object(_api_supplier__WEBPACK_IMPORTED_MODULE_12__["c"])({ pageSize: -1, pageNumber: -1, type: 2, companyId: this.query.companyId }).then((function(t2) {
|
|
if (0 === t2.code && t2.data) {
|
|
var e2 = t2.data.records;
|
|
a.$store.dispatch("user/setAllSupplierList", e2);
|
|
}
|
|
})), Object(_api_supplier__WEBPACK_IMPORTED_MODULE_12__["c"])({ pageSize: -1, pageNumber: -1, type: 1, companyId: this.query.companyId }).then((function(t2) {
|
|
if (0 === t2.code && t2.data) {
|
|
var e2 = t2.data.records;
|
|
a.$store.dispatch("user/setAllSupplierList2", e2);
|
|
}
|
|
})), this.openEditView(t, e);
|
|
}, openEditView: function(t, e) {
|
|
var a = this;
|
|
console.log(t, "obj", e, "status"), this.type = e, this.viewInfo = true, this.infoList = false, this.$nextTick((function() {
|
|
"add" === e ? a.$refs.contractInfor.getInfoLst() : a.$refs.contractInfor.getInfoLst(t);
|
|
}));
|
|
}, onSearch: function() {
|
|
this.query.pageNumber = 1, this.query.category.toString(), this.getlistData(), this.getTotal();
|
|
}, getlistData: function() {
|
|
var t = this;
|
|
this.payTime ? (this.query.payStartTime = this.payTime[0] + " 00:00:00", this.query.payEndTime = this.payTime[1] + " 23:59:59") : (this.query.payStartTime = "", this.query.payEndTime = ""), this.contractTime ? (this.query.startTime = this.contractTime[0] + " 00:00:00", this.query.endTime = this.contractTime[1] + " 23:59:59") : (this.query.startTime = "", this.query.endTime = "");
|
|
var e = Object.assign({}, this.query);
|
|
Object(_api_contract__WEBPACK_IMPORTED_MODULE_9__["b"])(e).then((function(e2) {
|
|
0 === e2.code && e2.data ? (t.tableData = e2.data.records, t.pageTotal = e2.data.rowsCount) : t.tableData = [];
|
|
}));
|
|
}, formatNum: function(t) {
|
|
var e = t || 0;
|
|
return "¥ " + Object(_utils_cul__WEBPACK_IMPORTED_MODULE_11__["f"])(e, 2);
|
|
}, goBack: function() {
|
|
this.viewInfo = false, this.infoList = true, this.getlistData();
|
|
}, handleSizeChange: function(t) {
|
|
this.query.pageSize = t, this.getlistData();
|
|
}, handleCurrentChange: function(t) {
|
|
this.query.pageNumber = t, this.getlistData();
|
|
}, resetForm: function() {
|
|
this.query.pageNumber = 1, this.$refs.query.resetFields(), this.contractTime = "", this.payTime = "", this.getTime(), this.getlistData(), this.getTotal();
|
|
}, headClass: function() {
|
|
return "text-align:center;background:#FAFAFA;";
|
|
} } };
|
|
}, 2124: function(t, e) {
|
|
t.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAYCAYAAAD+vg1LAAAEvElEQVRIS5WVa2wUVRTH/+fOY2e39EWBLQYNQQTsloIpJMqj2zUxRrAKwiJtaUIkAqJBHomJmKCfEPWbicEEYkDoQyYRFCNprN0uBeoHIKZ0oSBgokVaDRTa0n3N3GNmoE0fauv9NJl7zm/+59z/PUMYx5p2NuzNkeoSJ/SusE53LDLjY6XRWAHO/pOn1k0Vgvc7z1LS65dLjtwaK88FF5/bqHV3d/tunDF78QHkyKRAJJwPTT/AkolsfUMsdLBzZIzDSPR25ykpo7f1+cP3XXBBdO1TpCjlxPR9ovd2y7VlJ5NDE2f8EM72GfpSW7LUEkrUSRy6/8i5Mt/E5IRXpBSVsPHppeAT9QQGBaIVpVDoMzD6bMaG9mD1RRwNK4UT1Umsi5mSMB/EfsG4D+ZrSUX+nO3pv3V+wYn+QWFC7CeQx5K0qT145Kyr2FHkMfRKQSix2drdc7e/Iyc3K0jMWxiYBxATYD9UqRHhrgTXqmn6sjVUfTMQCftZVdezpNYcLR1pWWTGBw9vemS9kaXbWX39iaTu1aoEsJOYNAluZkGNSkr+ziplElAMpmVMmAqgKS2t3b90yatF2YbRei+RwBrTFTDcFUfDSoFfXQVFfExM96Rlv88+rTlDMXoye69yU2mpnP3thQw7N/NRQ9AOyRxmwklI2j7SKcPA8yNrp6cVUQOifDC/EetMN2CNKR+Prp1mkFgskYheLvnatdqM5vBjBvQPAX6OCe+KP9KHY2vM1MChDoIdu9xP9lUKSXtAOEjp1J5YyOybffqlTBWZu8Aog5RbY8HaxoHkQFPlQlJQx+DrpHFV29O1XaPA8yMrctK67yO28YJU+NX2xbUtTqvmRCsLVQGTGT0JO1VxvdS8AXrg9TkNK/OEx/c5gIVsWS9eDn3VNgpcVL9yiuXzHiDQTEumll8Jmr+6amnCO5C0g4EohDTZoi5VoOXi0pruovqqDCvD3gWmdWC8dqmk+sdR4MKfyv3Soi+IxZQ4kqtuLDV/KzpTNSXN9j4CBSGRBlgloj/ttNzSHqo9VfxdmTeenbkNRBuF5B1tJTXH4NyMoa4YBEuaHKfUagcciIV16vQssD12AUEEwVhNwHlLpqqciopPlPniuVlvg7GJWO6MNdYeGxgJg4c3CAZNjvMD8EBZsxoqZmgG7WNGIbHcGuu0jjt+dcFDFUdqjo8ffDSsBPLVFSDxCRHqWaTeiy0y77jD63+BmSYpFla1hqo7XMUMmhWtXKBqvMxOirorzx65MlCJc1t9anIbIDa7Pf5PxQx/XKI8paU7/LcTpOcZ3JOEAg/0e0DceeeAu/IMzu6BFxP0t5ixQUje/s/ghnI/63SIieYR+JAUdIdsViGIwZIFKbZkWwGTcBUTSyLSGAgRU4CAzW1Lqo+PcsXc5opcCbEX4OVMnBYMyaB//cMQgZndWaOD8BfZ9pttwbqzw33MYWXmtXxV6eqertqYzYABIV0/jrWIHeXK7UQvX5jmvdnfVDqZQaZNBY3lAVJprq3AUAHbYhKaO37HvywJCQUgmxViirPFFylwpmIvJF5mIi/ATEzjUjrysww4vXc61A+Bb2hOZF2p0PgZAnv54XAZv9bhkcQQDIrLNLX8DVTOZnn5H6BhAAAAAElFTkSuQmCC";
|
|
}, "35ad": function(t, e, a) {
|
|
"use strict";
|
|
a.d(e, "b", (function() {
|
|
return o;
|
|
})), a.d(e, "a", (function() {
|
|
return n;
|
|
})), a.d(e, "g", (function() {
|
|
return i;
|
|
})), a.d(e, "d", (function() {
|
|
return s;
|
|
})), a.d(e, "f", (function() {
|
|
return l;
|
|
})), a.d(e, "e", (function() {
|
|
return c;
|
|
})), a.d(e, "c", (function() {
|
|
return u;
|
|
}));
|
|
var r = a("b775");
|
|
function o(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/Contract/pageList", method: "POST", data: t2 });
|
|
}
|
|
function n(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/Contract/create", method: "POST", data: t2 });
|
|
}
|
|
function i(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/Contract/update", method: "POST", data: t2 });
|
|
}
|
|
function s(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/Contract/delete", method: "POST", data: t2 });
|
|
}
|
|
function l(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/Contract/findById", method: "POST", data: t2 });
|
|
}
|
|
function c(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/Contract/deletePaymentInfo", method: "POST", data: t2 });
|
|
}
|
|
function u(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/Contract/total", method: "POST", data: t2 });
|
|
}
|
|
}, "416e": function(t, e) {
|
|
t.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAYCAYAAAD+vg1LAAAEK0lEQVRIS5WVXWwUVRTHf2dmtt1tt7tLCy0kfhCDMREMGuHBz9ICgoDRCNYgNjESAdEglMRETNAnRH0zMZhAjGiiBB4Am6hNV9ZSoT6gMaIPGpREqwX7sdt227q7M/eY27LQUkLLJDOZ3Dnnd//3nP+9I0zj0tNE+od50IbGy/hW7mdkqjSZKsB+7/6KOV4p++27n+OFWSvpmipvFKxnCKXTlM04xaC8ibk6KZtidkE5ICCesDFax4WrYyxjaJCqbJ7B2SsYGgWnW7lHXNZrwBc9BTpuX0VufGJfK3FPeEgdzEiBNps4/rs2U5aO8qSjbBDlvVg9LaIgmSRLHJf3FbKez8bocs4ePoxbW8nMkMM8V7gbpUaFIXzO4fBjPE6XLGJ4nLD9CqWusjm2lNOjiq0i12UDwsMSsDs7Qmd5GbUGtoqwUBUVh2C0bEpIIAN8FggfV9bx91CKGh+eE+WnWJiUbe7l5mmKcDZPrOCQcz0aVdmpEBKhHeFE4POXK1TgcK8aVokwB+Eb32d3VZrfiBM+0s9/DQ1jAia4Qg/j9s9kLfAO0K+GN1xor0gwwCDKEkzP55SHy7k5cGlCeQr4spBnx9VOmQBOp5grhk9xmC3Ki7EekjRg+lq4yXN5IO/TVgT0tXKL4/IWwnLgtXg3n0gD+WJTr5TiDKHMIBtQ9gh8lBf2VNeR7T5ORSjGLlEeU2VbYiknisn9SRarwyGE372AxugyLk4Cp4+SkDhvKzzqGp6OLaPDOibdygLH5QjCgOR4JvYdfxS93pmkKip8gLDYFFhTuYKfJ4EvtFAdKeGAGubhszqxgvNWrRfjVVGaENpUOOIYLmaG6bh1DWltobw/xC7gWeD5RD1fTwJnk9QEHh+qUm181lYu58/BFqqDEPuAWqAAeAr/4rM18Qgnu5qJhMvZLrCJgKbEMo6KoBNcMQ48y/iss2D9hZK+CyxyHe5UqBVlncL3UqDRruifZsrKKngFw2YCdsZPcbRYpsvNuxa4uKxMkttw2CewwIFt0R6OSQOBBVvFDmxyoSl6kmPTBl/y9hMI7wItkuP1+Er67KQ3BjbMDIS1VXV0XtrCMtDGIpRVeeXQrHp+La7kfIpwHLaLssWbUrGhRnzWD0TpdHuROVVodw63NEdJLMZIV+/YbrXjAwNEKOFlo2z0hB3XLMXFJDWlDgcFFqpwEKHPGDzHQQlQ3LGnURwLdgQjQkiVOpT5qmxJ1HNskisy7cygwF6F1TJmLXvgX+8PY20lqpSIQ7djeMkelxN8bBt0LopXE2ZuAHdIQBirdDqXwSj0mgI/VEYYphu1jpHeE8z3DHcZlzBC4AoO5rpKJ01n/yx20Ciu4zPiO5yVTIq9KI8DEXuOX7qno/VKjC3YWO3t2zDCcXvILBGX+xQitiE3RpwYbRsrMKIBHf8D26HYH5lKFAcAAAAASUVORK5CYII=";
|
|
}, 4513: function(t, e, a) {
|
|
"use strict";
|
|
a.d(e, "v", (function() {
|
|
return o;
|
|
})), a.d(e, "w", (function() {
|
|
return n;
|
|
})), a.d(e, "x", (function() {
|
|
return i;
|
|
})), a.d(e, "l", (function() {
|
|
return s;
|
|
})), a.d(e, "t", (function() {
|
|
return l;
|
|
})), a.d(e, "j", (function() {
|
|
return c;
|
|
})), a.d(e, "o", (function() {
|
|
return u;
|
|
})), a.d(e, "u", (function() {
|
|
return p;
|
|
})), a.d(e, "b", (function() {
|
|
return d;
|
|
})), a.d(e, "p", (function() {
|
|
return m;
|
|
})), a.d(e, "D", (function() {
|
|
return f;
|
|
})), a.d(e, "B", (function() {
|
|
return _;
|
|
})), a.d(e, "q", (function() {
|
|
return y;
|
|
})), a.d(e, "c", (function() {
|
|
return g;
|
|
})), a.d(e, "s", (function() {
|
|
return h;
|
|
})), a.d(e, "i", (function() {
|
|
return b;
|
|
})), a.d(e, "n", (function() {
|
|
return v;
|
|
})), a.d(e, "a", (function() {
|
|
return I;
|
|
})), a.d(e, "g", (function() {
|
|
return T;
|
|
})), a.d(e, "d", (function() {
|
|
return k;
|
|
})), a.d(e, "f", (function() {
|
|
return w;
|
|
})), a.d(e, "C", (function() {
|
|
return C;
|
|
})), a.d(e, "m", (function() {
|
|
return O;
|
|
})), a.d(e, "y", (function() {
|
|
return S;
|
|
})), a.d(e, "r", (function() {
|
|
return P;
|
|
})), a.d(e, "e", (function() {
|
|
return F;
|
|
})), a.d(e, "z", (function() {
|
|
return L;
|
|
})), a.d(e, "A", (function() {
|
|
return A;
|
|
})), a.d(e, "h", (function() {
|
|
return B;
|
|
})), a.d(e, "k", (function() {
|
|
return j;
|
|
}));
|
|
var r = a("b775");
|
|
function o() {
|
|
return Object(r["a"])({ url: "/company/organizationalStructure/updateOrgnization", method: "post" });
|
|
}
|
|
function n(t2) {
|
|
return Object(r["a"])({ url: "/company/organizationalStructure/findOsTree", method: "post", data: t2 });
|
|
}
|
|
function i(t2) {
|
|
return Object(r["a"])({ url: "/company/organizationalStructure/findOsTreeV2", method: "post", data: t2 });
|
|
}
|
|
function s(t2) {
|
|
return Object(r["a"])({ url: "/company/OrganizationRoleRel/findProjectByRoleIdAndParent", method: "post", data: t2 });
|
|
}
|
|
function l(t2) {
|
|
return Object(r["a"])({ url: "/company/member/pageListByCompanyId", method: "post", data: t2 });
|
|
}
|
|
function c(t2) {
|
|
return Object(r["a"])({ url: "/company/member/findByProjectUuidAndJobUuid", method: "post", data: t2 });
|
|
}
|
|
function u(t2) {
|
|
return Object(r["a"])({ url: "/company/member/getList", method: "post", data: t2 });
|
|
}
|
|
function p(t2) {
|
|
return Object(r["a"])({ url: "/company/organizationalStructure/findOsPathList", method: "post", data: t2 });
|
|
}
|
|
function d(t2) {
|
|
return Object(r["a"])({ url: "/company/member/create", method: "post", data: t2 });
|
|
}
|
|
function m(t2) {
|
|
return Object(r["a"])({ url: "/company/member/findById", method: "post", data: t2 });
|
|
}
|
|
function f(t2) {
|
|
return Object(r["a"])({ url: "/company/member/update", method: "post", data: t2 });
|
|
}
|
|
function _(t2) {
|
|
return Object(r["a"])({ url: "/company/member/suspendMember", method: "post", data: t2 });
|
|
}
|
|
function y(t2) {
|
|
return Object(r["a"])({ url: "/enterprise/os/memberQuit/".concat(t2.memberUuid), method: "post" });
|
|
}
|
|
function g(t2) {
|
|
return Object(r["a"])({ url: "/company/organizationalStructure/create", method: "post", data: t2 });
|
|
}
|
|
function h(t2) {
|
|
return Object(r["a"])({ url: "/company/organizationalStructure/update", method: "post", data: t2 });
|
|
}
|
|
function b(t2) {
|
|
return Object(r["a"])({ url: "/company/member/findByProjectUuid", method: "post", data: t2 });
|
|
}
|
|
function v(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/Job/getJobList", method: "post", data: t2 });
|
|
}
|
|
function I(t2) {
|
|
return Object(r["a"])({ url: "/company/member/ChangeDepartment", method: "post", data: t2 });
|
|
}
|
|
function T(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/Role/pageList", method: "post", data: t2 });
|
|
}
|
|
function k(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/MemberRoleRel/create", method: "post", data: t2 });
|
|
}
|
|
function w(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/MemberRoleRel/findByMemberId", method: "post", data: t2 });
|
|
}
|
|
function C(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/MemberRoleRel/update", method: "post", data: t2 });
|
|
}
|
|
function O(t2) {
|
|
return Object(r["a"])({ url: "/company/member/getList", method: "POST", data: t2 });
|
|
}
|
|
function S(t2) {
|
|
return Object(r["a"])({ url: "/company/member/queryByStaff", method: "POST", data: t2 });
|
|
}
|
|
function P(t2) {
|
|
return Object(r["a"])({ url: "/company/member/memberQuit", method: "POST", data: t2 });
|
|
}
|
|
function F(t2) {
|
|
return Object(r["a"])({ url: "/company/organizationalStructure/delete", method: "POST", data: t2 });
|
|
}
|
|
function L(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/Space/queryInitData", method: "POST", data: t2 });
|
|
}
|
|
function A(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/Space/queryList", method: "POST", data: t2 });
|
|
}
|
|
function B(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/Space/findByProId", method: "POST", data: t2 });
|
|
}
|
|
function j(t2) {
|
|
return Object(r["a"])({ url: "/company/organizationalStructure/findOSListByRoleId", method: "POST", data: t2 });
|
|
}
|
|
}, 5766: function(t, e, a) {
|
|
}, "67d5": function(t, e, a) {
|
|
"use strict";
|
|
a.d(e, "i", (function() {
|
|
return o;
|
|
})), a.d(e, "j", (function() {
|
|
return n;
|
|
})), a.d(e, "f", (function() {
|
|
return i;
|
|
})), a.d(e, "b", (function() {
|
|
return s;
|
|
})), a.d(e, "c", (function() {
|
|
return l;
|
|
})), a.d(e, "k", (function() {
|
|
return c;
|
|
})), a.d(e, "e", (function() {
|
|
return u;
|
|
})), a.d(e, "d", (function() {
|
|
return p;
|
|
})), a.d(e, "h", (function() {
|
|
return d;
|
|
})), a.d(e, "a", (function() {
|
|
return m;
|
|
})), a.d(e, "g", (function() {
|
|
return f;
|
|
}));
|
|
var r = a("b775");
|
|
function o(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/Role/pageList", method: "post", data: t2 });
|
|
}
|
|
function n(t2) {
|
|
return Object(r["a"])({ url: "/company/organizationalStructure/selectOsList", method: "post", data: t2 });
|
|
}
|
|
function i(t2) {
|
|
return Object(r["a"])({ url: "/company/organizationalStructure/findOsTree", method: "post", data: t2 });
|
|
}
|
|
function s(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/Role/create", method: "post", data: t2 });
|
|
}
|
|
function l(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/Role/delete", method: "post", data: t2 });
|
|
}
|
|
function c(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/Role/update", method: "post", data: t2 });
|
|
}
|
|
function u(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/RoleMenuRel/findByRoleIdAndClienId", method: "post", data: t2 });
|
|
}
|
|
function p(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/OrganizationRoleRel/findByRoleId", method: "post", data: t2 });
|
|
}
|
|
function d(t2) {
|
|
return Object(r["a"])({ url: "/company/member/pageListForRole", method: "post", data: t2 });
|
|
}
|
|
function m(t2) {
|
|
return Object(r["a"])({ url: "/company/MemberRoleRel/batchDelete", method: "post", data: t2 });
|
|
}
|
|
function f(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/account/findProjectByRole", method: "post", data: t2 });
|
|
}
|
|
}, "90e7": function(t, e, a) {
|
|
"use strict";
|
|
a.d(e, "g", (function() {
|
|
return o;
|
|
})), a.d(e, "m", (function() {
|
|
return n;
|
|
})), a.d(e, "f", (function() {
|
|
return i;
|
|
})), a.d(e, "l", (function() {
|
|
return s;
|
|
})), a.d(e, "h", (function() {
|
|
return l;
|
|
})), a.d(e, "n", (function() {
|
|
return c;
|
|
})), a.d(e, "a", (function() {
|
|
return u;
|
|
})), a.d(e, "b", (function() {
|
|
return p;
|
|
})), a.d(e, "c", (function() {
|
|
return d;
|
|
})), a.d(e, "e", (function() {
|
|
return m;
|
|
})), a.d(e, "d", (function() {
|
|
return f;
|
|
})), a.d(e, "i", (function() {
|
|
return _;
|
|
})), a.d(e, "j", (function() {
|
|
return y;
|
|
})), a.d(e, "o", (function() {
|
|
return g;
|
|
})), a.d(e, "k", (function() {
|
|
return h;
|
|
}));
|
|
var r = a("b775");
|
|
function o(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/DeductionInfo/findById", method: "post", data: t2 });
|
|
}
|
|
function n(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/DeductionInfo/update", method: "post", data: t2 });
|
|
}
|
|
function i(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/CollectionInfoApi/findById", method: "post", data: t2 });
|
|
}
|
|
function s(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/CollectionInfoApi/update", method: "post", data: t2 });
|
|
}
|
|
function l(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/ChargePushConfigApi/findById", method: "post", data: t2 });
|
|
}
|
|
function c(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/ChargePushConfigApi/update", method: "post", data: t2 });
|
|
}
|
|
function u(t2) {
|
|
return Object(r["a"])({ url: "/company/ProjectSatisfactionConfig/pageList", method: "post", data: t2 });
|
|
}
|
|
function p(t2) {
|
|
return Object(r["a"])({ url: "/company/ProjectSatisfactionConfig/update", method: "post", data: t2 });
|
|
}
|
|
function d(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/CockpitConfig/create", method: "post", data: t2 });
|
|
}
|
|
function m(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/CockpitConfig/findByCompanyIdAndType", method: "post", data: t2 });
|
|
}
|
|
function f(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/CockpitConfig/sceneMenuList", method: "post", data: t2 });
|
|
}
|
|
function _(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/ProjectConfig/pageList", method: "post", data: t2 });
|
|
}
|
|
function y(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/ProjectConfig/updateExponentByProjectUuid", method: "post", data: t2 });
|
|
}
|
|
function g(t2, e2) {
|
|
return Object(r["a"])({ url: "/oss/upload", isFile: true, isReturnResponse: true, headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, method: "post", data: t2, onUploadProgress: e2 && e2.onUploadProgress });
|
|
}
|
|
function h(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/ProjectConfig/updateVisitPollRateByProjectUuid", method: "post", data: t2 });
|
|
}
|
|
}, "99d6": function(t, e, a) {
|
|
"use strict";
|
|
var r = function() {
|
|
var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2;
|
|
return a2("div", { staticClass: "ruleGroupInfo" }, [a2("el-card", { staticClass: "box-card" }, [a2("el-page-header", { attrs: { content: t2.content }, on: { back: t2.goBack } }), t2._v(" "), "view" === t2.type ? a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], staticClass: "editBtn", attrs: { type: "primary", plain: "", size: "small" }, on: { click: function(e3) {
|
|
return t2.editBusiness();
|
|
} } }, [t2._v("编辑")]) : t2._e(), t2._v(" "), a2("el-form", { ref: "ontractForm", staticClass: "demo-ontractForm", attrs: { model: t2.ontractForm, rules: t2.rules, "label-width": "130px" } }, [a2("div", { staticClass: "rule typeface" }, [t2._v(t2._s(t2.classifyTitle) + "基本信息")]), t2._v(" "), a2("div", { staticClass: "vote-form" }, [a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "合同编号", prop: "contractNo" } }, [a2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入合同编号", maxlength: "64", "show-word-limit": "" }, model: { value: t2.ontractForm.contractNo, callback: function(e3) {
|
|
t2.$set(t2.ontractForm, "contractNo", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "ontractForm.contractNo" } })], 1)], 1), t2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "合同类型", prop: "type" } }, [a2("el-select", { staticClass: "select-dom", attrs: { disabled: t2.disabled, clearable: "", placeholder: "请选择合同类型" }, on: { change: t2.contractTypeChange }, model: { value: t2.ontractForm.type, callback: function(e3) {
|
|
t2.$set(t2.ontractForm, "type", e3);
|
|
}, expression: "ontractForm.type" } }, t2._l(t2.contractTypeList, (function(t3) {
|
|
return a2("el-option", { key: t3.value, attrs: { label: t3.name, value: t3.value } });
|
|
})), 1)], 1)], 1), t2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "合同名称", prop: "name" } }, [a2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入合同名称", maxlength: "64", "show-word-limit": "" }, model: { value: t2.ontractForm.name, callback: function(e3) {
|
|
t2.$set(t2.ontractForm, "name", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "ontractForm.name" } })], 1)], 1)], 1), t2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "合同金额", prop: "amount" } }, [a2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入合同金额", maxlength: "13", "show-word-limit": "" }, on: { input: function(e3) {
|
|
return t2.priceInput(e3, "amount");
|
|
} }, model: { value: t2.ontractForm.amount, callback: function(e3) {
|
|
t2.$set(t2.ontractForm, "amount", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "ontractForm.amount" } }, [a2("template", { slot: "append" }, [t2._v("元")])], 2)], 1)], 1), t2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "覆盖项目", prop: "projectUuid" } }, [a2("el-cascader", { ref: "projectCascader", staticClass: "select-dom", attrs: { clearable: "", disabled: t2.disabled, placeholder: "请选择项目/部门", options: t2.orgList, filterable: "", props: { label: "nameTxt", value: "uuid", children: "childs", checkStrictly: true, emitPath: false, multiple: true } }, model: { value: t2.ontractForm.projectUuid, callback: function(e3) {
|
|
t2.$set(t2.ontractForm, "projectUuid", e3);
|
|
}, expression: "ontractForm.projectUuid" } })], 1)], 1), t2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "合同归属", prop: "category" } }, [a2("el-select", { staticClass: "select-dom", attrs: { multiple: "", disabled: t2.disabled, "collapse-tags": "", clearable: "", placeholder: "请选择合同归属" }, model: { value: t2.ontractForm.category, callback: function(e3) {
|
|
t2.$set(t2.ontractForm, "category", e3);
|
|
}, expression: "ontractForm.category" } }, t2._l(t2.ascriptionList, (function(t3) {
|
|
return a2("el-option", { key: t3.value, attrs: { label: t3.name, value: t3.value } });
|
|
})), 1)], 1)], 1)], 1), t2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "合同签订时间", prop: "signTime" } }, [a2("el-date-picker", { staticClass: "select-dom", attrs: { disabled: t2.disabled, format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd 23:59:59", type: "date", placeholder: "选择日期" }, model: { value: t2.ontractForm.signTime, callback: function(e3) {
|
|
t2.$set(t2.ontractForm, "signTime", e3);
|
|
}, expression: "ontractForm.signTime" } })], 1)], 1), t2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "合同开始时间", prop: "startTime" } }, [a2("el-date-picker", { staticClass: "select-dom", attrs: { disabled: t2.disabled, format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd 23:59:59", type: "date", placeholder: "选择日期" }, model: { value: t2.ontractForm.startTime, callback: function(e3) {
|
|
t2.$set(t2.ontractForm, "startTime", e3);
|
|
}, expression: "ontractForm.startTime" } })], 1)], 1), t2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "合同结束时间", prop: "endTime" } }, [a2("el-date-picker", { staticClass: "select-dom", attrs: { disabled: t2.disabled, format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd 23:59:59", type: "date", placeholder: "选择日期" }, model: { value: t2.ontractForm.endTime, callback: function(e3) {
|
|
t2.$set(t2.ontractForm, "endTime", e3);
|
|
}, expression: "ontractForm.endTime" } })], 1)], 1)], 1), t2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "款项方向", prop: "method" } }, [a2("el-select", { staticClass: "select-dom", attrs: { disabled: t2.disabled, "collapse-tags": "", placeholder: "请选择款项方向" }, model: { value: t2.ontractForm.method, callback: function(e3) {
|
|
t2.$set(t2.ontractForm, "method", e3);
|
|
}, expression: "ontractForm.method" } }, [a2("el-option", { attrs: { label: "付款", value: 0 } }), t2._v(" "), a2("el-option", { attrs: { label: "收款", value: 1 } })], 1)], 1)], 1)], 1)], 1), t2._v(" "), 4 === t2.ontractForm.type ? a2("div", [a2("div", { staticClass: "rule typeface" }, [t2._v("租赁信息")]), t2._v(" "), a2("div", { staticClass: "vote-questions" }, t2._l(t2.ontractForm.targetInfo, (function(e3, r2) {
|
|
return a2("el-row", { key: r2 }, [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "资源类型", prop: "targetInfo[" + r2 + "].leaseType", rules: { required: true, message: "请选择租赁资源类型", trigger: "change" } } }, [a2("el-select", { staticClass: "select-dom", attrs: { disabled: t2.disabled, placeholder: "请选择租赁资源类型" }, model: { value: e3.leaseType, callback: function(a3) {
|
|
t2.$set(e3, "leaseType", a3);
|
|
}, expression: "item.leaseType" } }, t2._l(t2.leaseTypeList, (function(t3) {
|
|
return a2("el-option", { key: t3.value, attrs: { label: t3.name, value: t3.value } });
|
|
})), 1)], 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { staticClass: "is-required", attrs: { label: t2.setThisleaseType(t2.ontractForm.targetInfo[r2].leaseType) + "编号", prop: "targetInfo[" + r2 + "].target", rules: { required: true, message: "请输入租赁类型信息", trigger: "blur" } } }, [a2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入" + t2.setThisleaseType(t2.ontractForm.targetInfo[r2].leaseType) + "编号", maxlength: "120", "show-word-limit": "" }, model: { value: e3.target, callback: function(a3) {
|
|
t2.$set(e3, "target", "string" === typeof a3 ? a3.trim() : a3);
|
|
}, expression: "item.target" } })], 1)], 1), t2._v(" "), a2("el-col", { attrs: { offset: 1, span: 4 } }, [r2 === t2.ontractForm.targetInfo.length - 1 ? a2("el-button", { staticClass: "payTypeOptBtn", attrs: { disabled: t2.disabled, type: "primary", icon: "el-icon-circle-plus-outline", size: "mini" }, on: { click: function(e4) {
|
|
return t2.addcontracttargetInfoList(r2);
|
|
} } }) : t2._e(), t2._v(" "), r2 < t2.ontractForm.targetInfo.length - 1 ? a2("el-button", { staticClass: "payTypeOptBtn", attrs: { disabled: t2.disabled, type: "primary", icon: "el-icon-delete", size: "mini" }, on: { click: function(e4) {
|
|
return t2.deletecontracttargetInfoList(r2);
|
|
} } }) : t2._e()], 1)], 1);
|
|
})), 1)]) : t2._e(), t2._v(" "), 4 != t2.ontractForm.type ? a2("div", [a2("div", { staticClass: "rule typeface" }, [t2._v(t2._s(t2.classifyTitle) + "甲方信息")]), t2._v(" "), a2("div", { staticClass: "vote-questions" }, [a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "甲方名称", prop: "firstSupplierId" } }, [a2("el-select", { staticClass: "select-dom", attrs: { disabled: t2.disabled, placeholder: "请选择甲方" }, on: { change: t2.selectChangefirstSupplier }, model: { value: t2.ontractForm.firstSupplierId, callback: function(e3) {
|
|
t2.$set(t2.ontractForm, "firstSupplierId", e3);
|
|
}, expression: "ontractForm.firstSupplierId" } }, t2._l(t2.firstSupplierList, (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: 2 } }, [a2("el-select", { staticClass: "select-type-dom", attrs: { disabled: t2.disabled }, on: { change: function(e3) {
|
|
return t2.supplierTypeChange(e3, 1);
|
|
} }, model: { value: t2.firstSupplierType, callback: function(e3) {
|
|
t2.firstSupplierType = e3;
|
|
}, expression: "firstSupplierType" } }, t2._l(t2.supplierType, (function(t3) {
|
|
return a2("el-option", { key: t3.value, attrs: { label: t3.name, value: t3.value } });
|
|
})), 1)], 1), t2._v(" "), a2("el-col", { attrs: { offset: 0, span: 6 } }, [a2("el-form-item", { attrs: { label: "甲方代表姓名", prop: "firstDelegateName" } }, [a2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入甲方代表姓名", maxlength: "6", "show-word-limit": "" }, model: { value: t2.ontractForm.firstDelegateName, callback: function(e3) {
|
|
t2.$set(t2.ontractForm, "firstDelegateName", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "ontractForm.firstDelegateName" } })], 1)], 1), t2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "联系方式", prop: "firstContactPhone" } }, [a2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入甲方代表联系方式", oninput: "value=value.replace(/\\D/g,'')", maxlength: "11", "show-word-limit": "" }, nativeOn: { input: function(e3) {
|
|
return !e3.type.indexOf("key") && t2._k(e3.keyCode, "enter", 13, e3.key, "Enter") ? null : t2.updataInputChanges(e3, "ontractForm", "firstContactPhone");
|
|
} }, model: { value: t2.ontractForm.firstContactPhone, callback: function(e3) {
|
|
t2.$set(t2.ontractForm, "firstContactPhone", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "ontractForm.firstContactPhone" } })], 1)], 1)], 1), t2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "开户银行", prop: "firstBank" } }, [a2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入甲方开户银行", maxlength: "64", "show-word-limit": "" }, model: { value: t2.ontractForm.firstBank, callback: function(e3) {
|
|
t2.$set(t2.ontractForm, "firstBank", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "ontractForm.firstBank" } })], 1)], 1), t2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "甲方银行账号", prop: "firstBankAccount" } }, [a2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入甲方银行账号", oninput: "value=value.replace(/\\D/g,'')", maxlength: "25", "show-word-limit": "" }, nativeOn: { input: function(e3) {
|
|
return !e3.type.indexOf("key") && t2._k(e3.keyCode, "enter", 13, e3.key, "Enter") ? null : t2.updataInputChanges(e3, "ontractForm", "firstBankAccount");
|
|
} }, model: { value: t2.ontractForm.firstBankAccount, callback: function(e3) {
|
|
t2.$set(t2.ontractForm, "firstBankAccount", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "ontractForm.firstBankAccount" } })], 1)], 1), t2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "甲方电话", prop: "firstContactPhone2" } }, [a2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入甲方电话", oninput: "value=value.replace(/\\D/g,'')", "show-word-limit": "" }, model: { value: t2.ontractForm.firstContactPhone2, callback: function(e3) {
|
|
t2.$set(t2.ontractForm, "firstContactPhone2", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "ontractForm.firstContactPhone2" } })], 1)], 1)], 1)], 1), t2._v(" "), a2("div", { staticClass: "rule typeface" }, [t2._v(t2._s(t2.classifyTitle) + "乙方信息")]), t2._v(" "), a2("div", { staticClass: "vote-questions" }, [a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "乙方名称", prop: "secondSupplierId" } }, [a2("el-select", { staticClass: "select-dom", attrs: { disabled: t2.disabled, placeholder: "请选择乙方" }, on: { change: t2.selectChangeSecondSupplier }, model: { value: t2.ontractForm.secondSupplierId, callback: function(e3) {
|
|
t2.$set(t2.ontractForm, "secondSupplierId", e3);
|
|
}, expression: "ontractForm.secondSupplierId" } }, t2._l(t2.secondSupplierList, (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: 2 } }, [a2("el-select", { staticClass: "select-type-dom", attrs: { disabled: t2.disabled }, on: { change: function(e3) {
|
|
return t2.supplierTypeChange(e3, 2);
|
|
} }, model: { value: t2.secondSupplierType, callback: function(e3) {
|
|
t2.secondSupplierType = e3;
|
|
}, expression: "secondSupplierType" } }, t2._l(t2.supplierType, (function(t3) {
|
|
return a2("el-option", { key: t3.value, attrs: { label: t3.name, value: t3.value } });
|
|
})), 1)], 1), t2._v(" "), a2("el-col", { attrs: { offset: 0, span: 6 } }, [a2("el-form-item", { attrs: { label: "乙方代表姓名", prop: "secondDelegateName" } }, [a2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入乙方代表姓名", maxlength: "64", "show-word-limit": "" }, model: { value: t2.ontractForm.secondDelegateName, callback: function(e3) {
|
|
t2.$set(t2.ontractForm, "secondDelegateName", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "ontractForm.secondDelegateName" } })], 1)], 1), t2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "联系方式", prop: "secondContactPhone" } }, [a2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入乙方代表联系方式", oninput: "value=value.replace(/\\D/g,'')", maxlength: "11", "show-word-limit": "" }, nativeOn: { input: function(e3) {
|
|
return !e3.type.indexOf("key") && t2._k(e3.keyCode, "enter", 13, e3.key, "Enter") ? null : t2.updataInputChanges(e3, "ontractForm", "secondContactPhone");
|
|
} }, model: { value: t2.ontractForm.secondContactPhone, callback: function(e3) {
|
|
t2.$set(t2.ontractForm, "secondContactPhone", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "ontractForm.secondContactPhone" } })], 1)], 1)], 1), t2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "开户银行", prop: "secondBank" } }, [a2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入乙方开户银行", maxlength: "64", "show-word-limit": "" }, model: { value: t2.ontractForm.secondBank, callback: function(e3) {
|
|
t2.$set(t2.ontractForm, "secondBank", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "ontractForm.secondBank" } })], 1)], 1), t2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "乙方银行账号", prop: "secondBankAccount" } }, [a2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入乙方银行账号", oninput: "value=value.replace(/\\D/g,'')", maxlength: "25", "show-word-limit": "" }, nativeOn: { input: function(e3) {
|
|
return !e3.type.indexOf("key") && t2._k(e3.keyCode, "enter", 13, e3.key, "Enter") ? null : t2.updataInputChanges(e3, "ontractForm", "secondBankAccount");
|
|
} }, model: { value: t2.ontractForm.secondBankAccount, callback: function(e3) {
|
|
t2.$set(t2.ontractForm, "secondBankAccount", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "ontractForm.secondBankAccount" } })], 1)], 1)], 1)], 1)]) : a2("div", [a2("div", { staticClass: "rule typeface" }, [t2._v("甲方信息")]), t2._v(" "), a2("div", { staticClass: "vote-questions" }, [a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [1 === t2.ontractForm.contractInfo.partyAType ? a2("el-form-item", { attrs: { label: "甲方名称", prop: "contractInfo.partyAName", rules: { required: true, message: "请输入甲方名称", trigger: "blur" } } }, [a2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入甲方名称", maxlength: "64", "show-word-limit": "" }, model: { value: t2.ontractForm.contractInfo.partyAName, callback: function(e3) {
|
|
t2.$set(t2.ontractForm.contractInfo, "partyAName", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "ontractForm.contractInfo.partyAName" } })], 1) : a2("el-form-item", { attrs: { label: "甲方姓名", prop: "contractInfo.partyAPerson", rules: { required: true, message: "请输入甲方姓名", trigger: "blur" } } }, [a2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入甲方姓名", maxlength: "6", "show-word-limit": "" }, model: { value: t2.ontractForm.contractInfo.partyAPerson, callback: function(e3) {
|
|
t2.$set(t2.ontractForm.contractInfo, "partyAPerson", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "ontractForm.contractInfo.partyAPerson" } })], 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 2 } }, [a2("el-select", { staticClass: "select-type-dom", attrs: { disabled: t2.disabled }, model: { value: t2.ontractForm.contractInfo.partyAType, callback: function(e3) {
|
|
t2.$set(t2.ontractForm.contractInfo, "partyAType", e3);
|
|
}, expression: "ontractForm.contractInfo.partyAType" } }, t2._l(t2.contractInfoPartyTypeList, (function(t3) {
|
|
return a2("el-option", { key: t3.value, attrs: { label: t3.name, value: t3.value } });
|
|
})), 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 8 } }, [1 === t2.ontractForm.contractInfo.partyAType ? a2("el-form-item", { attrs: { label: "公司社会信用代码", prop: "contractInfo.partyAIdCard", rules: { required: true, message: "请输入公司统一社会信用代码", trigger: "blur" } } }, [a2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入公司统一社会信用代码", maxlength: "32", "show-word-limit": "" }, model: { value: t2.ontractForm.contractInfo.partyAIdCard, callback: function(e3) {
|
|
t2.$set(t2.ontractForm.contractInfo, "partyAIdCard", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "ontractForm.contractInfo.partyAIdCard" } })], 1) : a2("el-form-item", { attrs: { label: "身份证号码", prop: "contractInfo.partyAIdCard", rules: t2.contractInfoRules.partyBIdCard } }, [a2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入甲方身份证号码", maxlength: "18", "show-word-limit": "" }, model: { value: t2.ontractForm.contractInfo.partyAIdCard, callback: function(e3) {
|
|
t2.$set(t2.ontractForm.contractInfo, "partyAIdCard", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "ontractForm.contractInfo.partyAIdCard" } })], 1)], 1), t2._v(" "), 1 === t2.ontractForm.contractInfo.partyAType ? a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "企业法人", prop: "contractInfo.partyAPerson", rules: { required: true, message: "请输入甲方企业法人", trigger: "blur" } } }, [a2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入甲方企业法人", maxlength: "6", "show-word-limit": "" }, model: { value: t2.ontractForm.contractInfo.partyAPerson, callback: function(e3) {
|
|
t2.$set(t2.ontractForm.contractInfo, "partyAPerson", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "ontractForm.contractInfo.partyAPerson" } })], 1)], 1) : a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "联系方式", prop: "contractInfo.partyAPhone", rules: t2.contractInfoRules.partyBPhone } }, [a2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入甲方联系方式", oninput: "value=value.replace(/\\D/g,'')", maxlength: "11", "show-word-limit": "" }, model: { value: t2.ontractForm.contractInfo.partyAPhone, callback: function(e3) {
|
|
t2.$set(t2.ontractForm.contractInfo, "partyAPhone", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "ontractForm.contractInfo.partyAPhone" } })], 1)], 1)], 1)], 1), t2._v(" "), a2("div", { staticClass: "rule typeface" }, [t2._v("乙方信息")]), t2._v(" "), a2("div", { staticClass: "vote-questions" }, [a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [1 === t2.ontractForm.contractInfo.partyBType ? a2("el-form-item", { attrs: { label: "乙方名称", prop: "contractInfo.partyBName", rules: { required: true, message: "请输入乙方名称", trigger: "blur" } } }, [a2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入乙方名称", maxlength: "64", "show-word-limit": "" }, model: { value: t2.ontractForm.contractInfo.partyBName, callback: function(e3) {
|
|
t2.$set(t2.ontractForm.contractInfo, "partyBName", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "ontractForm.contractInfo.partyBName" } })], 1) : a2("el-form-item", { attrs: { label: "乙方姓名", prop: "contractInfo.partyBPerson", rules: { required: true, message: "请输入乙方姓名", trigger: "blur" } } }, [a2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入乙方姓名", maxlength: "6", "show-word-limit": "" }, model: { value: t2.ontractForm.contractInfo.partyBPerson, callback: function(e3) {
|
|
t2.$set(t2.ontractForm.contractInfo, "partyBPerson", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "ontractForm.contractInfo.partyBPerson" } })], 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 2 } }, [a2("el-select", { staticClass: "select-type-dom", attrs: { disabled: t2.disabled }, model: { value: t2.ontractForm.contractInfo.partyBType, callback: function(e3) {
|
|
t2.$set(t2.ontractForm.contractInfo, "partyBType", e3);
|
|
}, expression: "ontractForm.contractInfo.partyBType" } }, t2._l(t2.contractInfoPartyTypeList, (function(t3) {
|
|
return a2("el-option", { key: t3.value, attrs: { label: t3.name, value: t3.value } });
|
|
})), 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 8 } }, [1 === t2.ontractForm.contractInfo.partyBType ? a2("el-form-item", { attrs: { label: "公司社会信用代码", prop: "contractInfo.partyBIdCard", rules: { required: true, message: "请输入公司统一社会信用代码", trigger: "blur" } } }, [a2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入公司统一社会信用代码", maxlength: "32", "show-word-limit": "" }, model: { value: t2.ontractForm.contractInfo.partyBIdCard, callback: function(e3) {
|
|
t2.$set(t2.ontractForm.contractInfo, "partyBIdCard", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "ontractForm.contractInfo.partyBIdCard" } })], 1) : a2("el-form-item", { attrs: { label: "身份证号码", prop: "contractInfo.partyBIdCard", rules: t2.contractInfoRules.partyBIdCard } }, [a2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入乙方身份证号码", maxlength: "18", "show-word-limit": "" }, model: { value: t2.ontractForm.contractInfo.partyBIdCard, callback: function(e3) {
|
|
t2.$set(t2.ontractForm.contractInfo, "partyBIdCard", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "ontractForm.contractInfo.partyBIdCard" } })], 1)], 1), t2._v(" "), 1 === t2.ontractForm.contractInfo.partyBType ? a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "企业法人", prop: "contractInfo.partyBPerson", rules: { required: true, message: "请输入乙方企业法人", trigger: "blur" } } }, [a2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入乙方企业法人", maxlength: "6", "show-word-limit": "" }, model: { value: t2.ontractForm.contractInfo.partyBPerson, callback: function(e3) {
|
|
t2.$set(t2.ontractForm.contractInfo, "partyBPerson", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "ontractForm.contractInfo.partyBPerson" } })], 1)], 1) : a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "联系方式", prop: "contractInfo.partyBPhone", rules: t2.contractInfoRules.partyBPhone } }, [a2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入乙方代表联系方式", oninput: "value=value.replace(/\\D/g,'')", maxlength: "11", "show-word-limit": "" }, model: { value: t2.ontractForm.contractInfo.partyBPhone, callback: function(e3) {
|
|
t2.$set(t2.ontractForm.contractInfo, "partyBPhone", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "ontractForm.contractInfo.partyBPhone" } })], 1)], 1)], 1)], 1)]), t2._v(" "), a2("div", { staticClass: "rule typeface" }, [t2._v("\n " + t2._s(t2.classifyTitle) + t2._s(0 == t2.ontractForm.method ? "付款" : "收款") + "信息\n ")]), t2._v(" "), a2("div", { staticClass: "vote-questions" }, [a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: 0 == t2.ontractForm.method ? "付款方式" : "收款方式", prop: "payType" } }, [a2("el-select", { staticClass: "select-dom", attrs: { disabled: t2.disabled, placeholder: 0 == t2.ontractForm.method ? "请选择付款方式" : "请选择收款方式" }, on: { change: t2.payTypeChange }, model: { value: t2.payType, callback: function(e3) {
|
|
t2.payType = e3;
|
|
}, expression: "payType" } }, [a2("el-option", { attrs: { value: 2, label: 0 == t2.ontractForm.method ? "付款金额" : "收款金额" } })], 1)], 1)], 1)], 1), t2._v(" "), t2._l(t2.ontractForm.contractPaymentInfoList, (function(e3, r2) {
|
|
return a2("el-row", { key: r2 }, [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: 0 == t2.ontractForm.method ? "付款时间" : "收款时间", prop: "contractPaymentInfoList[" + r2 + "].paymentTime", rules: { required: true, message: "请选择应收/付款时间", trigger: "change" } } }, [a2("el-date-picker", { staticClass: "select-dom", attrs: { format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd 23:59:59", disabled: t2.disabled, type: "date", placeholder: "选择日期" }, on: { change: function(e4) {
|
|
return t2.paymentTimeChange(e4, r2);
|
|
} }, model: { value: e3.paymentTime, callback: function(a3) {
|
|
t2.$set(e3, "paymentTime", a3);
|
|
}, expression: "item.paymentTime" } })], 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 6 } }, [1 === t2.payType ? a2("el-form-item", { key: "ratio" + r2, staticClass: "is-required", attrs: { label: "付款比例", prop: "contractPaymentInfoList[" + r2 + "].ratio", rules: { required: true, message: "请输入付款比例", trigger: "blur" } } }, [a2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入付款比例", maxlength: "5", "show-word-limit": "" }, on: { input: function(e4) {
|
|
return t2.priceInput(e4, "ratio", 1, r2);
|
|
}, blur: function(e4) {
|
|
return t2.paymentValueChange(e4, r2, 1);
|
|
} }, model: { value: e3.ratio, callback: function(a3) {
|
|
t2.$set(e3, "ratio", a3);
|
|
}, expression: "item.ratio" } }, [a2("template", { slot: "append" }, [t2._v("%")])], 2)], 1) : a2("el-form-item", { key: "amount" + r2, staticClass: "is-required", attrs: { label: 0 == t2.ontractForm.method ? "付款金额" : "收款金额", prop: "contractPaymentInfoList[" + r2 + "].amount", rules: { required: true, message: "请输入收/付款金额", trigger: "blur" } } }, [a2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入收/付款金额", maxlength: "13", "show-word-limit": "" }, on: { input: function(e4) {
|
|
return t2.priceInput(e4, "amount", 1, r2);
|
|
}, blur: function(e4) {
|
|
return t2.paymentValueChange(e4, r2, 2);
|
|
} }, model: { value: e3.amount, callback: function(a3) {
|
|
t2.$set(e3, "amount", a3);
|
|
}, expression: "item.amount" } }, [a2("template", { slot: "append" }, [t2._v("元")])], 2)], 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { key: "amount" + r2, staticClass: "is-required", attrs: { label: 0 == t2.ontractForm.method ? "付款状态" : "收款状态", prop: "contractPaymentInfoList[" + r2 + "].payStatus", rules: { required: true, message: "请选择收/付款状态", trigger: "change" } } }, [a2("el-select", { staticClass: "select-dom", attrs: { disabled: t2.disabled, placeholder: "请选择收/付款状态" }, model: { value: e3.payStatus, callback: function(a3) {
|
|
t2.$set(e3, "payStatus", a3);
|
|
}, expression: "item.payStatus" } }, [a2("el-option", { attrs: { label: 0 == t2.ontractForm.method ? "已付款" : "已收款", value: 1 } }), t2._v(" "), a2("el-option", { attrs: { label: 0 == t2.ontractForm.method ? "未付款" : "未收款", value: 0 } })], 1)], 1)], 1), t2._v(" "), a2("el-col", { attrs: { offset: 1, span: 4 } }, [r2 === t2.ontractForm.contractPaymentInfoList.length - 1 ? a2("el-button", { staticClass: "payTypeOptBtn", attrs: { disabled: t2.disabled, type: "primary", icon: "el-icon-circle-plus-outline", size: "mini" }, on: { click: function(e4) {
|
|
return t2.addcontractPaymentInfoList(r2);
|
|
} } }) : t2._e(), t2._v(" "), r2 < t2.ontractForm.contractPaymentInfoList.length - 1 ? a2("el-button", { staticClass: "payTypeOptBtn", attrs: { disabled: t2.disabled, type: "primary", icon: "el-icon-delete", size: "mini" }, on: { click: function(e4) {
|
|
return t2.deletecontractPaymentInfoList(r2);
|
|
} } }) : t2._e()], 1)], 1);
|
|
}))], 2), t2._v(" "), a2("div", { staticClass: "rule typeface" }, [t2._v(t2._s(t2.classifyTitle) + "文件资料")]), t2._v(" "), a2("div", { staticClass: "vote-questions" }, [a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { staticClass: "is-required", attrs: { label: "上传附件:", prop: "fileUrl" } }, [a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "支持扩展名: .doc .docx .xls .xlsx .pdf ", placement: "top" } }, [a2("span", { staticClass: "el-icon-info" })]), t2._v(" "), "view" !== t2.type ? a2("span", { staticClass: "imagvVdeo" }, [a2("AliOSSUpload", { attrs: { limit: 6, disabled: t2.disabled, isShowClose: t2.disabled, accept: t2.accept, allowFileType: t2.allowFileType2, fileList: t2.fileListInfo, isChangeFileName: false, showFileList: true, listType: "text" }, on: { getUploadData: t2.getUploadData2 }, scopedSlots: t2._u([{ key: "uploadButton", fn: function() {
|
|
return [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], staticClass: "el-icon-upload", attrs: { type: "primary", disabled: t2.disabled, plain: "", size: "small" } }, [t2._v("选择附件")])];
|
|
}, proxy: true }], null, false, 3736315497) })], 1) : a2("div", { staticClass: "file-list" }, t2._l(t2.fileListInfo, (function(e3, r2) {
|
|
return a2("div", { key: r2, staticClass: "file-name", on: { click: function(a3) {
|
|
return t2.fileViewS(e3.url);
|
|
} } }, [t2._v("\n " + t2._s(e3.name) + "\n ")]);
|
|
})), 0)], 1)], 1)], 1)], 1)]), t2._v(" "), a2("div", { staticClass: "vote-submit-options" }, [a2("el-button", { on: { click: t2.cancel } }, [t2._v("取消")]), t2._v(" "), a2("el-button", { attrs: { type: "primary", disabled: t2.disabled, loading: t2.isPost }, on: { click: function(e3) {
|
|
return t2.save("ontractForm");
|
|
} } }, [t2._v("保存")])], 1)], 1)], 1);
|
|
}, o = [], n = (a("9f60"), a("94f0"), a("0c84"), a("2843"), a("4057"), a("8dee"), a("32ea"), a("1bc7"), a("e5b4"), a("fc02"), a("e680"), a("a450"), a("4513")), i = a("e211"), s = a("61f7"), l = a("67d5"), c = a("8988"), u = a("35ad"), p = a("a6b9"), d = a("0b37"), m = a("dce5");
|
|
function f(t2, e2) {
|
|
var a2 = "undefined" != typeof Symbol && t2[Symbol.iterator] || t2["@@iterator"];
|
|
if (!a2) {
|
|
if (Array.isArray(t2) || (a2 = _(t2)) || e2 && t2 && "number" == typeof t2.length) {
|
|
a2 && (t2 = a2);
|
|
var r2 = 0, o2 = function() {
|
|
};
|
|
return { s: o2, n: function() {
|
|
return r2 >= t2.length ? { done: true } : { done: false, value: t2[r2++] };
|
|
}, e: function(t3) {
|
|
throw t3;
|
|
}, f: o2 };
|
|
}
|
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
}
|
|
var n2, i2 = true, s2 = false;
|
|
return { s: function() {
|
|
a2 = a2.call(t2);
|
|
}, n: function() {
|
|
var t3 = a2.next();
|
|
return i2 = t3.done, t3;
|
|
}, e: function(t3) {
|
|
s2 = true, n2 = t3;
|
|
}, f: function() {
|
|
try {
|
|
i2 || null == a2.return || a2.return();
|
|
} finally {
|
|
if (s2) throw n2;
|
|
}
|
|
} };
|
|
}
|
|
function _(t2, e2) {
|
|
if (t2) {
|
|
if ("string" == typeof t2) return y(t2, e2);
|
|
var a2 = {}.toString.call(t2).slice(8, -1);
|
|
return "Object" === a2 && t2.constructor && (a2 = t2.constructor.name), "Map" === a2 || "Set" === a2 ? Array.from(t2) : "Arguments" === a2 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a2) ? y(t2, e2) : void 0;
|
|
}
|
|
}
|
|
function y(t2, e2) {
|
|
(null == e2 || e2 > t2.length) && (e2 = t2.length);
|
|
for (var a2 = 0, r2 = Array(e2); a2 < e2; a2++) r2[a2] = t2[a2];
|
|
return r2;
|
|
}
|
|
var g = { components: { AliOSSUpload: c["a"] }, props: { type: { type: String, default: "add" } }, data: function() {
|
|
var t2 = function(t3, e3, a2) {
|
|
e3.length < 11 ? a2(new Error("联系电话不能少于11位")) : a2();
|
|
}, e2 = function(t3, e3, a2) {
|
|
var r2 = Object(s["a"])(e3);
|
|
r2[0] ? a2(new Error(r2[1])) : a2();
|
|
};
|
|
return { options: i["c"], allowFileType2: ["file"], accept: ".pdf", fileListInfo: [], content: "新建", classifyTitle: "合同", disabled: false, projectList: [], ontractForm: { companyId: JSON.parse(window.localStorage.getItem("companyInfo")).osId, amount: "", contractNo: "", firstBank: "", firstBankAccount: "", firstContactPhone: "", firstContactPhone2: "", firstDelegateName: "", firstSupplierId: "", name: "", secondSupplierId: "", secondBank: "", secondBankAccount: "", secondContactPhone: "", secondDelegateName: "", endTime: "", signTime: "", startTime: "", method: 0, type: 1, projectUuid: [], fileUrl: "", contractPaymentInfoList: [{ paymentTime: "", amount: "", ratio: "", payStatus: 0, type: 2 }], category: [], targetInfo: [{ leaseType: 1, target: "" }], contractInfo: { partyAType: 1, partyAId: "", partyAName: "", partyAIdCard: "", partyAPerson: "", partyAPhone: "", partyBType: 2, partyBId: "", partyBName: "", partyBIdCard: "", partyBPerson: "", partyBPhone: "" } }, isPost: false, payType: 2, firstSupplierType: 2, firstSupplierList: [], secondSupplierType: 2, secondSupplierList: [], rules: { contractNo: [{ required: true, message: "请填写合同金额", trigger: "blur" }], name: [{ required: true, message: "请填写合同名称", trigger: "blur" }], amount: [{ required: true, message: "请填写金额", trigger: "blur" }], projectUuid: [{ required: true, message: "请选择覆盖项目", trigger: "change" }], type: [{ required: true, message: "请选择合同类型", trigger: "change" }], endTime: [{ required: true, message: "请选择合同结束时间", trigger: "change" }], method: [{ required: true, message: "请选择款项方向", trigger: "change" }], signTime: [{ required: true, message: "请选择合同签订时间", trigger: "change" }], startTime: [{ required: true, message: "请选择合同开始时间", trigger: "change" }], firstSupplierId: [{ required: true, message: "请选择甲方名称", trigger: "change" }], firstDelegateName: [{ required: true, message: "请输入甲方代表姓名", trigger: "blur" }], firstContactPhone: [{ required: true, message: "请填写甲方代表联系方式", trigger: "blur" }, { required: true, validator: t2, trigger: "blur" }], firstBank: [{ required: true, message: "请填写甲方开户银行", trigger: "blur" }], firstBankAccount: [{ required: true, message: "请填写甲方开户银行", trigger: "blur" }], secondSupplierId: [{ required: true, message: "请选择乙方名称", trigger: "change" }], secondDelegateName: [{ required: true, message: "请输入乙方代表姓名", trigger: "blur" }], secondContactPhone: [{ required: true, message: "请填写乙方代表联系方式", trigger: "blur" }, { required: true, validator: t2, trigger: "blur" }], secondBank: [{ required: true, message: "请填写乙方开户银行", trigger: "blur" }], secondBankAccount: [{ required: true, message: "请填写乙方开户银行", trigger: "blur" }], category: [{ required: true, message: "请选择合同归属", trigger: "change" }] }, contractInfoRules: { partyBPhone: [{ required: true, message: "请输入乙方代表联系方式", trigger: "blur" }, { required: true, validator: t2, trigger: "blur" }], partyBIdCard: [{ required: true, message: "请输入身份证号码", trigger: "blur" }, { required: true, validator: e2, trigger: "blur" }] }, payTypeList: [{ name: "付款比例", value: 1 }, { name: "付款金额", value: 2 }, { name: "按月付款", value: 3 }], supplierType: [{ name: "供应商", value: 1 }, { name: "分公司", value: 2 }], contractTypeList: m["y"], ascriptionList: m["j"], leaseTypeList: m["T"], contractInfoPartyTypeList: [{ name: "公司", value: 1 }, { name: "个人", value: 2 }], orgList: [], fullscreenLoading: false };
|
|
}, computed: { allSupplierList: function() {
|
|
return this.$store.state.user.allSupplierList;
|
|
}, allSupplierList2: function() {
|
|
return this.$store.state.user.allSupplierList2;
|
|
} }, mounted: function() {
|
|
this.getOrganizeList();
|
|
}, methods: { getTreeData: function(t2) {
|
|
for (var e2 = 0; e2 < t2.length; e2++) t2[e2].corpUuid && (t2[e2].uid = t2[e2].corpUuid, t2[e2].nameTxt = t2[e2].name), t2[e2].childs.map((function(t3) {
|
|
t3.uid = t3.uuid, t3.nameTxt = 1 == t3.attribute ? "".concat(t3.name, "(组织)") : "".concat(t3.name, "(部门)");
|
|
})), t2[e2].childs.length < 1 ? t2[e2].childs = void 0 : this.getTreeData(t2[e2].childs);
|
|
return t2;
|
|
}, getOrganizeList: function() {
|
|
var t2 = this, e2 = this.$loading({ lock: true, text: "Loading", spinner: "el-icon-loading", background: "rgba(0, 0, 0, 0.7)" }), a2 = { id: JSON.parse(localStorage.getItem("companyInfo")).osId, roleId: Number(localStorage.getItem("roleId")) };
|
|
Object(n["w"])(a2).then((function(a3) {
|
|
a3 && a3.data.length > 0 ? (t2.orgList = t2.getTreeData(a3.data), e2.close()) : e2.close();
|
|
})).catch((function() {
|
|
e2.close();
|
|
}));
|
|
}, getInfoLst: function(t2) {
|
|
if (this.ontractForm.companyId = JSON.parse(window.localStorage.getItem("companyInfo")).osId, this.getProjectInfo(), void 0 != t2 && t2.id && this.getContractById(t2.id), "view" === this.type || "edit" === this.type) "view" === this.type ? (this.content = "查看".concat(this.classifyTitle), this.disabled = true) : (this.content = "编辑".concat(this.classifyTitle), this.disabled = false);
|
|
else if ("add" === this.type) {
|
|
var e2 = this.groupArr(this.allSupplierList, (function(t3) {
|
|
return [t3.type];
|
|
}));
|
|
this.firstSupplierList = e2[0], this.secondSupplierList = e2[0], this.content = "新建".concat(this.classifyTitle);
|
|
}
|
|
}, getContractById: function(t2) {
|
|
var e2 = this, a2 = { id: t2 };
|
|
Object(u["f"])(a2).then((function(t3) {
|
|
0 === t3.code && t3.data && (e2.ontractForm = Object.assign({}, t3.data), t3.data.category.indexOf(",") > 0 ? e2.ontractForm.category = t3.data.category.split(",").map((function(t4) {
|
|
return Number(t4);
|
|
})) : t3.data.category ? e2.ontractForm.category = [Number(t3.data.category)] : e2.ontractForm.category = [], t3.data.projectUuid.indexOf(",") > 0 ? e2.ontractForm.projectUuid = t3.data.projectUuid.split(",") : e2.ontractForm.projectUuid = [t3.data.projectUuid], e2.payType = t3.data.contractPaymentInfoRespDTOList[0].type, e2.ontractForm.contractPaymentInfoList = t3.data.contractPaymentInfoRespDTOList, 4 === t3.data.type && (e2.ontractForm.targetInfo = JSON.parse(t3.data.targetInfo), e2.ontractForm.contractInfo = JSON.parse(t3.data.contractInfo)), e2.reviewSupplierType(), e2.getfFile());
|
|
}));
|
|
}, reviewSupplierType: function() {
|
|
var t2 = this;
|
|
"view" !== this.type && "edit" !== this.type || (this.$nextTick((function() {
|
|
var e2 = t2.allSupplierList2.concat(t2.allSupplierList), a2 = e2.filter((function(e3) {
|
|
return e3.id === t2.ontractForm.firstSupplierId;
|
|
})), r2 = e2.filter((function(e3) {
|
|
return e3.id === t2.ontractForm.secondSupplierId;
|
|
}));
|
|
a2.length > 0 ? (t2.firstSupplierType = a2[0].type, t2.querySupplierList(1, t2.firstSupplierType)) : t2.firstSupplierType = 1, r2.length > 0 ? (t2.secondSupplierType = r2[0].type, t2.querySupplierList(2, t2.secondSupplierType)) : t2.secondSupplierType = 1;
|
|
})), this.$forceUpdate());
|
|
}, setThisleaseType: function(t2) {
|
|
var e2 = this.leaseTypeList.find((function(e3) {
|
|
return e3.value === t2;
|
|
}));
|
|
return e2.name;
|
|
}, querySupplierList: function(t2, e2) {
|
|
var a2 = this, r2 = { pageSize: -1, pageNumber: -1, type: e2, companyId: this.ontractForm.companyId };
|
|
Object(p["c"])(r2).then((function(r3) {
|
|
if (0 === r3.code && r3.data) {
|
|
var o2 = r3.data.records;
|
|
if (0 === e2) {
|
|
a2.allSupplierList = o2;
|
|
var n2 = a2.groupArr(o2, (function(t3) {
|
|
return [t3.type];
|
|
}));
|
|
a2.firstSupplierList = n2[0], a2.secondSupplierList = n2[0];
|
|
} else 1 === t2 ? a2.firstSupplierList = o2 : a2.secondSupplierList = o2;
|
|
}
|
|
}));
|
|
}, groupArr: function(t2, e2) {
|
|
var a2 = {};
|
|
return t2.forEach((function(t3) {
|
|
var r2 = JSON.stringify(e2(t3));
|
|
a2[r2] = a2[r2] || [], a2[r2].push(t3);
|
|
})), Object.keys(a2).map((function(t3) {
|
|
return a2[t3];
|
|
}));
|
|
}, getProjectInfo: function() {
|
|
var t2 = this, e2 = JSON.parse(window.localStorage.getItem("companyInfo")).osId;
|
|
Object(l["j"])({ id: e2, attribute: 1 }).then((function(e3) {
|
|
0 === e3.code && e3.data ? t2.projectList = e3.data : t2.projectList = [], setTimeout((function() {
|
|
t2.$nextTick((function() {
|
|
t2.$refs.ontractForm.clearValidate("projectUuid");
|
|
})), t2.$forceUpdate();
|
|
}), 200);
|
|
}));
|
|
}, contractTypeChange: function(t2) {
|
|
4 === t2 ? (this.ontractForm.category = [7], this.payType = 3, this.$set(this.ontractForm.contractPaymentInfoList[0], "type", 3)) : (this.payType = 1, this.$set(this.ontractForm.contractPaymentInfoList[0], "type", 1));
|
|
}, supplierTypeChange: function(t2, e2) {
|
|
1 === e2 ? (this.ontractForm.firstSupplierId = "", this.ontractForm.firstBank = "", this.ontractForm.firstBankAccount = "", this.ontractForm.firstContactPhone = "", this.ontractForm.firstDelegateName = "", this.ontractForm.firstName = "", this.querySupplierList(e2, t2)) : (this.ontractForm.secondBank = "", this.ontractForm.secondBankAccount = "", this.ontractForm.secondContactPhone = "", this.ontractForm.secondDelegateName = "", this.ontractForm.secondName = "", this.ontractForm.secondSupplierId = "", this.querySupplierList(e2, t2));
|
|
}, save: function(t2) {
|
|
var e2 = this;
|
|
this.$refs[t2].validate((function(t3) {
|
|
if (t3) {
|
|
var a2, r2 = e2.ontractForm.contractPaymentInfoList, o2 = 0, n2 = f(r2);
|
|
try {
|
|
for (n2.s(); !(a2 = n2.n()).done; ) {
|
|
var i2 = a2.value;
|
|
if ("" === i2.paymentTime) return e2.$message({ type: "error", message: "付款时间为空,请输入付款时间" }), false;
|
|
if (1 === e2.payType) {
|
|
if ("" === i2.ratio) return e2.$message({ type: "error", message: "付款比例为空,请输入分期付款比例" }), false;
|
|
o2 = Object(d["a"])(o2, i2.ratio);
|
|
} else {
|
|
if ("" === i2.amount) return e2.$message({ type: "error", message: "付款金额为空,请输入分期付款金额" }), false;
|
|
o2 = Object(d["a"])(o2, i2.amount);
|
|
}
|
|
}
|
|
} catch (l2) {
|
|
n2.e(l2);
|
|
} finally {
|
|
n2.f();
|
|
}
|
|
if (1 === e2.payType && 100 !== o2) return e2.$message({ type: "error", message: "付款比例之和不等于100%,请重新输入付款比例" }), false;
|
|
if (2 === e2.payType && o2 !== Number(e2.ontractForm.amount)) return e2.$message({ type: "error", message: "分期付款之和不等于合同金额,请重新输入分期付款金额" }), false;
|
|
if ("" === e2.ontractForm.fileUrl) return e2.$message({ type: "error", message: "请选择合同文件资料上传" }), false;
|
|
var s2 = Object.assign({}, e2.ontractForm);
|
|
s2.category = e2.ontractForm.category.join(","), s2.projectUuid = e2.ontractForm.projectUuid.join(","), 4 === e2.ontractForm.type && e2.ontractForm.targetInfo.length > 0 ? (s2.targetInfo = JSON.stringify(e2.ontractForm.targetInfo), s2.contractInfo = JSON.stringify(e2.ontractForm.contractInfo), s2.firstDelegateName = e2.ontractForm.contractInfo.partyAPerson, s2.secondDelegateName = e2.ontractForm.contractInfo.partyBPerson) : (s2.targetInfo = "", s2.contractInfo = ""), console.log("contractSubmit", s2), e2.isPost = true, "edit" === e2.type ? (s2.opName = JSON.parse(window.localStorage.getItem("memberInfor")).name, e2.updataForm(s2)) : (s2.createName = JSON.parse(window.localStorage.getItem("memberInfor")).name, Object(u["a"])(s2).then((function(t4) {
|
|
e2.$message({ message: "添加成功", type: "success" }), e2.isPost = false, e2.goBack();
|
|
})).catch((function() {
|
|
e2.isPost = false;
|
|
})));
|
|
}
|
|
}));
|
|
}, updataForm: function(t2) {
|
|
var e2 = this;
|
|
Object(u["g"])(t2).then((function(t3) {
|
|
e2.$message({ message: "修改成功", type: "success" }), e2.isPost = false, e2.goBack();
|
|
})).catch((function() {
|
|
e2.isPost = false;
|
|
}));
|
|
}, editBusiness: function() {
|
|
this.type = "edit", this.content = "编辑合同", this.disabled = false;
|
|
}, cancel: function() {
|
|
this.goBack();
|
|
}, selectChangefirstSupplier: function(t2) {
|
|
this.getAIAlearmType(t2, 1);
|
|
}, selectChangeSecondSupplier: function(t2) {
|
|
this.getAIAlearmType(t2, 2);
|
|
}, getAIAlearmType: function(t2, e2) {
|
|
var a2 = 1 === e2 ? this.firstSupplierList : this.secondSupplierList;
|
|
if (null != t2 && "" != t2 && void 0 != t2) {
|
|
var r2 = a2.filter((function(e3) {
|
|
return e3.id == t2;
|
|
}));
|
|
r2.length > 0 && (1 === e2 ? (this.ontractForm.firstBank = r2[0].bankName, this.ontractForm.firstBankAccount = r2[0].bankAccount) : (this.ontractForm.secondBank = r2[0].bankName, this.ontractForm.secondBankAccount = r2[0].bankAccount));
|
|
}
|
|
}, paymentTimeChange: function(t2, e2) {
|
|
}, paymentValueChange: function(t2, e2, a2) {
|
|
}, payTypeChange: function(t2) {
|
|
var e2 = this, a2 = this.ontractForm.contractPaymentInfoList;
|
|
a2.map((function(a3, r2) {
|
|
e2.$set(e2.ontractForm.contractPaymentInfoList[r2], "type", e2.payType), 1 === t2 ? e2.$set(e2.ontractForm.contractPaymentInfoList[r2], "ratio", "") : e2.$set(e2.ontractForm.contractPaymentInfoList[r2], "amount", "");
|
|
}));
|
|
}, addcontractPaymentInfoList: function(t2) {
|
|
var e2 = this, a2 = { paymentTime: "", amount: "", ratio: "", payStatus: 0, type: this.payType }, r2 = "add" === this.type ? a2 : Object.assign({ contractId: this.ontractForm.id }, a2), o2 = "paymentTime".concat(t2 + 1), n2 = "value".concat(t2 + 1), i2 = {};
|
|
i2[o2] = [{ required: true, message: "请选择付款时间", trigger: "change" }], i2[n2] = [{ required: true, message: "请输入", trigger: "blur" }], this.$nextTick((function() {
|
|
e2.ontractForm.contractPaymentInfoList.push(r2);
|
|
})), this.$forceUpdate();
|
|
}, deletecontractPaymentInfoList: function(t2) {
|
|
var e2 = this;
|
|
this.$confirm("确定该选项吗?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "info", center: true }).then((function() {
|
|
var a2 = e2.ontractForm.contractPaymentInfoList, r2 = a2[t2];
|
|
void 0 != r2.id ? Object(u["e"])({ id: r2.id }).then((function(r3) {
|
|
0 === r3.code ? (a2.splice(t2, 1), e2.$nextTick((function() {
|
|
e2.$set(e2.ontractForm, "contractPaymentInfoList", a2);
|
|
})), e2.$forceUpdate(), e2.$message({ type: "success", message: "删除成功" })) : e2.$message({ type: "error", message: "删除失败" });
|
|
})) : (a2.splice(t2, 1), e2.$nextTick((function() {
|
|
e2.$set(e2.ontractForm, "contractPaymentInfoList", a2);
|
|
})), e2.$forceUpdate());
|
|
})).catch((function() {
|
|
}));
|
|
}, addcontracttargetInfoList: function(t2) {
|
|
var e2 = this, a2 = { leaseType: 1, target: "" };
|
|
this.$nextTick((function() {
|
|
e2.ontractForm.targetInfo.push(a2);
|
|
})), this.$forceUpdate();
|
|
}, deletecontracttargetInfoList: function(t2) {
|
|
var e2 = this;
|
|
this.$confirm("确定删除该信息吗?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "info", center: true }).then((function() {
|
|
var a2 = e2.ontractForm.targetInfo;
|
|
a2[t2];
|
|
a2.splice(t2, 1), e2.$nextTick((function() {
|
|
e2.$set(e2.ontractForm, "targetInfo", a2);
|
|
})), e2.$forceUpdate();
|
|
})).catch((function() {
|
|
}));
|
|
}, getfFile: function() {
|
|
var t2 = this, e2 = this.ontractForm.fileUrl;
|
|
e2 ? e2.indexOf(",") > 0 ? this.fileListInfo = e2.split(",").map((function(e3) {
|
|
return { url: e3, name: t2.getFileName(e3) };
|
|
})) : e2.indexOf(";") > 0 ? this.fileListInfo = e2.split(";").map((function(e3) {
|
|
return { url: e3, name: t2.getFileName(e3) };
|
|
})) : this.fileListInfo.push({ url: e2, name: this.getFileName(e2) }) : this.fileListInfo = [];
|
|
}, getFileName: function(t2) {
|
|
var e2 = t2.lastIndexOf("/");
|
|
return -1 !== e2 ? decodeURI(t2.slice(e2 + 1)) : "";
|
|
}, getUploadData2: function(t2) {
|
|
var e2 = [];
|
|
t2 && t2.length > 0 && t2.forEach((function(t3) {
|
|
e2.push(t3.filePath);
|
|
})), this.ontractForm.fileUrl = e2.join(",");
|
|
}, setData: function(t2) {
|
|
i["textToCode"][t2.province], i["textToCode"][t2.province][t2.city], i["textToCode"][t2.province][t2.city][t2.area];
|
|
}, updataInputChanges: function(t2, e2, a2) {
|
|
this.$refs[e2]["model"][a2] = t2.target.value;
|
|
}, priceInput: function(t2, e2, a2, r2) {
|
|
var o2 = this;
|
|
a2 = a2 || 0, t2 = t2.replace(/[^\d\.]/g, ""), t2 = t2.replace(/^\./g, ""), t2 = t2.replace(/^0\d[0-9]*/g, ""), t2 = t2.replace(/\.{2,}/g, "."), t2 = t2.replace(".", "$#$").replace(/\./g, "").replace("$#$", "."), t2 = t2.replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3"), this.$nextTick((function() {
|
|
0 === a2 ? o2.ontractForm[e2] = t2 : o2.ontractForm.contractPaymentInfoList[r2][e2] = t2;
|
|
}));
|
|
}, handleChange: function(t2) {
|
|
this.ontractForm.province = i["a"][t2[0]], this.ontractForm.city = i["a"][t2[1]], this.ontractForm.area = i["a"][t2[2]];
|
|
}, fileViewS: function(t2) {
|
|
window.open(t2);
|
|
}, goBack: function() {
|
|
this.$emit("goBack");
|
|
} } }, h = g, b = (a("f807"), a("829d")), v = Object(b["a"])(h, r, o, false, null, "71988bf0", null);
|
|
e["a"] = v.exports;
|
|
}, a295: function(t, e) {
|
|
t.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAYCAYAAAD+vg1LAAAEnUlEQVRIS5WVXWxURRTH/2dmd3t37y7tstsuLB+ptEWkKBDhwaiADz4IGo2gBpHESAREg1ASEzFBnxD1zcRgAjGiCRJ5AF80JIoCxr6AEhERbKlKKSxtd+l+3e3unXPM3bLlo9HCPN3cmfOb/8z5zzmE2xgXpiLoFO2HvKXBUOHHab1wxguj8RZ487+HQpMDIdrlfZeL8vLsYvHSeHFV8HHAH41GQzMymRwBfGvQadueZAWxWwDSDtbcVShcvnWNAP6/bDuWDYdzc1OpQhX8Z2PDfG3MSqPkawzkO9uA4RsDu6PRemj3YRBxXgWPeIE3zvclk6GsO/S0j9UqY+jDmZnsIfJUnG0IL/Fp9RFI8qR5TUuqcOpLQN9j2/FggFuN0vO0ICFEBRG3i3x80vbFLiX7+oojwvzzSaxdENRB3HWtaeenqmJPEavKKq3UIhHZlglEehuc/GLRZgOB5kIgRGS8tQLxk9BVBr6AuJ+1pZ2LPbadcC28qFj/GrCz33vJHU1eTzMsM4AJ5I8OizKrCbKFSfwK6phADrvMF7SmiGK6X4ClUJhMwA+GZdvJwfy5RYmEdTSVKj0LVAXc5AoBdFdjeLkSeh+EIWHztmUVj025iGxVLMBn43Fbc2maUtQhwDNg+cZX4s3NtzjlJnBPg9Vs/P69JJjETK+0prPfei7pmhicCqUfLBf5SM1q3VFrOmvfu0T0qBi8WU7nPm8HyrWkjoI9y02IRVZpwnYIPi0pa3t7f3/+j3g84pfhrQI84UI2zhrMH64Fd8dCC4X0PhHp1iVZPaNQSI0B/wI0ROLh9yB4TLR5ru2K0+ld1ZmoPSegab+AsiB6vqU/e77m9TNTEPOVIx8TY2GZ5fHZmfxvY8Bd4XATWbJbhFpd1102a6jU46n1UekNguoQwRFms1+LThUy2c77gMzlRMLOc3ErWF4gyEstg4XvxoDP23ZCgvoTAZrIlJe3ZEr/dIXRRHWRnaKwGIKKEHxguQKDDa1X80dPJJPB+kpuEwnWsrgdbYPOARpJ8nVXXAdLI5nKCg98GgioiZEFPmC2UlgsJCsAOuGWK6u9Ex1PJkP1w7nXFWGdYXfL3rRz4J1rJWE0eTUwgEaYchVcO9a5+voZ2md2CtEcYrXxRHrooOfXKriS26QEa424HXsHnYO3Dfae9rym4FOafR8Acqg0kH+rHUhXi9cdguPMleVtaad35AmDzsdCC5jUUgPaN2sgd7Z2kh7AcmP2JiK13rvj/1UsQKJMWBmpy/amOEkJpSQ73Ksn9COAqXC8fx44ofokCwQDpfBrBKxhMZv/E8wW7SGqFp09Ak6LUr5rT1lIlCFizYCqKmZmIfIr4BEQtRt2188cdA6OccXf0xGtFMM7BFhGQhUQ2LuG/+oUHmBkXgKKVL+YyqteubzJx9XiA/hMPNKsgbtBYl1TOl4HghjDxHoQKvBzazrt1WchwNDpieH2OoV7WcgizYYECqxuqxeO7qq52s7YVVopcYYZp6g7FtkByJMABb3dmEZezp0M79LFE0RCJCgC9BWdaQgvUZoe0EJBUWMb6Z1sQAxlSBw20vkvFPNbDgATQSEAAAAASUVORK5CYII=";
|
|
}, a6b9: function(t, e, a) {
|
|
"use strict";
|
|
a.d(e, "c", (function() {
|
|
return o;
|
|
})), a.d(e, "a", (function() {
|
|
return n;
|
|
})), a.d(e, "d", (function() {
|
|
return i;
|
|
})), a.d(e, "e", (function() {
|
|
return s;
|
|
})), a.d(e, "b", (function() {
|
|
return l;
|
|
}));
|
|
var r = a("b775");
|
|
function o(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/supplier/pageList", method: "POST", data: t2 });
|
|
}
|
|
function n(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/supplier/add", method: "POST", data: t2 });
|
|
}
|
|
function i(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/supplier/update", method: "POST", data: t2 });
|
|
}
|
|
function s(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/supplier/updateInvoiceStatus", method: "POST", data: t2 });
|
|
}
|
|
function l(t2) {
|
|
return Object(r["a"])({ url: "/hakocompany/supplier/delete", method: "post", data: t2 });
|
|
}
|
|
}, bc2e: function(t, e, a) {
|
|
}, bed4: function(t, e, a) {
|
|
"use strict";
|
|
a.r(e);
|
|
var r = function() {
|
|
var t2 = this, e2 = t2.$createElement, r2 = t2._self._c || e2;
|
|
return r2("div", { staticClass: "workPointsManage" }, [t2.infoList ? r2("div", { staticClass: "workPointsRuleList" }, [r2("el-card", { ref: "box-card", staticClass: "box-card secarch-box", style: { height: t2.height + "px" } }, [r2("el-form", { ref: "query", attrs: { model: t2.query } }, [r2("el-row", [r2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [r2("el-form-item", { attrs: { prop: "contractNo" } }, [r2("el-input", { attrs: { type: "text", clearable: "", placeholder: "合同编号" }, model: { value: t2.query.contractNo, callback: function(e3) {
|
|
t2.$set(t2.query, "contractNo", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "query.contractNo" } })], 1)], 1), t2._v(" "), r2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [r2("el-form-item", { attrs: { prop: "type" } }, [r2("el-select", { staticClass: "select-dom", attrs: { clearable: "", placeholder: "请选择合同类型" }, model: { value: t2.query.type, callback: function(e3) {
|
|
t2.$set(t2.query, "type", e3);
|
|
}, expression: "query.type" } }, t2._l(t2.contractTypeList, (function(t3) {
|
|
return r2("el-option", { key: t3.value, attrs: { label: t3.name, value: t3.value } });
|
|
})), 1)], 1)], 1), t2._v(" "), r2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [r2("el-form-item", { attrs: { prop: "name" } }, [r2("el-input", { attrs: { type: "text", clearable: "", placeholder: "合同名称" }, model: { value: t2.query.name, callback: function(e3) {
|
|
t2.$set(t2.query, "name", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "query.name" } })], 1)], 1), t2._v(" "), r2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [r2("el-form-item", { attrs: { prop: "projectUuid" } }, [r2("el-select", { staticClass: "select-dom", attrs: { clearable: "", placeholder: "请选择项目" }, model: { value: t2.query.projectUuid, callback: function(e3) {
|
|
t2.$set(t2.query, "projectUuid", e3);
|
|
}, expression: "query.projectUuid" } }, t2._l(t2.projectList, (function(t3) {
|
|
return r2("el-option", { key: t3.uuid, attrs: { label: t3.name, value: t3.uuid } });
|
|
})), 1)], 1)], 1), t2._v(" "), r2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [r2("el-form-item", { attrs: { prop: "firstName" } }, [r2("el-input", { attrs: { type: "text", clearable: "", placeholder: "甲方" }, model: { value: t2.query.firstName, callback: function(e3) {
|
|
t2.$set(t2.query, "firstName", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "query.firstName" } })], 1)], 1), t2._v(" "), r2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [r2("div", { staticStyle: { float: "right" } }, [r2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(e3) {
|
|
return t2.resetForm();
|
|
} } }, [t2._v("重置")]), t2._v(" "), r2("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 ? t2._e() : r2("el-button", { attrs: { type: "text" }, on: { click: t2.upAndDown } }, [t2._v("展开"), r2("i", { staticClass: "el-icon-arrow-down" })]), t2._v(" "), t2.is_show ? r2("el-button", { attrs: { type: "text" }, on: { click: t2.upAndDown } }, [t2._v("收起"), r2("i", { staticClass: "el-icon-arrow-up" })]) : t2._e()], 1)])], 1), t2._v(" "), r2("el-row", [r2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [r2("el-form-item", { attrs: { prop: "firstDelegateName" } }, [r2("el-input", { attrs: { type: "text", clearable: "", placeholder: "甲方代表" }, model: { value: t2.query.firstDelegateName, callback: function(e3) {
|
|
t2.$set(t2.query, "firstDelegateName", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "query.firstDelegateName" } })], 1)], 1), t2._v(" "), r2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [r2("el-form-item", { attrs: { prop: "secondName" } }, [r2("el-input", { attrs: { type: "text", clearable: "", placeholder: "乙方" }, model: { value: t2.query.secondName, callback: function(e3) {
|
|
t2.$set(t2.query, "secondName", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "query.secondName" } })], 1)], 1), t2._v(" "), r2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [r2("el-form-item", { attrs: { prop: "secondDelegateName" } }, [r2("el-input", { attrs: { type: "text", clearable: "", placeholder: "乙方代表" }, model: { value: t2.query.secondDelegateName, callback: function(e3) {
|
|
t2.$set(t2.query, "secondDelegateName", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "query.secondDelegateName" } })], 1)], 1), t2._v(" "), r2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [r2("el-form-item", { attrs: { prop: "category" } }, [r2("el-select", { staticClass: "select-dom", attrs: { clearable: "", placeholder: "请选择合同归属" }, model: { value: t2.query.category, callback: function(e3) {
|
|
t2.$set(t2.query, "category", e3);
|
|
}, expression: "query.category" } }, t2._l(t2.ascriptionList, (function(t3) {
|
|
return r2("el-option", { key: t3.value, attrs: { label: t3.name, value: t3.value } });
|
|
})), 1)], 1)], 1), t2._v(" "), r2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [r2("el-form-item", { attrs: { prop: "payStatus" } }, [r2("el-select", { staticClass: "select-dom", attrs: { clearable: "", placeholder: "收/付款状态", multiple: "", "collapse-tags": "" }, model: { value: t2.query.payStatus, callback: function(e3) {
|
|
t2.$set(t2.query, "payStatus", e3);
|
|
}, expression: "query.payStatus" } }, [r2("el-option", { attrs: { value: 1, label: "未支付/未收款" } }), t2._v(" "), r2("el-option", { attrs: { value: 2, label: "部分支付/部分收款" } }), t2._v(" "), r2("el-option", { attrs: { value: 3, label: "已支付/已收款" } })], 1)], 1)], 1), t2._v(" "), r2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [r2("el-form-item", { attrs: { prop: "method" } }, [r2("el-select", { staticClass: "select-dom", attrs: { clearable: "", placeholder: "款项类型" }, model: { value: t2.query.method, callback: function(e3) {
|
|
t2.$set(t2.query, "method", e3);
|
|
}, expression: "query.method" } }, [r2("el-option", { attrs: { label: "付款", value: 0 } }), t2._v(" "), r2("el-option", { attrs: { label: "收款", value: 1 } })], 1)], 1)], 1)], 1), t2._v(" "), r2("el-row", [r2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [r2("el-form-item", { attrs: { prop: "contractStatus" } }, [r2("el-select", { staticClass: "select-dom", attrs: { clearable: "", placeholder: "合同状态" }, model: { value: t2.query.contractStatus, callback: function(e3) {
|
|
t2.$set(t2.query, "contractStatus", e3);
|
|
}, expression: "query.contractStatus" } }, t2._l(t2.contractStatusList, (function(t3) {
|
|
return r2("el-option", { key: t3.value, attrs: { label: t3.label, value: t3.value } });
|
|
})), 1)], 1)], 1), t2._v(" "), r2("el-col", { staticClass: "elCol", attrs: { span: 6 } }, [r2("el-form-item", { attrs: { prop: "contractStatus" } }, [r2("el-date-picker", { attrs: { type: "daterange", "range-separator": "至", format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", "start-placeholder": "合同开始时间", "end-placeholder": "合同到期时间" }, on: { change: t2.getTime }, model: { value: t2.contractTime, callback: function(e3) {
|
|
t2.contractTime = e3;
|
|
}, expression: "contractTime" } })], 1)], 1), t2._v(" "), r2("el-col", { staticClass: "elCol", attrs: { span: 6 } }, [r2("el-form-item", { attrs: { prop: "contractStatus" } }, [r2("el-date-picker", { attrs: { type: "daterange", "range-separator": "至", format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", "start-placeholder": "应收/付款开始时间", "end-placeholder": "应收/付结束时间" }, on: { change: t2.getTime }, model: { value: t2.payTime, callback: function(e3) {
|
|
t2.payTime = e3;
|
|
}, expression: "payTime" } })], 1)], 1)], 1)], 1)], 1), t2._v(" "), r2("div", { staticClass: "custom-card" }, t2._l(t2.totalInfo, (function(e3, a2) {
|
|
return r2("el-card", { key: a2, staticClass: "box-card" }, [r2("div", { attrs: { slot: "header" }, slot: "header" }, [r2("span", { staticStyle: { "font-size": "16px", "font-weight": "700" } }, [t2._v(t2._s(e3.title))])]), t2._v(" "), "合同亮灯" !== e3.title ? r2("el-descriptions", { attrs: { column: e3.column } }, t2._l(e3.infoList, (function(e4, a3) {
|
|
return r2("el-descriptions-item", { key: a3, attrs: { label: e4.label } }, [t2._v(t2._s(e4.value))]);
|
|
})), 1) : t2._e(), t2._v(" "), "合同亮灯" == e3.title ? r2("el-descriptions", { attrs: { column: e3.column } }, [r2("div", { staticStyle: { "font-weight": "500" }, attrs: { slot: "title" }, slot: "title" }, [t2._v("到期时间:")]), t2._v(" "), r2("el-descriptions-item", { attrs: { label: "红灯" } }, [t2._v(t2._s(e3.infoList[0].value1))]), t2._v(" "), r2("el-descriptions-item", { attrs: { label: "黄灯" } }, [t2._v(t2._s(e3.infoList[0].value2))]), t2._v(" "), r2("el-descriptions-item", { attrs: { label: "绿灯" } }, [t2._v(t2._s(e3.infoList[0].value3))])], 1) : t2._e(), t2._v(" "), "合同亮灯" == e3.title ? r2("el-descriptions", { attrs: { column: e3.column } }, [r2("div", { staticStyle: { "font-weight": "500" }, attrs: { slot: "title" }, slot: "title" }, [t2._v("收/付款时间:")]), t2._v(" "), r2("el-descriptions-item", { attrs: { label: "红灯" } }, [t2._v(t2._s(e3.infoList[1].value1))]), t2._v(" "), r2("el-descriptions-item", { attrs: { label: "黄灯" } }, [t2._v(t2._s(e3.infoList[1].value2))]), t2._v(" "), r2("el-descriptions-item", { attrs: { label: "绿灯" } }, [t2._v(t2._s(e3.infoList[1].value3))])], 1) : t2._e()], 1);
|
|
})), 1), t2._v(" "), r2("el-card", { staticClass: "box-card", staticStyle: { "margin-top": "15px" } }, [r2("div", { staticClass: "planLst" }, [r2("span", { staticClass: "planTitle", staticStyle: { color: "#2f2c2c", "font-size": "16px" } }, [t2._v("合同列表")]), t2._v(" "), r2("span", { staticClass: "add" }, [r2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.addRuleGroup } }, [t2._v("新建合同")])], 1)]), t2._v(" "), r2("el-table", { staticStyle: { width: "100%", "margin-top": "15px" }, attrs: { border: "", data: t2.tableData, "header-cell-style": t2.headClass } }, [r2("el-table-column", { attrs: { label: "#", align: "center", "min-width": "50", fixed: "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("span", [t2._v(t2._s(e3.$index + (t2.query.pageNumber - 1) * t2.query.pageSize + 1) + "\n ")])];
|
|
} }], null, false, 3311124033) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", prop: "category", label: "亮灯(到期时间)", "min-width": "100", fixed: "left" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [1 == e3.row.endTimeLight ? r2("span", [r2("img", { attrs: { src: a("a295"), alt: "" } })]) : t2._e(), t2._v(" "), 2 == e3.row.endTimeLight ? r2("span", [r2("img", { attrs: { src: a("416e"), alt: "" } })]) : t2._e(), t2._v(" "), 3 == e3.row.endTimeLight ? r2("span", [r2("img", { attrs: { src: a("2124"), alt: "" } })]) : t2._e(), t2._v(" "), 1 !== e3.row.endTimeLight && 2 !== e3.row.endTimeLight && 3 !== e3.row.endTimeLight ? r2("span", [t2._v("-")]) : t2._e()];
|
|
} }], null, false, 2291735406) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", prop: "category", label: "亮灯(收/付款时间)", "min-width": "100", fixed: "left" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [1 == e3.row.payTimeLight ? r2("span", [r2("img", { attrs: { src: a("a295"), alt: "" } })]) : t2._e(), t2._v(" "), 2 == e3.row.payTimeLight ? r2("span", [r2("img", { attrs: { src: a("416e"), alt: "" } })]) : t2._e(), t2._v(" "), 3 == e3.row.payTimeLight ? r2("span", [r2("img", { attrs: { src: a("2124"), alt: "" } })]) : t2._e(), t2._v(" "), 1 !== e3.row.payTimeLight && 2 !== e3.row.payTimeLight && 3 !== e3.row.payTimeLight ? r2("span", [t2._v("-")]) : t2._e()];
|
|
} }], null, false, 1043577038) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", prop: "category", label: "合同归属", "min-width": "180", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("span", [t2._v(t2._s(t2.categoryArr(e3.row.category)))])];
|
|
} }], null, false, 748369958) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", prop: "contractNo", label: "合同编号", "min-width": "180", "show-overflow-tooltip": "" } }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", prop: "type", label: "合同类型", "min-width": "180", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(t2._f("getItemType")(e3.row.type, t2.contractTypeList, "value", "name")) + "\n ")];
|
|
} }], null, false, 2545986415) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", prop: "name", label: "合同名称", "min-width": "180", "show-overflow-tooltip": "" } }), t2._v(" "), r2("el-table-column", { attrs: { align: "right", prop: "amount", label: "合同金额", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(t2.formatNum(e3.row.amount)) + "\n ")];
|
|
} }], null, false, 4063420645) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", prop: "firstName", label: "甲方", "min-width": "160", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [4 != e3.row.type ? r2("span", [t2._v(t2._s(e3.row.firstName))]) : r2("span", [t2._v(t2._s(t2.reViewPartyInfor(e3.row, "partyAName")))])];
|
|
} }], null, false, 806657714) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", prop: "secondName", label: "乙方", "min-width": "160", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [4 != e3.row.type ? r2("span", [t2._v(t2._s(e3.row.secondName))]) : r2("span", [t2._v(t2._s(t2.reViewPartyInfor(e3.row, "partyBPerson")))])];
|
|
} }], null, false, 583470953) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", prop: "", label: "覆盖项目", "min-width": "160", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("span", [t2._v(t2._s(t2.reviewProjectName(e3.row.projectUuid)))])];
|
|
} }], null, false, 4064877847) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", prop: "startTime", label: "合同开始日期", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("span", [t2._v(t2._s(t2._f("formatDate")(e3.row.startTime, "Y-M-D")))])];
|
|
} }], null, false, 725928705) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", prop: "endTime", label: "合同结束日期", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("span", [t2._v(t2._s(t2._f("formatDate")(e3.row.endTime, "Y-M-D")))])];
|
|
} }], null, false, 526696718) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", prop: "signTime", label: "合同签订日期", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("span", [t2._v(t2._s(t2._f("formatDate")(e3.row.signTime, "Y-M-D")))])];
|
|
} }], null, false, 1550077522) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", prop: "firstDelegateName", label: "甲方代表", "min-width": "160", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("span", [t2._v(t2._s(e3.row.firstDelegateName))])];
|
|
} }], null, false, 3406781956) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", prop: "secondDelegateName", label: "乙方代表", "min-width": "160", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("span", [t2._v(t2._s(e3.row.secondDelegateName))])];
|
|
} }], null, false, 4076204526) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", prop: "secondDelegateName", label: "款项方向", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("span", [t2._v(t2._s(0 == e3.row.method ? "付款" : "收款"))])];
|
|
} }], null, false, 4087324578) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", prop: "contractStatus", label: "合同状态", "min-width": "80" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("span", [t2._v(t2._s(t2._f("getItemType")(e3.row.contractStatus, t2.contractStatusList)))])];
|
|
} }], null, false, 584822922) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", prop: "payStatus", label: "收/付款状态", "min-width": "100" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("span", [t2._v(t2._s(t2.filterPayStatus(e3.row)))])];
|
|
} }], null, false, 2729272341) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", prop: "tradeTime", label: "应收/付款时间", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [e3.row.tradeTime ? r2("span", [t2._v(t2._s(t2._f("formatDate")(e3.row.tradeTime, "Y-M-D")))]) : r2("span", [t2._v("-")])];
|
|
} }], null, false, 514092846) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", prop: "createTime", label: "创建时间", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("span", [t2._v(t2._s(e3.row.createTime || "-"))])];
|
|
} }], null, false, 2164368602) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", prop: "createName", label: "创建人", "min-width": "80" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("span", [t2._v(t2._s(e3.row.createName || "-"))])];
|
|
} }], null, false, 1736682120) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", prop: "updateTime", label: "操作时间", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("span", [t2._v(t2._s(e3.row.updateTime || "-"))])];
|
|
} }], null, false, 2423168815) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", prop: "opName", label: "操作人", "min-width": "80" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("span", [t2._v(t2._s(e3.row.opName || "-"))])];
|
|
} }], null, false, 2711025203) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", fixed: "right", label: "操作", "min-width": "120" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("span", [r2("el-button", { attrs: { type: "text" }, on: { click: function(a2) {
|
|
return t2.detailsClick(e3.row, "view");
|
|
} } }, [t2._v("查看")])], 1), t2._v(" "), 3 !== e3.row.contractStatus ? r2("span", [r2("el-button", { attrs: { disabled: 2 == e3.row.status, type: "text" }, on: { click: function(a2) {
|
|
return t2.detailsClick(e3.row, "edit");
|
|
} } }, [t2._v("编辑")])], 1) : t2._e(), t2._v(" "), 3 !== e3.row.contractStatus ? r2("span", [r2("el-button", { attrs: { type: "text" }, on: { click: function(a2) {
|
|
return t2.deleteClick(e3.row);
|
|
} } }, [t2._v("作废")])], 1) : t2._e(), t2._v(" "), 3 !== e3.row.contractStatus ? r2("span", [r2("el-button", { attrs: { disabled: 2 == e3.row.status, type: "text" }, on: { click: function(a2) {
|
|
return t2.confirm(e3.row);
|
|
} } }, [t2._v(t2._s(2 == e3.row.status ? "已确认" : "确认"))])], 1) : t2._e()];
|
|
} }], null, false, 1220516217) })], 1), t2._v(" "), r2("div", { staticClass: "paginations" }, [r2("el-pagination", { attrs: { background: "", "current-page": t2.query.pageNumber, "page-sizes": [10, 20, 30, 50], "page-size": t2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: t2.pageTotal }, 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(" "), t2.viewInfo ? r2("div", { staticClass: "viewDetails" }, [r2("contractInfor", { ref: "contractInfor", attrs: { type: t2.type }, on: { goBack: t2.goBack } })], 1) : t2._e()]);
|
|
}, o = [], n = a("1eb5"), i = n["a"], s = (a("f850"), a("c32f"), a("829d")), l = Object(s["a"])(i, r, o, false, null, "6559df30", null);
|
|
e["default"] = l.exports;
|
|
}, c32f: function(t, e, a) {
|
|
"use strict";
|
|
a("0eb7");
|
|
}, f807: function(t, e, a) {
|
|
"use strict";
|
|
a("bc2e");
|
|
}, f850: function(t, e, a) {
|
|
"use strict";
|
|
a("5766");
|
|
} }]);
|