bding 2 сар өмнө
parent
commit
856748dc3a

+ 4 - 8
src/views/rai_manage/activityManage/components/addActivity.vue

@@ -224,7 +224,7 @@
                 <el-option label="同报名参会时的扣点数" value="1"> </el-option>
                 <el-option label="输入其余点数" value="2"> </el-option>
               </el-select> -->
-              <el-input  style="width: 150px; margin:0 20px" v-model="paymentForm.PointsNum" placeholder="请输入扣点数" type="number"></el-input>
+              <el-input style="width: 150px; margin: 0 20px" v-model="paymentForm.PointsNum" placeholder="请输入扣点数" type="number"></el-input>
               <el-input style="width: 220px" v-model="paymentForm.GoodsMoney" placeholder="请输入无点数时的付费金额" type="number"></el-input>
             </template>
           </div>
@@ -382,8 +382,8 @@ export default {
       paymentForm: {
         IsPay: 0,
         PointsObject: "",
-        PointsNum: 0,
-        GoodsMoney: 0,
+        PointsNum: "",
+        GoodsMoney: "",
       },
     };
   },
@@ -705,11 +705,7 @@ export default {
         IsResearch: this.optionFormregion.includes("研选") ? true : false,
         IsShowHz: RefPage.isShowHz ? 1 : 0,
         AreaType: this.areaType,
-        VivoPointsSet: {
-          ...this.paymentForm,
-          PointsNum: Number(this.paymentForm.PointsNum) || 0,
-          GoodsMoney: Number(this.paymentForm.GoodsMoney) || 0,
-        },
+        VivoPointsSet: this.paymentForm,
       });
 
       if (res.Ret !== 200) return;