Lijy 2 天之前
父節點
當前提交
c542224919

+ 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,