1 line
19 KiB
JavaScript
1 line
19 KiB
JavaScript
|
webpackJsonp([347],{JufY:function(t,e){},oS3O:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("d7EF"),i=a.n(s),o=a("//Fk"),r=a.n(o),n=a("BO1k"),l=a.n(n),c=a("mvHQ"),h=a.n(c),u=a("Dd8w"),p=a.n(u),m=a("NYxO"),d=(a("t4zo"),a("uXZL"),a("3MlD")),g=a("FnMF"),f=a("OG67"),_=a("lbHh"),b=a.n(_),v=a("bzuE"),y={name:"purchase_apply_index",components:{dialogChooseSingleUser:d.a,dialogChooseSingleSupplier:g.a,dialogChooseSingleParts:f.a},data:function(){return{totalAll:{},config:v.a,depOptions:[],selectDeptId:"",user_type:"",chooseSupplierVisible:!1,chooseMaterielVisible:!1,chooseUserVisible:!1,total:0,pageSizes:[10,20,50],search_data:{pageno:1,pagesize:10},time:"",formDataTime:"",auditSignList:[],companyList:[],createByList:[],formData:{},showTableColumnsDefault:[{title:"开票日期",prop_:"invoiceDate",select:!0},{title:"供应商",prop_:"supplierName",select:!0},{title:"票据类型",prop_:"invoiceyTypeName",select:!0},{title:"发票号码",prop_:"billCode",select:!0},{title:"物料代码",prop_:"materielSerialNo",select:!0},{title:"物料名称",prop_:"materielName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"主计量单位",prop_:"unitUomName",select:!0},{title:"主单位数量",prop_:"count",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"数量",prop_:"subCount",select:!0},{title:"不含税单价(元)",prop_:"unitPrice",select:!0},{title:"税率(%)",prop_:"taxRate",select:!0},{title:"不含税金额(元)",prop_:"amount",select:!0},{title:"税额(元)",prop_:"taxes",select:!0},{title:"价税合计(元)",prop_:"taxAmount",select:!0},{title:"审核状态",prop_:"auditSignName",select:!0},{title:"源单类型",prop_:"sourceTypeName",select:!0},{title:"源单单号",prop_:"sourceCode",select:!0}],showTableColumns:[{title:"开票日期",prop_:"invoiceDate",select:!0},{title:"供应商",prop_:"supplierName",select:!0},{title:"票据类型",prop_:"invoiceyTypeName",select:!0},{title:"发票号码",prop_:"billCode",select:!0},{title:"物料代码",prop_:"materielSerialNo",select:!0},{title:"物料名称",prop_:"materielName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"主计量单位",prop_:"unitUomName",select:!0},{title:"主单位数量",prop_:"count",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"数量",prop_:"subCount",select:!0},{title:"不含税单价(元)",prop_:"unitPrice",select:!0},{title:"税率(%)",prop_:"taxRate",select:!0},{title:"不含税金额(元)",prop_:"amount",select:!0},{title:"税额(元)",prop_:"taxes",select:!0},{title:"价税合计(元)",prop_:"taxAmount",select:!0},{title:"审核状态",prop_:"auditSignName",select:!0},{title:"源单类型",prop_:"sourceTypeName",select:!0},{title:"源单单号",prop_:"sourceCode",select:!0}],showTableColumnsTemp:[],formTableData:[],tableData:[],btnDelDisabled:!0,btnOtherDisabled:!0,rowIds:[],advanceQueryDialogVisible:!1,dialogTitle:"",dialogLoading:!1,columnSetDialogVisible:!1,columnSetDialogTitle:"设置显示字段列表",pictLoading:!1,tableId:"outsourcing_processingCharge_table",userInfo:""}},created:function(){var t=this;document.onkeydown=function(e){"Enter"===e.key&&t.search()}},computed:p()({},Object(m.c)({})),mounted:function(){this.userInfo=JSON.parse(b.a.get("userInfo")),this.showTableColumns=JSON.parse(h()(this.showTableColumns)),this.showTableColumnsTemp=JSON.parse(h()(this.showTableColumns)),this.formData.createBy=this.userInfo.userId,this.formData.createByName=this.userInfo.name;var t=new Date;this.$set(this.formData,"createTime",t.getFullYear()+"-"+this.settime(t.getMonth()+1)+"-"+this.settime(t.getDate())),this.getList(),this.getTypeList(),this.getShowColumns(),this.initialize()},methods:{viewDetail:function(t){var e=t.queryId;this.$router.push({path:"/outsourcing/outsourcing_inStock_add",query:{id:e,t:Date.now()}})},initialize:function(){},getSummaries:function(t){var e=this,a=t.columns,s=t.data,i=[];return a.forEach(function(t,a){if(0!==a)if("subCount"===t.propert
|