|
|
@@ -9,7 +9,7 @@
|
|
|
<div class="search">
|
|
|
<div class="input-group">
|
|
|
<input type="search" class="form-control" title="code" placeholder="名称/地址/行业/型号/品牌"
|
|
|
- v-model="searchCode" @search="goodsSearch(searchCode)"/>
|
|
|
+ v-model="searchCode" @keyup.13="goodsSearch(searchCode)" @search="goodsSearch(searchCode)"/>
|
|
|
<span class="input-group-btn">
|
|
|
<button type="button" class="btn" @click="goodsSearch(searchCode)"> 查 询</button>
|
|
|
</span>
|
|
|
@@ -100,18 +100,18 @@
|
|
|
}
|
|
|
},
|
|
|
jumpResource (id, type) {
|
|
|
- if (!this.hasJump && type === 1) {
|
|
|
+ if (!this.hasJump) {
|
|
|
+ console.log('12')
|
|
|
if (type === 1) {
|
|
|
this.$router.push('supplier/' + id)
|
|
|
} else {
|
|
|
+ console.log('12333')
|
|
|
this.hasDialog = true
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
goodsSearch (type) {
|
|
|
- if (type) {
|
|
|
- this.$store.dispatch('supplier/loadVendorList', {page: this.pageParams.page, size: this.pageParams.count, keyword: type})
|
|
|
- }
|
|
|
+ this.$store.dispatch('supplier/loadVendorList', {page: this.pageParams.page, size: this.pageParams.count, keyword: type})
|
|
|
},
|
|
|
handleCurrentChange (type) {
|
|
|
this.pageParams.page = type
|
|
|
@@ -300,13 +300,13 @@
|
|
|
}
|
|
|
.popups{
|
|
|
position:absolute;
|
|
|
- top:0;
|
|
|
+ top:50px;
|
|
|
left:0;
|
|
|
background: #6c6c6c;
|
|
|
width:267px;
|
|
|
- min-height:110px;
|
|
|
+ min-height:20px;
|
|
|
padding:25px 15px 15px 10px;
|
|
|
- transition: all .3s ease;
|
|
|
+ transition: all .5s ease;
|
|
|
opacity: 0;
|
|
|
color:#fff;
|
|
|
overflow: hidden;
|
|
|
@@ -331,7 +331,7 @@
|
|
|
width:155px;
|
|
|
}
|
|
|
&:nth-child(4){
|
|
|
- max-height:38px;
|
|
|
+ max-height:40px;
|
|
|
overflow: auto;
|
|
|
white-space:pre-wrap;
|
|
|
word-wrap:break-word;
|