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
3.7 KiB
1 lines
3.7 KiB
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-c2fcf834"],{7244:function(t,e,a){"use strict";a.r(e);a("cca6"),a("323e");var n=a("fa7d"),c={name:"UploadInvoiceDetail",data:function(){return{queryInfo:{orgName:"",loginId:"",status:"",startTime:"",endTime:""},statusList:[{id:0,label:"待同步"},{id:1,label:"同步中"},{id:2,label:"已同步"}]}},methods:{exportFile:function(){var t=Object.assign({},this.queryInfo);if(t.startTime=Object(n.c)(t.startTime,!0),t.endTime=Object(n.c)(t.endTime,!0),""==t.startTime||""==t.endTime)return this.$message.warning("请选择时间范围!");this.$file.downloadFile("api/manager/report/UploadInvoiceDetail/export",t,"uploadInvoiceDetail.xlsx")}}},i=(a("8c73"),a("2877")),o=Object(i.a)(c,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"wrapper"},[a("div",{staticClass:"bgc p-left-2"},[a("div",{staticClass:"d-flex a-center m-bottom-1"},[a("FeesInput",{attrs:{santakLabel:"组织",fieldName:"orgName",field:"queryInfo",defaultValue:t.queryInfo.orgName}}),a("FeesInput",{attrs:{santakLabel:"Login Id",fieldName:"loginId",field:"queryInfo",defaultValue:t.queryInfo.loginId}}),a("OptionsSelect",{attrs:{defaultValue:t.queryInfo.status,fieldName:"status",field:"queryInfo",labelValue:"发票状态",options:t.statusList,width:"200","label-width":"100"}})],1),a("div",{staticClass:"d-flex a-center m-bottom-1"},[a("div",{staticClass:"d-flex",staticStyle:{width:"21%"}},[a("div",{staticClass:"d-flex a-center j-center",staticStyle:{width:"6.25rem","text-align":"right"}},[t._v(" 上传日期始 ")]),a("el-date-picker",{staticStyle:{width:"12.5rem !important"},attrs:{type:"date",placeholder:"选择日期",clearable:!1},model:{value:t.queryInfo.startTime,callback:function(e){t.$set(t.queryInfo,"startTime",e)},expression:"queryInfo.startTime"}})],1),a("div",{staticClass:"d-flex",staticStyle:{width:"21%"}},[a("div",{staticClass:"d-flex a-center j-center",staticStyle:{width:"6.25rem","text-align":"right"}},[t._v(" 上传日期止 ")]),a("el-date-picker",{staticStyle:{width:"12.5rem !important"},attrs:{clearable:!1,type:"date",placeholder:"选择日期"},model:{value:t.queryInfo.endTime,callback:function(e){t.$set(t.queryInfo,"endTime",e)},expression:"queryInfo.endTime"}})],1),a("div",{staticClass:"m-bottom-2 p-top-1 d-flex"},[a("FeesButton",{attrs:{text:"导出报表",icon:"el-icon-download"},on:{buttonClick:t.exportFile}})],1)])])])])}),[],!1,null,"0939b774",null);e.default=o.exports},"8c73":function(t,e,a){"use strict";var n=a("a7f4");a.n(n).a},a7f4:function(t,e,a){},fa7d:function(t,e,a){"use strict";a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){return c})),a.d(e,"b",(function(){return i}));a("99af"),a("ac1f"),a("4d90"),a("5319");function n(t,e){if(""==t||!t)return"";var a=new Date(t),n=a.getFullYear(),c=a.getMonth()+1+"";c=c.padStart(2,0);var i=a.getDate()+"";i=i.padStart(2,0);var o=a.getHours()+"";o=o.padStart(2,0);var r=a.getMinutes()+"",l=a.getSeconds()+"";return r=r.padStart(2,0),l=l.padStart(2,0),"nyrsf"==e?"".concat(n,"-").concat(c,"-").concat(i," ").concat(o,":").concat(r):"month"==e?"".concat(n,"-").concat(c):"nowtime"==e?"".concat(n,"-").concat(c,"-").concat(i," ").concat(o,":").concat(r,":").concat(l):e?"".concat(n,"-").concat(c,"-").concat(i):"".concat(n,"年-").concat(c,"月-").concat(i,"日 ").concat(o,":").concat(r,":").concat(l)}function c(t){var e=new Date(t),a=e.getFullYear(),n=String(e.getMonth()+1).padStart(2,"0"),c=String(e.getDate()).padStart(2,"0");return"".concat(a,"年").concat(n,"月").concat(c,"日")}function i(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"))}))}}}]);
|