Commit 6d218ec6 authored by qinj's avatar qinj

loading

parent 1791ecab
......@@ -443,9 +443,9 @@ export default {
// this.formData.extDistrictName_SDK=el[this.formData.extDistrict_SDK]
// })
this.formData.ExtCustomerType_SDK=111
// this.loading=true
this.loading=true
this.$request(Customer.searchUrl,this.paramsToFormData(this.formData)).then((resp) => {
// this.loading=false
this.loading=false
// console.log(resp)
if(resp.results.length<40){
this.$message.success('提交成功!')
......@@ -455,7 +455,8 @@ export default {
}
})
} else {
return false;
this.loading=false
this.$message.warning('请输入必填信息!')
}
});
......
......@@ -530,20 +530,19 @@ export default {
const ExtTotalAgent_KUT=this.formData.ExtTotalAgent_KUT.toString()
this.formData.ExtProductGroup_KUT=ExtProductGroup_KUT
this.formData.ExtTotalAgent_KUT=ExtTotalAgent_KUT
// this.loading=true
this.loading=true
this.$request(Customer.searchUrl,this.paramsToFormData(this.formData)).then((resp) => {
// this.loading=false
this.loading=false
if(resp.results.length<40){
this.$message.success('提交成功!')
this.handleClickGoBack()
}else{
this.$message.error('提交失败!')
}
})
} else {
return false;
this.loading=false
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