瀏覽代碼

修改bug

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 () {