This commit is contained in:
zhangdingyu
2019-09-20 18:43:03 +08:00
parent eba60fd687
commit a4328a668f
2 changed files with 10 additions and 5 deletions

View File

@@ -7,10 +7,10 @@
<el-input v-model="materialName" placeholder="物料名称" clearable size="small"/>
<span>物料规格</span>
<el-input v-model="materialSpec" placeholder="物料规格" clearable size="small"/>
<span>物料型号</span>
<el-input v-model="materialModel" placeholder="物料型号" clearable size="small"/>
<el-button size="small" type="success" icon="el-icon-search" style="margin: 0 0 0 10px" @click="pageCurrent1=1;pageSize1=10;total1=0;searchTable1();pageCurrent2=1;pageSize2=10;total2=0;searchTable2()">查询</el-button>
</el-row>
<span>物料型号</span>
<el-input v-model="materialModel" placeholder="物料型号" clearable size="small"/>
<el-button size="small" type="success" icon="el-icon-search" style="margin: 0 0 0 10px" @click="pageCurrent1=1;pageSize1=10;total1=0;searchTable1();pageCurrent2=1;pageSize2=10;total2=0;searchTable2()">查询</el-button>
</div>
<h4 style="margin-top: 0">采购件列表</h4>
<el-table :data="tableData1" size="mini" border style="width: 100%;" height="440">
@@ -245,7 +245,7 @@ export default {
width:200px
}
.el-input{
width:200px
width:150px
}
span{
margin: 10px 0 10px 10px;

View File

@@ -1,7 +1,7 @@
<template>
<div class="app-container">
<el-card>
<div style="width:100%">
<div ref="height1" style="width:100%">
<el-divider content-position="right">
<el-button type="text" @click="searchUnInquiryPartNumber">刷新</el-button> | 待询价零件数
</el-divider>
@@ -1072,6 +1072,8 @@ export default {
})
},
clickCard1(project, machine) {
var hight = this.$refs.height1.offsetHeight
document.documentElement.scrollTop = hight + 140
this.projectValue = project
this.machine = []
this.machineValue = ''
@@ -1092,6 +1094,8 @@ export default {
})
},
clickCard2(project, machine) {
var hight = this.$refs.height1.offsetHeight
document.documentElement.scrollTop = hight + 140
this.projectValue = project
this.machine = []
this.machineValue = ''
@@ -1147,6 +1151,7 @@ export default {
}
}).then(res => {
this.machines1 = res.data
console.log(this.machines1)
})
},
async searchUnBuyPartNumber() {