Commit 87e76966 authored by Damon's avatar Damon

fix: 物料选择参数请求

parent dad240d6
...@@ -325,15 +325,15 @@ export default { ...@@ -325,15 +325,15 @@ export default {
categoryId: this.categoryId || '', categoryId: this.categoryId || '',
keyword: this.keyword, keyword: this.keyword,
classifyId: this.classifyId, classifyId: this.classifyId,
brandId: this.modelId, brandId: this.modelId || '',
speciesId: '', speciesId: '',
partnerCompanyId: '', partnerCompanyId: '',
} }
if (this.classifyId === 1) { if (this.classifyId === 1) {
params.partnerCompanyId = this.brandId params.partnerCompanyId = this.brandId || ''
} else { } else {
params.speciesId = this.brandId params.speciesId = this.brandId || ''
} }
this.$u.api.getPartsList(params).then((res) => { this.$u.api.getPartsList(params).then((res) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment