Commit 2289103c authored by qinj's avatar qinj

注册修改字段

parent 06c249ad
...@@ -442,7 +442,7 @@ export default { ...@@ -442,7 +442,7 @@ export default {
// this.cOptions.forEach(el=>{ // this.cOptions.forEach(el=>{
// this.formData.extDistrictName_SDK=el[this.formData.extDistrict_SDK] // this.formData.extDistrictName_SDK=el[this.formData.extDistrict_SDK]
// }) // })
this.formData.ExtCustomerType_SDK=111 this.formData.extCustomerType_SDK=111
this.btnloading=true this.btnloading=true
this.$request(Customer.searchUrl,this.paramsToFormData(this.formData)).then((resp) => { this.$request(Customer.searchUrl,this.paramsToFormData(this.formData)).then((resp) => {
this.btnloading=false this.btnloading=false
......
...@@ -287,7 +287,7 @@ ...@@ -287,7 +287,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12" class="padding-bottom"> <el-col :span="12" class="padding-bottom">
<el-form-item label="签约产品组:" prop="extProductGroup_KUT" label-width="120px" > <el-form-item label="签约产品组:" prop="extProductGroup_KUT" label-width="120px">
<el-select v-model="formData.extProductGroup_KUT" style="width: 91%" multiple filterable placeholder="请选择" no-match-text="无匹配数据"> <el-select v-model="formData.extProductGroup_KUT" style="width: 91%" multiple filterable placeholder="请选择" no-match-text="无匹配数据">
<el-option <el-option
v-for="item in bOptions" v-for="item in bOptions"
...@@ -299,7 +299,7 @@ ...@@ -299,7 +299,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="11" :offset="1" class="padding-bottom"> <el-col :span="11" :offset="1" class="padding-bottom">
<el-form-item label="签约总代:" prop="extTotalAgent_KUT" label-width="100px" > <el-form-item label="签约总代:" prop="extTotalAgent_KUT" label-width="100px">
<el-select v-model="formData.extTotalAgent_KUT" style="width: 91%" multiple filterable placeholder="请选择" no-match-text="无匹配数据"> <el-select v-model="formData.extTotalAgent_KUT" style="width: 91%" multiple filterable placeholder="请选择" no-match-text="无匹配数据">
<el-option <el-option
v-for="item in cOptions" v-for="item in cOptions"
...@@ -338,7 +338,7 @@ ...@@ -338,7 +338,7 @@
</el-row> </el-row>
<el-row> <el-row>
<el-col align="center"> <el-col align="center">
<el-button type="primary" :loading="loading" @click="handleApprove()">提交</el-button> <el-button type="primary" :loading="btnloading" @click="handleApprove()">提交</el-button>
</el-col> </el-col>
</el-row> </el-row>
</el-form> </el-form>
...@@ -407,7 +407,7 @@ export default { ...@@ -407,7 +407,7 @@ export default {
formInline: {}, formInline: {},
recordList: [], recordList: [],
tableData: [], tableData: [],
loading:false, btnloading:false,
fileList:[], fileList:[],
countryOptions:[], countryOptions:[],
cityOptions:[], cityOptions:[],
...@@ -521,6 +521,7 @@ export default { ...@@ -521,6 +521,7 @@ export default {
this.formData.extDistrictName_SDK=obj.Name//获取的 name this.formData.extDistrictName_SDK=obj.Name//获取的 name
this.formData.extDistrict_SDK=value//获取的 id this.formData.extDistrict_SDK=value//获取的 id
}, },
createLovTable() { createLovTable() {
this.dialogTableVisible = true this.dialogTableVisible = true
}, },
...@@ -551,19 +552,15 @@ export default { ...@@ -551,19 +552,15 @@ export default {
const ExtTotalAgent_KUT=this.formData.extTotalAgent_KUT.toString() const ExtTotalAgent_KUT=this.formData.extTotalAgent_KUT.toString()
this.formData.extProductGroup_KUT=ExtProductGroup_KUT this.formData.extProductGroup_KUT=ExtProductGroup_KUT
this.formData.extTotalAgent_KUT=ExtTotalAgent_KUT this.formData.extTotalAgent_KUT=ExtTotalAgent_KUT
this.loading=true this.btnloading=true
this.$request(Customer.searchUrl,this.paramsToFormData(this.formData)).then((resp) => { this.$request(Customer.searchUrl,this.paramsToFormData(this.formData)).then((resp) => {
this.loading=false this.btnloading=false
if(resp.results.length<40){
this.$message.success('提交成功!') this.$message.success('提交成功!')
this.handleClickGoBack() this.$router.back()
}else{
this.loading=false
this.$message.error('提交失败!')
}
}) })
} else { } else {
this.loading=false this.btnloading=false
this.$message.warning('请输入必填信息!') this.$message.warning('请输入必填信息!')
} }
}); });
......
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