소스 검색

[CODE]: 对账操作按钮展示

maxianghua 4 년 전
부모
커밋
1c9991503b
1개의 변경된 파일12개의 추가작업 그리고 4개의 파일을 삭제
  1. 12 4
      src/views/finance/contrast/index.vue

+ 12 - 4
src/views/finance/contrast/index.vue

@@ -266,7 +266,7 @@
             icon="el-icon-view"
             @click="check(scope.row, 1)"
             v-hasPermi="['finance:contrast:edit']"
-            v-if="scope.row.fBillstatus == 4 || scope.row.fBillstatus == 5"
+            v-if="scope.row.fBillstatus == '提交审核'  || scope.row.fBillstatus == '审核中' "
             >审批进度</el-button
           >
           <el-button
@@ -275,7 +275,11 @@
             icon="el-icon-edit"
             @click="handleUpdate(scope.row)"
             v-hasPermi="['finance:contrast:edit']"
-            v-if="scope.row.fBillstatus <= 3"
+            v-if="
+              scope.row.fBillstatus == '保存' ||
+              scope.row.fBillstatus == '暂存'  ||
+              scope.row.fBillstatus == '审批驳回'
+            "
           >
             修改</el-button
           >
@@ -286,7 +290,11 @@
             icon="el-icon-delete"
             @click="handleDelete(scope.row)"
             v-hasPermi="['finance:contrast:remove']"
-            v-if="scope.row.fBillstatus <= 3"
+            v-if="
+              scope.row.fBillstatus == '保存' ||
+              scope.row.fBillstatus == '暂存'  ||
+              scope.row.fBillstatus == '审批驳回'
+            "
             >删除</el-button
           >
         </template>
@@ -1924,7 +1932,7 @@ export default {
       //   this.total = response.total;
       //   this.loading = false;
       // });
-      listFleet(this.tablefilter).then((response) => {
+      listFee(this.tablefilter).then((response) => {
         this.contrastList = response.rows;
         this.total = response.total;
         this.loading = false;