Browse Source

修改bug

QuKatie 3 năm trước cách đây
mục cha
commit
0a6480d083
1 tập tin đã thay đổi với 2 bổ sung3 xóa
  1. 2 3
      src/views/salaryManagement/primarySchool/detailsPage.vue

+ 2 - 3
src/views/salaryManagement/primarySchool/detailsPage.vue

@@ -1414,9 +1414,8 @@ export default {
         };
         pleaseCheck(data).then(res => {
           this.$message.success("请核成功");
-          if (this.detailData.status == 1) {
-            this.option.disabled = true;
-          }
+          this.detailData.status = 1;
+          this.option.disabled = true;
           this.getDetail(this.form.id);
         });
       });