소스 검색

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