(window.webpackJsonp=window.webpackJsonp||[]).push([["JMoQ"],{JMoQ:function(e,t,a){"use strict";a.r(t);a("t3Un");var l={data:function(){return{orderNo:"",materialName:"",drawingNo:"",loading:!1,tableData:[],total:0,pageCurrent:1,pageSize:50}},created:function(){this.fetchData()},methods:{fetchData:function(){var e=this;this.loading=!0;var t=[];t[0]=["订单号",this.orderNo],t[1]=["物料名称",this.materialName],t[2]=["图号",this.drawingNo];var a=this.CreateData("11","物料_采购进度_查询",t,this.pageSize,this.pageCurrent);this.ExecDatabase(a).then(function(t){e.tableData=t.data.rows||[],e.total=t.data.total||0,e.loading=!1}).catch(function(){e.loading=!1})},search:function(){this.pageCurrent=1,this.fetchData()},handleSizeChanges:function(e){this.pageSize=e,this.pageCurrent=1,this.fetchData()},handleCurrentChanges:function(e){this.pageCurrent=e,this.fetchData()}}},n=a("KHd+"),i=Object(n.a)(l,function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("el-card",{staticStyle:{height:"850px",padding:"0"}},[a("div",{staticStyle:{"margin-top":"7px","margin-bottom":"7px","margin-left":"7px"}},[a("el-input",{staticStyle:{width:"180px"},attrs:{size:"small",clearable:"",placeholder:"订单号"},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.search(t):null}},model:{value:e.orderNo,callback:function(t){e.orderNo=t},expression:"orderNo"}}),e._v(" "),a("el-input",{staticStyle:{width:"180px","margin-left":"10px"},attrs:{size:"small",clearable:"",placeholder:"物料名称"},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.search(t):null}},model:{value:e.materialName,callback:function(t){e.materialName=t},expression:"materialName"}}),e._v(" "),a("el-input",{staticStyle:{width:"180px","margin-left":"10px"},attrs:{size:"small",clearable:"",placeholder:"图号"},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.search(t):null}},model:{value:e.drawingNo,callback:function(t){e.drawingNo=t},expression:"drawingNo"}}),e._v(" "),a("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary",size:"mini",icon:"el-icon-search"},on:{click:e.search}},[e._v("查询")])],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{data:e.tableData,border:"",stripe:"",size:"mini",height:"750"}},[a("el-table-column",{attrs:{type:"index",width:"50",label:"序号",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"状态",prop:"状态",align:"center","show-overflow-tooltip":"",width:"100"}}),e._v(" "),a("el-table-column",{attrs:{label:"订单号",prop:"订单编号",align:"center","show-overflow-tooltip":"",width:"150"}}),e._v(" "),a("el-table-column",{attrs:{label:"物料编码",prop:"物料编码",align:"center","show-overflow-tooltip":"",width:"150"}}),e._v(" "),a("el-table-column",{attrs:{label:"物料名称",prop:"物料名称",align:"center","show-overflow-tooltip":"","min-width":"100"}}),e._v(" "),a("el-table-column",{attrs:{label:"图号",prop:"图号或型号",align:"center","show-overflow-tooltip":"",width:"260"}}),e._v(" "),a("el-table-column",{attrs:{label:"采购数",prop:"数量",align:"center","show-overflow-tooltip":"",width:"100"}}),e._v(" "),a("el-table-column",{attrs:{label:"已入库数量",prop:"已到货数量",align:"center","show-overflow-tooltip":"",width:"100"}}),e._v(" "),a("el-table-column",{attrs:{label:"采购合同",prop:"采购合同编号",align:"center","show-overflow-tooltip":"","min-width":"150"}})],1),e._v(" "),a("div",{staticClass:"block",staticStyle:{"margin-top":"10px"}},[a("el-pagination",{attrs:{"current-page":e.pageCurrent,"page-sizes":[10,20,30,50,100],"page-size":e.pageSize,total:e.total,"pager-count":5,layout:"total, prev, pager, next"},on:{"size-change":e.handleSizeChanges,"current-change":e.handleCurrentChanges}})],1)],1)],1)},[],!1,null,null,null);i.options.__file="index.vue";t.default=i.exports}}]);