Commit d720abe7 by zhangxw

fix(venus-usedcar-quality): 车况信息录入存草稿添加校验

1 parent d07f6687
Pipeline #190 for d720abe7 failed in 0 seconds
...@@ -273,6 +273,10 @@ function onSubmit() { ...@@ -273,6 +273,10 @@ function onSubmit() {
} }
function onSaveDraft() { function onSaveDraft() {
if (!form.ownerName.trim()) {
showToast("请填写车主姓名");
return false;
}
handleVehicleAction(true); handleVehicleAction(true);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!