Commit 7f4aa3ab by Huang Linyu

提交业务数据 - 判断销售 手机号码不为空

parent 2192c8c4
Showing with 7 additions and 1 deletions
...@@ -151,9 +151,15 @@ ...@@ -151,9 +151,15 @@
} }
function submitInfo() { function submitInfo() {
var saleMobile = $('#phone').val();
if (!img) { if (!img) {
alert('请上传支付凭证'); alert('请上传支付凭证');
return return;
}
if(!saleMobile){
alert("请输入销售手机号!");
$('#phone').focus();
return ;
} }
var params = { var params = {
productName:$('#productName').val(), productName:$('#productName').val(),
......
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 sign in to comment