gjy преди 3 години
родител
ревизия
f2586405f1
променени са 1 файла, в които са добавени 15 реда и са изтрити 15 реда
  1. 15 15
      src/views/houseSelfCollect/paymentManagement.vue

+ 15 - 15
src/views/houseSelfCollect/paymentManagement.vue

@@ -329,7 +329,7 @@ import download from '../../components/WsDownload/download'
         deptCircularPage: {},
         deptBudgetTotal: 0,
         paymentForm: false,
-        searchType: -1,
+        searchType: 1,
         searchTypeText: '',
         searchKeyWord: '',
         warehouseList: [],
@@ -1047,20 +1047,20 @@ import download from '../../components/WsDownload/download'
       },
       selectInit(row) {
         //在这里一定要记得类型匹配的上。
-        // if (row.status != '已驳回') {
-        //   if (
-        //     row.taskId == null &&
-        //     row.status != '已通过' &&
-        //     row.status != '部分付款'
-        //   ) {
-        //     return false
-        //   } else {
-        //     return true
-        //   }
-        // } else {
-        //   return true
-        // }
-        return true
+        if (row.status != '已驳回') {
+          if (
+            row.taskId == null &&
+            row.status != '已通过' &&
+            row.status != '部分付款'
+          ) {
+            return false
+          } else {
+            return true
+          }
+        } else {
+          return true
+        }
+        // return true
       },
       handleSelectionChange(val) {
         this.modification = val