Jelajahi Sumber

订单审核-待审核订单领取后增加跳转审核页面功能

@dongkboy 1 bulan lalu
induk
melakukan
1d84d8b0be
1 mengubah file dengan 13 tambahan dan 3 penghapusan
  1. 13 3
      src/views/finance/index.vue

+ 13 - 3
src/views/finance/index.vue

@@ -555,7 +555,8 @@
             </el-col>
           </el-row>
         </el-form>
-        <el-table :data="forthData" height="calc(100% - 262px )" style="width: 100%; margin-top: 20px;" highlight-current-row>
+        <el-table :data="forthData" height="calc(100% - 262px )" style="width: 100%; margin-top: 20px;"
+          highlight-current-row>
           <el-table-column prop="orderNo" label="订单号" width="120"></el-table-column>
           <el-table-column prop="companyName" label="保险公司" width="120"></el-table-column>
           <el-table-column prop="licenseNo" label="车牌号" width="120"></el-table-column>
@@ -724,6 +725,14 @@ const auditReceive = (row) => {
               message: res.msg,
               type: 'success'
             })
+            myRouter.push({
+              path: '/finance/auditOrderDetail',
+              query: {
+                id: row.orderNo,
+                isShow: 1,
+                activeindex: activeName.value
+              }
+            })
           }
         })
       } else {
@@ -864,9 +873,9 @@ const handleExport = (type: any) => {
     ...firstForm.value,
     auditStatus: type,
   }
-  if(type=='0'){
+  if (type == '0') {
     obj.allTodoReceive = true;
-  }else{
+  } else {
     delete obj.allTodoReceive;
   }
   api.financeApi.exportOrderExcel(obj).then((res: any) => {
@@ -948,6 +957,7 @@ onMounted(() => {
 :deep(.el-badge__content--danger) {
   background-color: #D40000;
 }
+
 /* 自定义表格点击高亮颜色 */
 :deep(.el-table__body tr.current-row > td) {
   background-color: #c1e8fa !important;