소스 검색

提交代码

Lijy 2 일 전
부모
커밋
7c1364cd70
1개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 5 3
      fhKeeper/formulahousekeeper/timesheet/src/views/contract/components/customContract.vue

+ 5 - 3
fhKeeper/formulahousekeeper/timesheet/src/views/contract/components/customContract.vue

@@ -892,9 +892,11 @@ export default {
       const { isAmountFixed, stampDutyStatus } = this.contractForm
       if(!isAmountFixed && stampDutyStatus == 2) {
         this.contractForm.stampDutyStatus = 3
-        if ([0, 1].includes(stampDutyStatus)) {
-          this.contractForm.stampDutyTime = ''
-        }
+        setTimeout(() => {
+          if ([0, 1].includes(this.contractForm.stampDutyStatus)) {
+            this.contractForm.stampDutyTime = ''
+          }
+        }, 300);
       }
 
       let val = {