You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
10 KiB
1 lines
10 KiB
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-6665a908"],{"1a86":function(e,t,r){"use strict";t.a={data:function(){return{isSearch:!1,total:null}},created:function(){},methods:{handleSizeChange:function(e){this.queryInfo.pageSize=e,this.initTable()},handleCurrentChange:function(e){this.queryInfo.pageNum=e,this.initTable()},searchClick:function(){this.isSearch=!this.isSearch}}}},"2ba9":function(e,t,r){"use strict";r.r(t);r("4160"),r("d81d"),r("159b"),r("cca6"),r("96cf");var a=r("1da1"),o=r("5530"),n=r("2f62"),l=r("1a78"),i={name:"CheckResult",mixins:[r("1a86").a],data:function(){return{tableData:[],errorHandleDialog:!1,rejectedDialog:!1,reportId:"",reportName:"",errorField:{errMsg:"",dealType:"",dealIdea:""},rejecteForm:{comment:""},queryInfo:{reportId:"",pageSize:50,pageNo:1},rules:{errMsg:[{required:!0,message:"请输入错误原因",trigger:"blur"}],dealType:[{required:!0,message:"请选择处理方式",trigger:"blur"}],dealIdea:[{required:!0,message:"请输入处理意见",trigger:"blur"}]},rejecteRules:{comment:[{required:!0,message:"请输入驳回意见",trigger:"blur"}]}}},mounted:function(){},created:function(){this.id=this.$route.query.id,this.reportId=this.$route.query.reportId,this.reportName=this.$route.query.reportName,this.initTable()},filters:{errMsgFilter:function(e){var t="";return JSON.parse(e).forEach((function(e){t+=e.message})),t}},methods:Object(o.a)(Object(o.a)(Object(o.a)({},Object(n.b)({getComCheckList:"AICheck/getComCheckList"})),{},{goDetail:function(e,t){this.$router.push({name:t,query:{reportId:this.$route.query.reportId}})}},Object(n.b)({getComlianceCheckList:"AICheck/getComlianceCheckList",approved:"AICheck/approved",errorHandle:"AICheck/errorHandle",delPaperImage:"AICheck/delPaperImage"})),{},{goFeesLine:function(e){var t=e.entryId;t&&this.$router.push({name:"FeeLine",query:{entryId:t}})},goImageQuery:function(e){this.$router.push({name:"ImageElectonic",query:{id:e.originalId||15,reportId:e.reportId}})},goback:function(){this.$router.go(-1)},handleSelectionChange:function(e){this.IDS=e.map((function(e){return e.id}))},handleCheckPass:function(){var e=this;this.approved(this.id).then((function(t){e.$message.success(t.message),e.goback()})).catch((function(t){e.$message.error(t.message)}))},rejectedDialogfn:function(){this.rejectedDialog=!0},delImage:function(){var e=this;return Object(a.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$confirm("是否确定删除纸质影像","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"});case 2:"confirm"==t.sent&&Object(l.d)(e.id).then((function(t){e.$message.success(t.message),e.initTable()})).catch((function(t){e.$message.error(t.message)}));case 4:case"end":return t.stop()}}),t)})))()},handleCheckReject:function(){var e=this;this.$refs.rejecteRuleForm.validate((function(t){t?(Object(l.t)(e.id,e.rejecteForm.comment).then((function(t){e.$message.success(t.message),e.goback()})).catch((function(t){e.$message.error(t.message)})),e.cancelDialog()):e.$message.error("请检查是否存在未填项!")}))},cancelDialog:function(){this.rejectedDialog=!1,this.$refs.rejecteRuleForm.clearValidate()},initTable:function(){var e=this;this.queryInfo.reportId=this.reportId;var t=Object.assign({},this.queryInfo);Object(l.n)(t).then((function(t){e.tableData=t.result.list,e.total=t.result.total})).catch((function(t){e.$message.error(t.message)}))},comfirmEditOrMake:function(){var e=this,t=Object.assign({},this.errorField);this.$refs.ruleForm.validate((function(r){r?e.errorHandle(t).then((function(t){e.dialogCancle(),e.initTable(),e.$message.success(t.message)})).catch((function(t){e.$message.error(t.message)})):e.$message.error("请检查是否存在未填项!")}))},showErrorDialog:function(e){this.errorHandleDialog=!0,this.errorField=JSON.parse(JSON.stringify(e))},dialogCancle:function(){this.errorHandleDialog=!1,this.$refs.multipleTable.clearSelection()}})},s=(r("5a26"),r("2877")),c=Object(s.a)(i,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"CheckResult"},[r("div",{staticClass:"SupplierInvoice h100 bgfff"},[r("div",{staticClass:"bg-fff p-x-2 h100",staticStyle:{"min-height":"500px"}},[r("div",{staticClass:"m-bottom-2 p-top-1 d-flex"},[r("FeesButton",{attrs:{text:"返回",icon:"el-icon-back"},on:{buttonClick:e.goback}}),e._e(),r("FeesButton",{attrs:{text:"审核通过",icon:"el-icon-circle-check"},on:{buttonClick:e.handleCheckPass}}),r("FeesButton",{attrs:{text:"审核驳回"},on:{buttonClick:e.rejectedDialogfn}}),r("FeesButton",{attrs:{text:"删除纸质影像"},on:{buttonClick:e.delImage}}),r("FeesButton",{attrs:{text:"日志",icon:"el-icon-tickets"},on:{buttonClick:function(t){return e.goDetail({},"Log")}}})],1),r("div",{staticStyle:{"margin-bottom":"15px"}},[r("span",{staticStyle:{"margin-right":"40px"}},[e._v("报告编号:"+e._s(e.reportId))]),r("span",[e._v("报告名称:"+e._s(e.reportName))])]),r("div",{},[r("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.tableData,border:""}},[r("el-table-column",{attrs:{prop:"checkStatusStr",label:"检查状态",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[r("span",{class:["未触发异常"==a.checkStatusStr?"zc":"有错误信息"==a.checkStatusStr?"cw":"jg"],on:{click:function(t){return e.showErrorDialog(a)}}},[e._v(e._s("未触发异常"==a.checkStatusStr?"正常":"有错误信息"==a.checkStatusStr?"异常":"警告"))])]}}])}),r("el-table-column",{attrs:{prop:"expenseTypeName",label:"费用类型",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[r("span",{staticClass:"cursor",staticStyle:{color:"#3399cc"},on:{click:function(t){return e.goFeesLine(a)}}},[e._v(e._s(a.expenseTypeName))])]}}])}),r("el-table-column",{attrs:{prop:"currencyCode",label:"币种",align:"center"}}),r("el-table-column",{attrs:{prop:"reimbursement",label:"报销金额",align:"center"}}),r("el-table-column",{attrs:{prop:"invoiceMoney",label:"发票金额",align:"center"}}),r("el-table-column",{attrs:{prop:"invoiceNumber",label:"发票号码",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[r("span",{staticClass:"cursor",staticStyle:{color:"#3399cc"},on:{click:function(t){return e.goImageQuery(a)}}},[e._v(e._s(a.invoiceNumber))])]}}])}),r("el-table-column",{attrs:{prop:"invoiceType",label:"发票类型",align:"center"}}),r("el-table-column",{attrs:{prop:"invoiceDate",label:"发票日期",align:"center",width:"100"}}),r("el-table-column",{attrs:{prop:"ext40",label:"预检信息",align:"center",width:"100"}}),r("el-table-column",{attrs:{prop:"checkResultStr",label:"校验结果",align:"center",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[r("span",{attrs:{title:a.errMsg}},[e._v(" "+e._s(a.errMsg))])]}}])}),r("el-table-column",{attrs:{prop:"dealType",label:"处理结果",align:"center"}}),r("el-table-column",{attrs:{prop:"dealIdea",label:"处理意见",align:"center"}}),r("el-table-column",{attrs:{prop:"updateTime",label:"更新时间",align:"center",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[r("span",[e._v(" "+e._s(a.updateTime.split(" ")[0]))])]}}])}),r("el-table-column",{attrs:{prop:"dataSource",label:"数据来源",align:"center"}})],1)],1),r("div",{staticClass:"m-y-1"},[r("el-pagination",{attrs:{background:"","current-page":e.queryInfo.pageNo,"page-size":e.queryInfo.pageSize,"page-sizes":[10,20,30,50],layout:" prev, pager, next,total, sizes, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange,"update:currentPage":function(t){return e.$set(e.queryInfo,"pageNo",t)},"update:current-page":function(t){return e.$set(e.queryInfo,"pageNo",t)}}})],1),r("el-dialog",{attrs:{title:"异常处理",visible:e.errorHandleDialog,"before-close":e.dialogCancle},on:{"update:visible":function(t){e.errorHandleDialog=t}}},[r("el-form",{ref:"ruleForm",attrs:{model:e.errorField,"label-position":"left","label-width":"100px",rules:e.rules}},[r("el-form-item",{attrs:{label:"异常原因",prop:"errMsg"}},[r("el-input",{staticClass:"rt-input",attrs:{disabled:"",placeholder:"请输入异常原因",autocomplete:"off",type:"textarea",autosize:{minRows:5}},model:{value:e.errorField.errMsg,callback:function(t){e.$set(e.errorField,"errMsg",t)},expression:"errorField.errMsg"}})],1),r("el-form-item",{attrs:{prop:"dealType",label:"处理方式"}},[r("el-select",{model:{value:e.errorField.dealType,callback:function(t){e.$set(e.errorField,"dealType",t)},expression:"errorField.dealType"}},[r("el-option",{attrs:{label:"手工校验通过",value:"手工校验通过"}}),r("el-option",{attrs:{label:"单张退票",value:"单张退票"}}),r("el-option",{attrs:{label:"整张退票",value:"整张退票"}})],1)],1),r("el-form-item",{attrs:{placeholder:"请输入处理意见",prop:"dealIdea",label:"处理意见"}},[r("el-input",{attrs:{autocomplete:"off"},model:{value:e.errorField.dealIdea,callback:function(t){e.$set(e.errorField,"dealIdea",t)},expression:"errorField.dealIdea"}})],1)],1),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("div",{staticClass:"d-flex j-fe"},[r("FeesButton",{attrs:{text:"取 消",icon:"el-icon-plus"},on:{buttonClick:e.dialogCancle}}),r("FeesButton",{directives:[{name:"debounce",rawName:"v-debounce",value:{time:500,methods:e.comfirmEditOrMake},expression:"{ time: 500, methods: comfirmEditOrMake }"}],attrs:{text:"确 定",icon:"el-icon-plus",isActive:!0}})],1)])],1),r("el-dialog",{attrs:{title:"审核驳回",visible:e.rejectedDialog},on:{"update:visible":function(t){e.rejectedDialog=t}}},[r("el-form",{ref:"rejecteRuleForm",attrs:{model:e.rejecteForm,"label-width":"100px","label-position":"left",rules:e.rejecteRules}},[r("el-form-item",{attrs:{label:"驳回意见",placeholder:"请输入驳回意见",prop:"comment"}},[r("el-input",{attrs:{autocomplete:"off"},model:{value:e.rejecteForm.comment,callback:function(t){e.$set(e.rejecteForm,"comment",t)},expression:"rejecteForm.comment"}})],1)],1),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:e.cancelDialog}},[e._v("取 消")]),r("el-button",{attrs:{type:"primary"},on:{click:e.handleCheckReject}},[e._v("确 定")])],1)],1)],1)])])}),[],!1,null,"49008935",null);t.default=c.exports},"5a26":function(e,t,r){"use strict";var a=r("c9d6");r.n(a).a},c9d6:function(e,t,r){}}]);
|