1 line
14 KiB
JavaScript
1 line
14 KiB
JavaScript
|
webpackJsonp([474],{UwR6:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=a("mvHQ"),o=a.n(l),s=a("Dd8w"),i=a.n(s),n=a("NYxO"),r=a("ysqt"),u=a("OG67"),c=(a("t4zo"),a("bzuE")),h={components:{btnInput:r.a,dialogChooseSingleParts:u.a},data:function(){return{pageSizes:[10,20,50],search_data:{pageno:1,pagesize:20},search_data_type:{pageno:1,pagesize:1e3},config:c.a,accountNumberList:[],settlementTypeList:[],tableData:[],paymentReceivedIds:[],advanceQueryDialogVisible:!1,btndisable:!0,prDate:"",dialogTitle:"",time:"",selectDeptId:"",formDataTime:"",auditSignList:[],companyList:[],createByList:[],materielTypeList:[],depOptions:[],chooseTypeList:[{name:"显示详细",id:1},{name:"显示小计",id:2}],usingList:[],show:"",typeList:[],btnDelDisabled:!0,btnOtherDisabled:!0,chooseClientrVisible:!1,dialogLoading:!1,chooseUserVisible:!1,chooseMaterielVisible:!1,columnSetDialogVisible:!1,chooseSupplierVisible:!1,columnSetDialogTitle:"设置显示字段列表",tableId:"purchaseManagement_unBilled_table",pictLoading:!1,total:0,totalStockInCount:0,totalUnBilledAmount:0,totalBilledCount:0,totalStockInAmount:0,totalUnBilledCount:0,totalBilledAmount:0,totalStockInCountSub:0,totalBilledCountSub:0,totalUnBilledCountSub:0,showTableColumnsDefault:[{title:"物料类型",prop_:"materielTypeName",select:!0},{title:"物料编号",prop_:"materielSerialNo",select:!0},{title:"物料名称",prop_:"materielName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"主单位",prop_:"unitUomName",select:!0},{title:"入库数量(主单位)",prop_:"stockInCount",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"入库数量(辅助单位)",prop_:"stockInCountSub",select:!0},{title:"入库金额(元)",prop_:"stockInAmount",select:!0},{title:"开票数量(主单位)",prop_:"billedCount",select:!0},{title:"开票数量(辅助单位)",prop_:"billedCountSub",select:!0},{title:"开票金额(元)",prop_:"billedAmount",select:!0},{title:"未开票数量(主单位)",prop_:"unBilledCount",select:!0},{title:"未开票数量(辅助单位)",prop_:"unBilledCountSub",select:!0},{title:"未开票金额(元)",prop_:"unBilledAmount",select:!0}],showTableColumns:[{title:"物料类型",prop_:"materielTypeName",select:!0},{title:"物料编号",prop_:"materielSerialNo",select:!0},{title:"物料名称",prop_:"materielName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"主单位",prop_:"unitUomName",select:!0},{title:"入库数量(主单位)",prop_:"stockInCount",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"入库数量(辅助单位)",prop_:"stockInCountSub",select:!0},{title:"入库金额(元)",prop_:"stockInAmount",select:!0},{title:"开票数量(主单位)",prop_:"billedCount",select:!0},{title:"开票数量(辅助单位)",prop_:"billedCountSub",select:!0},{title:"开票金额(元)",prop_:"billedAmount",select:!0},{title:"未开票数量(主单位)",prop_:"unBilledCount",select:!0},{title:"未开票数量(辅助单位)",prop_:"unBilledCountSub",select:!0},{title:"未开票金额(元)",prop_:"unBilledAmount",select:!0}],showTableColumnsTemp:[],formTableData:[]}},created:function(){var t=this;document.onkeydown=function(e){"Enter"===e.key&&t.search()}},computed:i()({},Object(n.c)({userInfo:"user/getUserInfo"})),mounted:function(){this.showTableColumns=JSON.parse(o()(this.showTableColumns)),this.showTableColumnsTemp=JSON.parse(o()(this.showTableColumns)),this.getShowColumns(),this.getTypeList()},methods:{inOutSummaryGetOut:function(){this.$api.purchaseManagementAPI.unBilledGetOut(this.search_data).then(function(t){console.log(t)})},getSummaries:function(t){var e=this,a=t.columns,l=(t.data,[]);return a.forEach(function(t,a){l[0]="合计","stockInCount"!=t.property?"unBilledAmount"!=t.property?"billedCount"!=t.property?"stockInAmount"!=t.property?"unBilledCount"!=t.property?"billedAmount"!=t.property?"stockInCountSub"!=t.property?"billedCountSub"!=t.property?"unBilledCountSub"!
|