提交 5247095b authored 作者: 王天霸's avatar 王天霸

no message

上级 1c22368d
......@@ -304,6 +304,7 @@
},
searchbtn(query){//品牌搜索
if (query !== '') {
this.brandOptions = []
this.loading = true;
setTimeout(() => {
this.loading = false;
......@@ -315,7 +316,7 @@
}
getBrandsInf(data).then(res => {
if (res.data) {
this.brandOptions = [];
this.brandOptions = res.data.data
}
});
}, 2000);
......
......@@ -133,7 +133,7 @@
</el-form-item>
<el-form-item label="所属仓库:">
<el-select v-model.trim="goodsInfoForm.storehouse" :filter-method="searchbtn" filterable v-el-select-loadmore="loadMoreTheme" class="w-600" placeholder="请选择仓库" style="width: 420px;">
<el-select v-model.trim="goodsInfoForm.storehouse" :filter-method="househbtn" filterable v-el-select-loadmore="loadMoreTheme" class="w-600" placeholder="请选择仓库" style="width: 420px;">
<el-option v-for="(item,index) in warehouseList" :key="index" :label="item.name" :value="item.id"></el-option>
</el-select>
<el-link class="edit-type-span el-icon-plus" type="primary" :underline="false" @click="toPage('warehouse')">新增仓库</el-link>
......@@ -657,7 +657,7 @@
}
});
},
searchbtn(query){//仓库搜索
househbtn(query){//仓库搜索
if (query !== '') {
this.warehouseList = []
this.loading = true;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论