记得上下班打卡 | git大法好,push需谨慎

Commit 516a7abf authored by dongchun's avatar dongchun

修改id不对问题

parent f3729d0f
...@@ -311,7 +311,6 @@ ...@@ -311,7 +311,6 @@
// }); // });
}; };
function selectOne(id,name) { function selectOne(id,name) {
console.log(id, showId, 'showId')
$("#searchIpt").val(name); $("#searchIpt").val(name);
showId = id; showId = id;
if (typeOne == 2) { if (typeOne == 2) {
...@@ -340,7 +339,6 @@ ...@@ -340,7 +339,6 @@
if (typeOne == 2) { if (typeOne == 2) {
getMallList() getMallList()
} else { } else {
console.log('search')
search() search()
} }
$('#dataList').show() $('#dataList').show()
...@@ -356,14 +354,12 @@ ...@@ -356,14 +354,12 @@
if (typeOne == 2) { if (typeOne == 2) {
getMallList() getMallList()
} else { } else {
console.log('search')
search() search()
} }
}); });
$('#selectTwo').change(function(e){ $('#selectTwo').change(function(e){
selectTwoId = $(this).val(); selectTwoId = $(this).val();
console.log(selectTwoId,'kankna')
selectTwoName = $('#selectTwo').find('option:selected').attr('label'); selectTwoName = $('#selectTwo').find('option:selected').attr('label');
let str = `<option value="" label="" >所有</option>`; let str = `<option value="" label="" >所有</option>`;
searchData.forEach(item=>{ searchData.forEach(item=>{
...@@ -385,7 +381,6 @@ ...@@ -385,7 +381,6 @@
$("#searchIpt").attr('placeholder', '全部'); $("#searchIpt").attr('placeholder', '全部');
} }
if (typeOne != 0) { if (typeOne != 0) {
console.log('???')
showId = ''; // 选中演出id showId = ''; // 选中演出id
selectTwoId = ''; // 选中演出下级的ID selectTwoId = ''; // 选中演出下级的ID
selectThreeId = ''; // 选中演出三级的ID selectThreeId = ''; // 选中演出三级的ID
...@@ -496,7 +491,6 @@ ...@@ -496,7 +491,6 @@
useScope = 90; useScope = 90;
busiId = showId; busiId = showId;
} }
console.log()
if (selectTwoId) { if (selectTwoId) {
useScope = 91; useScope = 91;
busiId = selectTwoId; busiId = selectTwoId;
...@@ -521,7 +515,6 @@ ...@@ -521,7 +515,6 @@
} }
busiName = $("#searchIpt").val(); busiName = $("#searchIpt").val();
} }
console.log(showId,busiId, 'showId')
let data = { let data = {
"bindType": Number(typeTwo), // 兑换券/发放 "bindType": Number(typeTwo), // 兑换券/发放
"busiType": Number(typeOne), // 业务类别 "busiType": Number(typeOne), // 业务类别
...@@ -558,7 +551,6 @@ ...@@ -558,7 +551,6 @@
if (sendType != 2) { if (sendType != 2) {
delete data.eventLimit; delete data.eventLimit;
} }
console.log(data,'data')
promiseMethods('/candy/coupon/mgt/add','post',JSON.stringify(data),'application/json').then(res=>{ promiseMethods('/candy/coupon/mgt/add','post',JSON.stringify(data),'application/json').then(res=>{
layer.msg('' + res); layer.msg('' + res);
if (res.code != undefined && res.code != web_status.SUCCESS) { if (res.code != undefined && res.code != web_status.SUCCESS) {
......
...@@ -321,7 +321,6 @@ ...@@ -321,7 +321,6 @@
if (typeOne == 2) { if (typeOne == 2) {
getMallList() getMallList()
} else { } else {
console.log('search')
search() search()
} }
$('#dataList').show() $('#dataList').show()
...@@ -338,7 +337,6 @@ ...@@ -338,7 +337,6 @@
$('#selectTwo').change(function(e){ $('#selectTwo').change(function(e){
selectTwoId = $(this).val(); selectTwoId = $(this).val();
console.log(selectTwoId,'kankna')
selectTwoName = $('#selectTwo').find('option:selected').attr('label'); selectTwoName = $('#selectTwo').find('option:selected').attr('label');
let str = `<option value="" label="" >所有</option>`; let str = `<option value="" label="" >所有</option>`;
searchData.forEach(item=>{ searchData.forEach(item=>{
...@@ -459,7 +457,6 @@ ...@@ -459,7 +457,6 @@
if (sendType != 2) { if (sendType != 2) {
delete data.eventLimit; delete data.eventLimit;
} }
console.log(data,'data')
promiseMethods('/candy/coupon/mgt/add','post',JSON.stringify(data),'application/json').then(res=>{ promiseMethods('/candy/coupon/mgt/add','post',JSON.stringify(data),'application/json').then(res=>{
layer.msg('' + res); layer.msg('' + res);
if (res.code != undefined && res.code != web_status.SUCCESS) { if (res.code != undefined && res.code != web_status.SUCCESS) {
......
...@@ -341,7 +341,6 @@ ...@@ -341,7 +341,6 @@
if (typeOne == 2) { if (typeOne == 2) {
getMallList() getMallList()
} else { } else {
console.log('search')
search() search()
} }
$('#dataList').show() $('#dataList').show()
...@@ -357,14 +356,12 @@ ...@@ -357,14 +356,12 @@
if (typeOne == 2) { if (typeOne == 2) {
getMallList() getMallList()
} else { } else {
console.log('search')
search() search()
} }
}); });
$('#selectTwo').change(function(e){ $('#selectTwo').change(function(e){
selectTwoId = $(this).val(); selectTwoId = $(this).val();
console.log(selectTwoId,'kankna')
selectTwoName = $('#selectTwo').find('option:selected').attr('label'); selectTwoName = $('#selectTwo').find('option:selected').attr('label');
let str = `<option value="" label="" >所有</option>`; let str = `<option value="" label="" >所有</option>`;
searchData.forEach(item=>{ searchData.forEach(item=>{
......
...@@ -274,7 +274,6 @@ ...@@ -274,7 +274,6 @@
$('#selectTwo').change(function(e){ $('#selectTwo').change(function(e){
selectTwoId = $(this).val(); selectTwoId = $(this).val();
console.log(selectTwoId,'kankna')
selectTwoName = $('#selectTwo').find('option:selected').attr('label'); selectTwoName = $('#selectTwo').find('option:selected').attr('label');
let str = `<option value="" label="" >所有</option>`; let str = `<option value="" label="" >所有</option>`;
searchData.forEach(item=>{ searchData.forEach(item=>{
......
...@@ -254,7 +254,6 @@ ...@@ -254,7 +254,6 @@
function selectOne(id,name) { function selectOne(id,name) {
$("#searchIpt").val(name); $("#searchIpt").val(name);
showId = id; showId = id;
console.log(showId, 'showId')
}; };
$("input[name=typeTwo]").change(function(e){ $("input[name=typeTwo]").change(function(e){
typeTwo = e.target.value; typeTwo = e.target.value;
...@@ -320,7 +319,6 @@ ...@@ -320,7 +319,6 @@
busiName = $('#searchIpt').val(); busiName = $('#searchIpt').val();
busiId = showId; busiId = showId;
} }
console.log(showId,busiId, 'showId')
let data = { let data = {
"bindType": Number(typeTwo), // 兑换券/发放 "bindType": Number(typeTwo), // 兑换券/发放
"busiType": 2, // 业务类别 "busiType": 2, // 业务类别
......
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