yxk_pc_mdh/gyhl/static/js/280.955b110ce382b1428e1c.js

1 line
13 KiB
JavaScript
Raw Normal View History

2025-08-28 15:26:35 +08:00
webpackJsonp([280],{"F+0O":function(t,e){},f0ma:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("mvHQ"),o=a.n(s),l=a("Dd8w"),i=a.n(l),n=a("ysqt"),r=a("NYxO"),c=a("OG67"),u=(a("t4zo"),a("bzuE")),h={components:{btnInput:n.a,dialogChooseSingleParts:c.a},data:function(){return{totalSize:0,pageSizes:[10,20,50],search_data:{pageno:1,pagesize:20,showItem:1,showTotal:1},search_data_type:{pageno:1,pagesize:1e3},config:u.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:3}],usingList:[],show:"",typeList:[],btnDelDisabled:!0,btnOtherDisabled:!0,chooseClientrVisible:!1,dialogLoading:!1,chooseUserVisible:!1,chooseMaterielVisible:!1,columnSetDialogVisible:!1,chooseSupplierVisible:!1,columnSetDialogTitle:"设置显示字段列表",tableId:"warehouseManagement_OutStockItem_table",pictLoading:!1,totalAmount:0,totalCount:0,totalCountSub:0,showTableColumnsDefault:[{title:"出库日期",prop_:"outTime",select:!0},{title:"单据编号",prop_:"stockOutCode",select:!0},{title:"单据类型",prop_:"documentType",select:!0},{title:"物料编号",prop_:"serialNo",select:!0},{title:"物料名称",prop_:"materielName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"主单位",prop_:"unitUomName",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"出库数量(主单位)",prop_:"count",select:!0},{title:"出库数量(辅助单位)",prop_:"outCount",select:!0},{title:"出库单价(元)",prop_:"unitPrice",select:!0},{title:"出库金额(元)",prop_:"amount",select:!0},{title:"批号",prop_:"batch",select:!0},{title:"仓库",prop_:"facilityName",select:!0},{title:"仓位",prop_:"locationName",select:!0},{title:"出库员",prop_:"operatorName",select:!0},{title:"源单类型",prop_:"sourceTypeName",select:!0},{title:"来源单号",prop_:"sourceCode",select:!0}],showTableColumns:[{title:"出库日期",prop_:"outTime",select:!0},{title:"单据编号",prop_:"stockOutCode",select:!0},{title:"单据类型",prop_:"documentType",select:!0},{title:"物料编号",prop_:"serialNo",select:!0},{title:"物料名称",prop_:"materielName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"主单位",prop_:"unitUomName",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"出库数量(主单位)",prop_:"count",select:!0},{title:"出库数量(辅助单位)",prop_:"outCount",select:!0},{title:"出库单价(元)",prop_:"unitPrice",select:!0},{title:"出库金额(元)",prop_:"amount",select:!0},{title:"批号",prop_:"batch",select:!0},{title:"仓库",prop_:"facilityName",select:!0},{title:"仓位",prop_:"locationName",select:!0},{title:"出库员",prop_:"operatorName",select:!0},{title:"源单类型",prop_:"sourceTypeName",select:!0},{title:"来源单号",prop_:"sourceCode",select:!0}],showTableColumnsTemp:[],formTableData:[]}},created:function(){var t=this;document.onkeydown=function(e){"Enter"===e.key&&t.search()}},computed:i()({},Object(r.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:{outStockGetOut:function(){this.$api.warehouseManagementAPI.outStockGetOut(this.search_data).then(function(t){console.log(t)})},getSummaries:function(t){var e=this,a=t.columns,s=(t.data,[]);return a.forEach(function(t,a){s[0]="合计","amount"!=t.property?"count"!=t.property?"outCount"!=t.property||(s[a]=e.totalCountSub):s[a]=e.totalCount:s[a]=e.totalAmount}),s},getTypeList:function(){var t=this;this.$api.materielAPI.typeList(this.search_data_type).then(function(e){e.data?t.materielTypeList=e.data.datas?e.data.datas:[]:t.materielTypeList=[]}).catch(function(t){consol