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
9.1 KiB

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-a255dc42"],{"1a86":function(t,e,a){"use strict";e.a={data:function(){return{isSearch:!1,total:null}},created:function(){},methods:{handleSizeChange:function(t){this.queryInfo.pageSize=t,this.initTable()},handleCurrentChange:function(t){this.queryInfo.pageNum=t,this.initTable()},searchClick:function(){this.isSearch=!this.isSearch}}}},"76c3":function(t,e,a){"use strict";a.r(e);a("cca6");var n=a("5530"),i=a("284b"),c=a("fa7d"),r=a("2f62"),l={name:"ComplianceCheck",mixins:[a("1a86").a],data:function(){return{queryInfo:{dataStart:"",dataEnd:"",reportId:"",submitter:"",pageSize:10,pageNo:1,invoiceNumber:"",checkStatus:""},tableData:[],idList:[],statusList:[{label:"校验不一致",id:0},{label:"校验一致",id:1}]}},computed:Object(n.a)({},Object(r.d)({ticketCodeList:function(t){return t.common.ticketCodeList}})),methods:{checkAgain:function(){var t,e=this;i.a.request({url:"manager/complianceCheck/reCheck",method:"GET",params:t}).then((function(t){200==t.status&&(e.$message.success("重新校验成功!"),e.initTable())})).catch((function(t){}))},handleSelectionChange:function(t){this.idList=t},exportSearch:function(){try{var t=Object.assign({},this.queryInfo);this.$file.downloadFile("api/manager/complianceCheck/export",t,"export")}catch(t){}},backInvoice:function(){0!=this.idList.length||this.$message.error("请先进行勾选!")},handerCheck:function(t){},initTable:function(){var t,e=this,a=Object.assign({},this.queryInfo);a.dataStart=Object(c.c)(a.dataStart,!0),a.dataEnd=Object(c.c)(a.dataEnd,!0),(t=a,i.a.request({url:"manager/complianceCheck",method:"GET",params:t})).then((function(t){200==t.status&&(e.tableData=t.result.data,e.total=t.result.pagination.total)})).catch((function(t){}))},searchByQueryInfo:function(){this.initTable()},reset:function(){var t=this.queryInfo,e=t.pageSize,a=t.pageNo;this.queryInfo={dataStart:"",pageSize:e,pageNo:a,dataEnd:"",reportId:"",submitter:"",invoiceNumber:"",checkStatus:""}},handleSizeChange:function(t){this.queryInfo.pageSize=t,this.initTable()},handleCurrentChange:function(t){this.queryInfo.pageNo=t,this.initTable()}},mounted:function(){this.initTable()}},o=a("2877"),s=Object(o.a)(l,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"h100"},["ComplianceCheck"==t.$route.name?a("div",{staticClass:"ComplianceCheck h100 bgfff"},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.isSearch,expression:"isSearch"}],staticClass:"bgc p-left-2"},[a("div",{staticClass:"d-flex a-center m-bottom-1"},[a("div",{staticClass:"d-flex",staticStyle:{width:"21%"}},[t._m(0),a("el-date-picker",{staticStyle:{width:"12.5rem !important"},attrs:{type:"date",placeholder:"选择日期"},model:{value:t.queryInfo.dataStart,callback:function(e){t.$set(t.queryInfo,"dataStart",e)},expression:"queryInfo.dataStart"}})],1),a("div",{staticClass:"d-flex",staticStyle:{width:"21%"}},[t._m(1),a("el-date-picker",{staticStyle:{width:"12.5rem !important"},attrs:{type:"date",placeholder:"选择日期"},model:{value:t.queryInfo.dataEnd,callback:function(e){t.$set(t.queryInfo,"dataEnd",e)},expression:"queryInfo.dataEnd"}})],1),a("FeesInput",{attrs:{santakLabel:"单据号码",fieldName:"reportId",field:"queryInfo",width:"200","label-width":"100",defaultValue:t.queryInfo.reportId}}),a("FeesInput",{attrs:{santakLabel:"提交人",fieldName:"submitter",field:"queryInfo",width:"200","label-width":"100",defaultValue:t.queryInfo.submitter}})],1),a("div",{staticClass:"d-flex a-center m-bottom-1"},[a("OptionsSelect",{attrs:{defaultValue:t.queryInfo.checkStatus,fieldName:"checkStatus",field:"queryInfo",labelValue:"检查状态",options:t.statusList,width:"200","label-width":"100"}}),a("FeesInput",{attrs:{santakLabel:"发票号码",fieldName:"invoiceNumber",field:"queryInfo",width:"200","label-width":"100",defaultValue:t.queryInfo.invoiceNumber}}),a("div",{staticClass:"d-flex"},[a("FeesButton",{attrs:{text:"搜索",icon:"el-icon-search"},on:{buttonClick:t.searchByQueryInfo}}),a("FeesButton",{attrs:{text:"重置",icon:"el-icon-refresh"},on:{buttonClick:t.reset}})],1)],1)]),a("div",{staticClass:"bg-fff p-left-2 h100",staticStyle:{"min-height":"500px"}},[a("div",{staticClass:"m-bottom-2 p-top-1 d-flex"},[a("FeesButton",{attrs:{text:"导出搜索",icon:"el-icon-download"},on:{buttonClick:t.exportSearch}}),a("FeesButton",{attrs:{text:"退票"},on:{buttonClick:t.backInvoice}}),a("FeesButton",{attrs:{text:"重新校验",icon:"el-icon-circle-check"},on:{buttonClick:t.checkAgain}}),a("FeesButton",{attrs:{text:"搜索",icon:"el-icon-search"},on:{buttonClick:t.searchClick}})],1),a("div",{},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData,stripe:"",border:""},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"36"}}),a("el-table-column",{attrs:{label:"操作",fixed:"",width:"140","header-align":"center",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"link-text-color m-left-1 cursor c-red",on:{click:function(a){return t.handerCheck(e.row)}}},[t._v(" 手工校验 ")])]}}],null,!1,3951661953)}),a("el-table-column",{attrs:{prop:"fileName",label:"检查状态",align:"center",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[1==e.row.checkStatus?a("span",[t._v("检查一致")]):a("span",[t._v("检查不一致")])]}}],null,!1,3406946802)}),a("el-table-column",{attrs:{prop:"reportId",label:"单据号",align:"center",width:"280"}}),a("el-table-column",{attrs:{prop:"submitter",label:"提交人",align:"center",width:"180"}}),a("el-table-column",{attrs:{prop:"updateTime",label:"更新时间","header-align":"center",width:"180"}}),a("el-table-column",{attrs:{prop:"invoiceType",label:"发票类型","header-align":"center",width:"180"}}),a("el-table-column",{attrs:{prop:"invoiceDate",label:"发票日期","header-align":"center",width:"120",align:"center"}}),a("el-table-column",{attrs:{prop:"reimbursement",label:"报销金额",width:"120","header-align":"center",align:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"text-color"},[t._v(t._s(e.row.reimbursement))])]}}],null,!1,3550164447)}),a("el-table-column",{attrs:{prop:"invoiceNumber",label:"发票号码",width:"180","header-align":"center",align:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"text-color",staticStyle:{"text-decoration":"underline"}},[t._v(t._s(e.row.invoiceNumber))])]}}],null,!1,381709774)}),a("el-table-column",{attrs:{prop:"checkResult",label:"校验结果","header-align":"center",align:"center"}}),a("el-table-column",{attrs:{prop:"errMsg",label:"异常原因",width:"180",align:"center"}}),a("el-table-column",{attrs:{prop:"dealResult",label:"处理结果",width:"180","header-align":"center"}}),a("el-table-column",{attrs:{prop:"dataSource",label:"数据来源",width:"120",align:"center"}})],1)],1),a("div",{staticClass:"m-y-1"},[a("el-pagination",{attrs:{background:"","current-page":t.queryInfo.pageNo,"page-size":t.queryInfo.pageSize,"page-sizes":[10,20,30,50],layout:" prev, pager, next,total, sizes, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){return t.$set(t.queryInfo,"pageNo",e)},"update:current-page":function(e){return t.$set(t.queryInfo,"pageNo",e)}}})],1),a("input",{ref:"export",staticStyle:{display:"none"},attrs:{type:"file",name:""},on:{change:function(e){return t.uploadAvater(e)}}})])]):a("router-view")],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{width:"6.25rem","text-align":"right","line-height":"40px"}},[e("span",{staticClass:"p-right-1 h100",staticStyle:{display:"inline-block"}},[this._v("更新日期始")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{width:"6.25rem","text-align":"right","line-height":"40px"}},[e("span",{staticClass:"p-right-1 h100",staticStyle:{display:"inline-block"}},[this._v("更新日期止")])])}],!1,null,"fc47830e",null);e.default=s.exports},fa7d:function(t,e,a){"use strict";a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){return i})),a.d(e,"b",(function(){return c}));a("99af"),a("ac1f"),a("4d90"),a("5319");function n(t,e){if(""==t||!t)return"";var a=new Date(t),n=a.getFullYear(),i=a.getMonth()+1+"";i=i.padStart(2,0);var c=a.getDate()+"";c=c.padStart(2,0);var r=a.getHours()+"";r=r.padStart(2,0);var l=a.getMinutes()+"",o=a.getSeconds()+"";return l=l.padStart(2,0),o=o.padStart(2,0),"nyrsf"==e?"".concat(n,"-").concat(i,"-").concat(c," ").concat(r,":").concat(l):"month"==e?"".concat(n,"-").concat(i):"nowtime"==e?"".concat(n,"-").concat(i,"-").concat(c," ").concat(r,":").concat(l,":").concat(o):e?"".concat(n,"-").concat(i,"-").concat(c):"".concat(n,"年-").concat(i,"月-").concat(c,"日 ").concat(r,":").concat(l,":").concat(o)}function i(t){var e=new Date(t),a=e.getFullYear(),n=String(e.getMonth()+1).padStart(2,"0"),i=String(e.getDate()).padStart(2,"0");return"".concat(a,"年").concat(n,"月").concat(i,"日")}function c(t){return t.replace(/(\d{4})年(\d{1,2})月(\d{1,2})日/,(function(t,e,a,n){return"".concat(e,"-").concat(a.padStart(2,"0"),"-").concat(n.padStart(2,"0"))}))}}}]);