소스 검색

修改新建状态能修改

lichao 3 년 전
부모
커밋
26433812fe
1개의 변경된 파일22개의 추가작업 그리고 18개의 파일을 삭제
  1. 22 18
      src/views/finance/contrast/index.vue

+ 22 - 18
src/views/finance/contrast/index.vue

@@ -332,7 +332,8 @@
                 v-if="
                 v-if="
                   scope.row.fBillstatus == '保存' ||
                   scope.row.fBillstatus == '保存' ||
                   scope.row.fBillstatus == '暂存' ||
                   scope.row.fBillstatus == '暂存' ||
-                  scope.row.fBillstatus == '审批驳回'
+                  scope.row.fBillstatus == '审批驳回' ||
+                  scope.row.fBillstatus == '新建'
                 "
                 "
               >
               >
                 修改</el-button
                 修改</el-button
@@ -347,7 +348,8 @@
                 v-if="
                 v-if="
                   scope.row.fBillstatus == '保存' ||
                   scope.row.fBillstatus == '保存' ||
                   scope.row.fBillstatus == '暂存' ||
                   scope.row.fBillstatus == '暂存' ||
-                  scope.row.fBillstatus == '审批驳回'
+                  scope.row.fBillstatus == '审批驳回' ||
+                  scope.row.fBillstatus == '新建'
                 "
                 "
                 >删除</el-button
                 >删除</el-button
               >
               >
@@ -491,7 +493,8 @@
                 v-if="
                 v-if="
                   scope.row.fBillstatus == '保存' ||
                   scope.row.fBillstatus == '保存' ||
                   scope.row.fBillstatus == '暂存' ||
                   scope.row.fBillstatus == '暂存' ||
-                  scope.row.fBillstatus == '审批驳回'
+                  scope.row.fBillstatus == '审批驳回' ||
+                  scope.row.fBillstatus == '新建'
                 "
                 "
               >
               >
                 修改</el-button
                 修改</el-button
@@ -506,7 +509,8 @@
                 v-if="
                 v-if="
                   scope.row.fBillstatus == '保存' ||
                   scope.row.fBillstatus == '保存' ||
                   scope.row.fBillstatus == '暂存' ||
                   scope.row.fBillstatus == '暂存' ||
-                  scope.row.fBillstatus == '审批驳回'
+                  scope.row.fBillstatus == '审批驳回' ||
+                  scope.row.fBillstatus == '新建'
                 "
                 "
                 >删除</el-button
                 >删除</el-button
               >
               >
@@ -4212,13 +4216,13 @@ export default {
                   if (e.fChargedate) {
                   if (e.fChargedate) {
                     e.fChargedate = e.fChargedate.slice(0, 10);
                     e.fChargedate = e.fChargedate.slice(0, 10);
                   }
                   }
-                  if (e.fSrcdc) {
-                    if (e.fSrcdc == "D") {
-                      e.fSrcdc = "收";
-                    } else {
-                      e.fSrcdc = "付";
-                    }
-                  }
+                  // if (e.fSrcdc) {
+                  //   if (e.fSrcdc == "D") {
+                  //     e.fSrcdc = "收";
+                  //   } else {
+                  //     e.fSrcdc = "付";
+                  //   }
+                  // }
                 });
                 });
               }
               }
               this.DzfeeList = response.data.feeDoList;
               this.DzfeeList = response.data.feeDoList;
@@ -4331,13 +4335,13 @@ export default {
                   if (e.fChargedate) {
                   if (e.fChargedate) {
                     e.fChargedate = e.fChargedate.slice(0, 10);
                     e.fChargedate = e.fChargedate.slice(0, 10);
                   }
                   }
-                  if (e.fSrcdc) {
-                    if (e.fSrcdc == "D") {
-                      e.fSrcdc = "收";
-                    } else {
-                      e.fSrcdc = "付";
-                    }
-                  }
+                  // if (e.fSrcdc) {
+                  //   if (e.fSrcdc == "D") {
+                  //     e.fSrcdc = "收";
+                  //   } else {
+                  //     e.fSrcdc = "付";
+                  //   }
+                  // }
                 });
                 });
               }
               }
               this.DzfeeList = response.data.feeDoList;
               this.DzfeeList = response.data.feeDoList;