Commit b3398f4a authored by lixy's avatar lixy

分公司信息

parent 946b66bd
...@@ -452,6 +452,15 @@ ...@@ -452,6 +452,15 @@
set[formName].validate(valid => { set[formName].validate(valid => {
if (valid) { if (valid) {
if(this.state != 1){//上架-验证额外信息 if(this.state != 1){//上架-验证额外信息
if(!this.form.addrDetail){
this.$notify({
title: '警告',
message: "请输入详细地址",
type: 'warning',
duration: 2000
});
return;
}
if(!this.form.longitude){ if(!this.form.longitude){
this.$notify({ this.$notify({
title: '警告', title: '警告',
...@@ -480,7 +489,7 @@ ...@@ -480,7 +489,7 @@
duration: 2000 duration: 2000
}); });
return; return;
}debugger }
if(!this.form.images){ if(!this.form.images){
this.tabName = "second"; this.tabName = "second";
this.$notify({ this.$notify({
......
This diff is collapsed.
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