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.3 KiB
1 lines
3.3 KiB
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-d65ac62e"],{"047c":function(t,e,a){"use strict";a.r(e);a("cca6");var n=a("fa7d"),c={name:"VirtualMatch",data:function(){return{queryInfo:{orderNo:"",supplierName:"",invoiceDateStart:"",invoiceNumber:""}}},methods:{exportFile:function(){if(""!=this.queryInfo.invoiceDateStart&&""==this.queryInfo.supplierName||""==this.queryInfo.invoiceDateStart&&""!=this.queryInfo.supplierName)this.$message.warning("发票开始日期和供应商名称必须联动查询");else{var t=Object.assign({},this.queryInfo);t.invoiceDateStart=Object(n.c)(t.invoiceDateStart,!0),this.$file.downloadFile("api/manager/supplier/order-matchReport",t,"search.xlsx")}}}},r=(a("2669"),a("2877")),i=Object(r.a)(c,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"VirtualMatch bgfff"},[a("div",{staticClass:"bgc p-left-2"},[a("div",{staticClass:"d-flex a-center m-bottom-1 "},[a("FeesInput",{attrs:{santakLabel:"PO号",fieldName:"orderNo",field:"queryInfo",width:"300","label-width":"100",defaultValue:t.queryInfo.orderNo}}),a("FeesInput",{attrs:{santakLabel:"发票号码",fieldName:"invoiceNumber",field:"queryInfo",width:"300","label-width":"100",defaultValue:t.queryInfo.invoiceNumber}}),a("div",{staticClass:"d-flex",staticStyle:{width:"20rem"}},[a("div",{staticClass:"d-flex a-center j-center",staticStyle:{width:"100px","text-align":"right"}},[t._v(" 发票开始日期 ")]),a("el-date-picker",{staticStyle:{width:"12.5rem !important"},attrs:{type:"date",placeholder:"选择日期",clearable:!1},model:{value:t.queryInfo.invoiceDateStart,callback:function(e){t.$set(t.queryInfo,"invoiceDateStart",e)},expression:"queryInfo.invoiceDateStart"}})],1),a("FeesInput",{attrs:{santakLabel:"供应商名称",fieldName:"supplierName",field:"queryInfo",width:"300","label-width":"100",defaultValue:t.queryInfo.supplierName}}),a("div",{staticClass:"m-bottom-2 p-top-1 d-flex",staticStyle:{"margin-left":"20px"}},[a("FeesButton",{attrs:{text:"导出报表",icon:"el-icon-download"},on:{buttonClick:t.exportFile}})],1)],1)])])])}),[],!1,null,"7c6e332e",null);e.default=i.exports},2669:function(t,e,a){"use strict";var n=a("bed3");a.n(n).a},bed3: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 r}));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 r=a.getDate()+"";r=r.padStart(2,0);var i=a.getHours()+"";i=i.padStart(2,0);var o=a.getMinutes()+"",l=a.getSeconds()+"";return o=o.padStart(2,0),l=l.padStart(2,0),"nyrsf"==e?"".concat(n,"-").concat(c,"-").concat(r," ").concat(i,":").concat(o):"month"==e?"".concat(n,"-").concat(c):"nowtime"==e?"".concat(n,"-").concat(c,"-").concat(r," ").concat(i,":").concat(o,":").concat(l):e?"".concat(n,"-").concat(c,"-").concat(r):"".concat(n,"年-").concat(c,"月-").concat(r,"日 ").concat(i,":").concat(o,":").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 r(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"))}))}}}]);
|