Files
starRiverProperty/frontend/decompiled/cwos-portal/static/js/158.990cb042215de32880b5.js
T
hpd840321 7b2bd307f1 Initial commit: reorganized source tree
- backend/: 13 Maven modules (cw-elevator-application, cloudwalk-cloud, intelligent-cwoscomponent, ninca-crk, etc.)
- frontend/: 4 Vue projects (elevator-front, cwos-portal, alarm-front, front_acs) + decompiled + scripts
- scripts/: build, test-env, tools (Docker Compose, service templates, API parity)
- docs/: AGENTS.md, superpowers specs, architecture docs
- .gitignore: standard Java/Maven exclusions

Moved from legacy maven-*/ root layout to backend/ organized structure.
2026-05-09 09:56:45 +08:00

1 line
7.1 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
webpackJsonp([158],{FIrr:function(a,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var e=t("MZdq"),i=(t("9Zzp"),t("mBCk")),s=t("COE1"),r={mixins:[i.a],data:function(){return{tips:"请上传购车发票",formatTips:"图片支持jpg、jpeg、png、bmp、jfif 格式,像素4000*3000以内,最大支持3MB",idCardUrl:"",responseText:"",result:"",idCardBackInfo:{},isShowInfo:!1,types:["image/jpeg","image/png","image/bmp","image/jpg","image/jfif"]}},methods:{upload:function(a){var n=this,t={channelCode:"system",image:a};e.b.purchaseInvoiceOcr(t).then(function(a){a.data&&a.success?(n.isShowInfo=!0,n.result=a.data,n.responseText=a):(n.isShowInfo=!1,n.$message.error(a.message),n.responseText=a)})}},components:{responseText:s.a}},l={render:function(){var a=this,n=a.$createElement,t=a._self._c||n;return t("div",{staticClass:"app-container"},[t("el-card",{attrs:{shadow:"hover"}},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("span",{staticStyle:{"font-size":"14px"}},[a._v("通过上传的购车发票图片,对图片中发票信息,输出关键字段。")])]),a._v(" "),t("div",{staticClass:"simulator-box"},[t("div",{staticClass:"up-box",staticStyle:{position:"relative"}},[t("img-upload",{attrs:{buttonText:"上传图片",tips:a.tips,types:a.types,formatTip:a.formatTips,fileSize:3},on:{upload:a.upload}})],1),a._v(" "),t("span",{staticClass:"result-tip-text"},[a._v("识别结果")]),a._v(" "),t("div",{staticClass:"card-box"},[a.isShowInfo?t("ul",{staticClass:"card-info"},[t("li",[a._v("\n 机打号码:\n "),t("span",[a._v(a._s(a.result.machinePrintNo?a.result.machinePrintNo.data:""))])]),a._v(" "),t("li",[a._v("\n 机打代码:\n "),t("span",[a._v(a._s(a.result.machinePrintCode?a.result.machinePrintCode.data:""))])]),a._v(" "),t("li",[a._v("\n 发票号码:\n "),t("span",[a._v(a._s(a.result.invoiceNo?a.result.invoiceNo.data:""))])]),a._v(" "),t("li",[a._v("\n 发票代码:\n "),t("span",[a._v(a._s(a.result.invoiceCode?a.result.invoiceCode.data:""))])]),a._v(" "),t("li",[a._v("\n 购买方名称:\n "),t("span",[a._v(a._s(a.result.buyerName?a.result.buyerName.data:""))])]),a._v(" "),t("li",[a._v("\n 身份证号:\n "),t("span",[a._v(a._s(a.result.buyerCode?a.result.buyerCode.data:""))])]),a._v(" "),t("li",[a._v("\n 发票日期:\n "),t("span",[a._v(a._s(a.result.billDate?a.result.billDate.data:""))])]),a._v(" "),t("li",[a._v("\n 车辆识别代号:\n "),t("span",[a._v(a._s(a.result.frameNo?a.result.frameNo.data:""))])]),a._v(" "),t("li",[a._v("\n 销货单位名称:\n "),t("span",[a._v(a._s(a.result.saleName?a.result.saleName.data:""))])]),a._v(" "),t("li",[a._v("\n 不含税价:\n "),t("span",[a._v(a._s(a.result.excludeTaxPrice?a.result.excludeTaxPrice.data:""))])]),a._v(" "),t("li",[a._v("\n 税率:\n "),t("span",[a._v(a._s(a.result.vatRate?a.result.vatRate.data:""))])]),a._v(" "),t("li",[a._v("\n 价税合计:\n "),t("span",[a._v(a._s(a.result.priceTaxTotal?a.result.priceTaxTotal.data:""))])]),a._v(" "),t("li",[a._v("\n 价税合计(小写)\n "),t("span",[a._v(a._s(a.result.priceTaxTotalLower?a.result.priceTaxTotalLower.data:""))])]),a._v(" "),t("li",[a._v("\n 增值税税额:\n "),t("span",[a._v(a._s(a.result.vatAmount?a.result.vatAmount.data:""))])])]):a._e(),a._v(" "),a.isShowInfo?a._e():t("span",{staticClass:"none-data"},[a._v("暂无数据")])])])]),a._v(" "),t("response-text",{attrs:{responseText:a.responseText}})],1)},staticRenderFns:[]};var o=t("VU/8")(r,l,!1,function(a){t("HGyq")},"data-v-c30f487a",null);n.default=o.exports},HGyq:function(a,n,t){var e=t("ml69");"string"==typeof e&&(e=[[a.i,e,""]]),e.locals&&(a.exports=e.locals);t("rjj0")("9ebfe70e",e,!0)},ml69:function(a,n,t){(a.exports=t("FZ+f")(!1)).push([a.i,"\n@media screen and (max-width: 1590px) {\n.up-box[data-v-c30f487a] {\n width: 386px;\n}\n.card-box[data-v-c30f487a] {\n width: 386px;\n}\n.avatar[data-v-c30f487a] {\n max-width: 386px;\n}\n.two-li[data-v-c30f487a] {\n margin-left: 40px;\n}\n}\n@media screen and (min-width: 1590px) {\n.up-box[data-v-c30f487a] {\n width: 486px;\n}\n.card-box[data-v-c30f487a] {\n width: 486px;\n}\n.avatar[data-v-c30f487a] {\n max-width: 486px;\n}\n.two-li[data-v-c30f487a] {\n margin-left: 80px;\n}\n}\n.none-data[data-v-c30f487a] {\n font-size: 16px;\n color: #74777c;\n line-height: 308px;\n}\n.card-box[data-v-c30f487a] {\n height: 335px;\n display: inline-block;\n margin-top: 80px;\n text-align: center;\n position: relative;\n background: #f4f5f9;\n padding: 0 0 0 15px;\n overflow-y: auto;\n margin-left: -65px;\n}\n.avatar-uploader .el-upload[data-v-c30f487a] {\n border: 1px dashed #aaa;\n border-radius: 6px;\n cursor: pointer;\n position: relative;\n overflow: hidden;\n}\n.avatar-uploader .el-upload[data-v-c30f487a]:hover {\n border-color: #409eff;\n}\n.avatar-uploader-icon[data-v-c30f487a] {\n border: 1px dashed #aaa;\n font-size: 28px;\n color: #8c939d;\n width: 178px;\n height: 178px;\n line-height: 178px;\n text-align: center;\n display: none;\n}\n.up-box[data-v-c30f487a] {\n text-align: center;\n line-height: 335px;\n height: 335px;\n display: block;\n float: left;\n margin-right: 80px;\n margin-top: 80px;\n margin-bottom: 74px;\n display: table-cell;\n background: #f4f5f9;\n}\n.avatar[data-v-c30f487a] {\n max-height: 335px;\n vertical-align: middle;\n text-align: center;\n margin-top: -5px;\n}\n.card-info[data-v-c30f487a] {\n text-align: left;\n position: relative;\n padding-left: 20px;\n height: 281px;\n border-radius: 6px;\n padding-top: 15px;\n}\n.card-info li[data-v-c30f487a] {\n font-size: 14px;\n line-height: 30px;\n}\n.card-info li span[data-v-c30f487a] {\n font-size: 14px;\n}\nli[data-v-c30f487a] {\n list-style: none;\n line-height: 30px;\n}\n.simulator-box[data-v-c30f487a] {\n position: relative;\n min-height: 280px;\n width: 1500px;\n}\n.simulator-box .result-tip-text[data-v-c30f487a] {\n padding-left: 5px;\n border-left: 4px solid #3399FF;\n display: inline-block;\n float: left;\n height: 18px;\n line-height: 18px;\n font-size: 14px;\n margin-top: 40px;\n}\n[data-v-c30f487a] .el-upload--picture-card {\n width: 170px;\n height: 170px;\n}\n[data-v-c30f487a] .el-upload-list--picture-card .el-upload-list__item {\n width: 170px;\n height: 170px;\n text-align: center;\n vertical-align: middle;\n}\n[data-v-c30f487a] .el-upload-list--picture-card .el-upload-list__item-thumbnail {\n max-width: 170px;\n max-height: 170px;\n width: auto;\n height: auto;\n}\n.default-frame[data-v-c30f487a] {\n height: 147px;\n width: 110px;\n margin-bottom: 13px;\n margin-right: 24px;\n background: url("+t("gpWv")+") center no-repeat;\n}\n.card-avatar[data-v-c30f487a] {\n display: inline-block;\n position: absolute;\n right: 23px;\n top: 25px;\n}\n.card-avatar img[data-v-c30f487a] {\n max-height: 110px;\n max-width: 110px;\n}\n",""])}});