Jelajahi Sumber

feature:去掉旧的设备会员收费时间

zeng.chen 1 bulan lalu
induk
melakukan
0c7350b670
1 mengubah file dengan 7 tambahan dan 3 penghapusan
  1. 7 3
      src/views/device/list/detail.vue

+ 7 - 3
src/views/device/list/detail.vue

@@ -93,12 +93,12 @@
           </el-table-column>
         </el-table>
       </el-form-item>
-      <el-form-item label="设备会员收费时间:" prop="contentVip">
+      <!-- <el-form-item label="设备会员收费时间:" prop="contentVip">
         <el-select v-model="form.contentVip" placeholder="默认关闭">
           <el-option v-for="item in contentVipOptions" :key="item.value" :label="item.label"
             :value="Number(item.value)" />
         </el-select>
-      </el-form-item>
+      </el-form-item> -->
       <el-row>
         <el-col :span="12">
           <el-form-item label="在线图片:" prop="img">
@@ -531,6 +531,10 @@ export default {
       } else {
         this.form.applicationType = "[0]";
       }
+
+      // 替换成下面的资源平台了
+      this.form.contentVip = null;
+
       this.form.contentVipPlatformList = []
       this.contentVipPlatformList.forEach(element => {
         if (element.platformId != null) {
@@ -541,7 +545,7 @@ export default {
         }
       });
 
-      console.log("this.contentVipPlatformList===", JSON.stringify(this.contentVipPlatformList), JSON.stringify(this.form.contentVipPlatformList));
+      // console.log("this.contentVipPlatformList===", JSON.stringify(this.contentVipPlatformList), JSON.stringify(this.form.contentVipPlatformList));
 
       this.$refs.form.validate((valid) => {
         if (valid) {