Parcourir la source

订单填写规范

y595705120 il y a 1 semaine
Parent
commit
ade8e09868

+ 4 - 5
src/containers/apply/index.vue

@@ -106,7 +106,7 @@
       		</el-form-item>
       	</el-form>
         <div class="dialog-footer" slot="footer">
-        	<el-button @click="closeDialog('addUserDialog')">取 消</el-button>
+        	<el-button @click="closeAddUserDialog()">取 消</el-button>
         	<el-button @click="doAddUser()" type="primary">确 定</el-button>
         </div>
       </el-dialog>
@@ -152,7 +152,6 @@
         form: Object.assign({}, defaultForm),
         rules: {
           nickname: [{required: true, message: "请输入名字", trigger: "blur", min: 2 }],
-          rzCode: [{ required: true, message: "请输入证书编号", trigger: "blur", min: 6 }],
           education: [{ required: true, message: "请选择学历", trigger: "blur"}],
           cardId: [
             { required: true, message: '请输入身份证号码', trigger: 'blur' },
@@ -204,9 +203,9 @@
           this.selectRzCodeDialog = true;
         })
       },
-      closeDialog(dialog){
-        this.$refs[dialog].reseFields();
-        this[dialog] = false;
+      closeAddUserDialog(){
+        this.addUserDialog = false;
+        this.$refs["ddUserDialog"] && this.$refs["ddUserDialog"].reseFields();
       },
       selectRzCode(row){
         this.form.rzCode = row.certificateNum||''

+ 6 - 3
src/containers/center/market/index.vue

@@ -210,9 +210,12 @@
 
         <el-row>
           <h2 class="tc"> 本课程费用: <strong style="color: red;"> {{buyForm.fee/100}} 元 </strong> </h2>
-          <div style="width: 300px; margin: 0px auto;">
-            <img src="/static/images/wxpay.jpg" width="300px" @click="showImg(buyForm.buyImg)">
-          </div>
+          <el-col :span="12" class="p20">
+            <img src="/static/images/wxpay.jpg"   width="300px">
+          </el-col>
+          <el-col :span="12" class="p20">
+            <img src="/static/images/payNo.jpg"   width="300px">
+          </el-col>
         </el-row>
 
         <el-row class="tc fc">

+ 6 - 3
src/containers/center/market/trainIndex.vue

@@ -194,9 +194,12 @@
 
         <el-row>
           <h2 class="tc"> 本课程费用: <strong style="color: red;"> {{buyForm.fee/100}} 元 </strong> </h2>
-          <div style="width: 300px; margin: 0px auto;">
-            <img src="/static/images/wxpay.jpg"   width="300px" @click="showImg(buyForm.buyImg)">
-          </div>
+          <el-col :span="12" class="p20">
+            <img src="/static/images/wxpay.jpg"   width="300px" >
+          </el-col>
+          <el-col :span="12" class="p20">
+            <img src="/static/images/payNo.jpg"   width="300px" >
+          </el-col>
         </el-row>
 
          <el-row class="tc fc">