Commit f4cddcf8 authored by youjie's avatar youjie

no message

parent 263eb806
...@@ -209,7 +209,7 @@ ...@@ -209,7 +209,7 @@
<span icon="el-icon-close"></span> <span icon="el-icon-close"></span>
</div> </div>
<div class="form-box" v-if="show"> <div class="form-box" v-if="show">
<el-form :model="form" ref="form" class="MyEditForm" :rules="rulesData"> <el-form :model="form" ref="ruleForm" class="MyEditForm" :rules="rules">
<p class="form-box-tit"><span class="radius"></span> 基本信息</p> <p class="form-box-tit"><span class="radius"></span> 基本信息</p>
<el-row :gutter="30"> <el-row :gutter="30">
<el-col :span="8"> <el-col :span="8">
...@@ -503,8 +503,8 @@ ...@@ -503,8 +503,8 @@
</el-collapse> </el-collapse>
</div> </div>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button type="primary" class="add-box-btn" @click="submitForm('form')">确 定</el-button> <el-button type="primary" class="add-box-btn" @click="submitForm('ruleForm')">确 定</el-button>
<el-button class="add-box-btn add-box-cancel" @click="dialogTableVisible = false, resetForm('form')">取 消 <el-button class="add-box-btn add-box-cancel" @click="dialogTableVisible = false, resetForm('ruleForm')">取 消
</el-button> </el-button>
</div> </div>
<el-dialog :visible.sync="dialogVisible"> <el-dialog :visible.sync="dialogVisible">
...@@ -620,7 +620,7 @@ ...@@ -620,7 +620,7 @@
TravelTypeList: [], TravelTypeList: [],
DutyTypeList: [], DutyTypeList: [],
UnitTypeList: [], UnitTypeList: [],
rulesData: { rules: {
ClueName: [{ ClueName: [{
required: true, required: true,
message: "请填写线索名称", message: "请填写线索名称",
...@@ -905,49 +905,6 @@ ...@@ -905,49 +905,6 @@
this.MsgBus.$emit("closeCustomerDialogBox"); this.MsgBus.$emit("closeCustomerDialogBox");
}, },
addData() { addData() {
// if (!this.form.ClueName) {
// this.$message({
// type: 'warning',
// message: '请填写线索名称'
// });
// return
// }
// if (!this.form.WeChatNo) {
// return
// this.$message({
// type: 'warning',
// message: '请输入微信号'
// });
// return
// }
// if (!this.form.MobilePhone) {
// this.$message({
// type: 'warning',
// message: '请输入手机号码'
// });
// return
// }
// if (!this.form.CustomerSourceType) {
// this.$message({
// type: 'warning',
// message: '请选择客户来源'
// });
// return
// }
// if (!this.form.CustomerSourceType) {
// this.$message({
// type: 'warning',
// message: '请选择客户来源'
// });
// return
// }
// if (!this.form.SourceAccount) {
// this.$message({
// type: 'warning',
// message: '请选择来源途径'
// });
// return
// }
if (this.form.CustomerID === "") { if (this.form.CustomerID === "") {
this.form.CustomerID = 0; this.form.CustomerID = 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment