Commit eea99ac0 authored by agping's avatar agping

1

parent cb7728cb
...@@ -277,7 +277,7 @@ require(['vue', 'css!style/submit_report_pc.css', 'jquery0325', 'common'], funct ...@@ -277,7 +277,7 @@ require(['vue', 'css!style/submit_report_pc.css', 'jquery0325', 'common'], funct
_isBreak = true; _isBreak = true;
return false; return false;
}; };
_totalScale += _scale; _totalScale += _scale*1;
_dataArr.push({ _dataArr.push({
'role': _role, 'role': _role,
'agent_id': _agent_id, 'agent_id': _agent_id,
...@@ -295,6 +295,7 @@ require(['vue', 'css!style/submit_report_pc.css', 'jquery0325', 'common'], funct ...@@ -295,6 +295,7 @@ require(['vue', 'css!style/submit_report_pc.css', 'jquery0325', 'common'], funct
}else{ }else{
urlOffice ="/broker/bargain"; urlOffice ="/broker/bargain";
} }
console.log(_totalScale);
if(_totalScale !=100){ if(_totalScale !=100){
alert('分佣比例总和须为100%,方能提交成功'); alert('分佣比例总和须为100%,方能提交成功');
return; return;
......
...@@ -119,6 +119,12 @@ ...@@ -119,6 +119,12 @@
params.store_id =$('#guest_stores').val(); params.store_id =$('#guest_stores').val();
params.pageNo = report.pageNo; params.pageNo = report.pageNo;
params.pageSize = report.pageSize; params.pageSize = report.pageSize;
if($("#district_id2_city").val()){
if(!$("#district_id").val()){
alert('请选择部门进行搜索');
return
}
}
$.ajax({ $.ajax({
type: 'GET', type: 'GET',
url: '/index/methodOfAnalysis', url: '/index/methodOfAnalysis',
......
...@@ -118,6 +118,12 @@ ...@@ -118,6 +118,12 @@
params.store_id =$('#guest_stores').val(); params.store_id =$('#guest_stores').val();
params.pageNo = report.pageNo; params.pageNo = report.pageNo;
params.pageSize = report.pageSize; params.pageSize = report.pageSize;
if($("#district_id2_city").val()){
if(!$("#district_id").val()){
alert('请选择部门进行搜索');
return
}
}
$.ajax({ $.ajax({
type: 'GET', type: 'GET',
url: '/index/qualityAssessment', url: '/index/qualityAssessment',
......
...@@ -119,7 +119,12 @@ ...@@ -119,7 +119,12 @@
params.store_id =$('#guest_stores').val(); params.store_id =$('#guest_stores').val();
params.pageNo = report.pageNo; params.pageNo = report.pageNo;
params.pageSize = report.pageSize; params.pageSize = report.pageSize;
if($("#district_id2_city").val()){
if(!$("#district_id").val()){
alert('请选择部门进行搜索');
return
}
}
$.ajax({ $.ajax({
type: 'GET', type: 'GET',
url: '/index/valueAssessment',//日报 url: '/index/valueAssessment',//日报
......
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