chenrui преди 6 месеца
родител
ревизия
6d3220365f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/views/purchasingManagement/purchaseOrderNew/chooseProductModal.vue

+ 1 - 1
src/views/purchasingManagement/purchaseOrderNew/chooseProductModal.vue

@@ -227,7 +227,7 @@ export default {
   computed: {
     // 是否有筛选条件,至少一个
     hasVaild () {
-      return this.queryParam.code || this.queryParam.name || this.queryParam.productBrandSn || this.queryParam.productTypeSn1 ||this.queryParam.stockQty
+      return this.queryParam.code || this.queryParam.name || this.queryParam.productBrandSn || this.queryParam.productTypeSn1 || this.queryParam.stockQty || this.queryParam.stockQty == 0
     },
     // 动态计算表格宽度
     tableWidth () {