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

Commit 516a7abf authored by dongchun's avatar dongchun

修改id不对问题

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