1 line
80 KiB
JavaScript
1 line
80 KiB
JavaScript
webpackJsonp([454],{SBoY:function(a,t){},tRRc:function(a,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("Dd8w"),i=e.n(o),p=e("ysqt"),r=e("OG67"),s=e("5zN6"),c=e("NYxO"),l=(e("t4zo"),e("bzuE"),e("LVRR")),n=e("e99b"),u={components:{btnInput:p.a,dialogChooseSingleParts:r.a,normalPage:l.a,dialogChooseParts:s.a},data:function(){return{purchasesData:{page1:{formTableData:[{title:"申请时间",prop_:"applicantTime",select:!0},{title:"单据编号",prop_:"purchaseCode",select:!0},{title:"申请人",prop_:"applicantName",select:!0},{title:"供应商",prop_:"supplierName",select:!0},{title:"物料代码",prop_:"serialNo",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_:"needCount",select:!0},{title:"采购单价(元)",prop_:"unitPrice",select:!0},{title:"金额(元)",prop_:"amount",select:!0},{title:"预交日期",prop_:"advanceDate",select:!0},{title:"源单类型",prop_:"sourceTypeName",select:!0},{title:"源单单号",prop_:"sourceCode",select:!0},{title:"审核状态",prop_:"auditSignName",select:!0},{title:"审批状态",prop_:"approveStatusName",select:!0}],tableData:[],search_data:{materielId:"",pageno:1,pagesize:10},pictLoading:!1,total:0},page2:{formTableData:[{title:"合同日期",prop_:"contractDate",select:!0},{title:"合同编号",prop_:"contractCode",select:!0},{title:"合同类型",prop_:"contractTypeName",select:!0},{title:"关闭状态",prop_:"closeStatusName",select:!0},{title:"供应商",prop_:"supplierName",select:!0},{title:"物料代码",prop_:"materielSerialNo",select:!0},{title:"物料名称",prop_:"materielName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"是否检验",prop_:"isCheck",select:!0},{title:"是否允许超收",prop_:"isOvercharge",select:!0},{title:"超收比例(%)",prop_:"proportion",select:!0},{title:"主计量单位",prop_:"unitUomName",select:!0},{title:"主单位数量",prop_:"count",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"采购数量",prop_:"buyCount",select:!0},{title:"含税金额(元)",prop_:"taxAmount",select:!0},{title:"不含税单价(元)",prop_:"unitPrice",select:!0},{title:"税率(%)",prop_:"taxRate",select:!0},{title:"不含税金额(元)",prop_:"amount",select:!0},{title:"税额(元)",prop_:"taxes",select:!0},{title:"含税单价(元)",prop_:"taxUnitPrice",select:!0},{title:"交货日期",prop_:"deliveryDate",select:!0},{title:"审核状态",prop_:"auditSignName",select:!0},{title:"审批状态",prop_:"approveStatusName",select:!0},{title:"源单类型",prop_:"sourceTypeName",select:!0},{title:"源单单号",prop_:"sourceCode",select:!0},{title:"行关闭状态",prop_:"itemCloseStatusName",select:!0},{title:"行关闭时间",prop_:"itemCloseTime",select:!0},{title:"行关闭原因",prop_:"itemCloseReason",select:!0}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},page3:{formTableData:[{title:"通知时间",prop_:"noticeDate",select:!0},{title:"单据编号",prop_:"code",select:!0},{title:"供应商名称",prop_:"supplierName",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_:"receivingCount",select:!0},{title:"不含税单价(元)",prop_:"unitPrice",select:!0},{title:"不含税金额(元)",prop_:"amount",select:!0},{title:"部门",prop_:"deptName",select:!0},{title:"采购员",prop_:"buyerName",select:!0},{title:"审核状态",prop_:"auditSignName",select:!0},{title:"源单类型",prop_:"contractTypeName",select:!0},{title:"源单单号",prop_:"contractCode",select:!0}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},page4:{formTableData:[{title:"单据编号",prop_:"inspectionNo",select:!0},{title:"日期",prop_:"createTime",select:!0},{title:"物料代码",prop_:"materialSerialNo",select:!0},{title:"物料名称",prop_:"materialName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"计量单位",prop_:"unitUomName",select:!0},{title:"部门",prop_:"deptName",select:!0},{title:"供应商",prop_:"supplierName",select:!0},{title:"报检数量(主单位)",prop_:"sendCount",select:!0},{title:"检验数量(主单位)",prop_:"inspectionCount",select:!0},{title:"合格数量(主单位)",prop_:"qualifiedCount",select:!0},{title:"不合格数量(主单位)",prop_:"unqualifiedCount",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"报检数量(辅单位)",prop_:"sendCountSupport",select:!0},{title:"检验数量(辅单位)",prop_:"inspectionCountSupport",select:!0},{title:"合格数量(辅单位)",prop_:"qualifiedCountSupport",select:!0},{title:"不合格数量(辅单位)",prop_:"unqualifiedCountSupport",select:!0},{title:"备注",prop_:"remarks",select:!0},{title:"制单人",prop_:"createrName",select:!0},{title:"审核人",prop_:"auditorName",select:!0},{title:"源单类型",prop_:"sourceTypeName",select:!0},{title:"源单单号",prop_:"sourceNo",select:!0},{title:"单据状态",prop_:"statusName",select:!0}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},page5:{formTableData:[{title:"入库日期",prop_:"inOutTime",select:!0},{title:"单据编号",prop_:"inheadCode",select:!0},{title:"采购方式",prop_:"purchaseType",select:!0},{title:"供应商",prop_:"sourceCompanyName",select:!0},{title:"物料代码",prop_:"serialno",select:!0},{title:"物料名称",prop_:"materielName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"批号",prop_:"batch",select:!0},{title:"主计量单位",prop_:"unitName",select:!0},{title:"主单位数量",prop_:"count",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"入库数量",prop_:"inCount",select:!0},{title:"单价(元)",prop_:"unitPrice",select:!0},{title:"金额(元)",prop_:"amount",select:!0},{title:"采购费用(元)",prop_:"expense",select:!0},{title:"仓库",prop_:"warehouseName",select:!0},{title:"仓位",prop_:"warehLocationName",select:!0},{title:"入库员",prop_:"operatorName",select:!0},{title:"审核状态",prop_:"auditSignName",select:!0},{title:"源单类型",prop_:"sourceTypeName",select:!0},{title:"源单单号",prop_:"sourceCode",select:!0}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},page6:{formTableData:[{title:"退货日期",prop_:"outTime",select:!0},{title:"退货单号",prop_:"code",select:!0},{title:"供应商",prop_:"supplierName",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_:"backCount",select:!0},{title:"单价(元)",prop_:"unitPrice",select:!0},{title:"金额(元)",prop_:"amount",select:!0},{title:"批号",prop_:"batch",select:!0},{title:"仓库",prop_:"facName",select:!0},{title:"仓位",prop_:"locationName",select:!0},{title:"退货原因",prop_:"purposeName",select:!0},{title:"审核状态",prop_:"auditSignName",select:!0},{title:"源单类型",prop_:"sourceTypeName",select:!0},{title:"源单单号",prop_:"sourceCode",select:!0}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},page7:{formTableData:[{title:"开票日期",prop_:"invoiceDate",select:!0},{title:"供应商",prop_:"supplierName",select:!0},{title:"票据类型",prop_:"billTypeName",select:!0},{title:"发票号码",prop_:"invoiceNum",select:!0},{title:"物料代码",prop_:"serialNo",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_:"purchaseCount",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}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},page8:{formTableData:[{title:"领料日期",prop_:"outTime",select:!0},{title:"单据编号",prop_:"outCode",select:!0},{title:"领料人",prop_:"operatorName",select:!0},{title:"物料代码",prop_:"materielSerialNo",select:!0},{title:"物料名称",prop_:"materielName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"批号",prop_:"batch",select:!0},{title:"主计量单位",prop_:"unitUomName",select:!0},{title:"主单位数量",prop_:"count",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"领用数量",prop_:"outCount",select:!0},{title:"单价(元)",prop_:"unitPrice",select:!0},{title:"金额(元)",prop_:"amount",select:!0},{title:"仓库",prop_:"facName",select:!0},{title:"仓位",prop_:"locationName",select:!0},{title:"领料用途",prop_:"purposeName",select:!0},{title:"审核状态",prop_:"auditSignName",select:!0},{title:"源单类型",prop_:"sourceTypeName",select:!0},{title:"源单单号",prop_:"sourceCode",select:!0}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},activeName:"1"},outsourcingData:{page1:{formTableData:[{title:"合同日期",prop_:"contractDate",select:!0},{title:"合同编号",prop_:"contractCode",select:!0},{title:"合同类型",prop_:"contractTypeName",select:!0},{title:"关闭状态",prop_:"closeStatusName",select:!0},{title:"供应商",prop_:"supplierName",select:!0},{title:"物料代码",prop_:"materielSerialNo",select:!0},{title:"物料名称",prop_:"materielName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"是否检验",prop_:"isCheck",select:!0},{title:"BOM编号",prop_:"bomSerialNo",select:!0},{title:"是否限额发料",prop_:"isQuota",select:!0},{title:"主计量单位",prop_:"unitUomName",select:!0},{title:"主单位数量",prop_:"count",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"加工数量",prop_:"processCount",select:!0},{title:"不含税单价(元)",prop_:"unitPrice",select:!0},{title:"税率(%)",prop_:"taxRate",select:!0},{title:"不含税金额(元)",prop_:"amount",select:!0},{title:"税额(元)",prop_:"taxes",select:!0},{title:"含税单价(元)",prop_:"taxUnitPrice",select:!0},{title:"含税金额(元)",prop_:"taxAmount",select:!0},{title:"交货日期",prop_:"deliveryDate",select:!0},{title:"审核状态",prop_:"auditSignName",select:!0},{title:"审核状态",prop_:"approveStatusName",select:!0},{title:"源单类型",prop_:"sourceTypeName",select:!0},{title:"源单单号",prop_:"sourceCode",select:!0},{title:"行关闭状态",prop_:"itemCloseStatusName",select:!0},{title:"行关闭时间",prop_:"itemCloseTime",select:!0},{title:"行关闭原因",prop_:"itemCloseReason",select:!0}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},page2:{formTableData:[{title:"委外合同号",prop_:"contractCode",select:!0},{title:"委外投料单号",prop_:"feedingNo",select:!0},{title:"产品代码",prop_:"materielSerialNo",select:!0},{title:"产品名称",prop_:"materielName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"计量单位",prop_:"unitUomName",select:!0},{title:"采购员",prop_:"purchasePersonName",select:!0},{title:"采购部门",prop_:"proDeptName",select:!0},{title:"是否限额发料",prop_:"isQuota",select:!0},{title:"加工数量",prop_:"planCount",select:!0},{title:"交货期",prop_:"contractDeliveryDate",select:!0},{title:"审核状态",prop_:"auditSignName",select:!0}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},page3:{formTableData:[{title:"发料日期",prop_:"outTime",select:!0},{title:"单据编号",prop_:"code",select:!0},{title:"发料人",prop_:"operatorName",select:!0},{title:"物料代码",prop_:"materielSerialNo",select:!0},{title:"物料名称",prop_:"materielName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"批号",prop_:"batch",select:!0},{title:"主计量单位",prop_:"unitUomName",select:!0},{title:"主单位数量",prop_:"count",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"发出数量",prop_:"outCount",select:!0},{title:"核销数量(主单位)",prop_:"chargeOffCount",select:!0},{title:"核销数量(辅助单位)",prop_:"chargeOffCountSupport",select:!0},{title:"单价(元)",prop_:"unitPrice",select:!0},{title:"金额(元)",prop_:"amount",select:!0},{title:"仓库",prop_:"facName",select:!0},{title:"仓位",prop_:"locationName",select:!0},{title:"发料用途",prop_:"purposeName",select:!0},{title:"审核状态",prop_:"auditSignName",select:!0},{title:"源单类型",prop_:"sourceTypeName",select:!0},{title:"源单单号",prop_:"sourceCode",select:!0}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},page4:{formTableData:[{title:"单据编号",prop_:"inspectionNo",select:!0},{title:"日期",prop_:"createTime",select:!0},{title:"物料代码",prop_:"materialSerialNo",select:!0},{title:"物料名称",prop_:"materialName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"计量单位",prop_:"unitUomName",select:!0},{title:"部门",prop_:"deptName",select:!0},{title:"供应商",prop_:"supplierName",select:!0},{title:"报检数量(主单位)",prop_:"sendCount",select:!0},{title:"检验数量(主单位)",prop_:"inspectionCount",select:!0},{title:"合格数量(主单位)",prop_:"qualifiedCount",select:!0},{title:"不合格数量(主单位)",prop_:"unqualifiedCount",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"报检数量(辅单位)",prop_:"sendCountSupport",select:!0},{title:"检验数量(辅单位)",prop_:"inspectionCountSupport",select:!0},{title:"合格数量(辅单位)",prop_:"qualifiedCountSupport",select:!0},{title:"不合格数量(辅单位)",prop_:"unqualifiedCountSupport",select:!0},{title:"备注",prop_:"remarks",select:!0},{title:"制单人",prop_:"createrName",select:!0},{title:"审核人",prop_:"auditorName",select:!0},{title:"源单类型",prop_:"sourceTypeName",select:!0},{title:"源单单号",prop_:"sourceNo",select:!0},{title:"单据状态",prop_:"statusName",select:!0}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},page5:{formTableData:[{title:"入库日期",prop_:"inOutTime",select:!0},{title:"单据编号",prop_:"inheadCode",select:!0},{title:"供应商",prop_:"sourceCompanyName",select:!0},{title:"物料代码",prop_:"serialno",select:!0},{title:"物料名称",prop_:"materielName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"批号",prop_:"batch",select:!0},{title:"主计量单位",prop_:"unitName",select:!0},{title:"主单位数量",prop_:"count",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"入库数量",prop_:"inCount",select:!0},{title:"单价(元)",prop_:"unitPrice",select:!0},{title:"金额(元)",prop_:"amount",select:!0},{title:"材料成本(元)",prop_:"cost",select:!0},{title:"加工费用(元)",prop_:"expense",select:!0},{title:"仓库",prop_:"warehouseName",select:!0},{title:"仓位",prop_:"warehLocationName",select:!0},{title:"审核状态",prop_:"auditSignName",select:!0},{title:"源单类型",prop_:"sourceTypeName",select:!0},{title:"源单单号",prop_:"sourceCode",select:!0}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},page6:{formTableData:[{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}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},page7:{formTableData:[{title:"退料日期",prop_:"inOutTime",select:!0},{title:"供应商",prop_:"sourceCompanyName",select:!0},{title:"退料人",prop_:"operatorName",select:!0},{title:"物料代码",prop_:"serialno",select:!0},{title:"物料名称",prop_:"materielName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"批号",prop_:"batch",select:!0},{title:"主计量单位",prop_:"unitName",select:!0},{title:"主单位数量",prop_:"count",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"退回数量",prop_:"backCount",select:!0},{title:"单价(元)",prop_:"unitPrice",select:!0},{title:"金额(元)",prop_:"amount",select:!0},{title:"仓库",prop_:"warehouseName",select:!0},{title:"仓位",prop_:"warehLocationName",select:!0},{title:"退料原因",prop_:"returnReason",select:!0},{title:"审核状态",prop_:"auditSignName",select:!0},{title:"源单类型",prop_:"sourceTypeName",select:!0},{title:"源单单号",prop_:"sourceCode",select:!0}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},activeName:"1"},productionData:{page1:{formTableData:[{title:"生产计划单号",prop_:"planNo",select:!0},{title:"单据状态",prop_:"planStatusName",select:!0},{title:"交货期",prop_:"deliveryDate",select:!0},{title:"产品代码",prop_:"materialSerialNo",select:!0},{title:"产品名称",prop_:"materialName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"主计量单位",prop_:"unitUomName",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"主单位数量",prop_:"planCount",select:!0},{title:"计划生产数量",prop_:"planCountSupport",select:!0},{title:"批号",prop_:"batchNo",select:!0},{title:"计划开工日期",prop_:"planStartTime",select:!0},{title:"计划完工日期",prop_:"planEndTime",select:!0},{title:"BOM单号",prop_:"bomSerialno",select:!0},{title:"BOM版本",prop_:"bomVersion",select:!0},{title:"工艺编号",prop_:"tecRouteCode",select:!0},{title:"工艺版本",prop_:"tecRouteVersion",select:!0},{title:"制单日期",prop_:"createTime",select:!0},{title:"下达时间",prop_:"giveTime",select:!0},{title:"结案时间",prop_:"actualFinishTime",select:!0},{title:"源单类型",prop_:"sourceTypeName",select:!0},{title:"源单号",prop_:"sourceNo",select:!0},{title:"客户名称",prop_:"clientName",select:!0}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},page2:{formTableData:[{title:"生产计划单号",prop_:"planNo",select:!0},{title:"生产投料单号",prop_:"feedingNo",select:!0},{title:"产品代码",prop_:"materialSerialNo",select:!0},{title:"产品名称",prop_:"materialName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"生产部门",prop_:"proDeptName",select:!0},{title:"主计量单位",prop_:"unitUomName",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"主单位数量",prop_:"planCount",select:!0},{title:"计划生产数量",prop_:"planCountSupport",select:!0},{title:"计划开工日期",prop_:"planStartTime",select:!0},{title:"计划完工日期",prop_:"planEndTime",select:!0},{title:"交货期",prop_:"deliveryDate",select:!0},{title:"审核状态",prop_:"status",select:!0}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},page3:{formTableData:[{title:"工序计划单编号",prop_:"planNo",select:!0},{title:"单据状态",prop_:"planStatusName",select:!0},{title:"客户",prop_:"clientName",select:!0},{title:"交货期",prop_:"deliveryDate",select:!0},{title:"产品代码",prop_:"materialSerialNo",select:!0},{title:"产品名称",prop_:"materialName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"主计量单位",prop_:"unitUomName",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"主单位数量",prop_:"planCount",select:!0},{title:"计划生产数量",prop_:"planCountSupport",select:!0},{title:"生产计划单号",prop_:"productionPlanNo",select:!0}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},page4:{formTableData:[{title:"派工单号",prop_:"code",select:!0},{title:"工序名",prop_:"processName",select:!0},{title:"工序类型",prop_:"typeName",select:!0},{title:"派单人",prop_:"createName",select:!0},{title:"派单时间",prop_:"createTime",select:!0},{title:"操作工",prop_:"operatorName",select:!0},{title:"生产设备",prop_:"deviceName",select:!0},{title:"供应商",prop_:"supplierName",select:!0},{title:"产品代码",prop_:"serialNo",select:!0},{title:"产品名称",prop_:"materielName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"批号",prop_:"batchNo",select:!0},{title:"计划开工日期",prop_:"startTime",select:!0},{title:"计划完工日期",prop_:"endTime",select:!0},{title:"派工数量",prop_:"planCount",select:!0},{title:"完工数量",prop_:"completionCount",select:!0},{title:"状态",prop_:"statusName",select:!0}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},page5:{formTableData:[{title:"报工时间",prop_:"createTime",select:!0},{title:"操作工",prop_:"operatorName",select:!0},{title:"报工单号",prop_:"code",select:!0},{title:"产品代码",prop_:"serialNo",select:!0},{title:"产品名称",prop_:"materialName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"主计量单位",prop_:"unitName",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"自动采集",prop_:"autoCollect",select:!0},{title:"汇报工序",prop_:"processName",select:!0},{title:"完工数量(主计量单位)",prop_:"completionCount",select:!0},{title:"合格数量(主计量单位)",prop_:"conformityCount",select:!0},{title:"返工数量(主计量单位)",prop_:"reworkCount",select:!0},{title:"报废数量(主计量单位)",prop_:"scrapCount",select:!0},{title:"完工数量(辅助单位)",prop_:"completionCountSupport",select:!0},{title:"合格数量(辅助单位)",prop_:"conformityCountSupport",select:!0},{title:"返工数量(辅助单位)",prop_:"reworkCountSupport",select:!0},{title:"报废数量(辅助单位)",prop_:"scrapCountSupport",select:!0},{title:"供应商",prop_:"supplierName",select:!0},{title:"生产部门",prop_:"deptName",select:!0},{title:"加工设备",prop_:"deviceName",select:!0},{title:"生产计划单号",prop_:"proPlanWorkOrderNo",select:!0},{title:"工序计划单号",prop_:"planWorkOrderNo",select:!0}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},page6:{formTableData:[{title:"报检时间",prop_:"createTime",select:!0},{title:"操作工",prop_:"operatorName",select:!0},{title:"生产部门",prop_:"deptName",select:!0},{title:"工序名称",prop_:"processName",select:!0},{title:"产品代码",prop_:"serialNo",select:!0},{title:"产品名称",prop_:"materialName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"主计量单位",prop_:"unitUomName",select:!0},{title:"辅助单位)",prop_:"supportUomName",select:!0},{title:"报检数量(主计量单位)",prop_:"checkCount",select:!0},{title:"合格数量(主计量单位)",prop_:"conformityCount",select:!0},{title:"返工数量(主计量单位)",prop_:"reworkCount",select:!0},{title:"报废数量(主计量单位)",prop_:"scrapCount",select:!0},{title:"报检数量(辅助单位)",prop_:"checkCountSupport",select:!0},{title:"合格数量(辅助单位)",prop_:"conformityCountSupport",select:!0},{title:"返工数量(辅助单位)",prop_:"reworkCountSupport",select:!0},{title:"报废数量(辅助单位)",prop_:"scrapCountSupport",select:!0},{title:"加工设备",prop_:"deviceName",select:!0},{title:"供应商",prop_:"supplierName",select:!0},{title:"工序计划单号",prop_:"workingProcedurePlanCode",select:!0},{title:"生产计划单号",prop_:"planNo",select:!0},{title:"检验单编号",prop_:"checkCode",select:!0}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},page7:{formTableData:[{title:"单据编号",prop_:"inspectionNo",select:!0},{title:"日期",prop_:"createTime",select:!0},{title:"产品代码",prop_:"materialSerialNo",select:!0},{title:"产品名称",prop_:"materialName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"计量单位",prop_:"unitUomName",select:!0},{title:"批号",prop_:"batchNo",select:!0},{title:"生产部门",prop_:"deptName",select:!0},{title:"报检数量(主单位)",prop_:"sendCount",select:!0},{title:"检验数量(主单位)",prop_:"inspectionCount",select:!0},{title:"合格数量(主单位)",prop_:"qualifiedCount",select:!0},{title:"不合格数量(主单位)",prop_:"unqualifiedCount",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"报检数量(辅单位)",prop_:"sendCountSupport",select:!0},{title:"检验数量(辅单位)",prop_:"inspectionCountSupport",select:!0},{title:"合格数量(辅单位)",prop_:"qualifiedCountSupport",select:!0},{title:"不合格数量(辅单位)",prop_:"unqualifiedCountSupport",select:!0},{title:"备注",prop_:"remarks",select:!0},{title:"制单人",prop_:"createrName",select:!0},{title:"审核人",prop_:"auditorName",select:!0},{title:"源单类型",prop_:"sourceTypeName",select:!0},{title:"源单单号",prop_:"sourceNo",select:!0},{title:"单据状态",prop_:"statusName",select:!0}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},page8:{formTableData:[{title:"入库日期",prop_:"inOutTime",select:!0},{title:"单据编号",prop_:"inheadCode",select:!0},{title:"生产部门",prop_:"deptName",select:!0},{title:"物料代码",prop_:"serialno",select:!0},{title:"物料名称",prop_:"materielName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"批号",prop_:"batch",select:!0},{title:"主计量单位",prop_:"unitName",select:!0},{title:"主单位数量",prop_:"count",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"入库数量",prop_:"inCount",select:!0},{title:"单价(元)",prop_:"unitPrice",select:!0},{title:"金额(元)",prop_:"amount",select:!0},{title:"仓库",prop_:"warehouseName",select:!0},{title:"仓位",prop_:"warehLocationName",select:!0},{title:"源单类型",prop_:"sourceTypeName",select:!0},{title:"源单单号",prop_:"sourceCode",select:!0},{title:"审核状态",prop_:"auditSignName",select:!0}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},page9:{formTableData:[{title:"合同日期",prop_:"contractDate",select:!0},{title:"合同编号",prop_:"contractCode",select:!0},{title:"合同类型",prop_:"contractTypeName",select:!0},{title:"关闭标志",prop_:"closeStatusName",select:!0},{title:"客户名称",prop_:"clientName",select:!0},{title:"销售员",prop_:"salesPersonName",select:!0},{title:"销售部门",prop_:"salesPersonDeptName",select:!0},{title:"发货是否检验",prop_:"isCheck",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_:"saleCount",select:!0},{title:"含税单价(元)",prop_:"taxUnitPrice",select:!0},{title:"销售金额(元)",prop_:"taxAmount",select:!0},{title:"交货日期",prop_:"deliveryDate",select:!0,sortable:!0},{title:"审批状态",prop_:"approveStatusName",select:!0},{title:"行关闭状态",prop_:"itemCloseStatusName",select:!0},{title:"行关闭时间",prop_:"itemCloseTime",select:!0},{title:"行关闭原因",prop_:"itemCloseReason",select:!0}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},page10:{formTableData:[{title:"通知日期",prop_:"noteTime",select:!0},{title:"单据编号",prop_:"deliveryCode",select:!0},{title:"客户名称",prop_:"clientName",select:!0},{title:"物料代码",prop_:"materielSerialNo",select:!0},{title:"物料名称",prop_:"materielName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"主计量单位",prop_:"unitUomName",select:!0},{title:"主单位数量",prop_:"deliveryCount",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"发货数量",prop_:"deliveryCountSupport",select:!0},{title:"销售单价",prop_:"sellUnitPrice",select:!0},{title:"销售金额",prop_:"sellAmount",select:!0},{title:"部门",prop_:"deptName",select:!0},{title:"销售员",prop_:"salesPersonName",select:!0},{title:"审核状态",prop_:"auditSignName",select:!0},{title:"源单类型",prop_:"sourceTypeName",select:!0},{title:"源单单号",prop_:"sourceCode",select:!0}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},page11:{formTableData:[{title:"单据编号",prop_:"inspectionNo",select:!0},{title:"日期",prop_:"createTime",select:!0},{title:"物料代码",prop_:"materialSerialNo",select:!0},{title:"物料名称",prop_:"materialName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"计量单位",prop_:"unitUomName",select:!0},{title:"批号",prop_:"batchNo",select:!0},{title:"部门",prop_:"deptName",select:!0},{title:"客户",prop_:"clientName",select:!0},{title:"报检数量(主单位)",prop_:"sendCount",select:!0},{title:"检验数量(主单位)",prop_:"inspectionCount",select:!0},{title:"合格数量(主单位)",prop_:"qualifiedCount",select:!0},{title:"不合格数量(主单位)",prop_:"unqualifiedCount",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"报检数量(辅单位)",prop_:"sendCountSupport",select:!0},{title:"检验数量(辅单位)",prop_:"inspectionCountSupport",select:!0},{title:"合格数量(辅单位)",prop_:"qualifiedCountSupport",select:!0},{title:"不合格数量(辅单位)",prop_:"unqualifiedCountSupport",select:!0},{title:"备注",prop_:"remarks",select:!0},{title:"制单人",prop_:"createrName",select:!0},{title:"审核人",prop_:"auditorName",select:!0},{title:"源单类型",prop_:"sourceTypeName",select:!0},{title:"源单单号",prop_:"sourceNo",select:!0},{title:"单据状态",prop_:"statusName",select:!0}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},page12:{formTableData:[{title:"出库日期",prop_:"outTime",select:!0},{title:"单据编号",prop_:"outCode",select:!0},{title:"客户名称",prop_:"clientName",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_:"outCount",select:!0},{title:"销售单价(元)",prop_:"sellUnitPrice",select:!0},{title:"销售金额(元)",prop_:"sellAmount",select:!0},{title:"批号",prop_:"batch",select:!0},{title:"仓库",prop_:"facName",select:!0},{title:"仓位",prop_:"locationName",select:!0},{title:"部门",prop_:"deptName",select:!0},{title:"出库员",prop_:"operatorName",select:!0},{title:"审核状态",prop_:"auditSignName",select:!0},{title:"源单类型",prop_:"sourceTypeName",select:!0},{title:"源单单号",prop_:"sourceCode",select:!0}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},page13:{formTableData:[{title:"开票日期",prop_:"invoiceDate",select:!0},{title:"客户名称",prop_:"clientName",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_:"taxUnitPrice",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}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},page14:{formTableData:[{title:"退货日期",prop_:"inOutTime",select:!0},{title:"客户名称",prop_:"clientName",select:!0},{title:"退货单号",prop_:"inheadCode",select:!0},{title:"物料代码",prop_:"serialno",select:!0},{title:"物料名称",prop_:"materielName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"主计量单位",prop_:"unitName",select:!0},{title:"主单位数量",prop_:"count",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"退货数量",prop_:"backCount",select:!0},{title:"退货单价(元)",prop_:"unitPrice",select:!0},{title:"金额(元)",prop_:"amount",select:!0},{title:"批号",prop_:"batch",select:!0},{title:"仓库",prop_:"warehouseName",select:!0},{title:"仓位",prop_:"warehLocationName",select:!0},{title:"退货原因",prop_:"returnReason",select:!0},{title:"审核状态",prop_:"auditSignName",select:!0},{title:"源单类型",prop_:"sourceTypeName",select:!0},{title:"源单单号",prop_:"sourceCode",select:!0}],tableData:[],search_data:{pageno:1,pagesize:10},pictLoading:!1,total:0},activeName:"1"},searchParam:{materielName:"",materielId:"",batch:""},activeList:"purchases",ChooseMaterielVisible:!1}},created:function(){},computed:i()({},Object(c.c)({userInfo:"user/getUserInfo"})),mounted:function(){},methods:{getMateriel:function(a){a&&(this.searchParam.materielName=a[0].name,this.searchParam.materielId=a[0].id)},getList:function(){var a=this;if(this.searchParam.materielId&&""!=this.searchParam.materielId)if("purchases"===this.activeList)switch(this.purchasesData.activeName){case"1":this.purchasesData.page1.pictLoading=!0,this.purchasesData.page1.search_data.materielId=this.searchParam.materielId,this.$api.gylPurchaseAPI.purchaseListOfPurchase(this.purchasesData.page1.search_data).then(function(t){a.purchasesData.page1.pictLoading=!1,t.data?(a.purchasesData.page1.total=t.data.totalRows,a.purchasesData.page1.tableData=t.data.datas?t.data.datas:[],a.purchasesData.page1.tableData.forEach(function(a){a.advanceDate=a.advanceDate?/\d{4}-\d{1,2}-\d{1,2}/g.exec(a.advanceDate)[0]:"",0==a.approveState?a.approveStatusName="暂存":1==a.approveState?a.approveStatusName="待审批":2==a.approveState?a.approveStatusName="已驳回":3==a.approveState&&(a.approveStatusName="审批通过")})):(a.purchasesData.page1.total=0,a.purchasesData.page1.tableData=[])}).catch(function(a){console.log(a)});break;case"2":this.purchasesData.page2.pictLoading=!0,this.purchasesData.page2.search_data.materielId=this.searchParam.materielId,this.$api.gylPurchaseAPI.purchaseContractContractList(this.purchasesData.page2.search_data).then(function(t){a.purchasesData.page2.pictLoading=!1,t.data?(a.purchasesData.page2.total=t.data.totalRows,a.purchasesData.page2.tableData=t.data.datas?t.data.datas:[],a.purchasesData.page2.tableData.forEach(function(a){a.contractDate=a.contractDate?/\d{4}-\d{1,2}-\d{1,2}/g.exec(a.contractDate)[0]:"",a.deliveryDate=a.deliveryDate?/\d{4}-\d{1,2}-\d{1,2}/g.exec(a.deliveryDate)[0]:"",0==a.approveState?a.approveStatusName="暂存":1==a.approveState?a.approveStatusName="待审批":2==a.approveState?a.approveStatusName="已驳回":3==a.approveState&&(a.approveStatusName="审批通过")})):(a.purchasesData.page2.total=0,a.purchasesData.page2.tableData=[])}).catch(function(a){console.log(a)});break;case"3":this.purchasesData.page3.pictLoading=!0,this.purchasesData.page3.search_data.materielId=this.searchParam.materielId,this.$api.gylPurchaseAPI.purchaseNoticeList(this.purchasesData.page3.search_data).then(function(t){a.purchasesData.page3.pictLoading=!1,t.data?(a.purchasesData.page3.total=t.data.totalRows,a.purchasesData.page3.tableData=t.data.datas?t.data.datas:[],a.purchasesData.page3.tableData.forEach(function(a){a.noticeDate=/\d{4}-\d{1,2}-\d{1,2}/g.exec(a.noticeDate)[0]})):(a.purchasesData.page3.total=0,a.purchasesData.page3.tableData=[])}).catch(function(a){console.log(a)});break;case"4":this.purchasesData.page4.pictLoading=!0,this.purchasesData.page4.search_data.materielId=this.searchParam.materielId,this.purchasesData.page4.search_data.inspectionType=216,this.$api.inspectionAPI.inspectionList(this.purchasesData.page4.search_data).then(function(t){a.purchasesData.page4.pictLoading=!1,t.data?(a.purchasesData.page4.total=t.data.totalRows,a.purchasesData.page4.tableData=t.data.datas?t.data.datas:[],a.purchasesData.page4.tableData.forEach(function(a){a.createTime=a.createTime.substr(0,10)})):(a.purchasesData.page4.total=0,a.purchasesData.page4.tableData=[])}).catch(function(t){a.purchasesData.page4.pictLoading=!1});break;case"5":this.purchasesData.page5.pictLoading=!0,this.purchasesData.page5.search_data.materielId=this.searchParam.materielId,this.purchasesData.page5.search_data.batch=this.searchParam.batch,this.$api.gylPurchaseAPI.purchaseInStockList(this.purchasesData.page5.search_data).then(function(t){a.purchasesData.page5.pictLoading=!1,t.data?(a.purchasesData.page5.total=t.data.totalRows,a.purchasesData.page5.tableData=t.data.datas?t.data.datas:[],a.purchasesData.page5.tableData.forEach(function(a){a.inOutTime=/\d{4}-\d{1,2}-\d{1,2}/g.exec(a.inOutTime)[0]}),a.purchasesData.page5.tableData&&a.purchasesData.page5.tableData.forEach(function(a){0==a.purchaseType?a.purchaseType="现购":1==a.purchaseType&&(a.purchaseType="赊购")})):(a.purchasesData.page5.total=0,a.purchasesData.page5.tableData=[])}).catch(function(a){console.log(a)});break;case"6":this.purchasesData.page6.pictLoading=!0,this.purchasesData.page6.search_data.materielId=this.searchParam.materielId,this.purchasesData.page6.search_data.batch=this.searchParam.batch,this.$api.gylPurchaseAPI.purchaseStockOutAdvancedQuery(this.purchasesData.page6.search_data).then(function(t){a.purchasesData.page6.pictLoading=!1,t.data?(a.purchasesData.page6.total=t.data.totalRows,a.purchasesData.page6.tableData=t.data.datas?t.data.datas:[],a.purchasesData.page6.tableData.forEach(function(a){a.outTime=/\d{4}-\d{1,2}-\d{1,2}/g.exec(a.outTime)[0]})):(a.purchasesData.page6.total=0,a.purchasesData.page6.tableData=[])}).catch(function(a){console.log(a)});break;case"7":this.purchasesData.page7.pictLoading=!0,this.purchasesData.page7.search_data.materielId=this.searchParam.materielId,this.$api.gylPurchaseAPI.InvoiceListOfInvoice(this.purchasesData.page7.search_data).then(function(t){a.purchasesData.page7.pictLoading=!1,t.data?(a.purchasesData.page7.total=t.data.totalRows,a.purchasesData.page7.tableData=t.data.datas?t.data.datas:[],a.purchasesData.page7.tableData.forEach(function(a){a.invoiceDate=/\d{4}-\d{1,2}-\d{1,2}/g.exec(a.invoiceDate)[0]})):(a.purchasesData.page7.total=0,a.purchasesData.page7.tableData=[])}).catch(function(a){console.log(a)});break;case"8":this.purchasesData.page8.pictLoading=!0,this.purchasesData.page8.search_data.materielId=this.searchParam.materielId,this.purchasesData.page8.search_data.batch=this.searchParam.batch,this.$api.consumingStockAPI.advancedQuery(this.purchasesData.page8.search_data).then(function(t){a.purchasesData.page8.pictLoading=!1,t.data?(a.purchasesData.page8.total=t.data.totalRows,a.purchasesData.page8.tableData=t.data.datas?t.data.datas:[],a.purchasesData.page8.tableData.forEach(function(a){a.outTime=/\d{4}-\d{1,2}-\d{1,2}/g.exec(a.outTime)[0]})):(a.purchasesData.page8.total=0,a.purchasesData.page8.tableData=[])}).catch(function(a){console.log(a)})}else if("outsourcing"===this.activeList)switch(this.outsourcingData.activeName){case"1":this.outsourcingData.page1.pictLoading=!0,this.outsourcingData.page1.search_data.materielId=this.searchParam.materielId,this.$api.outsourcingAPI.qualityTracingOutsourcingContractList(this.outsourcingData.page1.search_data).then(function(t){a.outsourcingData.page1.pictLoading=!1,t.data?(a.outsourcingData.page1.total=t.data.totalRows,a.outsourcingData.page1.tableData=t.data.datas?t.data.datas:[],a.outsourcingData.page1.tableData.forEach(function(a){console.log("状态转换"),0==a.approveState?a.approveStatusName="暂存":1==a.approveState?a.approveStatusName="待审批":2==a.approveState?a.approveStatusName="已驳回":3==a.approveState&&(a.approveStatusName="审批通过"),a.contractDate=a.contractDate?/\d{4}-\d{1,2}-\d{1,2}/g.exec(a.contractDate)[0]:"",a.deliveryDate=a.deliveryDate?/\d{4}-\d{1,2}-\d{1,2}/g.exec(a.deliveryDate)[0]:""})):(a.outsourcingData.page1.total=0,a.outsourcingData.page1.tableData=[])}).catch(function(a){console.log(a)});break;case"2":this.outsourcingData.page2.pictLoading=!0,this.outsourcingData.page2.search_data.materielId=this.searchParam.materielId,this.$api.outsourcingAPI.qualityTracingOutsourcingContractFeedingList(this.outsourcingData.page2.search_data).then(function(t){a.outsourcingData.page2.pictLoading=!1,t.data?(a.outsourcingData.page2.total=t.data.totalRows,a.outsourcingData.page2.tableData=t.data.datas?t.data.datas:[],a.outsourcingData.page2.tableData.forEach(function(a){a.contractDeliveryDate=/\d{4}-\d{1,2}-\d{1,2}/g.exec(a.contractDeliveryDate)})):(a.outsourcingData.page2.total=0,a.outsourcingData.page2.tableData=[])}).catch(function(a){console.log(a)});break;case"3":this.outsourcingData.page3.pictLoading=!0,this.outsourcingData.page3.search_data.materielId=this.searchParam.materielId,this.$api.outsourcingAPI.qualityTracinOutsourcingStockOutAdvancedQuery(this.outsourcingData.page3.search_data).then(function(t){a.outsourcingData.page3.pictLoading=!1,t.data?(a.outsourcingData.page3.total=t.data.totalRows,a.outsourcingData.page3.tableData=t.data.datas?t.data.datas:[],a.outsourcingData.page3.tableData.forEach(function(a){a.outTime=/\d{4}-\d{1,2}-\d{1,2}/g.exec(a.outTime)[0]})):(a.outsourcingData.page3.total=0,a.outsourcingData.page3.tableData=[])}).catch(function(a){console.log(a)});break;case"4":this.outsourcingData.page4.pictLoading=!0,this.outsourcingData.page4.search_data.materielId=this.searchParam.materielId,this.outsourcingData.page4.search_data.inspectionType=216,this.$api.inspectionAPI.qualityTracingInspectionList(this.outsourcingData.page4.search_data).then(function(t){a.outsourcingData.page4.pictLoading=!1,t.data?(a.outsourcingData.page4.total=t.data.totalRows,a.outsourcingData.page4.tableData=t.data.datas?t.data.datas:[],a.outsourcingData.page4.tableData.forEach(function(a){a.createTime=a.createTime.substr(0,10)})):(a.outsourcingData.page4.total=0,a.outsourcingData.page4.tableData=[])}).catch(function(t){a.outsourcingData.page4.pictLoading=!1});break;case"5":this.outsourcingData.page5.pictLoading=!0,this.outsourcingData.page5.search_data.materielId=this.searchParam.materielId,this.outsourcingData.page5.search_data.batch=this.searchParam.batch,this.$api.outsourcingAPI.qualityTracingOutsourcingInStockList(this.outsourcingData.page5.search_data).then(function(t){a.outsourcingData.page5.pictLoading=!1,t.data?(a.outsourcingData.page5.total=t.data.totalRows,a.outsourcingData.page5.tableData=t.data.datas?t.data.datas:[],a.outsourcingData.page5.tableData.forEach(function(a){a.inOutTime=/\d{4}-\d{1,2}-\d{1,2}/g.exec(a.inOutTime)[0]})):(a.outsourcingData.page5.total=0,a.outsourcingData.page5.tableData=[])}).catch(function(a){console.log(a)});break;case"6":this.outsourcingData.page6.pictLoading=!0,this.outsourcingData.page6.search_data.materielId=this.searchParam.materielId,this.$api.outsourcingAPI.qualityTracingProcessingChargeList(this.outsourcingData.page6.search_data).then(function(t){a.outsourcingData.page6.pictLoading=!1,t.data?(a.outsourcingData.page6.total=t.data.totalRows,a.outsourcingData.page6.tableData=t.data.datas?t.data.datas:[],a.outsourcingData.page6.tableData.forEach(function(a){a.invoiceDate=/\d{4}-\d{1,2}-\d{1,2}/g.exec(a.invoiceDate)[0]})):(a.outsourcingData.page6.total=0,a.outsourcingData.page6.tableData=[])}).catch(function(a){console.log(a)});break;case"7":this.outsourcingData.page7.pictLoading=!0,this.outsourcingData.page7.search_data.materielId=this.searchParam.materielId,this.outsourcingData.page7.search_data.batch=this.searchParam.batch,this.$api.outsourcingReturnAPI.qualityTracingList(this.outsourcingData.page7.search_data).then(function(t){a.outsourcingData.page7.pictLoading=!1,t.data?(a.outsourcingData.page7.total=t.data.totalRows,a.outsourcingData.page7.tableData=t.data.datas?t.data.datas:[],a.outsourcingData.page7.tableData.forEach(function(a){a.inOutTime=/\d{4}-\d{1,2}-\d{1,2}/g.exec(a.inOutTime)[0]})):(a.outsourcingData.page7.total=0,a.outsourcingData.page7.tableData=[])}).catch(function(a){console.log(a)})}else if("production"===this.activeList)switch(this.productionData.activeName){case"1":this.productionData.page1.pictLoading=!0,this.productionData.page1.search_data.materielId=this.searchParam.materielId,this.$api.planManagementAPI.productionTraceabilityProductionPlanList(this.productionData.page1.search_data).then(function(t){a.productionData.page1.pictLoading=!1,t.data?(a.productionData.page1.total=t.data.totalRows,a.productionData.page1.tableData=t.data.datas?t.data.datas:[],a.productionData.page1.tableData.forEach(function(a){a.createTime=a.createTime.substr(0,10),a.deliveryDate=a.deliveryDate.substr(0,10),a.planStartTime=a.planStartTime.substr(0,10),a.planEndTime=a.planEndTime.substr(0,10)})):(a.productionData.page1.total=0,a.productionData.page1.tableData=[])}).catch(function(a){console.log(a)});break;case"2":this.productionData.page2.pictLoading=!0,this.productionData.page2.search_data.materielId=this.searchParam.materielId,this.$api.planManagementAPI.productionTraceabilityProductionFeedingList(this.productionData.page2.search_data).then(function(t){a.productionData.page2.pictLoading=!1,t.data?(a.productionData.page2.total=t.data.totalRows,a.productionData.page2.tableData=t.data.datas?t.data.datas:[],a.productionData.page2.tableData.forEach(function(a){a.planStartTime=/\d{4}-\d{1,2}-\d{1,2}/g.exec(a.planStartTime),a.planEndTime=/\d{4}-\d{1,2}-\d{1,2}/g.exec(a.planEndTime),a.deliveryDate=/\d{4}-\d{1,2}-\d{1,2}/g.exec(a.deliveryDate)})):(a.productionData.page2.total=0,a.productionData.page2.tableData=[])}).catch(function(a){console.log(a)});break;case"3":this.productionData.page3.pictLoading=!0,this.productionData.page3.search_data.materielId=this.searchParam.materielId,this.$api.planManagementAPI.productionTraceabilityWorkingProcedurePlanList(this.productionData.page3.search_data).then(function(t){a.productionData.page3.pictLoading=!1,t.data?(a.productionData.page3.total=t.data.totalRows,a.productionData.page3.tableData=t.data.datas?t.data.datas:[],a.productionData.page3.tableData.forEach(function(a){a.deliveryDate=a.deliveryDate.substr(0,10)})):(a.productionData.page3.total=0,a.productionData.page3.tableData=[])}).catch(function(a){console.log(a)});break;case"4":this.productionData.page4.pictLoading=!0,this.productionData.page4.search_data.materielId=this.searchParam.materielId,this.productionData.page4.search_data.inspectionType=216,this.$api.dispatchWorkAPI.productionTraceabilityDetailOfDispatch(this.productionData.page4.search_data).then(function(t){a.productionData.page4.pictLoading=!1,t.data?(a.productionData.page4.total=t.data.totalRows,a.productionData.page4.tableData=t.data.datas?t.data.datas:[],a.productionData.page4.tableData.forEach(function(a){a.startTime=a.startTime.substr(0,10),a.endTime=a.endTime.substr(0,10)})):(a.productionData.page4.total=0,a.productionData.page4.tableData=[])}).catch(function(t){a.productionData.page4.pictLoading=!1});break;case"5":this.productionData.page5.pictLoading=!0,this.productionData.page5.search_data.materielId=this.searchParam.materielId,this.productionData.page5.search_data.batch=this.searchParam.batch,this.$api.workReportAPI.productionTraceabilityWorkingReportList(this.productionData.page5.search_data).then(function(t){a.productionData.page5.pictLoading=!1,t.data?(a.productionData.page5.total=t.data.totalRows,a.productionData.page5.tableData=t.data.datas?t.data.datas:[]):(a.productionData.page5.total=0,a.productionData.page5.tableData=[])}).catch(function(a){console.log(a)});break;case"6":this.productionData.page6.pictLoading=!0,this.productionData.page6.search_data.materielId=this.searchParam.materielId,this.productionData.page6.search_data.batch=this.searchParam.batch,this.$api.workCheckAPI.productionTraceabilityWorkingCheckList(this.productionData.page6.search_data).then(function(t){a.productionData.page6.pictLoading=!1,t.data?(a.productionData.page6.total=t.data.totalRows,a.productionData.page6.tableData=t.data.datas?t.data.datas:[]):(a.productionData.page6.total=0,a.productionData.page6.tableData=[])}).catch(function(a){console.log(a)});break;case"7":this.productionData.page7.pictLoading=!0,this.productionData.page7.search_data.materielId=this.searchParam.materielId,this.productionData.page7.search_data.inspectionType=217,this.$api.inspectionAPI.productionTraceabilityInspectionList(this.productionData.page7.search_data).then(function(t){a.productionData.page7.pictLoading=!1,t.data?(a.productionData.page7.total=t.data.totalRows,a.productionData.page7.tableData=t.data.datas?t.data.datas:[],a.productionData.page7.tableData.forEach(function(a){a.createTime=a.createTime.substr(0,10)})):(a.productionData.page7.total=0,a.productionData.page7.tableData=[])}).catch(function(a){console.log(a)});break;case"8":this.productionData.page8.pictLoading=!0,this.productionData.page8.search_data.materielId=this.searchParam.materielId,this.productionData.page8.search_data.batch=this.searchParam.batch,this.$api.produceStockAPI.getProdeceList(this.productionData.page8.search_data).then(function(t){a.productionData.page8.pictLoading=!1,t.data?(a.productionData.page8.total=t.data.totalRows,a.productionData.page8.tableData=t.data.datas?t.data.datas:[],a.productionData.page8.tableData.forEach(function(a){a.inOutTime=/\d{4}-\d{1,2}-\d{1,2}/g.exec(a.inOutTime)[0]})):(a.productionData.page8.total=0,a.productionData.page8.tableData=[])}).catch(function(a){console.log(a)});break;case"9":this.productionData.page9.pictLoading=!0,this.productionData.page9.search_data.materielId=this.searchParam.materielId,this.productionData.page9.search_data.batch=this.searchParam.batch,this.$api.salesAPI.productionTraceabilityListSalesContract(this.productionData.page9.search_data).then(function(t){a.productionData.page9.pictLoading=!1,t.data?(a.productionData.page9.total=t.data.totalRows,a.productionData.page9.tableData=t.data.datas?t.data.datas:[],a.productionData.page9.tableData.forEach(function(a){0==a.approveState?a.approveStatusName="暂存":1==a.approveState?a.approveStatusName="待审批":2==a.approveState?a.approveStatusName="已驳回":3==a.approveState&&(a.approveStatusName="审批通过")})):(a.productionData.page9.total=0,a.productionData.page9.tableData=[])}).catch(function(a){console.log(a)});break;case"10":this.productionData.page10.pictLoading=!0,this.productionData.page10.search_data.materielId=this.searchParam.materielId,this.productionData.page10.search_data.batch=this.searchParam.batch,n.a.productionTraceabilityFindList(this.productionData.page10.search_data).then(function(t){a.productionData.page10.pictLoading=!1,t?(a.productionData.page10.total=t.totalRows,a.productionData.page10.tableData=t.list?t.list:[],a.productionData.page10.tableData.forEach(function(a){a.noteTime&&(a.noteTime=a.noteTime.substring(0,10))})):(a.productionData.page10.total=0,a.productionData.page10.tableData=[])}).catch(function(a){console.log(a)});break;case"11":this.productionData.page11.pictLoading=!0,this.productionData.page11.search_data.materielId=this.searchParam.materielId,this.productionData.page11.search_data.batch=this.searchParam.batch,this.productionData.page11.search_data.inspectionType=218,this.$api.inspectionAPI.productionTraceabilityInspectionList(this.productionData.page11.search_data).then(function(t){a.productionData.page11.pictLoading=!1,t.data?(a.productionData.page11.total=t.data.totalRows,a.productionData.page11.tableData=t.data.datas?t.data.datas:[],a.productionData.page11.tableData.forEach(function(a){a.createTime=a.createTime.substr(0,10)})):(a.productionData.page11.total=0,a.productionData.page11.tableData=[])}).catch(function(a){console.log(a)});break;case"12":this.productionData.page12.pictLoading=!0,this.productionData.page12.search_data.materielId=this.searchParam.materielId,this.productionData.page12.search_data.batch=this.searchParam.batch,this.$api.saleStockAPI.productionTraceabilityGetAdvancedQuery(this.productionData.page12.search_data).then(function(t){a.productionData.page12.pictLoading=!1,t.data?(a.productionData.page12.total=t.data.totalRows,a.productionData.page12.tableData=t.data.datas?t.data.datas:[],a.productionData.page12.tableData.forEach(function(a){a.outTime=/\d{4}-\d{1,2}-\d{1,2}/g.exec(a.outTime)[0]})):(a.productionData.page12.total=0,a.productionData.page12.tableData=[])}).catch(function(a){console.log(a)});break;case"13":this.productionData.page13.pictLoading=!0,this.productionData.page13.search_data.materielId=this.searchParam.materielId,this.productionData.page13.search_data.batch=this.searchParam.batch,this.$api.salesBillAPI.productionTraceabilityGetSalesBillList(this.productionData.page13.search_data).then(function(t){a.productionData.page13.pictLoading=!1,t.data?(a.productionData.page13.total=t.data.totalRows,a.productionData.page13.tableData=t.data.datas?t.data.datas:[],a.productionData.page13.tableData.forEach(function(a){a.invoiceDate=/\d{4}-\d{1,2}-\d{1,2}/g.exec(a.invoiceDate)[0]})):(a.productionData.page13.total=0,a.productionData.page13.tableData=[])}).catch(function(a){console.log(a)});break;case"14":this.productionData.page14.pictLoading=!0,this.productionData.page14.search_data.materielId=this.searchParam.materielId,this.productionData.page14.search_data.batch=this.searchParam.batch,this.$api.salesReturnAPI.productionTraceabilityGetSalesReturnList(this.productionData.page14.search_data).then(function(t){a.productionData.page14.pictLoading=!1,t.data?(a.productionData.page14.total=t.data.totalRows,a.productionData.page14.tableData=t.data.datas?t.data.datas:[],a.productionData.page14.tableData.forEach(function(a){a.inOutTime=/\d{4}-\d{1,2}-\d{1,2}/g.exec(a.inOutTime)[0]})):(a.productionData.page14.total=0,a.productionData.page14.tableData=[])}).catch(function(a){console.log(a)})}},activeBtn:function(a){if(this.activeList=a,this.searchParam.materielId&&this.searchParam.batch){if("purchases"===this.activeList)switch(this.purchasesData.activeName){case"1":this.purchasesData.page1.search_data.pageno=1;break;case"2":this.purchasesData.page2.search_data.pageno=1;break;case"3":this.purchasesData.page3.search_data.pageno=1;break;case"4":this.purchasesData.page4.search_data.pageno=1;break;case"5":this.purchasesData.page5.search_data.pageno=1;break;case"6":this.purchasesData.page6.search_data.pageno=1;break;case"7":this.purchasesData.page7.search_data.pageno=1;break;case"8":this.purchasesData.page8.search_data.pageno=1}else if("outsourcing"===this.activeList)switch(this.outsourcingData.activeName){case"1":this.outsourcingData.page1.search_data.pageno=1;break;case"2":this.outsourcingData.page2.search_data.pageno=1;break;case"3":this.outsourcingData.page3.search_data.pageno=1;break;case"4":this.outsourcingData.page4.search_data.pageno=1;break;case"5":this.outsourcingData.page5.search_data.pageno=1;break;case"6":this.outsourcingData.page6.search_data.pageno=1;break;case"7":this.outsourcingData.page7.search_data.pageno=1}else if("production"===this.activeList)switch(this.productionData.activeName){case"1":this.productionData.page1.search_data.pageno=1;break;case"2":this.productionData.page2.search_data.pageno=1;break;case"3":this.productionData.page3.search_data.pageno=1;break;case"4":this.productionData.page4.search_data.pageno=1;break;case"5":this.productionData.page5.search_data.pageno=1;break;case"6":this.productionData.page6.search_data.pageno=1;break;case"7":this.productionData.page7.search_data.pageno=1;break;case"8":this.productionData.page8.search_data.pageno=1;break;case"9":this.productionData.page9.search_data.pageno=1;break;case"10":this.productionData.page10.search_data.pageno=1;break;case"11":this.productionData.page11.search_data.pageno=1;break;case"12":this.productionData.page12.search_data.pageno=1;break;case"13":this.productionData.page13.search_data.pageno=1;break;case"14":this.productionData.page14.search_data.pageno=1}this.getList()}else this.$message({message:"查询时必须选物料和批次",type:"warning"})},goToLink:function(a){if("purchases"===this.activeList)switch(this.purchasesData.activeName){case"1":this.$router.push({path:"/purchase/purchase_apply_detail",query:{id:a.id,t:Date.now()}});break;case"2":this.$router.push({path:"/purchase/purchase_contract_add",query:{id:a.id,t:Date.now()}});break;case"3":this.$router.push({path:"/purchase/purchase_notice_add",query:{id:a.id,t:Date.now()}});break;case"4":this.$router.push({path:"/quality/addIncoming",query:{id:a.id,t:Date.now()}});break;case"5":this.$router.push({path:"/purchase/purchase_inStock_add",query:{id:a.id,t:Date.now()}});break;case"6":this.$router.push({path:"/purchase/purchase_outStock_add",query:{id:a.id,t:Date.now()}});break;case"7":this.$router.push({path:"/purchase/purchase_invoice_add",query:{id:a.id,t:Date.now()}});break;case"8":this.$router.push({path:"/warehouse/consumingStock_add",query:{id:a.id,t:Date.now()}})}else if("outsourcing"===this.activeList)switch(this.outsourcingData.activeName){case"1":this.$router.push({path:"/outsourcing/outsourcing_contract_add",query:{id:a.outsourcingContractId,t:Date.now()}});break;case"2":this.$router.push({path:"/outsourcing/outsourcing_feeding_detail",query:{id:a.id,t:Date.now()}});break;case"3":this.$router.push({path:"/outsourcing/outsourcing_outstock_add",query:{id:a.id,t:Date.now()}});break;case"4":this.$router.push({path:"/quality/addIncoming",query:{id:a.id,t:Date.now()}});break;case"5":this.$router.push({path:"/outsourcing/outsourcing_inStock_add",query:{id:a.id,t:Date.now()}});break;case"6":this.$router.push({path:"/outsourcing/outsourcing_processingCharge_add",query:{id:a.id,t:Date.now()}});break;case"7":this.$router.push({path:"/outsourcing/outsourcing_outsourcingReturn_add",query:{id:a.id,t:Date.now()}})}else if("production"===this.activeList)switch(this.productionData.activeName){case"1":this.$router.push({path:"/planManagement/production_add",query:{id:a.id,t:Date.now()}});break;case"2":this.$router.push({path:"/planManagement/feeding_detail",query:{id:a.id,t:Date.now()}});break;case"3":this.$router.push({path:"/planManagement/working_procedure_add",query:{id:a.id,t:Date.now()}});break;case"4":case"5":case"6":break;case"7":this.$router.push({path:"/quality/addProductInspection",query:{id:a.id,t:Date.now()}});break;case"8":this.$router.push({path:"/warehouse/produceStock_add",query:{id:a.id,t:Date.now()}});break;case"9":this.$router.push({path:"/sales/salesContract_detail",query:{id:a.salesContractId,t:Date.now()}});break;case"10":this.$router.push({path:"/sales/deliveryNote_add",query:{id:a.mainId,t:Date.now()}});break;case"11":this.$router.push({path:"/quality/addDeliveryInspection",query:{id:a.id,t:Date.now()}});break;case"12":this.$router.push({path:"/sales/salesStock_add",query:{id:a.id,t:Date.now()}});break;case"13":this.$router.push({path:"/sales/salesBill_add",query:{id:a.id,t:Date.now()}});break;case"14":this.$router.push({path:"/sales/salesReturn_add",query:{id:a.id,t:Date.now()}})}this.getList()},handleCurrentChange:function(a){if("purchases"===this.activeList)switch(this.purchasesData.activeName){case"1":this.purchasesData.page1.search_data.pageno=a;break;case"2":this.purchasesData.page2.search_data.pageno=a;break;case"3":this.purchasesData.page3.search_data.pageno=a;break;case"4":this.purchasesData.page4.search_data.pageno=a;break;case"5":this.purchasesData.page5.search_data.pageno=a;break;case"6":this.purchasesData.page6.search_data.pageno=a;break;case"7":this.purchasesData.page7.search_data.pageno=a;break;case"8":this.purchasesData.page8.search_data.pageno=a}else if("outsourcing"===this.activeList)switch(this.outsourcingData.activeName){case"1":this.outsourcingData.page1.search_data.pageno=a;break;case"2":this.outsourcingData.page2.search_data.pageno=a;break;case"3":this.outsourcingData.page3.search_data.pageno=a;break;case"4":this.outsourcingData.page4.search_data.pageno=a;break;case"5":this.outsourcingData.page5.search_data.pageno=a;break;case"6":this.outsourcingData.page6.search_data.pageno=a;break;case"7":this.outsourcingData.page7.search_data.pageno=a}else if("production"===this.activeList)switch(this.productionData.activeName){case"1":this.productionData.page1.search_data.pageno=a;break;case"2":this.productionData.page2.search_data.pageno=a;break;case"3":this.productionData.page3.search_data.pageno=a;break;case"4":this.productionData.page4.search_data.pageno=a;break;case"5":this.productionData.page5.search_data.pageno=a;break;case"6":this.productionData.page6.search_data.pageno=a;break;case"7":this.productionData.page7.search_data.pageno=a;break;case"8":this.productionData.page8.search_data.pageno=a;break;case"9":this.productionData.page9.search_data.pageno=a;break;case"10":this.productionData.page10.search_data.pageno=a;break;case"11":this.productionData.page11.search_data.pageno=a;break;case"12":this.productionData.page12.search_data.pageno=a;break;case"13":this.productionData.page13.search_data.pageno=a;break;case"14":this.productionData.page14.search_data.pageno=a}this.getList()},handleSizeChange:function(a){if("purchases"===this.activeList)switch(this.purchasesData.activeName){case"1":this.purchasesData.page1.search_data.pagesize=a;break;case"2":this.purchasesData.page2.search_data.pagesize=a;break;case"3":this.purchasesData.page3.search_data.pagesize=a;break;case"4":this.purchasesData.page4.search_data.pagesize=a;break;case"5":this.purchasesData.page5.search_data.pagesize=a;break;case"6":this.purchasesData.page6.search_data.pagesize=a;break;case"7":this.purchasesData.page7.search_data.pagesize=a;break;case"8":this.purchasesData.page8.search_data.pagesize=a}else if("outsourcing"===this.activeList)switch(this.outsourcingData.activeName){case"1":this.outsourcingData.page1.search_data.pagesize=a;break;case"2":this.outsourcingData.page2.search_data.pagesize=a;break;case"3":this.outsourcingData.page3.search_data.pagesize=a;break;case"4":this.outsourcingData.page4.search_data.pagesize=a;break;case"5":this.outsourcingData.page5.search_data.pagesize=a;break;case"6":this.outsourcingData.page6.search_data.pagesize=a;break;case"7":this.outsourcingData.page7.search_data.pagesize=a}else if("production"===this.activeList)switch(this.productionData.activeName){case"1":this.productionData.page1.search_data.pagesize=a;break;case"2":this.productionData.page2.search_data.pagesize=a;break;case"3":this.productionData.page3.search_data.pagesize=a;break;case"4":this.productionData.page4.search_data.pagesize=a;break;case"5":this.productionData.page5.search_data.pagesize=a;break;case"6":this.productionData.page6.search_data.pagesize=a;break;case"7":this.productionData.page7.search_data.pagesize=a;break;case"8":this.productionData.page8.search_data.pagesize=a;break;case"9":this.productionData.page9.search_data.pagesize=a;break;case"10":this.productionData.page10.search_data.pagesize=a;break;case"11":this.productionData.page11.search_data.pagesize=a;break;case"12":this.productionData.page12.search_data.pagesize=a;break;case"13":this.productionData.page13.search_data.pagesize=a;break;case"14":this.productionData.page14.search_data.pagesize=a}this.getList()},handleSelectionChange:function(a){this.rowIds=a},handleClick:function(){this.getList()}}},d={render:function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"sys-box"},[e("div",{staticClass:"sys-operate"},[e("el-button",{attrs:{type:"primary"},on:{click:function(t){return a.activeBtn("purchases")}}},[a._v("外购追溯")]),a._v(" "),e("el-button",{attrs:{type:"primary"},on:{click:function(t){return a.activeBtn("outsourcing")}}},[a._v("委外追溯")]),a._v(" "),e("el-button",{attrs:{type:"primary"},on:{click:function(t){return a.activeBtn("production")}}},[a._v("生产追溯")])],1),a._v(" "),e("div",{staticClass:"sys-search"},[e("el-form",{staticClass:"form_item_search_out",attrs:{inline:""}},[e("div",{staticClass:"form_item_input_out"},[e("el-form-item",{staticClass:"form_item-inline is-required",staticStyle:{width:"33%"},attrs:{label:"物料"}},[e("btn-input",{attrs:{valueText:a.searchParam.materielName,valueId:a.searchParam.materielId,chooseVisible:a.ChooseMaterielVisible},on:{"update:valueText":function(t){return a.$set(a.searchParam,"materielName",t)},"update:value-text":function(t){return a.$set(a.searchParam,"materielName",t)},"update:valueId":function(t){return a.$set(a.searchParam,"materielId",t)},"update:value-id":function(t){return a.$set(a.searchParam,"materielId",t)},"update:chooseVisible":function(t){a.ChooseMaterielVisible=t},"update:choose-visible":function(t){a.ChooseMaterielVisible=t}}})],1),a._v(" "),e("el-form-item",{staticClass:"form_item-inline is-required",staticStyle:{width:"33%"},attrs:{label:"批次"}},[e("el-input",{attrs:{clearable:""},model:{value:a.searchParam.batch,callback:function(t){a.$set(a.searchParam,"batch",t)},expression:"searchParam.batch"}})],1)],1)])],1),a._v(" "),"purchases"===a.activeList?e("div",[e("div",{staticClass:"sys-tabs"},[e("el-tabs",{on:{"tab-click":a.getList},model:{value:a.purchasesData.activeName,callback:function(t){a.$set(a.purchasesData,"activeName",t)},expression:"purchasesData.activeName"}},[e("el-tab-pane",{attrs:{label:"采购申请",name:"1"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.purchasesData.page1.formTableData,tableData:a.purchasesData.page1.tableData,listQuery:a.purchasesData.page1.search_data,total:a.purchasesData.page1.total,pictLoading:a.purchasesData.page1.pictLoading},on:{goToLink:a.goToLink,handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1),a._v(" "),e("el-tab-pane",{attrs:{label:"采购订单",name:"2"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.purchasesData.page2.formTableData,tableData:a.purchasesData.page2.tableData,listQuery:a.purchasesData.page2.search_data,total:a.purchasesData.page2.total,pictLoading:a.purchasesData.page2.pictLoading},on:{goToLink:a.goToLink,handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1),a._v(" "),e("el-tab-pane",{attrs:{label:"收料通知",name:"3"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.purchasesData.page3.formTableData,tableData:a.purchasesData.page3.tableData,listQuery:a.purchasesData.page3.search_data,total:a.purchasesData.page3.total,pictLoading:a.purchasesData.page3.pictLoading},on:{goToLink:a.goToLink,handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1),a._v(" "),e("el-tab-pane",{attrs:{label:"来料检验",name:"4"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.purchasesData.page4.formTableData,tableData:a.purchasesData.page4.tableData,listQuery:a.purchasesData.page4.search_data,total:a.purchasesData.page4.total,pictLoading:a.purchasesData.page4.pictLoading},on:{goToLink:a.goToLink,handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1),a._v(" "),e("el-tab-pane",{attrs:{label:"采购入库",name:"5"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.purchasesData.page5.formTableData,tableData:a.purchasesData.page5.tableData,listQuery:a.purchasesData.page5.search_data,total:a.purchasesData.page5.total,pictLoading:a.purchasesData.page5.pictLoading},on:{goToLink:a.goToLink,handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1),a._v(" "),e("el-tab-pane",{attrs:{label:"采购退货",name:"6"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.purchasesData.page6.formTableData,tableData:a.purchasesData.page6.tableData,listQuery:a.purchasesData.page6.search_data,total:a.purchasesData.page6.total,pictLoading:a.purchasesData.page6.pictLoading},on:{goToLink:a.goToLink,handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1),a._v(" "),e("el-tab-pane",{attrs:{label:"采购发票",name:"7"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.purchasesData.page7.formTableData,tableData:a.purchasesData.page7.tableData,listQuery:a.purchasesData.page7.search_data,total:a.purchasesData.page7.total,pictLoading:a.purchasesData.page7.pictLoading},on:{goToLink:a.goToLink,handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1),a._v(" "),e("el-tab-pane",{attrs:{label:"生产领用",name:"8"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.purchasesData.page8.formTableData,tableData:a.purchasesData.page8.tableData,listQuery:a.purchasesData.page8.search_data,total:a.purchasesData.page8.total,pictLoading:a.purchasesData.page8.pictLoading},on:{goToLink:a.goToLink,handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1)],1)],1)]):a._e(),a._v(" "),"outsourcing"===a.activeList?e("div",[e("div",{staticClass:"sys-tabs"},[e("el-tabs",{on:{"tab-click":a.getList},model:{value:a.outsourcingData.activeName,callback:function(t){a.$set(a.outsourcingData,"activeName",t)},expression:"outsourcingData.activeName"}},[e("el-tab-pane",{attrs:{label:"委外合同",name:"1"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.outsourcingData.page1.formTableData,tableData:a.outsourcingData.page1.tableData,listQuery:a.outsourcingData.page1.search_data,total:a.outsourcingData.page1.total,pictLoading:a.outsourcingData.page1.pictLoading},on:{goToLink:a.goToLink,handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1),a._v(" "),e("el-tab-pane",{attrs:{label:"委外投料",name:"2"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.outsourcingData.page2.formTableData,tableData:a.outsourcingData.page2.tableData,listQuery:a.outsourcingData.page2.search_data,total:a.outsourcingData.page2.total,pictLoading:a.outsourcingData.page2.pictLoading},on:{goToLink:a.goToLink,handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1),a._v(" "),e("el-tab-pane",{attrs:{label:"委外出库",name:"3"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.outsourcingData.page3.formTableData,tableData:a.outsourcingData.page3.tableData,listQuery:a.outsourcingData.page3.search_data,total:a.outsourcingData.page3.total,pictLoading:a.outsourcingData.page3.pictLoading},on:{goToLink:a.goToLink,handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1),a._v(" "),e("el-tab-pane",{attrs:{label:"来料检验",name:"4"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.outsourcingData.page4.formTableData,tableData:a.outsourcingData.page4.tableData,listQuery:a.outsourcingData.page4.search_data,total:a.outsourcingData.page4.total,pictLoading:a.outsourcingData.page4.pictLoading},on:{goToLink:a.goToLink,handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1),a._v(" "),e("el-tab-pane",{attrs:{label:"委外入库",name:"5"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.outsourcingData.page5.formTableData,tableData:a.outsourcingData.page5.tableData,listQuery:a.outsourcingData.page5.search_data,total:a.outsourcingData.page5.total,pictLoading:a.outsourcingData.page5.pictLoading},on:{goToLink:a.goToLink,handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1),a._v(" "),e("el-tab-pane",{attrs:{label:"加工费用",name:"6"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.outsourcingData.page6.formTableData,tableData:a.outsourcingData.page6.tableData,listQuery:a.outsourcingData.page6.search_data,total:a.outsourcingData.page6.total,pictLoading:a.outsourcingData.page6.pictLoading},on:{goToLink:a.goToLink,handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1),a._v(" "),e("el-tab-pane",{attrs:{label:"委外退料",name:"7"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.outsourcingData.page7.formTableData,tableData:a.outsourcingData.page7.tableData,listQuery:a.outsourcingData.page7.search_data,total:a.outsourcingData.page7.total,pictLoading:a.outsourcingData.page7.pictLoading},on:{goToLink:a.goToLink,handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1)],1)],1)]):a._e(),a._v(" "),"production"===a.activeList?e("div",[e("div",{staticClass:"sys-tabs"},[e("el-tabs",{on:{"tab-click":a.getList},model:{value:a.productionData.activeName,callback:function(t){a.$set(a.productionData,"activeName",t)},expression:"productionData.activeName"}},[e("el-tab-pane",{attrs:{label:"生产计划",name:"1"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.productionData.page1.formTableData,tableData:a.productionData.page1.tableData,listQuery:a.productionData.page1.search_data,total:a.productionData.page1.total,pictLoading:a.productionData.page1.pictLoading},on:{goToLink:a.goToLink,handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1),a._v(" "),e("el-tab-pane",{attrs:{label:"投料计划",name:"2"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.productionData.page2.formTableData,tableData:a.productionData.page2.tableData,listQuery:a.productionData.page2.search_data,total:a.productionData.page2.total,pictLoading:a.productionData.page2.pictLoading},on:{goToLink:a.goToLink,handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1),a._v(" "),e("el-tab-pane",{attrs:{label:"工序计划",name:"3"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.productionData.page3.formTableData,tableData:a.productionData.page3.tableData,listQuery:a.productionData.page3.search_data,total:a.productionData.page3.total,pictLoading:a.productionData.page3.pictLoading},on:{goToLink:a.goToLink,handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1),a._v(" "),e("el-tab-pane",{attrs:{label:"派工记录",name:"4"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.productionData.page4.formTableData,tableData:a.productionData.page4.tableData,listQuery:a.productionData.page4.search_data,total:a.productionData.page4.total,pictLoading:a.productionData.page4.pictLoading},on:{handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1),a._v(" "),e("el-tab-pane",{attrs:{label:"报工记录",name:"5"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.productionData.page5.formTableData,tableData:a.productionData.page5.tableData,listQuery:a.productionData.page5.search_data,total:a.productionData.page5.total,pictLoading:a.productionData.page5.pictLoading},on:{handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1),a._v(" "),e("el-tab-pane",{attrs:{label:"工序检验",name:"6"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.productionData.page6.formTableData,tableData:a.productionData.page6.tableData,listQuery:a.productionData.page6.search_data,total:a.productionData.page6.total,pictLoading:a.productionData.page6.pictLoading},on:{handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1),a._v(" "),e("el-tab-pane",{attrs:{label:"产品检验",name:"7"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.productionData.page7.formTableData,tableData:a.productionData.page7.tableData,listQuery:a.productionData.page7.search_data,total:a.productionData.page7.total,pictLoading:a.productionData.page7.pictLoading},on:{goToLink:a.goToLink,handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1),a._v(" "),e("el-tab-pane",{attrs:{label:"生产入库",name:"8"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.productionData.page8.formTableData,tableData:a.productionData.page8.tableData,listQuery:a.productionData.page8.search_data,total:a.productionData.page8.total,pictLoading:a.productionData.page8.pictLoading},on:{goToLink:a.goToLink,handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1),a._v(" "),e("el-tab-pane",{attrs:{label:"销售订单",name:"9"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.productionData.page9.formTableData,tableData:a.productionData.page9.tableData,listQuery:a.productionData.page9.search_data,total:a.productionData.page9.total,pictLoading:a.productionData.page9.pictLoading},on:{goToLink:a.goToLink,handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1),a._v(" "),e("el-tab-pane",{attrs:{label:"发货通知",name:"10"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.productionData.page10.formTableData,tableData:a.productionData.page10.tableData,listQuery:a.productionData.page10.search_data,total:a.productionData.page10.total,pictLoading:a.productionData.page10.pictLoading},on:{goToLink:a.goToLink,handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1),a._v(" "),e("el-tab-pane",{attrs:{label:"发货检验",name:"11"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.productionData.page11.formTableData,tableData:a.productionData.page11.tableData,listQuery:a.productionData.page11.search_data,total:a.productionData.page11.total,pictLoading:a.productionData.page11.pictLoading},on:{goToLink:a.goToLink,handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1),a._v(" "),e("el-tab-pane",{attrs:{label:"销售出库",name:"12"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.productionData.page12.formTableData,tableData:a.productionData.page12.tableData,listQuery:a.productionData.page12.search_data,total:a.productionData.page12.total,pictLoading:a.productionData.page12.pictLoading},on:{goToLink:a.goToLink,handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1),a._v(" "),e("el-tab-pane",{attrs:{label:"销售发票",name:"13"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.productionData.page13.formTableData,tableData:a.productionData.page13.tableData,listQuery:a.productionData.page13.search_data,total:a.productionData.page13.total,pictLoading:a.productionData.page13.pictLoading},on:{goToLink:a.goToLink,handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1),a._v(" "),e("el-tab-pane",{attrs:{label:"销售退货",name:"14"}},[e("normalPage",{attrs:{disableBtn:!1,formTableData:a.productionData.page14.formTableData,tableData:a.productionData.page14.tableData,listQuery:a.productionData.page14.search_data,total:a.productionData.page14.total,pictLoading:a.productionData.page14.pictLoading},on:{goToLink:a.goToLink,handleCurrentChange:a.handleCurrentChange,handleSizeChange:a.handleSizeChange,handleSelectionChange:a.handleSelectionChange}})],1)],1)],1)]):a._e(),a._v(" "),e("dialogChooseParts",{attrs:{visible:a.ChooseMaterielVisible},on:{"update:visible":function(t){a.ChooseMaterielVisible=t},change:a.getMateriel}})],1)},staticRenderFns:[]};var h=e("VU/8")(u,d,!1,function(a){e("SBoY")},"data-v-13bb1ff4",null);t.default=h.exports}}); |