|
@@ -37,9 +37,9 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 产品品牌 -->
|
|
|
- <productBrand :openModal="brandModal" :itemSn="form.productBrandSn" @choose="brandChoose" @clean="brandClean" @close="brandModal=false" />
|
|
|
+ <productBrand ref="productBrand" :openModal="brandModal" :itemSn="form.productBrandSn" @choose="brandChoose" @clean="brandClean" @close="brandModal=false" />
|
|
|
<!-- 产品分类 -->
|
|
|
- <productType :openModal="showTypeModal" :nowData="nowData" @choose="typeChoose" @clean="typeClean" @close="showTypeModal=false" />
|
|
|
+ <productType ref="productType" :openModal="showTypeModal" :nowData="nowData" @choose="typeChoose" @clean="typeClean" @close="showTypeModal=false" />
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -154,8 +154,9 @@
|
|
|
this.form.productTypeSn2 = undefined
|
|
|
this.form.productTypeSn3 = undefined
|
|
|
this.form.zeroQtyFlag = false
|
|
|
- this.queryParam.minUnsalableDays = undefined // 滞销天数最小值
|
|
|
- this.queryParam.maxUnsalableDays = undefined // 滞销天数最大值
|
|
|
+ this.form.minUnsalableDays = undefined // 滞销天数最小值
|
|
|
+ this.form.maxUnsalableDays = undefined // 滞销天数最大值
|
|
|
+ this.$refs.productBrand.onClean()
|
|
|
},
|
|
|
// 查询
|
|
|
handleSearch(){
|