(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-157ae939"], { "5ec4": function(e, t, a) { }, 6331: function(e, t, a) { "use strict"; a("e848"); }, "85b7": function(e, t, a) { "use strict"; a.r(t); var n = function() { var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2; return a2("div", { staticClass: "app-container bgHeight" }, [a2("el-tabs", { attrs: { value: e2.activeName, type: "border-card" }, on: { "tab-click": e2.handleClick } }, [a2("el-tab-pane", { attrs: { label: "权益列表", name: "rightsList" } }, ["rightsList" === e2.activeName ? a2("rightsList") : e2._e()], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "待用权益", name: "rightsToBeUsed" } }, ["rightsToBeUsed" === e2.activeName ? a2("rightsToBeUsed") : e2._e()], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "支付订单", name: "paymentOrder" } }, ["paymentOrder" === e2.activeName ? a2("paymentOrder") : e2._e()], 1)], 1)], 1); }, i = [], o = function() { var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2; return a2("div", { staticClass: "kidneyBeanList" }, [e2.infoList ? a2("div", [a2("el-card", { staticClass: "box-card" }, [a2("el-row", [a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-select", { staticClass: "select-dom", attrs: { placeholder: "项目", clearable: false, filterable: "" }, on: { change: e2.handleProjectChange }, model: { value: e2.query.uuid, callback: function(t3) { e2.$set(e2.query, "uuid", t3); }, expression: "query.uuid" } }, e2._l(e2.projectListAllList, (function(e3) { return a2("el-option", { key: e3.uuid, attrs: { label: e3.name, value: e3.uuid } }); })), 1)], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) { return e2.resetForm(); } } }, [e2._v("重置")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")])], 1)], 1)], 1), e2._v(" "), a2("el-card", { staticClass: "box-card", staticStyle: { "margin-top": "15px" } }, [a2("div", { staticClass: "planLst" }, [a2("span", { staticStyle: { color: "#2f2c2c", "font-size": "16px" } }, [e2._v("权益列表")])]), e2._v(" "), a2("el-table", { staticStyle: { width: "100%", "margin-top": "15px" }, attrs: { border: "", data: e2.tableData, "header-cell-style": e2.headClass } }, [a2("el-table-column", { attrs: { align: "center", prop: "projectName", label: "项目名称" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "schemeName", label: "解决方案" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "schemeId", label: "解决方案编号" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "schemeStatus", label: "解决方案状态" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", { style: { color: 2 === t3.row.schemeStatus ? "green" : "red" } }, [e2._v("\n " + e2._s(1 === t3.row.schemeStatus ? "已下架" : 2 === t3.row.schemeStatus ? "已上架" : "-") + "\n ")])]; } }], null, false, 1369889677) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "aiNum", label: "当前AI数量" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v(e2._s(t3.row.aiNum || 0))]; } }], null, false, 4056151059) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "absenceAiNum", label: "缺少AI数量" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [t3.row.absenceAiNum && 0 !== t3.row.absenceAiNum && 2 === t3.row.schemeStatus && t3.row.schemeId > 0 && new Date(t3.row.expireTime) > /* @__PURE__ */ new Date() ? a2("el-link", { attrs: { type: "primary" }, on: { click: function(a3) { return e2.handleAbsenceAiClick(t3.row); } } }, [e2._v("\n " + e2._s(t3.row.absenceAiNum) + "\n ")]) : a2("span", [e2._v(e2._s(t3.row.absenceAiNum || 0))])]; } }], null, false, 177315601) }, [a2("template", { slot: "header" }, [a2("div", [e2._v("\n 缺少AI数量\n "), a2("el-tooltip", { attrs: { content: "可点击补全缺少AI数量", placement: "top" } }, [a2("i", { staticClass: "el-icon-info" })])], 1)])], 2), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "状态" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("div", { style: { color: !t3.row.expireTime || new Date(t3.row.expireTime) <= /* @__PURE__ */ new Date() ? "red" : "green" } }, [e2._v("\n " + e2._s(!t3.row.expireTime || new Date(t3.row.expireTime) <= /* @__PURE__ */ new Date() ? "已过期" : "正常") + "\n ")])]; } }], null, false, 2951198917) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "startTime", label: "开始时间" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "expireTime", label: "到期时间" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "operatorBy", label: "操作人" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v(e2._s(t3.row.operatorBy || "-"))]; } }], null, false, 350176747) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "operatorTime", label: "操作时间" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v(e2._s(t3.row.operatorTime || "-"))]; } }], null, false, 1480251909) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "操作" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [t3.row ? a2("span", [null == t3.row.total ? a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text", disabled: t3.row.schemeId <= 0 || 1 === t3.row.schemeStatus }, on: { click: function(a3) { return e2.renewals(t3.row); } } }, [e2._v("续费")]) : e2._e()], 1) : e2._e()]; } }], null, false, 544137114) })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.query.pageNumber, "page-sizes": [10, 20, 30, 50], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.pageTotal }, on: { "update:currentPage": function(t3) { return e2.$set(e2.query, "pageNumber", t3); }, "update:current-page": function(t3) { return e2.$set(e2.query, "pageNumber", t3); }, "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)], 1)], 1) : e2._e(), e2._v(" "), a2("scanPay", { attrs: { show: e2.scanVisible, info: e2.scanInfo }, on: { back: e2.getBack } }), e2._v(" "), e2.dialogVisible ? a2("el-dialog", { attrs: { title: "购买产品", visible: e2.dialogVisible, top: "10vh", width: "45%", "custom-class": "paymentDialog", "append-to-body": true, "close-on-press-escape": false, "destroy-on-close": true, "before-close": e2.handleClose }, on: { "update:visible": function(t3) { e2.dialogVisible = t3; } } }, [a2("div", { directives: [{ name: "show", rawName: "v-show", value: !e2.recommendationScheme || "购买产品" === e2.schemeActiveTab, expression: "!recommendationScheme || schemeActiveTab === '购买产品'" }], staticClass: "paymentInfor" }, [a2("div", { staticClass: "paymentHeader" }, [e2.recommendationScheme ? a2("el-tabs", { staticClass: "header-tabs", on: { "tab-click": e2.handleSchemeTabClick }, model: { value: e2.schemeActiveTab, callback: function(t3) { e2.schemeActiveTab = t3; }, expression: "schemeActiveTab" } }, [a2("el-tab-pane", { attrs: { label: "购买解决方案", name: "购买解决方案" } })], 1) : e2._e(), e2._v(" "), a2("el-divider", { staticClass: "paymentdivider" }, [e2._v(e2._s(e2.paymentBase.name))]), e2._v(" "), a2("div", { staticClass: "paymentDes" }, [e2._v(e2._s(e2.paymentBase.describes))])], 1), e2._v(" "), a2("div", { staticClass: "paymentBox" }, [a2("div", { staticClass: "paymentContent" }, [a2("div", { staticClass: "paymentBase" }, [a2("el-form", { ref: "paymentBase", staticClass: "paymentBaseFrom", attrs: { "label-width": "100px", model: e2.paymentBase, rules: e2.paymentBaseRules } }, [a2("el-form-item", { attrs: { label: "产品价格:" } }, [a2("div", [a2("span", { staticClass: "marketPrice" }, [e2._v(e2._s(e2._f("toThousandFilter")(e2.paymentBase.marketPrice)))]), e2._v("元/月\n ")])]), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "使用时长:", prop: "useMonth" } }, [a2("el-select", { attrs: { disabled: "" }, on: { change: e2.changeToCulPrice }, model: { value: e2.paymentBase.useMonth, callback: function(t3) { e2.$set(e2.paymentBase, "useMonth", t3); }, expression: "paymentBase.useMonth" } }, [a2("el-option", { attrs: { label: "1个月", value: 1 } }), e2._v(" "), a2("el-option", { attrs: { label: "6个月", value: 6 } }), e2._v(" "), a2("el-option", { attrs: { label: "12个月", value: 12 } })], 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "购买数量:", prop: "pnum" } }, [a2("el-input-number", { attrs: { "controls-position": "right", min: 1, max: 9999 }, on: { change: e2.changeToCulPrice }, model: { value: e2.paymentBase.pnum, callback: function(t3) { e2.$set(e2.paymentBase, "pnum", t3); }, expression: "paymentBase.pnum" } })], 1)], 1)], 1), e2._v(" "), a2("el-tabs", { attrs: { type: "border-card" }, on: { "tab-click": e2.handleClick }, model: { value: e2.activeName, callback: function(t3) { e2.activeName = t3; }, expression: "activeName" } }, [a2("el-tab-pane", { attrs: { label: "优惠码", name: "discountCode" } }, [a2("el-form-item", { attrs: { label: "优惠码:", prop: "discountCode" } }, [a2("el-input", { attrs: { placeholder: "请填写优惠码" }, on: { blur: function(t3) { return e2.checkDiscount(0); } }, model: { value: e2.paymentBase.discountCode, callback: function(t3) { e2.$set(e2.paymentBase, "discountCode", t3); }, expression: "paymentBase.discountCode" } })], 1)], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "推荐人", name: "recommMobile" } }, [a2("el-form-item", { attrs: { label: "姓名:", prop: "recommName" } }, [a2("el-input", { attrs: { placeholder: "请填写推荐人姓名" }, model: { value: e2.paymentBase.recommName, callback: function(t3) { e2.$set(e2.paymentBase, "recommName", t3); }, expression: "paymentBase.recommName" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "手机号码:", prop: "recommMobile" } }, [a2("el-input", { attrs: { placeholder: "请填写推荐人手机号码" }, on: { blur: function(t3) { return e2.checkDiscount(1); } }, model: { value: e2.paymentBase.recommMobile, callback: function(t3) { e2.$set(e2.paymentBase, "recommMobile", t3); }, expression: "paymentBase.recommMobile" } })], 1)], 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "支付方式:", prop: "payType" } }, [a2("el-radio-group", { model: { value: e2.paymentBase.payType, callback: function(t3) { e2.$set(e2.paymentBase, "payType", t3); }, expression: "paymentBase.payType" } }, [a2("el-radio", { attrs: { label: 1 } }, [e2._v("线上支付")]), e2._v(" "), a2("el-radio", { attrs: { label: 2 } }, [e2._v("公对公转账")])], 1)], 1), e2._v(" "), a2("div", { staticStyle: { color: "red" } }, [e2._v(e2._s(e2.preferentialCodeMessage))]), e2._v(" "), 2 === e2.paymentBase.payType ? a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { staticClass: "is-required", attrs: { label: "付款账户:", prop: "payBankNo" } }, [a2("el-input", { attrs: { placeholder: "请输入付款账号", maxlength: "25", clearable: "" }, model: { value: e2.paymentBase.payBankNo, callback: function(t3) { e2.$set(e2.paymentBase, "payBankNo", t3); }, expression: "paymentBase.payBankNo" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { staticClass: "is-required", attrs: { label: "付款银行:", prop: "payBank" } }, [a2("el-input", { attrs: { placeholder: "请输入付款银行名称", maxlength: "25", clearable: "" }, model: { value: e2.paymentBase.payBank, callback: function(t3) { e2.$set(e2.paymentBase, "payBank", t3); }, expression: "paymentBase.payBank" } })], 1)], 1)], 1) : e2._e(), e2._v(" "), 2 === e2.paymentBase.payType ? a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { staticClass: "is-required", attrs: { label: "付款人:", prop: "payer" } }, [a2("el-input", { attrs: { placeholder: "请输入付款人姓名", maxlength: "16", clearable: "" }, model: { value: e2.paymentBase.payer, callback: function(t3) { e2.$set(e2.paymentBase, "payer", t3); }, expression: "paymentBase.payer" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { staticClass: "is-required", attrs: { label: "联系电话:", prop: "payerMobile" } }, [a2("el-input", { attrs: { placeholder: "请输入联系电话", maxlength: "11", clearable: "" }, model: { value: e2.paymentBase.payerMobile, callback: function(t3) { e2.$set(e2.paymentBase, "payerMobile", t3); }, expression: "paymentBase.payerMobile" } })], 1)], 1)], 1) : e2._e(), e2._v(" "), 2 === e2.paymentBase.payType ? a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { staticClass: "is-required", attrs: { label: "付款时间:", prop: "payTime" } }, [a2("el-date-picker", { attrs: { type: "datetime", format: "yyyy-MM-dd HH:mm:ss", "value-format": "yyyy-MM-dd HH:mm:ss", placeholder: "付款时间" }, model: { value: e2.paymentBase.payTime, callback: function(t3) { e2.$set(e2.paymentBase, "payTime", t3); }, expression: "paymentBase.payTime" } })], 1)], 1)], 1) : e2._e(), e2._v(" "), 2 === e2.paymentBase.payType ? a2("el-row", [a2("el-col", [a2("el-form-item", { staticClass: "is-required", attrs: { label: "上传附件:", prop: "appendixUrl" } }, [a2("AliOSSUpload", { attrs: { limit: 3, imgStore: e2.imgStore, accept: e2.accept, allowFileType: e2.allowFileType2, fileList: e2.fileListInfo, isChangeFileName: false, showFileList: true, listType: "text" }, on: { getUploadData: e2.getUploadData2 }, scopedSlots: e2._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", plain: "", size: "small" } }, [e2._v("选择付款凭证附件")])]; }, proxy: true }], null, false, 4144669781) })], 1)], 1)], 1) : e2._e(), e2._v(" "), 2 === e2.paymentBase.payType ? a2("div", { staticClass: "uploadFileNotes" }, [a2("span", { staticClass: "el-icon-info" }), e2._v(" 支持附件扩展名: .jpg, .JPG,\n .jpeg, .gif, .GIF, .MPEG, .MPG, .png, .PNG等图片,最多可上传 3\n 个附件。\n ")]) : e2._e()], 1)], 1), e2._v(" "), a2("div", { staticClass: "paymentPrice" }, [a2("div", { staticClass: "paymentAgreement" }, [a2("el-checkbox", { model: { value: e2.paymentAgreement, callback: function(t3) { e2.paymentAgreement = t3; }, expression: "paymentAgreement" } }), e2._v("我已知悉"), a2("el-link", { attrs: { type: "primary" }, on: { click: function(t3) { e2.dialogFileVisible = true; } } }, [e2._v("《深圳市社区云科技服务有限公司SaaS合作合同书》")])], 1), e2._v(" "), a2("div", { staticClass: "paymentTitle" }, [e2._v("\n 应付金额:"), a2("span", { staticClass: "paymentPrice" }, [e2._v(e2._s(e2._f("toThousandFilter")(e2.payable)))]), e2._v("元\n ")]), e2._v(" "), a2("div", { staticClass: "paymentTitle" }, [e2._v("\n 优惠金额:"), a2("span", { staticClass: "paymentPrice priceGray" }, [e2.discount > 0 ? a2("span", {}, [e2._v("-")]) : e2._e(), e2._v("\n " + e2._s(e2._f("toThousandFilter")(e2.discount)))]), e2._v("元\n ")]), e2._v(" "), a2("div", { staticClass: "paymentTitle" }, [e2._v("\n 实付金额:"), a2("span", { staticClass: "paymentPrice priceRed" }, [e2._v(e2._s(e2._f("toThousandFilter")(e2.payAmount)))]), e2._v("元\n ")])]), e2._v(" "), a2("div", { staticClass: "paymentbtn" }, [a2("el-button", { attrs: { type: "danger" }, on: { click: e2.createOrder } }, [e2._v("支付")])], 1)])])]), e2._v(" "), a2("div", { directives: [{ name: "show", rawName: "v-show", value: e2.recommendationScheme && "购买解决方案" === e2.schemeActiveTab, expression: "recommendationScheme && schemeActiveTab === '购买解决方案'" }], staticClass: "paymentInfor" }, [a2("div", { staticClass: "paymentHeader" }, [e2.recommendationScheme ? a2("el-tabs", { staticClass: "header-tabs", on: { "tab-click": e2.handleSchemeTabClick }, model: { value: e2.schemeActiveTab, callback: function(t3) { e2.schemeActiveTab = t3; }, expression: "schemeActiveTab" } }, [a2("el-tab-pane", { attrs: { label: "购买解决方案", name: "购买解决方案" } })], 1) : e2._e(), e2._v(" "), a2("el-divider", { staticClass: "paymentdivider" }, [e2._v(e2._s(e2.schemeInfo.name))]), e2._v(" "), a2("div", { staticClass: "paymentDes" }, [a2("el-tag", [e2._v(e2._s(e2.schemeList.productList ? e2.schemeList.productList.length : 0) + "个数字员工")])], 1)], 1), e2._v(" "), a2("div", { staticClass: "paymentBox" }, [a2("div", { staticClass: "paymentContent" }, [a2("div", { staticClass: "paymentBase" }, [a2("el-form", { ref: "schemePaymentBase", staticClass: "paymentBaseFrom", attrs: { "label-width": "100px", model: e2.schemePaymentBase, rules: e2.paymentBaseRules } }, [a2("el-form-item", { attrs: { label: "方案单价:" } }, [a2("div", [a2("span", { staticClass: "marketPrice" }, [e2._v(e2._s(e2._f("toThousandFilter")(e2.schemePayInfo.totalAmount)))]), e2._v("元\n ")])]), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "使用时长:", prop: "useMonth" } }, [a2("el-select", { attrs: { disabled: "" }, model: { value: e2.schemePaymentBase.useMonth, callback: function(t3) { e2.$set(e2.schemePaymentBase, "useMonth", t3); }, expression: "schemePaymentBase.useMonth" } }, [a2("el-option", { attrs: { label: "1个月", value: 1 } }), e2._v(" "), a2("el-option", { attrs: { label: "6个月", value: 6 } }), e2._v(" "), a2("el-option", { attrs: { label: "12个月", value: 12 } })], 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "购买数量:", prop: "pnum" } }, [a2("el-input-number", { attrs: { "controls-position": "right", min: 1, max: 9999 }, on: { change: e2.changeSchemeNum }, model: { value: e2.schemePaymentBase.pnum, callback: function(t3) { e2.$set(e2.schemePaymentBase, "pnum", t3); }, expression: "schemePaymentBase.pnum" } })], 1)], 1)], 1), e2._v(" "), a2("el-tabs", { staticStyle: { "margin-bottom": "10px" }, attrs: { type: "border-card" }, on: { "tab-click": e2.handleSchemeClick }, model: { value: e2.schemeActiveName, callback: function(t3) { e2.schemeActiveName = t3; }, expression: "schemeActiveName" } }, [a2("el-tab-pane", { attrs: { label: "优惠码", name: "discountCode" } }, [a2("el-form-item", { attrs: { label: "优惠码:", prop: "discountCode" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "请填写优惠码" }, on: { blur: function(t3) { return e2.checkSchemeDiscount(0); } }, model: { value: e2.schemePaymentBase.discountCode, callback: function(t3) { e2.$set(e2.schemePaymentBase, "discountCode", t3); }, expression: "schemePaymentBase.discountCode" } })], 1)], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "推荐人", name: "recommMobile" } }, [a2("el-form-item", { attrs: { label: "姓名:", prop: "recommName" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "请填写推荐人姓名" }, on: { blur: function(t3) { return e2.checkSchemeDiscount(2); } }, model: { value: e2.schemePaymentBase.recommName, callback: function(t3) { e2.$set(e2.schemePaymentBase, "recommName", t3); }, expression: "schemePaymentBase.recommName" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "手机号码:", prop: "recommMobile" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "请填写推荐人手机号码" }, on: { blur: function(t3) { return e2.checkSchemeDiscount(1); } }, model: { value: e2.schemePaymentBase.recommMobile, callback: function(t3) { e2.$set(e2.schemePaymentBase, "recommMobile", t3); }, expression: "schemePaymentBase.recommMobile" } })], 1)], 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "支付方式:", prop: "payType" } }, [a2("el-radio-group", { model: { value: e2.schemePaymentBase.payType, callback: function(t3) { e2.$set(e2.schemePaymentBase, "payType", t3); }, expression: "schemePaymentBase.payType" } }, [a2("el-radio", { attrs: { label: 1 } }, [e2._v("线上支付")]), e2._v(" "), a2("el-radio", { attrs: { label: 2 } }, [e2._v("公对公转账")])], 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "消费项目:" } }, [a2("el-select", { staticClass: "select-dom", staticStyle: { width: "400px" }, attrs: { multiple: "", "collapse-tags": "", clearable: "", placeholder: "请选择项目" }, model: { value: e2.schemePaymentBase.availableRange, callback: function(t3) { e2.$set(e2.schemePaymentBase, "availableRange", t3); }, expression: "schemePaymentBase.availableRange" } }, e2._l(e2.projectList, (function(e3) { return a2("el-option", { key: e3.uuid, attrs: { label: e3.name, value: e3.uuid } }); })), 1)], 1), e2._v(" "), 2 === e2.schemePaymentBase.payType ? a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { staticClass: "is-required", attrs: { label: "付款账户:", prop: "payBankNo" } }, [a2("el-input", { attrs: { placeholder: "请输入付款账号", maxlength: "25", clearable: "" }, model: { value: e2.schemePaymentBase.payBankNo, callback: function(t3) { e2.$set(e2.schemePaymentBase, "payBankNo", t3); }, expression: "schemePaymentBase.payBankNo" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { staticClass: "is-required", attrs: { label: "付款银行:", prop: "payBank" } }, [a2("el-input", { attrs: { placeholder: "请输入付款银行名称", maxlength: "25", clearable: "" }, model: { value: e2.schemePaymentBase.payBank, callback: function(t3) { e2.$set(e2.schemePaymentBase, "payBank", t3); }, expression: "schemePaymentBase.payBank" } })], 1)], 1)], 1) : e2._e(), e2._v(" "), 2 === e2.schemePaymentBase.payType ? a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { staticClass: "is-required", attrs: { label: "付款人:", prop: "payer" } }, [a2("el-input", { attrs: { placeholder: "请输入付款人姓名", maxlength: "16", clearable: "" }, model: { value: e2.schemePaymentBase.payer, callback: function(t3) { e2.$set(e2.schemePaymentBase, "payer", t3); }, expression: "schemePaymentBase.payer" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { staticClass: "is-required", attrs: { label: "联系电话:", prop: "payerMobile" } }, [a2("el-input", { attrs: { placeholder: "请输入联系电话", maxlength: "11", clearable: "" }, model: { value: e2.schemePaymentBase.payerMobile, callback: function(t3) { e2.$set(e2.schemePaymentBase, "payerMobile", t3); }, expression: "schemePaymentBase.payerMobile" } })], 1)], 1)], 1) : e2._e(), e2._v(" "), 2 === e2.schemePaymentBase.payType ? a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { staticClass: "is-required", attrs: { label: "付款时间:", prop: "payTime" } }, [a2("el-date-picker", { attrs: { type: "datetime", format: "yyyy-MM-dd HH:mm:ss", "value-format": "yyyy-MM-dd HH:mm:ss", placeholder: "付款时间" }, model: { value: e2.schemePaymentBase.payTime, callback: function(t3) { e2.$set(e2.schemePaymentBase, "payTime", t3); }, expression: "schemePaymentBase.payTime" } })], 1)], 1)], 1) : e2._e(), e2._v(" "), 2 === e2.schemePaymentBase.payType ? a2("el-row", [a2("el-col", [a2("el-form-item", { staticClass: "is-required", attrs: { label: "上传附件:", prop: "appendixUrl" } }, [a2("AliOSSUpload", { attrs: { limit: 3, imgStore: e2.imgStore, accept: e2.accept, allowFileType: e2.allowFileType2, fileList: e2.fileListInfo, isChangeFileName: false, showFileList: true, listType: "text" }, on: { getUploadData: e2.getSchemeUploadData }, scopedSlots: e2._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", plain: "", size: "small" } }, [e2._v("选择付款凭证附件")])]; }, proxy: true }], null, false, 4144669781) })], 1)], 1)], 1) : e2._e(), e2._v(" "), 2 === e2.schemePaymentBase.payType ? a2("div", { staticClass: "uploadFileNotes" }, [a2("span", { staticClass: "el-icon-info" }), e2._v(" 支持附件扩展名: .jpg, .JPG,\n .jpeg, .gif, .GIF, .MPEG, .MPG, .png, .PNG等图片,最多可上传 3\n 个附件。\n ")]) : e2._e()], 1)], 1), e2._v(" "), a2("div", { staticClass: "paymentPrice" }, [a2("div", { staticClass: "paymentAgreement" }, [a2("el-checkbox", { model: { value: e2.schemePaymentAgreement, callback: function(t3) { e2.schemePaymentAgreement = t3; }, expression: "schemePaymentAgreement" } }), e2._v("我已知悉"), a2("el-link", { attrs: { type: "primary" }, on: { click: function(t3) { e2.dialogFileVisible = true; } } }, [e2._v("《深圳市社区云科技服务有限公司SaaS合作合同书》")])], 1), e2._v(" "), a2("div", { staticClass: "paymentTitle" }, [e2._v("\n 应付金额:"), a2("span", { staticClass: "paymentPrice" }, [e2._v(e2._s(e2._f("toThousandFilter")(e2.schemePayInfo.totalAmount)))]), e2._v("元\n ")]), e2._v(" "), a2("div", { staticClass: "paymentTitle" }, [e2._v("\n 优惠金额:"), a2("span", { staticClass: "paymentPrice priceGray" }, [e2._v(e2._s(e2._f("toThousandFilter")(e2.schemePayInfo.discount)))]), e2._v("元\n ")]), e2._v(" "), a2("div", { staticClass: "paymentTitle" }, [e2._v("\n 实付金额:"), a2("span", { staticClass: "paymentPrice priceRed" }, [e2._v(e2._s(e2._f("toThousandFilter")(e2.schemePayInfo.payAmount)))]), e2._v("元\n ")])]), e2._v(" "), a2("div", { staticClass: "paymentbtn" }, [a2("el-button", { attrs: { type: "danger" }, on: { click: e2.createSchemeOrder } }, [e2._v("支付")])], 1)])])])]) : e2._e(), e2._v(" "), e2.dialogTableVisible ? a2("el-dialog", { attrs: { title: "选择项目", "close-on-press-escape": false, "close-on-click-modal": false, visible: e2.dialogTableVisible }, on: { "update:visible": function(t3) { e2.dialogTableVisible = t3; } } }, [a2("span", { staticStyle: { "font-size": "12px", color: "red" } }, [e2._v("激活码仅支持部分企业激活,具体请与市场对接人核实")]), e2._v(" "), a2("div", { staticClass: "projectInfo" }, [a2("el-descriptions", [a2("el-descriptions-item", { attrs: { label: "产品名称" } }, [e2._v(e2._s(e2.activationCodeInfo.pname))]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "使用时长" } }, [e2._v(e2._s(e2.activationCodeInfo.month) + "个月")])], 1)], 1), e2._v(" "), a2("el-table", { ref: "projectMultipleTable", attrs: { data: e2.projectList, border: "", height: "500", "row-key": "id" }, on: { select: e2.selectData, "select-all": e2.selectAll } }, [a2("el-table-column", { attrs: { type: "selection", width: "55", align: "center", "reserve-selection": true } }), e2._v(" "), a2("el-table-column", { attrs: { prop: "name", label: "项目名称", align: "center" } })], 1), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: function(t3) { e2.dialogTableVisible = false; } } }, [e2._v("取 消")]), e2._v(" "), a2("el-button", { attrs: { type: "primary", disabled: !(this.templateSelection >= 0) }, on: { click: e2.submitProjects } }, [e2._v("确认激活")])], 1)], 1) : e2._e(), e2._v(" "), a2("el-dialog", { attrs: { title: "合同模板预览", visible: e2.dialogFileVisible }, on: { "update:visible": function(t3) { e2.dialogFileVisible = t3; } } }, [a2("iframe", { attrs: { src: "https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/template/SaasContract.pdf", frameborder: "0", scrolling: "no", height: "550px", width: "100%" } }), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: function(t3) { e2.dialogFileVisible = false; } } }, [e2._v("关闭")])], 1)]), e2._v(" "), a2("el-dialog", { attrs: { title: "AI能力补全", visible: e2.absenceAiDialogVisible, width: "400px", "close-on-click-modal": false }, on: { "update:visible": function(t3) { e2.absenceAiDialogVisible = t3; } } }, [a2("div", { staticStyle: { "text-align": "center", padding: "20px 0" } }, [a2("p", { staticStyle: { "font-size": "16px", "margin-bottom": "20px" } }, [e2._v("\n 当前缺少\n "), a2("span", { staticStyle: { color: "#f56c6c", "font-weight": "bold", "font-size": "20px" } }, [e2._v(e2._s(e2.currentAbsenceAiNum))]), e2._v("\n 项AI能力\n ")])]), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: function(t3) { e2.absenceAiDialogVisible = false; } } }, [e2._v("取消")]), e2._v(" "), a2("el-button", { attrs: { type: "primary" }, on: { click: e2.handleUpgradeAi } }, [e2._v("一键升级")])], 1)]), e2._v(" "), a2("payPlan", { ref: "planPay", attrs: { projectList: e2.projectListAllList, companyInfo: e2.companyInfo, planShow: e2.planShow }, on: { planBack: e2.planClose, schemeScan: e2.schemeScan } })], 1); }, s = [], l = (a("4057"), a("1bc7"), a("a450"), a("e680"), a("9bdd")), r = a("f8b7"), c = a("c24f"), p = a("c4c8"), m = a("4059"), u = a("4513"), d = a("67d5"), h = a("0b37"), y = a("dce5"), b = a("8988"), v = a("e749"), f = { name: "rightsList", components: { scanPay: m["a"], AliOSSUpload: b["a"], payPlan: v["a"] }, data: function() { return { productType: y["pb"], companyInfo: {}, type: "", pageTotal: 0, viewInfo: false, infoList: true, statusList: [{ value: 1, label: "正常" }, { value: 2, label: "已到期" }], query: { projectName: "", companyId: JSON.parse(window.localStorage.getItem("companyInfo")).osId, uuid: "", pname: "", pn: "", status: "", pageNumber: 1, pageSize: 10 }, projectQuery: { pageNumber: 1, pageSize: 5 }, tableData: [], allTableData: [], projectList: [], projectListAllList: [], projectTotal: 0, dialogTableVisible: false, projectSelect: [], activationCode: "", scanVisible: false, dialogVisible: false, paymentBase: { useMonth: 1, pnum: 1, type: 1, discountCode: "", recommId: null, recommName: "", recommMobile: "", payType: 1, payBankNo: "", payBank: "", payer: "", payerMobile: "", payTime: null, appendixUrl: "" }, paymentBaseRules: {}, scanInfo: {}, payable: 0, payAmount: 0, discount: 0, activeName: "discountCode", renewItme: null, templateSelection: -1, templateRadio: "", memberId: "", accept: ".jpg, .JPG, .jpeg, .gif, .GIF, .MPEG, .MPG, .png, .PNG", allowFileType2: ["image"], fileListInfo: [], imgStore: "saasFile/", paymentAgreement: false, dialogFileVisible: false, preferentialCodeMessage: "", recommendationScheme: null, schemeActiveTab: "购买解决方案", schemeInfo: {}, schemeList: [], schemePaymentBase: { discountCode: "", recommName: "", recommMobile: "", payType: 1, payTime: "", appendixUrl: "", availableRange: [], useMonth: 1, pnum: 1, payBankNo: "", payBank: "", payer: "", payerMobile: "" }, schemePayInfo: { totalAmount: 0, discount: 0, payAmount: 0 }, schemeActiveName: "discountCode", schemePaymentAgreement: false, planShow: false, absenceAiDialogVisible: false, currentAbsenceAiNum: 0, currentRow: null }; }, watch: { paymentBase: { handler: function(e2, t2) { this.initPaymentPrice(); }, deep: true } }, mounted: function() { this.memberId = window.localStorage.getItem("memberId"), this.headClass(), this.getCompanyInfor(), this.getMemberInfor(), this.initProjectAndList(); }, methods: { initProjectAndList: function() { var e2 = this; return this.getProjectInfo().then((function() { !e2.query.uuid && e2.projectListAllList.length > 0 && (e2.query.uuid = e2.projectListAllList[0].uuid), e2.query.pageNumber = 1, e2.getlistData(); })); }, getProjectInfo: function() { var e2 = this; return Object(d["j"])({ id: JSON.parse(window.localStorage.getItem("companyInfo")).osId, attribute: 1 }).then((function(t2) { 0 === t2.code && t2.data ? e2.projectListAllList = t2.data : e2.projectListAllList = []; })); }, handleProjectChange: function() { this.query.pageNumber = 1, this.getlistData(); }, getLastUsedCode: function(e2) { var t2 = this; Object(p["h"])({ pidList: [e2.pid], companyId: e2.companyId }).then((function(e3) { 0 === e3.code && e3.data && e3.data.discountCode && (t2.paymentBase.discountCode = e3.data.discountCode, t2.checkDiscount(0)); })); }, getCompanyInfor: function() { var e2 = this, t2 = parseInt(JSON.parse(window.localStorage.getItem("roleId"))), a2 = JSON.parse(window.localStorage.getItem("userInfo")); Object(c["d"])({ accountName: a2.accountName, roleId: t2, memberId: this.memberId }).then((function(t3) { if (0 === t3.code && t3.data) { var a3 = t3.data.companyAuthApplyOrderRespDTOS; a3.length > 0 ? e2.companyInfo = a3[0] : e2.companyInfo = {}; } else e2.companyInfo = {}; })); }, renewals: function(e2) { var t2 = this; this.planShow = true; var a2 = { id: e2.schemeId, name: e2.schemeName, uuid: e2.projectUuid }; this.$nextTick((function() { t2.$refs.planPay && t2.$refs.planPay.init && t2.$refs.planPay.init(a2); })); }, getMemberInfor: function() { Object(u["p"])({ id: this.memberId }).then((function(e2) { if (0 === e2.code && null != e2.data) { var t2 = e2.data.memberAddReqDTO; localStorage.setItem("memberInfor", JSON.stringify(t2)); } })); }, getProductDetailes: function(e2) { var t2 = this; Object(p["n"])({ id: e2.pid }).then((function(e3) { if (0 === e3.code) { var a2 = e3.data; 2 === a2.status ? (t2.payable = 0, t2.discount = 0, t2.payAmount = 0, t2.$nextTick((function() { t2.paymentBase = Object.assign(t2.paymentBase, a2, { payType: 1, payBankNo: t2.companyInfo.publicBankNo, payBank: t2.companyInfo.publicBank, payer: t2.companyInfo.payer, payerMobile: t2.companyInfo.payerMobile, payTime: null, appendixUrl: "" }), t2.paymentBaseRules = { payBankNo: [{ required: true, message: "请输入付款账号", trigger: "blur" }], payBank: [{ required: true, message: "请输入付款银行名称", trigger: "blur" }], payer: [{ required: true, message: "请输入付款人姓名", trigger: "blur" }], payerMobile: [{ required: true, message: "请输入联系电话", trigger: "blur" }], payTime: [{ required: true, message: "请选择付款时间", trigger: "change" }], appendixUrl: [{ required: true, message: "请上传付款凭证附件", trigger: "change" }] }, t2.initPaymentPrice(), t2.activeName = "discountCode", t2.dialogVisible = true, t2.paymentBase.discountCode && t2.checkDiscount(0); })), t2.$forceUpdate()) : t2.$message({ type: "error", message: "该商品已被下架,不能续费" }); } else t2.$message({ type: "error", message: "产品相关价格缺失" }); })); }, initPaymentPrice: function() { this.payable = Number(Object(h["c"])(Object(h["c"])(this.paymentBase.marketPrice, this.paymentBase.useMonth), this.paymentBase.pnum)), this.payAmount = Number(Object(h["d"])(Object(h["c"])(Object(h["c"])(this.paymentBase.marketPrice, this.paymentBase.useMonth), this.paymentBase.pnum), this.discount)); }, handleClose: function() { this.preferentialCodeMessage = "", this.paymentBaseRules = {}, this.dialogVisible = false, this.paymentAgreement = false, this.activeName = "discountCode", this.recommendationScheme = null, this.schemeActiveTab = "购买产品", this.schemeInfo = {}, this.schemeList = [], this.schemePaymentBase = { discountCode: "", recommName: "", recommMobile: "", payType: 1, payTime: "", appendixUrl: "", availableRange: [], useMonth: 1, pnum: 1, payBankNo: "", payBank: "", payer: "", payerMobile: "" }, this.schemePayInfo = { totalAmount: 0, discount: 0, payAmount: 0 }, this.schemeActiveName = "discountCode", this.schemePaymentAgreement = false; }, createOrder: function() { var e2 = this; if (!this.paymentAgreement) return this.$message({ type: "error", message: "请先阅读并同意协议内容" }), false; 2 === this.paymentBase.payType ? this.$refs["paymentBase"].validate((function(t2) { if (!t2) return false; e2.submitCreateOrder(); })) : this.submitCreateOrder(); }, submitCreateOrder: function() { var e2 = this, t2 = (JSON.parse(window.localStorage.getItem("userInfo")), JSON.parse(window.localStorage.getItem("memberInfor"))), a2 = JSON.parse(window.localStorage.getItem("companyInfo")), n2 = { companyId: a2.osId, companyName: a2.fullName, payAmount: this.payAmount, payable: this.payable, pid: this.paymentBase.id, pn: this.paymentBase.pn, pname: this.paymentBase.name, pnum: this.paymentBase.pnum, type: this.paymentBase.type, useMonth: this.paymentBase.useMonth }; "" != this.paymentBase.discountCode && (n2 = Object.assign(n2, { discount: this.discount, discountCode: this.paymentBase.discountCode, recommId: this.paymentBase.recommId })), "" != this.paymentBase.recommMobile && "" != this.paymentBase.recommName && (n2 = Object.assign(n2, { discount: this.discount, recommName: this.paymentBase.recommName, recommMobile: this.paymentBase.recommMobile, recommId: this.paymentBase.recommId })); var i2 = { title: "SaaS产品续费", content: "".concat(this.renewItme.projectName, "项目-SaaS产品权限(").concat(this.renewItme.pname, ")续费"), chargeType: 2, payType: 1, orderMallDetails: n2, type: 9, totalAmount: this.payAmount, memberName: t2.name, memberUuid: t2.uuid, operatorName: t2.name, operatorUuid: t2.uuid, projectName: this.renewItme.projectName, projectUuid: this.renewItme.projectUuid }; 2 === this.paymentBase.payType && (i2 = Object.assign(i2, { payBank: this.paymentBase.payBank, payBankNo: this.paymentBase.payBankNo, payTime: this.paymentBase.payTime, payType: this.paymentBase.payType, payer: this.paymentBase.payer, payerMobile: this.paymentBase.payerMobile, appendixUrl: this.paymentBase.appendixUrl, type: 13 })), console.log("data", i2), Object(r["a"])(i2).then((function(t3) { if (2 === e2.paymentBase.payType) e2.$message({ type: "success", message: "SaaS产品权限购买成功,对公转账审核中..." }), e2.dialogVisible = false; else { var a3 = t3.data; e2.openScan(a3); } })); }, changeToCulPrice: function() { "" === this.paymentBase.discountCode ? this.checkDiscount(1) : this.checkDiscount(0); }, checkDiscount: function(e2) { var t2 = this; if (this.paymentBase.id) { var a2 = {}; a2 = 0 === e2 ? { code: this.paymentBase.discountCode, pid: this.paymentBase.id, pnum: this.paymentBase.pnum, pmonth: this.paymentBase.useMonth, companyId: this.query.companyId } : { name: this.paymentBase.recommName, mobile: this.paymentBase.recommMobile, pid: this.paymentBase.id, pnum: this.paymentBase.pnum, pmonth: this.paymentBase.useMonth, companyId: this.query.companyId }, console.log(a2), "" != this.paymentBase.discountCode || "" != this.paymentBase.recommName && "" != this.paymentBase.recommMobile ? Object(r["c"])(a2).then((function(e3) { 0 === e3.code && (t2.preferentialCodeMessage = "", e3.data.discountMsg && (t2.preferentialCodeMessage = e3.data.discountMsg), t2.discount = e3.data.discountAmount, t2.paymentBase.recommId = e3.data.recommId ? e3.data.recommId : null, t2.initPaymentPrice()); })) : (this.discount = 0, this.initPaymentPrice()); } }, openScan: function(e2) { this.dialogVisible = false, this.scanVisible = true, this.scanInfo = e2; }, planClose: function() { this.planShow = false; }, schemeScan: function(e2) { this.planShow = false, this.scanVisible = true, this.scanInfo = e2; }, getBack: function() { this.dialogVisible = false, this.scanVisible = false, this.query.pageNumber = 1, this.getlistData(); }, onSearch: function() { this.query.pageNumber = 1, this.getlistData(); }, getlistData: function() { var e2 = this; if (!this.query.uuid) return this.tableData = [], this.allTableData = [], void (this.pageTotal = 0); var t2 = Object.assign({}, this.query, { pageNumber: -1, pageSize: -1 }); Object(l["d"])(t2).then((function(t3) { var a2 = t3 && t3.data && Array.isArray(t3.data) ? t3.data : []; e2.allTableData = a2, e2.pageTotal = a2.length, e2.updatePageList(); })); }, updatePageList: function() { var e2 = (this.query.pageNumber - 1) * this.query.pageSize, t2 = this.query.pageNumber * this.query.pageSize; this.tableData = this.allTableData.slice(e2, t2); }, getActivationCode: function() { var e2 = this, t2 = "请输入长度为18位的激活码"; this.$prompt("", "激活码", { confirmButtonText: "确定", cancelButtonText: "取消", inputPlaceholder: t2, inputValidator: function(e3) { return e3 ? 18 != e3.length ? "您输入的激活码位数长度错误" : void 0 : t2; }, inputErrorMessage: t2 }).then((function(t3) { var a2 = t3.value; e2.activationCode = a2, e2.checkActivationCode(); })).catch((function() { })); }, checkActivationCode: function() { var e2 = this, t2 = { cdkey: this.activationCode, companyId: this.query.companyId }; Object(l["h"])(t2).then((function(t3) { 0 === t3.code && t3.data ? (e2.templateSelection = -1, e2.templateRadio = "", e2.activationCodeInfo = t3.data, e2.getProjectList(t3.data.orderId)) : e2.$message({ type: "error", message: "未查询到相关激活码信息,请重新输入" }); })); }, getProjectList: function(e2) { var t2 = this, a2 = JSON.parse(window.localStorage.getItem("companyInfo")).osId, n2 = { id: a2, mallOrderId: e2 }; Object(p["i"])(n2).then((function(e3) { 0 == e3.code && (t2.projectList = e3.data, t2.dialogTableVisible = true); })); }, submitProjects: function() { var e2 = this; if (this.activationCodeInfo.num <= 0) return this.$message({ type: "error", message: "激活码剩余使用次数不足" }), false; if (!this.templateRadio) return this.$message({ type: "error", message: "请先选择需要激活的项目" }), false; if (!this.templateRadio) return this.$message({ type: "error", message: "请先选择需要激活的项目" }), false; var t2 = JSON.parse(window.localStorage.getItem("companyInfo")).osId, a2 = JSON.parse(window.localStorage.getItem("memberInfor")), n2 = { cdkey: this.activationCodeInfo.cdkey, companyId: t2, projectName: this.templateRadio.name, projectUuid: this.templateRadio.uuid, operatorName: a2.name, operatorId: a2.id, operatorByPhone: a2.phoneNumber }; Object(l["f"])(n2).then((function(t3) { 0 === t3.code ? (e2.selectAll(), e2.dialogTableVisible = false, e2.$message({ type: "success", message: "激活项目成功" })) : e2.$message({ type: "error", message: "激活项目失败" }); })); }, goBack: function() { this.viewInfo = false, this.infoList = true, this.getlistData(); }, handleSizeChange: function(e2) { this.query.pageSize = e2, this.query.pageNumber = 1, this.updatePageList(); }, handleCurrentChange: function(e2) { this.query.pageNumber = e2, this.updatePageList(); }, resetForm: function() { this.query.pageNumber = 1, this.query.pname = "", this.query.pn = "", this.query.status = "", this.projectListAllList.length > 0 && (this.query.uuid = this.projectListAllList[0].uuid), this.getlistData(); }, handleComapnySizeChange: function(e2) { this.projectQuery.pageSize = e2, this.projectQuery.pageNumber = 1; }, handleComapnyCurrentChange: function(e2) { this.projectQuery.pageNumber = e2; }, headClass: function() { return "text-align:center;background:#FAFAFA;"; }, handleClick: function(e2) { this.preferentialCodeMessage = ""; var t2 = e2.paneName; this.paymentBase.recommId = null, "discountCode" === t2 ? (this.paymentBase.recommName = "", this.paymentBase.recommMobile = "") : this.paymentBase.discountCode = "", this.discount = 0; }, selectData: function(e2, t2) { if (this.$refs.projectMultipleTable.clearSelection(), 0 === e2.length) return this.templateRadio = "", void (this.templateSelection = -1); this.$refs.projectMultipleTable.toggleRowSelection(t2, true), this.templateSelection = this.projectList.indexOf(t2), this.templateRadio = t2; }, selectAll: function() { this.$refs.projectMultipleTable.clearSelection(), this.templateRadio = "", this.templateSelection = -1; }, getUploadData2: function(e2) { var t2 = []; e2 && e2.length > 0 && e2.forEach((function(e3) { t2.push(e3.filePath); })), this.paymentBase.appendixUrl = t2.join(";"); }, initSchemeData: function(e2) { this.schemeInfo = e2, this.schemePaymentBase.payBankNo = this.companyInfo.publicBankNo, this.schemePaymentBase.payBank = this.companyInfo.publicBank, this.schemePaymentBase.payer = this.companyInfo.payer, this.schemePaymentBase.payerMobile = this.companyInfo.payerMobile, this.getSchemeDetail(), this.getSchemePriceInfo(), this.getSchemeProjectList(); }, getSchemeProjectList: function() { var e2 = this, t2 = JSON.parse(window.localStorage.getItem("companyInfo")).osId; Object(p["i"])({ id: t2 }).then((function(t3) { 0 == t3.code && t3.data ? e2.projectList = t3.data : e2.projectList = []; })); }, getSchemeDetail: function() { var e2 = this; this.schemeInfo.id && Object(p["o"])({ id: this.schemeInfo.id }).then((function(t2) { 0 == t2.code && (e2.schemeList = t2.data); })); }, getSchemePriceInfo: function(e2) { var t2 = this, a2 = {}; e2 && (a2 = e2), this.schemeInfo.id && (a2.schemeId = this.schemeInfo.id, a2.num = this.schemePaymentBase.pnum, Object(p["k"])(a2).then((function(e3) { 0 == e3.code && (t2.schemePayInfo = e3.data, t2.schemePaymentBase.totalAmount = e3.data.totalAmount); }))); }, handleSchemeTabClick: function(e2) { }, changeSchemeNum: function() { this.getSchemePriceInfo(); }, checkSchemeDiscount: function(e2) { var t2 = {}; 0 == e2 ? (t2.discountCode = this.schemePaymentBase.discountCode, this.getSchemePriceInfo(t2)) : this.schemePaymentBase.recommName && this.schemePaymentBase.recommMobile && (t2.name = this.schemePaymentBase.recommName, t2.mobile = this.schemePaymentBase.recommMobile, this.getSchemePriceInfo(t2)); }, handleSchemeClick: function(e2) { var t2 = e2.paneName; "discountCode" === t2 ? (this.schemePaymentBase.recommName = "", this.schemePaymentBase.recommMobile = "") : this.schemePaymentBase.discountCode = "", this.getSchemePriceInfo(); }, getSchemeUploadData: function(e2) { var t2 = []; e2 && e2.length > 0 && e2.forEach((function(e3) { t2.push(e3.filePath); })), this.schemePaymentBase.appendixUrl = t2.join(";"); }, createSchemeOrder: function() { var e2 = this; if (!this.schemePaymentAgreement) return this.$message({ type: "error", message: "请先阅读并同意协议内容" }), false; 2 === this.schemePaymentBase.payType ? this.$refs["schemePaymentBase"].validate((function(t2) { if (!t2) return false; e2.submitCreateSchemeOrder(); })) : this.submitCreateSchemeOrder(); }, submitCreateSchemeOrder: function() { var e2 = this, t2 = JSON.parse(window.localStorage.getItem("memberInfor")), a2 = JSON.parse(window.localStorage.getItem("companyInfo")), n2 = { title: "SaaS产品续费", content: "".concat(this.renewItme.projectName, "项目-SaaS产品权限(购买解决方案)续费"), chargeType: 2, payType: 1, companyId: a2.osId, companyName: a2.fullName, source: 1, type: 9, memberName: t2.name, memberUuid: t2.uuid, mobile: t2.phoneNumber, availableRange: this.schemePaymentBase.availableRange.length > 0 ? this.schemePaymentBase.availableRange.toString() : "", num: this.schemePaymentBase.pnum, schemeId: this.schemeInfo.id, projectName: this.renewItme.projectName, projectUuid: this.renewItme.projectUuid, buyType: 1 }; 2 === this.schemePaymentBase.payType && (n2 = Object.assign(n2, { payBank: this.schemePaymentBase.payBank, payBankNo: this.schemePaymentBase.payBankNo, payTime: this.schemePaymentBase.payTime, payType: this.schemePaymentBase.payType, payer: this.schemePaymentBase.payer, payerMobile: this.schemePaymentBase.payerMobile, appendixUrl: this.schemePaymentBase.appendixUrl, type: 13 })), this.schemePaymentBase.discountCode && (n2.discountCode = this.schemePaymentBase.discountCode), this.schemePaymentBase.recommMobile && this.schemePaymentBase.recommName && (n2.recommName = this.schemePaymentBase.recommName, n2.recommMobile = this.schemePaymentBase.recommMobile), Object(p["f"])(n2).then((function(t3) { if (0 === t3.code) if (2 === e2.schemePaymentBase.payType) e2.$message({ type: "success", message: "SaaS产品权限购买成功,对公转账审核中..." }), e2.handleClose(); else { var a3 = t3.data; e2.openScan(a3); } })); }, handleAbsenceAiClick: function(e2) { this.currentAbsenceAiNum = e2.absenceAiNum || 0, this.currentRow = e2, this.absenceAiDialogVisible = true; }, handleUpgradeAi: function() { var e2 = this, t2 = JSON.parse(window.localStorage.getItem("memberInfor")), a2 = { projectUuid: this.currentRow.projectUuid, schemeId: this.currentRow.schemeId, updaterId: t2.id, updaterName: t2.name, updaterPhone: t2.phoneNumber }; Object(l["e"])(a2).then((function(t3) { 0 === t3.code && (e2.$message({ type: "success", message: "操作成功" }), e2.absenceAiDialogVisible = false, e2.getlistData()); })); } } }, g = f, _ = (a("97ea"), a("829d")), w = Object(_["a"])(g, o, s, false, null, "07d31d43", null), k = w.exports, S = function() { var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2; return a2("div", { staticClass: "kidneyBeanList" }, [e2.infoList ? a2("div", [a2("el-card", { staticClass: "box-card" }, [a2("el-row", [a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-input", { attrs: { clearable: "", placeholder: "产品名称" }, model: { value: e2.query.pname, callback: function(t3) { e2.$set(e2.query, "pname", t3); }, expression: "query.pname" } })], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-input", { attrs: { clearable: "", placeholder: "产品PN码" }, model: { value: e2.query.pn, callback: function(t3) { e2.$set(e2.query, "pn", t3); }, expression: "query.pn" } })], 1), e2._v(" "), a2("el-col", { staticClass: "elCol checkbox-col", attrs: { span: 4 } }, [a2("el-checkbox", { on: { change: e2.handleGroupByPidChange }, model: { value: e2.groupByPidChecked, callback: function(t3) { e2.groupByPidChecked = t3; }, expression: "groupByPidChecked" } }, [e2._v("仅显示唯一产品")])], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) { return e2.resetForm(); } } }, [e2._v("重置")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")])], 1)], 1)], 1), e2._v(" "), a2("el-card", { staticClass: "box-card", staticStyle: { "margin-top": "15px" } }, [a2("div", { staticClass: "button-box" }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.batchActivation } }, [e2._v("批量激活权益")])], 1), e2._v(" "), a2("el-table", { ref: "fableTable", staticStyle: { width: "100%", "margin-top": "15px" }, attrs: { border: "", data: e2.tableData, "header-cell-style": e2.headClass, "row-key": "id" }, on: { "selection-change": e2.selectionChange } }, [a2("el-table-column", { attrs: { type: "selection", fixed: "", align: "center", width: "50", "reserve-selection": true } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "pname", label: "产品名称" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "type", label: "产品类型", width: "130", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(e2._f("getItemType")(t3.row.type, e2.productType)))])]; } }], null, false, 3786545155) }), e2._v(" "), a2("el-table-column", { attrs: { width: "100", align: "center", prop: "pn", label: "PN码" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "type", label: "原价", width: "150" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("div", { staticStyle: { "text-align": "right" } }, [e2._v("\n " + e2._s(e2._f("formatMoney")(t3.row.originalPrice)) + "\n ")])]; } }], null, false, 1441344817) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "type", label: "赠送", width: "150" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("div", { staticStyle: { "text-align": "right" } }, [e2._v("\n " + e2._s(e2._f("formatMoney")(t3.row.discount)) + "\n ")])]; } }], null, false, 968616472) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "type", label: "实付", width: "150" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("div", { staticStyle: { "text-align": "right" } }, [e2._v("\n " + e2._s(e2._f("formatMoney")(t3.row.payAmount)) + "\n ")])]; } }], null, false, 2257573377) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "type", label: "激活码" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.cdkey || "-"))])]; } }], null, false, 3903761403) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "type", label: "支付时间" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.payTime || "-"))])]; } }], null, false, 1473270294) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "type", label: "支付订单号", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.orderNo || "-"))])]; } }], null, false, 3944281700) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "操作", width: "80" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [t3.row ? a2("span", [null == t3.row.total ? a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(a3) { return e2.consume(t3.row); } } }, [e2._v("消费")]) : e2._e()], 1) : e2._e()]; } }], null, false, 3986732548) })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.query.pageNumber, "page-sizes": [10, 20, 30, 50], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.pageTotal }, on: { "update:currentPage": function(t3) { return e2.$set(e2.query, "pageNumber", t3); }, "update:current-page": function(t3) { return e2.$set(e2.query, "pageNumber", t3); }, "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)], 1)], 1) : e2._e(), e2._v(" "), a2("el-dialog", { attrs: { title: "选择项目", visible: e2.dialogTableVisible }, on: { "before-close": e2.close, "update:visible": function(t3) { e2.dialogTableVisible = t3; }, close: e2.close } }, [a2("div", { staticStyle: { "font-size": "12px", color: "red" } }, [e2._v("\n 激活码仅支持部分企业激活,具体请与市场对接人核实\n ")]), e2._v(" "), a2("el-select", { attrs: { "value-key": "id", placeholder: "请选择项目查看产品信息" }, on: { change: e2.projectChange }, model: { value: e2.activeProject, callback: function(t3) { e2.activeProject = t3; }, expression: "activeProject" } }, e2._l(e2.projectList, (function(e3) { return a2("el-option", { key: e3.uuid, attrs: { label: e3.name, value: e3 } }); })), 1), e2._v(" "), "batch" == e2.activationMethod ? a2("el-tabs", { attrs: { type: "border-card" }, model: { value: e2.activeName, callback: function(t3) { e2.activeName = t3; }, expression: "activeName" } }, [null == e2.showProductList ? a2("div", [e2._v("\n 暂无数据,请选择项目查看产品信息\n ")]) : e2._e(), e2._v(" "), e2._l(e2.showProductList, (function(t3, n2) { return a2("el-tab-pane", { key: n2, attrs: { label: n2, name: n2 } }, [a2("el-table", { staticStyle: { width: "100%" }, attrs: { border: "", "empty-text": "暂无数据", data: [t3], "row-key": "uuid" } }, [a2("el-table-column", { attrs: { prop: "beforeExpirationDate", label: "消费前到期时间", align: "center" } }), e2._v(" "), a2("el-table-column", { attrs: { prop: "afterExpirationDate", label: "消费后到期时间", align: "center" } }), e2._v(" "), a2("el-table-column", { attrs: { prop: "num", label: "消费数量", align: "center" } })], 1)], 1); }))], 2) : e2._e(), e2._v(" "), "one" == e2.activationMethod ? a2("el-table", { ref: "multipleTable", staticStyle: { width: "100%" }, attrs: { data: e2.showProductListValues, "empty-text": "暂无数据,请选择项目查看产品信息", border: "", "row-key": "uuid" } }, [a2("el-table-column", { attrs: { prop: "name", label: "产品名称", align: "center" } }), e2._v(" "), a2("el-table-column", { attrs: { prop: "beforeExpirationDate", label: "消费前到期时间", align: "center" } }), e2._v(" "), a2("el-table-column", { attrs: { prop: "afterExpirationDate", label: "消费后到期时间", align: "center" } }), e2._v(" "), a2("el-table-column", { attrs: { prop: "num", label: "消费数量", align: "center" } })], 1) : e2._e(), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: e2.close } }, [e2._v("取 消")]), e2._v(" "), a2("el-button", { attrs: { type: "primary" }, on: { click: e2.submitProjects } }, [e2._v("确认")])], 1)], 1)], 1); }, B = [], P = (a("b3d7"), a("32ea"), { components: {}, data: function() { return { productType: y["pb"], type: "", pageTotal: 0, viewInfo: false, infoList: true, query: { projectName: "", companyId: JSON.parse(window.localStorage.getItem("companyInfo")).osId, pname: "", pn: "", pageNumber: 1, pageSize: 10, status: 1, groupByPid: 0 }, groupByPidChecked: false, tableData: [], projectQuery: { pageNumber: 1, pageSize: 10 }, projectList: [], projectTotal: 0, dialogTableVisible: false, templateSelection: -1, consumeProduct: {}, selectList: [], activeProject: "", showProductList: null, showProductListKeys: [], showProductListValues: [], activationMethod: "one", activeName: "" }; }, mounted: function() { console.log(JSON.parse(window.localStorage.getItem("memberInfor")).phoneNumber), this.headClass(), this.getlistData(); }, methods: { close: function() { this.showProductList = null, this.showProductListKeys = [], this.showProductListValues = [], this.activeProject = "", this.dialogTableVisible = false, this.activeName = ""; }, projectChange: function(e2) { var t2 = this; this.activeName = "", this.showProductList = null, this.showProductListKeys = [], this.showProductListValues = []; var a2 = { companyId: JSON.parse(window.localStorage.getItem("companyInfo")).osId, projectUuid: e2.uuid }; "one" == this.activationMethod ? a2.ids = [this.consumeProduct.id] : a2.ids = this.selectList.map((function(e3) { return e3.id; })), Object(l["g"])(a2).then((function(e3) { 0 == e3.code && e3.data && (t2.showProductList = e3.data, t2.showProductListKeys = Object.keys(t2.showProductList), t2.showProductListValues = Object.values(t2.showProductList), 1 == t2.showProductListValues.length && 1 == t2.showProductListKeys.length && (t2.showProductListValues[0].name = t2.showProductListKeys[0]), "batch" == t2.activationMethod && (t2.activeName = t2.showProductListKeys[0])); })); }, batchActivation: function() { if (0 == this.selectList.length) return this.$message({ type: "error", message: "请选择需要激活的项目" }), false; this.dialogTableVisible = true, this.activationMethod = "batch", this.getProjectList(); }, selectionChange: function(e2) { this.selectList = e2 || []; }, consume: function(e2, t2) { this.activeProject = "", this.showProductListKeys = [], this.showProductListValues = [], this.consumeProduct = e2, this.activationMethod = "one", this.getProjectList(e2.orderId); }, onSearch: function() { this.query.pageNumber = 1, this.getlistData(); }, getlistData: function() { var e2 = this; Object(l["b"])(this.query).then((function(t2) { e2.tableData = t2.data.records, e2.pageTotal = t2.data.rowsCount; })); }, getProjectList: function(e2) { var t2 = this, a2 = JSON.parse(window.localStorage.getItem("companyInfo")).osId, n2 = { id: a2 }; "one" == this.activationMethod ? n2.mallOrderIds = [e2] : n2.mallOrderIds = this.selectList.map((function(e3) { return e3.orderId; })), Object(p["i"])(n2).then((function(e3) { 0 == e3.code && (t2.projectList = e3.data, t2.dialogTableVisible = true); })); }, submitProjects: function() { var e2 = JSON.parse(window.localStorage.getItem("memberInfor")), t2 = { companyId: JSON.parse(window.localStorage.getItem("companyInfo")).osId, operatorName: e2.name, operatorId: e2.id, operatorByPhone: e2.phoneNumber, projectName: this.activeProject.name, projectUuid: this.activeProject.uuid }; "batch" == this.activationMethod ? (t2.ids = this.selectList.map((function(e3) { return e3.id; })), this.batchUseRights(t2)) : (t2.cdkey = this.consumeProduct.cdkey, this.useRights(t2)); }, batchUseRights: function(e2) { var t2 = this; Object(l["a"])(e2).then((function(e3) { 0 === e3.code ? (t2.$message({ type: "success", message: "批量权益消费成功" }), t2.$refs.fableTable.clearSelection(), t2.getlistData(), t2.dialogTableVisible = false) : t2.$message({ type: "error", message: "批量权益消费失败" }); })); }, useRights: function(e2) { var t2 = this; Object(l["f"])(e2).then((function(e3) { 0 === e3.code ? (t2.$message({ type: "success", message: "权益消费成功" }), t2.$refs.fableTable.clearSelection(), t2.getlistData(), t2.dialogTableVisible = false) : t2.$message({ type: "error", message: "权益消费失败" }); })); }, goBack: function() { this.viewInfo = false, this.infoList = true, this.getlistData(); }, handleSizeChange: function(e2) { this.query.pageSize = e2, this.getlistData(); }, handleCurrentChange: function(e2) { this.query.pageNumber = e2, this.getlistData(); }, resetForm: function() { this.query.pageNumber = 1, this.query.pname = "", this.query.pn = "", this.query.groupByPid = 0, this.groupByPidChecked = false, this.getlistData(); }, handleGroupByPidChange: function(e2) { this.query.groupByPid = e2 ? 1 : 0, this.query.pageNumber = 1, this.getlistData(); }, handleComapnySizeChange: function(e2) { this.projectQuery.pageSize = e2, this.projectQuery.pageNumber = 1; }, handleComapnyCurrentChange: function(e2) { this.projectQuery.pageNumber = e2; }, headClass: function() { return "text-align:center;background:#FAFAFA;"; } } }), C = P, N = (a("cd41"), Object(_["a"])(C, S, B, false, null, "783c3a29", null)), T = N.exports, I = function() { var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2; return a2("div", { staticClass: "kidneyBeanList" }, [e2.infoList ? a2("div", [a2("el-card", { staticClass: "box-card" }, [a2("el-row", [a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-input", { attrs: { clearable: "", placeholder: "支付订单号" }, model: { value: e2.query.orderNo, callback: function(t3) { e2.$set(e2.query, "orderNo", t3); }, expression: "query.orderNo" } })], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-select", { attrs: { clearable: "", placeholder: "支付渠道" }, model: { value: e2.query.payType, callback: function(t3) { e2.$set(e2.query, "payType", t3); }, expression: "query.payType" } }, e2._l(e2.payTypeList, (function(e3) { return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } }); })), 1)], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-select", { attrs: { clearable: "", placeholder: "发票状态" }, on: { change: e2.pushStatus }, model: { value: e2.query.status, callback: function(t3) { e2.$set(e2.query, "status", t3); }, expression: "query.status" } }, e2._l(e2.invoiceStateDeleteFailure, (function(e3) { return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } }); })), 1)], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 8 } }, [a2("el-date-picker", { attrs: { type: "daterange", "range-separator": "至", format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", "start-placeholder": "开始时间", "end-placeholder": "结束时间" }, on: { change: e2.GetzhifuTime }, model: { value: e2.payTime, callback: function(t3) { e2.payTime = t3; }, expression: "payTime" } })], 1), e2._v(" "), a2("el-col", { staticClass: "elCol mt", attrs: { span: 4 } }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) { return e2.resetForm(); } } }, [e2._v("重置")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")])], 1)], 1)], 1), e2._v(" "), a2("el-card", { staticClass: "box-card", staticStyle: { "margin-top": "15px" } }, [a2("el-table", { staticStyle: { width: "100%", "margin-top": "15px" }, attrs: { border: "", data: e2.tableData, "header-cell-style": e2.headClass } }, [a2("el-table-column", { attrs: { label: "#", align: "center", "min-width": "50", fixed: "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.$index + (e2.query.pageNumber - 1) * e2.query.pageSize + 1) + "\n ")])]; } }], null, false, 3311124033) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "payTime", label: "支付时间", fixed: "", "min-width": "160", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "orderNo", label: "支付订单号", fixed: "", "min-width": "160", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "payType", label: "支付渠道", fixed: "", "min-width": "100" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v(e2._s(e2._f("getItemType")(t3.row.payType, e2.payTypeList)))]; } }], null, false, 3945233233) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "", label: "第三方交易流水号", "min-width": "200", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v(e2._s(t3.row.transactionId || "-"))]; } }], null, false, 1790903865) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "projectName", label: "项目名称", "min-width": "150" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v(e2._s(t3.row.projectName || "-"))]; } }], null, false, 1976326402) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "操作", "min-width": "150" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) { return e2.look(t3.row); } } }, [e2._v("查看")]), e2._v(" "), 1 == t3.row.invoiceStatus || 5 == t3.row.invoiceStatus ? a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) { return e2.invoiceAddClick(t3.row); } } }, [e2._v("去开票")]) : e2._e()]; } }], null, false, 311038031) })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.query.pageNumber, "page-sizes": [10, 20, 30, 50], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.pageTotal }, on: { "update:currentPage": function(t3) { return e2.$set(e2.query, "pageNumber", t3); }, "update:current-page": function(t3) { return e2.$set(e2.query, "pageNumber", t3); }, "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)], 1)], 1) : e2._e(), e2._v(" "), a2("el-dialog", { attrs: { title: "查看", visible: e2.lookShow, width: "85%", "before-close": e2.lookClose }, on: { "update:visible": function(t3) { e2.lookShow = t3; } } }, [a2("el-table", { attrs: { "header-cell-style": e2.headClass, border: "", data: e2.lookTable } }, [a2("el-table-column", { attrs: { "min-width": "140", align: "center", prop: "schemeName", label: "解决方案", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v("\n " + e2._s(t3.row.schemeName || "-") + "\n ")])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { "min-width": "90", align: "center", prop: "schemeId", label: "解决方案号", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v("\n " + e2._s(t3.row.schemeId || "-") + "\n ")])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { "min-width": "120", align: "center", prop: "aiNum", label: "AI产品数量", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.aiNum || 0))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", prop: "marketPrice", label: "市场价(月)", "min-width": "120" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v(e2._s(e2._f("formatMoney")(t3.row.marketPrice)))]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { "min-width": "120", align: "center", prop: "recommName", label: "推荐人", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.recommName || "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { "min-width": "130", align: "center", prop: "recommMobile", label: "推荐人联系方式", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.recommMobile || "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "discountCode", label: "优惠码", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.discountCode || "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", prop: "originalPrice", label: "应付金额", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v(e2._s(e2._f("formatMoney")(t3.row.originalPrice)))]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", prop: "discount", label: "优惠金额", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v(e2._s(e2._f("formatMoney")(t3.row.discount)))]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", prop: "payAmount", label: "实付金额", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v(e2._s(e2._f("formatMoney")(t3.row.payAmount)))]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { "min-width": "150", align: "center", prop: "projectName", label: "关联项目", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v("\n " + e2._s(t3.row.projectName || "-") + "\n ")])]; } }]) })], 1), e2._v(" "), a2("div", { staticClass: "lookPaginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.lookPageNumber, "page-sizes": [10, 20, 30, 50], "page-size": e2.lookPageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.lookTotal }, on: { "update:currentPage": function(t3) { e2.lookPageNumber = t3; }, "update:current-page": function(t3) { e2.lookPageNumber = t3; }, "size-change": e2.lookHandleSizeChange, "current-change": e2.lookHandleCurrentChange } })], 1)], 1), e2._v(" "), a2("el-dialog", { attrs: { title: "开票列表", visible: e2.invoiceShow, width: "70%", "before-close": e2.invoiceListClose }, on: { "update:visible": function(t3) { e2.invoiceShow = t3; } } }, [a2("el-table", { ref: "invoiceTable", attrs: { "header-cell-style": e2.headClass, border: "", data: e2.invoiceTable, "max-height": "600" }, on: { "selection-change": e2.changeSelect } }, [a2("el-table-column", { attrs: { "min-width": "50", align: "center", type: "selection", selectable: e2.disSelect } }), e2._v(" "), a2("el-table-column", { attrs: { "min-width": "120", align: "center", prop: "pname", label: "产品名称", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v("\n " + e2._s(t3.row.pname || "-") + "\n ")])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { width: "90", align: "center", prop: "pn", label: "PN码", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v("\n " + e2._s(t3.row.pn || "-") + "\n ")])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { "min-width": "100", align: "center", prop: "type", label: "产品类型", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(e2._f("getItemType")(t3.row.ptype, e2.productType)))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "useMonth", label: "数量", width: "80" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.pnum || "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", prop: "payAmount", label: "实付金额", width: "140", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v(e2._s(e2._f("formatMoney")(t3.row.payAmount)))]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "发票类型", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2.filterInvoiceType(t3.row.invoiceType)) + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "发票费率", width: "100" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.taxRate ? t3.row.taxRate + "%" : "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "是否可开票", width: "100" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(1 == t3.row.invoiceEnable ? "可开" : "不可开"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "状态", width: "100" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2.filterStatus(t3.row.invoiceStatus)) + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "操作", width: "80" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("el-button", { attrs: { type: "text", disabled: 3 != t3.row.invoiceStatus }, on: { click: function(a3) { return e2.download(t3.row); } } }, [e2._v("下载")])]; } }]) })], 1), e2._v(" "), e2.selectList.length > 0 ? a2("div", { staticStyle: { "margin-top": "20px" } }, [a2("el-button", { attrs: { type: "primary" }, on: { click: e2.invoiceAdd } }, [e2._v("确认开票")])], 1) : e2._e(), e2._v(" "), a2("el-dialog", { attrs: { visible: e2.invoiceVisible, "close-on-click-modal": false, "close-on-press-escape": false, width: "35%", "before-close": e2.invoiceClose, "append-to-body": "" }, on: { "update:visible": function(t3) { e2.invoiceVisible = t3; } } }, [a2("div", { attrs: { slot: "title" }, slot: "title" }, [a2("span", { staticStyle: { "font-size": "24px" } }, [e2._v("开具发票")]), e2._v(" "), a2("span", { staticStyle: { "font-size": "12px", "padding-left": "20px" } }, [e2._v("开票成功后,三个工作日内将发送至你的电子邮箱")])]), e2._v(" "), a2("el-form", { ref: "invoiceForm", staticClass: "form-set", attrs: { model: e2.invoiceForm, "label-width": "140px" } }, [a2("el-form-item", { attrs: { label: "类型", prop: "openType" } }, [a2("el-radio-group", { model: { value: e2.invoiceForm.openType, callback: function(t3) { e2.$set(e2.invoiceForm, "openType", t3); }, expression: "invoiceForm.openType" } }, [a2("el-radio", { attrs: { label: 2 } }, [e2._v("个人")]), e2._v(" "), a2("el-radio", { attrs: { label: 1 } }, [e2._v("单位")])], 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "开票抬头/购方名称", prop: "title", rules: { required: true, message: "开票抬头/购方名称不能为空", trigger: ["blur", "change"] } } }, [a2("el-input", { attrs: { placeholder: "开票抬头/购方名称" }, model: { value: e2.invoiceForm.title, callback: function(t3) { e2.$set(e2.invoiceForm, "title", t3); }, expression: "invoiceForm.title" } })], 1), e2._v(" "), 1 == e2.invoiceForm.openType ? a2("el-form-item", { attrs: { label: "统一社会信用代码", prop: "taxNo", rules: [{ required: true, message: "统一社会信用代码不能为空", trigger: ["blur", "change"] }, { min: 18, message: "统一社会信用代码长度为18位", trigger: ["blur", "change"] }] } }, [a2("el-input", { attrs: { clearable: "", placeholder: "统一社会信用代码" }, model: { value: e2.invoiceForm.taxNo, callback: function(t3) { e2.$set(e2.invoiceForm, "taxNo", t3); }, expression: "invoiceForm.taxNo" } })], 1) : e2._e(), e2._v(" "), a2("el-form-item", { attrs: { label: "购方电话", prop: "buyerPhone", rules: [{ required: true, message: "购方电话不能为空", trigger: ["blur", "change"] }] } }, [a2("el-input", { attrs: { clearable: "", placeholder: "请输入购方电话" }, model: { value: e2.invoiceForm.buyerPhone, callback: function(t3) { e2.$set(e2.invoiceForm, "buyerPhone", t3); }, expression: "invoiceForm.buyerPhone" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "购方地址", prop: "buyerAddress", rules: [{ required: true, message: "购方地址不能为空", trigger: ["blur", "change"] }] } }, [a2("el-input", { attrs: { clearable: "", placeholder: "请输入购方地址" }, model: { value: e2.invoiceForm.buyerAddress, callback: function(t3) { e2.$set(e2.invoiceForm, "buyerAddress", t3); }, expression: "invoiceForm.buyerAddress" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "购方开户行账号", prop: "buyerBankAccount", rules: [{ required: true, message: "购方开户行账号不能为空", trigger: ["blur", "change"] }] } }, [a2("el-input", { attrs: { clearable: "", placeholder: "请输入购方开户行账号" }, model: { value: e2.invoiceForm.buyerBankAccount, callback: function(t3) { e2.$set(e2.invoiceForm, "buyerBankAccount", t3); }, expression: "invoiceForm.buyerBankAccount" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "购方开户行地址", prop: "buyerBankAddress", rules: [{ required: true, message: "购方开户行地址不能为空", trigger: ["blur", "change"] }] } }, [a2("el-input", { attrs: { clearable: "", placeholder: "请输入购方开户行地址" }, model: { value: e2.invoiceForm.buyerBankAddress, callback: function(t3) { e2.$set(e2.invoiceForm, "buyerBankAddress", t3); }, expression: "invoiceForm.buyerBankAddress" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "发票类型", prop: "invoiceType", rules: [{ required: true, message: "发票类型不能为空", trigger: ["change"] }] } }, [a2("el-select", { attrs: { placeholder: "请选择发票类型" }, model: { value: e2.invoiceForm.invoiceType, callback: function(t3) { e2.$set(e2.invoiceForm, "invoiceType", t3); }, expression: "invoiceForm.invoiceType" } }, e2._l(e2.invoiceTypes, (function(e3, t3) { return a2("el-option", { key: t3, attrs: { label: e3.label, value: e3.value } }); })), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "邮箱", prop: "email", rules: [{ required: true, message: "邮箱不能为空", trigger: "blur" }, { type: "email", message: "邮箱地址不正确", trigger: "blur" }] } }, [a2("el-input", { attrs: { clearable: "", placeholder: "请输入发票接收邮箱" }, model: { value: e2.invoiceForm.email, callback: function(t3) { e2.$set(e2.invoiceForm, "email", t3); }, expression: "invoiceForm.email" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "备注", prop: "remark" } }, [a2("el-input", { attrs: { type: "textarea", rows: 2, clearable: "", disabled: "" }, model: { value: e2.invoiceForm.remark, callback: function(t3) { e2.$set(e2.invoiceForm, "remark", t3); }, expression: "invoiceForm.remark" } })], 1), e2._v(" "), a2("el-form-item", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 200, expression: "200" }], attrs: { type: "primary", loading: e2.invoiceLoad }, on: { click: function(t3) { return e2.invoiceCreat("invoiceForm"); } } }, [e2._v("确认")]), e2._v(" "), a2("el-button", { on: { click: e2.invoiceClose } }, [e2._v("取消")])], 1)], 1)], 1)], 1)], 1); }, x = [], j = (a("ac67"), a("5821")), A = (a("e5b4"), a("c5cb"), a("0c84"), a("2843"), a("aa18"), a("982e"), a("fc02"), a("b775")); function L(e2) { return Object(A["a"])({ url: "/hakocompany/InvoiceRecord/openInvoiceForMall", method: "post", data: e2 }); } function O(e2, t2) { var a2 = Object.keys(e2); if (Object.getOwnPropertySymbols) { var n2 = Object.getOwnPropertySymbols(e2); t2 && (n2 = n2.filter((function(t3) { return Object.getOwnPropertyDescriptor(e2, t3).enumerable; }))), a2.push.apply(a2, n2); } return a2; } function M(e2) { for (var t2 = 1; t2 < arguments.length; t2++) { var a2 = null != arguments[t2] ? arguments[t2] : {}; t2 % 2 ? O(Object(a2), true).forEach((function(t3) { Object(j["a"])(e2, t3, a2[t3]); })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e2, Object.getOwnPropertyDescriptors(a2)) : O(Object(a2)).forEach((function(t3) { Object.defineProperty(e2, t3, Object.getOwnPropertyDescriptor(a2, t3)); })); } return e2; } var q = { components: {}, data: function() { return { productType: y["pb"], type: "", pageTotal: 0, viewInfo: false, infoList: true, companyInfo: "", query: { companyId: "", orderNo: "", startTime: "", endTime: "", pageNumber: 1, pageSize: 10, payType: "", status: "", typeList: [9, 10, 13], invoiceStatusList: [] }, payTime: null, tableData: [], payTypeList: y["jb"], invoiceStateDeleteFailure: y["Q"], invoiceTypes: [], invoiceForm: { openType: 1, title: "", taxNo: "", buyerPhone: "", buyerAddress: "", buyerBankAccount: "", buyerBankAddress: "", email: "", remark: "", invoiceType: "" }, invoiceVisible: false, invoiceInfo: "", invoiceLoad: false, invoiceType: y["R"], props: { multiple: true }, lookShow: false, lookTable: [], lookAllData: [], lookPageNumber: 1, lookPageSize: 10, lookTotal: 0, id: "", invoiceShow: false, invoiceTable: [], selectList: [] }; }, mounted: function() { this.headClass(), this.getlistData(), this.companyInfo = JSON.parse(window.localStorage.getItem("companyInfo")), this.query.companyId = this.companyInfo.osId; }, methods: { download: function(e2) { if (e2.invoiceUrl) { var t2 = e2.invoiceUrl, a2 = document.createElement("a"); a2.href = t2, a2.click(); } }, getLookData: function() { var e2 = this; Object(r["g"])({ id: this.id }).then((function(t2) { 0 == t2.code && (e2.lookAllData = t2.data || [], e2.lookTotal = e2.lookAllData.length, e2.updateLookTable()); })); }, updateLookTable: function() { var e2 = (this.lookPageNumber - 1) * this.lookPageSize, t2 = e2 + this.lookPageSize; this.lookTable = this.lookAllData.slice(e2, t2); }, look: function(e2) { this.id = e2.orderId, this.getLookData(), this.lookShow = true; }, lookClose: function() { this.lookPageSize = 10, this.lookPageNumber = 1, this.lookTotal = 0, this.lookShow = false; }, detailsClick: function(e2, t2) { var a2 = e2; a2.type = t2; }, onSearch: function() { this.query.pageNumber = 1, this.getlistData(); }, GetzhifuTime: function() { null != this.payTime && (this.query.startTime = this.payTime[0] + " 00:00:00", this.query.endTime = this.payTime[1] + " 23:59:59"); }, getlistData: function() { var e2 = this; Object(r["e"])(this.query).then((function(t2) { e2.tableData = t2.data.records, e2.pageTotal = t2.data.rowsCount; })); }, goBack: function() { this.viewInfo = false, this.infoList = true, this.getlistData(); }, lookHandleSizeChange: function(e2) { this.lookPageSize = e2, this.lookPageNumber = 1, this.updateLookTable(); }, lookHandleCurrentChange: function(e2) { this.lookPageNumber = e2, this.updateLookTable(); }, handleSizeChange: function(e2) { this.query.pageSize = e2, this.getlistData(); }, handleCurrentChange: function(e2) { this.query.pageNumber = e2, this.getlistData(); }, resetForm: function() { this.query.pageNumber = 1, this.query.orderNo = "", this.query.pname = "", this.query.pn = "", this.query.payType = "", this.query.startTime = "", this.query.endTime = "", this.payTime = null, this.getlistData(); }, headClass: function() { return "text-align:center;background:#FAFAFA;"; }, invoiceAddClick: function(e2) { this.invoiceShow = true, this.getSubList(e2), this.invoiceForm.remark = "支付订单号:".concat(e2.orderNo); }, getSubList: function(e2) { var t2 = this, a2 = { orderId: e2.orderId, pageSize: -1, pageNumber: -1 }; Object(r["b"])(a2).then((function(e3) { t2.invoiceTable = e3.data.records; })); }, disSelect: function(e2, t2) { return 1 == e2.invoiceEnable && (1 == e2.invoiceStatus || 5 == e2.invoiceStatus); }, changeSelect: function(e2) { var t2 = this; this.selectList = e2; var a2 = []; if (this.invoiceForm.mallOrderDetailIds = [], e2) { e2.forEach((function(e3) { var n3 = e3.invoiceType.split(","); a2.push(n3), t2.invoiceForm.mallOrderDetailIds.push(e3.id); })); var n2 = this.intersectNoRepeatTwice(a2), i2 = this.invoiceType.filter((function(e3) { return n2.includes(e3.value); })); i2.length ? (this.invoiceTypes = i2, this.invoiceForm.invoiceType = this.invoiceTypes[0].value) : this.invoiceTypes = []; } }, intersectNoRepeatTwice: function(e2) { return e2.length ? e2.reduce((function(e3, t2) { return Array.from(new Set(t2.filter((function(t3) { return e3.includes(t3); })))); })) : []; }, invoiceAdd: function() { this.invoiceVisible = true; }, invoiceListClose: function() { this.$refs.invoiceTable.clearSelection(), this.invoiceShow = false; }, filterInvoiceType: function(e2) { if (e2) { var t2 = [], a2 = e2.split(","); return a2.map((function(e3) { var a3 = y["R"].find((function(t3) { return t3.value == e3; })); t2.push(a3.label); })), t2.toString(); } return "-"; }, invoiceDownloadClick: function(e2) { var t2 = e2.invoiceUrl, a2 = document.createElement("a"); a2.href = t2, a2.click(); }, invoiceCreat: function() { var e2 = this; this.$refs["invoiceForm"].validate((function(t2) { if (t2) { console.log(e2.invoiceInfo), e2.invoiceLoad = true; var a2 = JSON.parse(window.localStorage.getItem("memberInfor")), n2 = JSON.parse(window.localStorage.getItem("companyInfo")), i2 = M({ companyId: n2.id, companyName: n2.fullName, createId: a2.id, createName: a2.name, source: 3, invoiceType: 1 }, e2.invoiceForm); i2.taxNo = 1 == i2.openType ? i2.taxNo : "", L(i2).then((function(t3) { 0 == t3.code && (e2.$message({ message: t3.message, type: "success" }), e2.invoiceLoad = false, e2.$refs.invoiceTable.clearSelection(), e2.getSubList()); })).catch((function(t3) { e2.invoiceLoad = false; })); } })); }, invoiceClose: function() { this.$refs["invoiceForm"].resetFields(), this.invoiceVisible = false; }, pushStatus: function(e2) { e2 ? (this.query.invoiceStatusList = [], this.query.invoiceStatusList.push(e2)) : this.query.invoiceStatusList = []; }, filterStatus: function(e2) { switch (e2) { case 1: return "未开票"; case 2: return "开票中"; case 3: return "已开票"; case 4: return "已作废"; case 5: return "开票失败"; } } } }, D = q, F = (a("6331"), Object(_["a"])(D, I, x, false, null, "e32eab72", null)), $ = F.exports, z = { name: "advancedSetting", components: { rightsList: k, rightsToBeUsed: T, paymentOrder: $ }, data: function() { return { activeName: "rightsList" }; }, created: function() { localStorage.removeItem("selectMenu"); }, methods: { handleClick: function(e2) { var t2 = e2.paneName; this.activeName = t2; } } }, V = z, R = Object(_["a"])(V, n, i, false, null, null, null); t["default"] = R.exports; }, "87e1": function(e, t, a) { }, "97ea": function(e, t, a) { "use strict"; a("87e1"); }, "9bdd": function(e, t, a) { "use strict"; a.d(t, "b", (function() { return i; })), a.d(t, "d", (function() { return o; })), a.d(t, "c", (function() { return s; })), a.d(t, "g", (function() { return l; })), a.d(t, "a", (function() { return r; })), a.d(t, "f", (function() { return c; })), a.d(t, "h", (function() { return p; })), a.d(t, "e", (function() { return m; })), a.d(t, "i", (function() { return u; })); var n = a("b775"); function i(e2) { return Object(n["a"])({ url: "/hakocompany/RightsProject/recordPageList", method: "post", data: e2 }); } function o(e2) { return Object(n["a"])({ url: "/hakocompany/RightsProject/projectSchemeDetail", method: "post", data: e2 }); } function s(e2) { return Object(n["a"])({ url: "/hakocompany/RightsProject/expireSchemeDetail", method: "post", data: e2 }); } function l(e2) { return Object(n["a"])({ url: "/hakocompany/RightsProject/rightsActivationPreview", method: "post", data: e2 }); } function r(e2) { return Object(n["a"])({ url: "/hakocompany/RightsProject/batchRightsActivation", method: "post", data: e2 }); } function c(e2) { return Object(n["a"])({ url: "/hakocompany/RightsProject/rightsActivation", method: "post", data: e2 }); } function p(e2) { return Object(n["a"])({ url: "/hakocompany/RightsProject/findByCdkey", method: "post", data: e2 }); } function m(e2) { return Object(n["a"])({ url: "/hakocompany/RightsProject/projectSchemeUpgrade", method: "post", data: e2 }); } function u(e2) { return Object(n["a"])({ url: "/hakocompany/OrderContract/pageList", method: "post", data: e2 }); } }, b3d7: function(e, t, a) { var n = a("e99b"), i = a("d3ef")(false); n(n.S, "Object", { values: function(e2) { return i(e2); } }); }, cd41: function(e, t, a) { "use strict"; a("5ec4"); }, d3ef: function(e, t, a) { var n = a("26df"), i = a("93ca"), o = a("3471"), s = a("35d4").f; e.exports = function(e2) { return function(t2) { var a2, l = o(t2), r = i(l), c = r.length, p = 0, m = []; while (c > p) a2 = r[p++], n && !s.call(l, a2) || m.push(e2 ? [a2, l[a2]] : l[a2]); return m; }; }; }, e848: function(e, t, a) { } }]);