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

+ 4 - 2
fhKeeper/formulahousekeeper/timesheet/src/views/contract/components/customContract.vue

@@ -892,7 +892,9 @@ export default {
       const { isAmountFixed, stampDutyStatus } = this.contractForm
       if(!isAmountFixed && stampDutyStatus == 2) {
         this.contractForm.stampDutyStatus = 3
-        this.stampDutyStatusChange()
+        if ([0, 1].includes(stampDutyStatus)) {
+          this.contractForm.stampDutyTime = ''
+        }
       }
 
       let val = {
@@ -1148,7 +1150,7 @@ export default {
       if ([0, 1].includes(val)) {
         this.contractForm.stampDutyTime = ''
       }
-      if(!this.contractForm.isAmountFixed && [2, 3].includes(this.contractForm.stampDutyStatus)) {
+      if(!this.contractForm.isAmountFixed && [2, 3].includes(val)) {
         this.contractPaymentList = (this.contractPaymentList || []).map(item => {
           return {
             ...item,