소스 검색

Merge branch 'fix_pay' into online

wolyshaw 4 년 전
부모
커밋
5494f9cb1e
1개의 변경된 파일6개의 추가작업 그리고 15개의 파일을 삭제
  1. 6 15
      src/views/resetTeaming/modals/user-pay-form.vue

+ 6 - 15
src/views/resetTeaming/modals/user-pay-form.vue

@@ -378,21 +378,12 @@ export default {
         }
       }
       if (this.cycles && this.cycles.length) {
-        if (this.paymentAmountDisabled) {
-          this.cycles = this.cycles.map((item, index) => {
-            return {
-              ...item,
-              paymentAmount: (index === 0 ? first / 100 : (other / 100))
-            }
-          })
-        } else {
-          this.cycles = this.cycles.map((item, index) => {
-            return {
-              ...item,
-              paymentAmount: (index === 0 && !item.changeed ? money : item.paymentAmount)
-            }
-          })
-        }
+        this.cycles = this.cycles.map((item, index) => {
+          return {
+            ...item,
+            paymentAmount: (index === 0 ? first / 100 : (other / 100))
+          }
+        })
       }
       // if (!money) {
         // this.$set(this.cycle, "paymentAmount", undefined);