Jelajahi Sumber

证书修改

y595705120 2 minggu lalu
induk
melakukan
648d783600
1 mengubah file dengan 4 tambahan dan 11 penghapusan
  1. 4 11
      src/containers/center/market/trainIndex.vue

+ 4 - 11
src/containers/center/market/trainIndex.vue

@@ -145,11 +145,7 @@
           <el-col :lg="12" class="pl20 pr20">
             <el-form-item lable="证书编号" prop="rzCode">
               <label slot="label">证书编号</label>
-              <el-input v-model="buyForm.rzCode" type="text" placeholder="证书编号" style="width: 260px;">
-                <template #suffix>
-                  <el-button @click="openShowAllRzcodeDialog" type="text">修改</el-button>
-                </template>
-              </el-input>
+              <el-input v-model="buyForm.rzCode" type="text" placeholder="证书编号无需填写" style="width: 260px;" />
             </el-form-item>
           </el-col>
 
@@ -258,7 +254,7 @@
       <img :src="imgUrl" @load="onLoad" alt="" />
     </el-dialog>
 
-    <el-dialog append-to-body close-on-click-modal :visible.sync="showAllRzcodeDialog" width="1024px">
+<!--    <el-dialog append-to-body close-on-click-modal :visible.sync="showAllRzcodeDialog" width="1024px">
       <el-table v-if="buyForm.list.length>0" :data="buyForm.list" border>
         <el-table-column label="证书编号" prop="certificateNum" align="center" />
         <el-table-column label="岗位名称" prop="positionName" align="center" />
@@ -271,7 +267,7 @@
           </template>
         </el-table-column>
       </el-table>
-    </el-dialog>
+    </el-dialog> -->
   </div>
 </template>
 
@@ -347,10 +343,6 @@
         commitmentDialog: false,
         exampleImg: exampleImg,
         rules: {
-          rzCode: [{
-            required: true,
-            message: '请输入证书编号'
-          }],
           payNo:[
             {
               required: true,
@@ -501,6 +493,7 @@
               Object.assign( this.buyForm.temp, param);
               this.$refs["elForm"].resetFields();
               this.buyForm.temp.is_pay = 0
+              this.buyForm.list = this.buyForm.list||[]
               this.buyCourseDialog = false
             }
           });