|
@@ -24,9 +24,9 @@
|
|
<a-form-item label="产品品牌">
|
|
<a-form-item label="产品品牌">
|
|
<a-select
|
|
<a-select
|
|
placeholder="请选择产品品牌"
|
|
placeholder="请选择产品品牌"
|
|
- id="inventoryQueryList-brandSn"
|
|
|
|
|
|
+ id="inventoryQueryList-productBrandSn"
|
|
allowClear
|
|
allowClear
|
|
- v-model="queryParam.brandSn"
|
|
|
|
|
|
+ v-model="queryParam.productBrandSn"
|
|
:showSearch="true"
|
|
:showSearch="true"
|
|
option-filter-prop="children"
|
|
option-filter-prop="children"
|
|
:filter-option="filterOption">
|
|
:filter-option="filterOption">
|
|
@@ -124,7 +124,7 @@ export default {
|
|
productCode: '', // 产品编码
|
|
productCode: '', // 产品编码
|
|
productName: '', // 产品名称
|
|
productName: '', // 产品名称
|
|
productOrigCode: '', // 原厂编码
|
|
productOrigCode: '', // 原厂编码
|
|
- brandSn: undefined, // 产品品牌
|
|
|
|
|
|
+ productBrandSn: undefined, // 产品品牌
|
|
productTypeSn1: '', // 产品分类1
|
|
productTypeSn1: '', // 产品分类1
|
|
productTypeSn2: '', // 产品分类2
|
|
productTypeSn2: '', // 产品分类2
|
|
productTypeSn3: '', // 产品分类3
|
|
productTypeSn3: '', // 产品分类3
|
|
@@ -196,7 +196,7 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
// 重置
|
|
// 重置
|
|
resetSearchForm () {
|
|
resetSearchForm () {
|
|
- this.queryParam.brandSn = undefined
|
|
|
|
|
|
+ this.queryParam.productBrandSn = undefined
|
|
this.queryParam.productTypeSn1 = ''
|
|
this.queryParam.productTypeSn1 = ''
|
|
this.queryParam.productTypeSn2 = ''
|
|
this.queryParam.productTypeSn2 = ''
|
|
this.queryParam.productTypeSn3 = ''
|
|
this.queryParam.productTypeSn3 = ''
|
|
@@ -281,6 +281,11 @@ export default {
|
|
for (let i = 0; i < val.length; i++) {
|
|
for (let i = 0; i < val.length; i++) {
|
|
this.queryParam['productTypeSn' + (i + 1)] = val[i]
|
|
this.queryParam['productTypeSn' + (i + 1)] = val[i]
|
|
}
|
|
}
|
|
|
|
+ if (val.length == 0) {
|
|
|
|
+ this.queryParam.productTypeSn1 = ''
|
|
|
|
+ this.queryParam.productTypeSn2 = ''
|
|
|
|
+ this.queryParam.productTypeSn3 = ''
|
|
|
|
+ }
|
|
},
|
|
},
|
|
// 产品品牌 列表
|
|
// 产品品牌 列表
|
|
getProductBrand () {
|
|
getProductBrand () {
|