Commit f4cddcf8 authored by youjie's avatar youjie

no message

parent 263eb806
......@@ -209,7 +209,7 @@
<span icon="el-icon-close"></span>
</div>
<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>
<el-row :gutter="30">
<el-col :span="8">
......@@ -503,8 +503,8 @@
</el-collapse>
</div>
<div slot="footer" class="dialog-footer">
<el-button type="primary" class="add-box-btn" @click="submitForm('form')">确 定</el-button>
<el-button class="add-box-btn add-box-cancel" @click="dialogTableVisible = false, resetForm('form')">取 消
<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('ruleForm')">取 消
</el-button>
</div>
<el-dialog :visible.sync="dialogVisible">
......@@ -620,7 +620,7 @@
TravelTypeList: [],
DutyTypeList: [],
UnitTypeList: [],
rulesData: {
rules: {
ClueName: [{
required: true,
message: "请填写线索名称",
......@@ -905,49 +905,6 @@
this.MsgBus.$emit("closeCustomerDialogBox");
},
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 === "") {
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