样式
This commit is contained in:
@@ -7,10 +7,10 @@
|
|||||||
<el-input v-model="materialName" placeholder="物料名称" clearable size="small"/>
|
<el-input v-model="materialName" placeholder="物料名称" clearable size="small"/>
|
||||||
<span>物料规格:</span>
|
<span>物料规格:</span>
|
||||||
<el-input v-model="materialSpec" placeholder="物料规格" clearable size="small"/>
|
<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>
|
</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>
|
</div>
|
||||||
<h4 style="margin-top: 0">采购件列表</h4>
|
<h4 style="margin-top: 0">采购件列表</h4>
|
||||||
<el-table :data="tableData1" size="mini" border style="width: 100%;" height="440">
|
<el-table :data="tableData1" size="mini" border style="width: 100%;" height="440">
|
||||||
@@ -245,7 +245,7 @@ export default {
|
|||||||
width:200px
|
width:200px
|
||||||
}
|
}
|
||||||
.el-input{
|
.el-input{
|
||||||
width:200px
|
width:150px
|
||||||
}
|
}
|
||||||
span{
|
span{
|
||||||
margin: 10px 0 10px 10px;
|
margin: 10px 0 10px 10px;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-card>
|
<el-card>
|
||||||
<div style="width:100%">
|
<div ref="height1" style="width:100%">
|
||||||
<el-divider content-position="right">
|
<el-divider content-position="right">
|
||||||
<el-button type="text" @click="searchUnInquiryPartNumber">刷新</el-button> | 待询价零件数
|
<el-button type="text" @click="searchUnInquiryPartNumber">刷新</el-button> | 待询价零件数
|
||||||
</el-divider>
|
</el-divider>
|
||||||
@@ -1072,6 +1072,8 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
clickCard1(project, machine) {
|
clickCard1(project, machine) {
|
||||||
|
var hight = this.$refs.height1.offsetHeight
|
||||||
|
document.documentElement.scrollTop = hight + 140
|
||||||
this.projectValue = project
|
this.projectValue = project
|
||||||
this.machine = []
|
this.machine = []
|
||||||
this.machineValue = ''
|
this.machineValue = ''
|
||||||
@@ -1092,6 +1094,8 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
clickCard2(project, machine) {
|
clickCard2(project, machine) {
|
||||||
|
var hight = this.$refs.height1.offsetHeight
|
||||||
|
document.documentElement.scrollTop = hight + 140
|
||||||
this.projectValue = project
|
this.projectValue = project
|
||||||
this.machine = []
|
this.machine = []
|
||||||
this.machineValue = ''
|
this.machineValue = ''
|
||||||
@@ -1147,6 +1151,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.machines1 = res.data
|
this.machines1 = res.data
|
||||||
|
console.log(this.machines1)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
async searchUnBuyPartNumber() {
|
async searchUnBuyPartNumber() {
|
||||||
|
|||||||
Reference in New Issue
Block a user