zxz 3 years ago
parent
commit
3dd51b783b
1 changed files with 27 additions and 17 deletions
  1. 27 17
      src/views/tranManagement/tranManagementTransporHairRespond.vue

+ 27 - 17
src/views/tranManagement/tranManagementTransporHairRespond.vue

@@ -149,17 +149,11 @@
         </el-table-column>
         <el-table-column prop="seller" label="操作" width="300">
           <template slot-scope="scope">
-            <template
-              v-if="
-                scope.row.feedbackStatus != '已完货'
-              "
-            >
+            <template v-if="scope.row.feedbackStatus != '已完货'">
               <div class="record" @click="trainSee(scope.row)">查看</div>
               <div class="adjustment" @click="feedback(scope.row)">反馈</div>
             </template>
-            <template
-              v-else
-            >
+            <template v-else>
               <div class="record1" @click="trainSee(scope.row)">查看</div>
             </template>
           </template>
@@ -286,16 +280,32 @@ export default {
             id: row.id,
           },
         })
+      } else if (row.tranType == '火运') {
+        this.$router.push({
+          path: 'tranManagementFireFeedbackLook',
+          query: {
+            id: row.id,
+          },
+        })
       }
     },
     //反馈
     feedback(row) {
-      this.$router.push({
-        path: 'tranManagementTransporFeedback',
-        query: {
-          id: row.id,
-        },
-      })
+      if (row.tranType == '汽运') {
+        this.$router.push({
+          path: 'tranManagementTransporFeedback',
+          query: {
+            id: row.id,
+          },
+        })
+      } else if (row.tranType == '火运') {
+        this.$router.push({
+          path: 'tranManagementFireFeedback',
+          query: {
+            id: row.id,
+          },
+        })
+      }
     },
     // statusquery(status) {
     //    if (status == 1) {
@@ -410,9 +420,9 @@ export default {
           this.startDate = ''
           this.endDate = ''
         }
-      }else{
-         this.startDate = ''
-          this.endDate = ''
+      } else {
+        this.startDate = ''
+        this.endDate = ''
       }
       this.currentPage = 1
       this.getList()