Browse Source

修改缴费时间

wolyshaw 4 years ago
parent
commit
6724ad9306
1 changed files with 8 additions and 1 deletions
  1. 8 1
      src/views/resetTeaming/components/resetPayList.vue

+ 8 - 1
src/views/resetTeaming/components/resetPayList.vue

@@ -440,7 +440,14 @@ export default {
 
     },
     resetPayDate () {
-      resetMusicGroupPaymentCalender({ id: this.activeRow.id, startTime: this.payForm.startPaymentDate, endTime: this.payForm.deadlinePaymentDate }).then(res => {
+      resetMusicGroupPaymentCalender({
+        id: this.activeRow.id,
+        startTime: this.payForm.startPaymentDate,
+        endTime: this.payForm.deadlinePaymentDate,
+        paymentValidStartDate: this.payForm.paymentValidStartDate ? dayjs(this.payForm.paymentValidStartDate).format('YYYY-MM-DD') : this.payForm.paymentValidStartDate,
+        paymentValidEndDate: this.payForm.paymentValidEndDate ? dayjs(this.payForm.paymentValidEndDate).format('YYYY-MM-DD') : this.payForm.paymentValidEndDate,
+        paymentPattern: this.payForm.paymentPattern,
+      }).then(res => {
         if (res.code == 200) {
           this.$message.success('修改成功')
           this.payVisible = false;