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

Commit 5ca91d72 authored by xuchen's avatar xuchen

我的券添加复用

parent 1444aa30
......@@ -150,6 +150,7 @@ public class CandyMgtCouponAdminController extends BaseController {
@GetMapping("reuse/{couType}/{mcouponId}")
public String reuse(@PathVariable("couType") int couType,
@PathVariable("mcouponId") String mcouponId, ModelMap mmap) {
mmap.put("phpMallUrl", phpMallUrl);
CandyMgtCouponListParam listParam = new CandyMgtCouponListParam();
listParam.setMcouponId(mcouponId);
List<CandyMgtCouponInfoDto> list = candyMgtCouponAdminService.listForMgtCouponInfoDto(listParam);
......
......@@ -10,9 +10,9 @@ spring:
cloud:
config:
# uri: http://127.0.0.1:7002/support-config
# uri: http://39.107.71.112:7002/support-config
uri: http://39.107.71.112:7002/support-config
name: ${spring.application.name},${spring.application.name}-druid #默认为spring.application.name
profile: ${liquidnet.cloudConfig.profile}
discovery:
enabled: true
service-id: liquidnet-support-config
# profile: ${liquidnet.cloudConfig.profile}
# discovery:
# enabled: true
# service-id: liquidnet-support-config
......@@ -269,13 +269,6 @@
var mgtCouponInfoDto = /*[[${mgtCouponInfoDto}]]*/{};
var couponRule = /*[[${couponRule}]]*/{};
var performanceSimpleAllDao = /*[[${performanceSimpleAllDao}]]*/{};
if (!$.isEmptyObject(mgtCouponInfoDto)) {// 非空表示复用
console.log(">>>复用");
console.log(mgtCouponInfoDto);
console.log(couponRule);
console.log(performanceSimpleAllDao);
}
var roadShowId = '[[${roadShowId}]]'.replaceAll("\"", "");
let prefix = ctx;
......@@ -291,6 +284,151 @@
let selectThreeName = ''; // 选中演出三级的名称
let sendTimeType = '';
let playMethod = '1'; // 叠加/限制
if (!$.isEmptyObject(mgtCouponInfoDto)) {// 非空表示复用
console.log(">>>复用");
$("input[name='keyword']").val(mgtCouponInfoDto.title)
$('input[name="typeOne"][value='+mgtCouponInfoDto.busiType+']').prop('checked',true)
typeOne = mgtCouponInfoDto.busiType
if (typeOne == 1) {
$("#searchIpt").val('');
$("#searchIpt").attr('placeholder', '全部');
}
if (typeOne != 0) {
showId = ''; // 选中演出id
selectTwoId = ''; // 选中演出下级的ID
selectThreeId = ''; // 选中演出三级的ID
$('#scope_application').show();
} else {
$('#searchIpt').val('');
$('#selectTwo').empty();
$('#selectThree').empty('');
$('#scope_application').hide();
}
if (typeOne == 2 || typeOne == 3) {
showId = '';
$('#selectTwo').val('');
$('#selectThree').val('');
$('#selectTwo').hide();
$('#selectThree').hide();
$('#searchIpt').val('');
$('#selectTwo').empty();
$('#selectThree').empty();
$('#dataList').empty();
if (typeOne == 2) {
$("#searchIpt").val('');
$("#searchIpt").attr('placeholder', '全部商品');
}
} else {
$('#selectTwo').show();
$('#selectThree').show();
$('#selectTwo').empty();
$('#selectThree').empty();
$('#dataList').empty();
}
if (typeOne == 3) {
$('.playMethod').show()
} else {
$('.playMethod').hide()
}
$('input[id="valFace"]').val(mgtCouponInfoDto.valFace)
$('input[name="typeTwo"][value='+mgtCouponInfoDto.bindType+']').prop('checked',true)
typeTwo = mgtCouponInfoDto.bindType
if (typeTwo == 1) { // 发送至“我的券”
$('#unit').text('张/账户')
$('#iptModal').show();
$('.sendType').show();
$('#exchangeTime').val('')
$('#exchange').hide();
$('#dataOne1').show();
// $('.ticketTimeCheckBox_inner').hide();
// if (sendType == 2) {
// $('.phoneNumber').show();
// }
} else if (typeTwo == 2) { // 积分兑换
$('#unit').text('张')
$('#iptModal').hide();
$('.sendType').hide();
$('.phoneNumber').hide();
$('.test1').val('');
$('.phoneNum').val('');
$('.test1').hide();
$('#exchange').hide();
$('#dataOne1').hide();
$('.ticketTimeCheckBox_inner').hide();
} else if (typeTwo == 3) { // 发送需领取
$('#unit').text('张/账户');
$('#dataOne1').show();
$('#iptModal').show();
$('#exchange').hide();
$('.sendType').show();
$('.phoneNumber').hide();
$('.test1').val('');
$('.phoneNum').val('');
$('.test1').hide();
$('.ticketTimeCheckBox_inner').hide();
if (this.sendTypeNum == 1) {
$('.ticketTimeCheckBox_inner').show();
}
} else if (typeTwo == 4) { // 会员专属
$('#unit').hide();
$('#dataOne1').hide();
$('#iptModal').hide();
$('#exchange').hide();
$('.sendType').hide();
$('.phoneNumber').hide();
$('.test1').val('');
$('.phoneNum').val('');
$('.test1').hide();
$('.ticketTimeCheckBox_inner').show();
} else {
$('#unit').text('张')
$('#dataOne1').show();
$('#iptModal').hide();
$('#exchange').show();
$('.sendType').hide();
$('.phoneNumber').hide();
$('.test1').val('');
$('.phoneNum').val('');
$('.test1').hide();
$('.ticketTimeCheckBox_inner').hide();
}
$('input[id="num"]').val(mgtCouponInfoDto.eventAmt)
$('#describeTxt').val(mgtCouponInfoDto.notice)
$('#ticketTime').val(mgtCouponInfoDto.validity)
$('#exchangeTime').val(mgtCouponInfoDto.redeemValidity)
if(couponRule.useScope === 90){
$('#searchIpt').val(performanceSimpleAllDao.title)
showId = performanceSimpleAllDao.performancesId
}else if(couponRule.useScope === 91){
$('#searchIpt').val(performanceSimpleAllDao.title)
$('#selectTwo').val(performanceSimpleAllDao.timeTitle)
showId = performanceSimpleAllDao.performancesId
selectTwoId = performanceSimpleAllDao.timeId
// selectTwoName = performanceSimpleAllDao.timeTitle
}else if(couponRule.useScope === 92){
$('#searchIpt').val(performanceSimpleAllDao.title)
let str = `<option value="" label="" >${performanceSimpleAllDao.timeTitle}</option>`;
$('#selectTwo').empty().append(str);
let str2 = `<option value="" label="" >${performanceSimpleAllDao.ticketTitle}</option>`;
$('#selectThree').empty().append(str2);
showId = performanceSimpleAllDao.performancesId
selectTwoId = performanceSimpleAllDao.timeId
// selectTwoName = performanceSimpleAllDao.timeTitle
selectThreeId = performanceSimpleAllDao.ticketId
// selectThreeName = performanceSimpleAllDao.ticketTitle
}else if(couponRule.useScope === 80){
$('#searchIpt').val(couponRule.busiName)
showId = couponRule.busiId
}
console.log(mgtCouponInfoDto);
console.log(couponRule);
console.log(performanceSimpleAllDao);
}
function search() {
let data = {
status: '(3,6)',
......
......@@ -277,13 +277,6 @@
var mgtCouponInfoDto = /*[[${mgtCouponInfoDto}]]*/{};
var couponRule = /*[[${couponRule}]]*/{};
var performanceSimpleAllDao = /*[[${performanceSimpleAllDao}]]*/{};
if (!$.isEmptyObject(mgtCouponInfoDto)) {// 非空表示复用
console.log(">>>复用");
console.log(mgtCouponInfoDto);
console.log(couponRule);
console.log(performanceSimpleAllDao);
}
var roadShowId = '[[${roadShowId}]]'.replaceAll("\"", "");
let prefix = ctx;
......@@ -299,6 +292,107 @@
let selectThreeName = ''; // 选中演出三级的名称
let sendTimeType = '';
let playMethod = '0'; // 叠加/限制
if (!$.isEmptyObject(mgtCouponInfoDto)) {// 非空表示复用
console.log(">>>复用");
$("input[name='keyword']").val(mgtCouponInfoDto.title)
$('input[id="valFace"]').val(mgtCouponInfoDto.valFace)
$('input[name="typeTwo"][value='+mgtCouponInfoDto.bindType+']').prop('checked',true)
typeTwo = mgtCouponInfoDto.bindType
if (typeTwo == 1) { // 发送至“我的券”
$('#unit').text('张/账户')
$('#iptModal').show();
$('.sendType').show();
$('#exchangeTime').val('')
$('#exchange').hide();
$('#dataOne1').show();
// $('.ticketTimeCheckBox_inner').hide();
// if (sendType == 2) {
// $('.phoneNumber').show();
// }
} else if (typeTwo == 2) { // 积分兑换
$('#unit').text('张')
$('#iptModal').hide();
$('.sendType').hide();
$('.phoneNumber').hide();
$('.test1').val('');
$('.phoneNum').val('');
$('.test1').hide();
$('#exchange').hide();
$('#dataOne1').hide();
$('.ticketTimeCheckBox_inner').hide();
} else if (typeTwo == 3) { // 发送需领取
$('#unit').text('张/账户');
$('#dataOne1').show();
$('#iptModal').show();
$('#exchange').hide();
$('.sendType').show();
$('.phoneNumber').hide();
$('.test1').val('');
$('.phoneNum').val('');
$('.test1').hide();
$('.ticketTimeCheckBox_inner').hide();
if (this.sendTypeNum == 1) {
$('.ticketTimeCheckBox_inner').show();
}
} else if (typeTwo == 4) { // 会员专属
$('#unit').hide();
$('#dataOne1').hide();
$('#iptModal').hide();
$('#exchange').hide();
$('.sendType').hide();
$('.phoneNumber').hide();
$('.test1').val('');
$('.phoneNum').val('');
$('.test1').hide();
$('.ticketTimeCheckBox_inner').show();
} else {
$('#unit').text('张')
$('#dataOne1').show();
$('#iptModal').hide();
$('#exchange').show();
$('.sendType').hide();
$('.phoneNumber').hide();
$('.test1').val('');
$('.phoneNum').val('');
$('.test1').hide();
$('.ticketTimeCheckBox_inner').hide();
}
$('input[id="num"]').val(mgtCouponInfoDto.eventAmt)
$('#describeTxt').val(mgtCouponInfoDto.notice)
$('#ticketTime').val(mgtCouponInfoDto.validity)
$('#exchangeTime').val(mgtCouponInfoDto.redeemValidity)
if(couponRule.useScope === 90){
$('#searchIpt').val(performanceSimpleAllDao.title)
showId = performanceSimpleAllDao.performancesId
}else if(couponRule.useScope === 91){
$('#searchIpt').val(performanceSimpleAllDao.title)
$('#selectTwo').val(performanceSimpleAllDao.timeTitle)
showId = performanceSimpleAllDao.performancesId
selectTwoId = performanceSimpleAllDao.timeId
// selectTwoName = performanceSimpleAllDao.timeTitle
}else if(couponRule.useScope === 92){
$('#searchIpt').val(performanceSimpleAllDao.title)
let str = `<option value="" label="" >${performanceSimpleAllDao.timeTitle}</option>`;
$('#selectTwo').empty().append(str);
let str2 = `<option value="" label="" >${performanceSimpleAllDao.ticketTitle}</option>`;
$('#selectThree').empty().append(str2);
showId = performanceSimpleAllDao.performancesId
selectTwoId = performanceSimpleAllDao.timeId
// selectTwoName = performanceSimpleAllDao.timeTitle
selectThreeId = performanceSimpleAllDao.ticketId
// selectThreeName = performanceSimpleAllDao.ticketTitle
}else if(couponRule.useScope === 80){
$('#searchIpt').val(couponRule.busiName)
showId = couponRule.busiId
}
console.log(mgtCouponInfoDto);
console.log(couponRule);
console.log(performanceSimpleAllDao);
}
function search() {
let data = {
status: '(3,6)',
......
......@@ -271,13 +271,6 @@
var mgtCouponInfoDto = /*[[${mgtCouponInfoDto}]]*/{};
var couponRule = /*[[${couponRule}]]*/{};
var performanceSimpleAllDao = /*[[${performanceSimpleAllDao}]]*/{};
if (!$.isEmptyObject(mgtCouponInfoDto)) {// 非空表示复用
console.log(">>>复用");
console.log(mgtCouponInfoDto);
console.log(couponRule);
console.log(performanceSimpleAllDao);
}
var roadShowId = '[[${roadShowId}]]'.replaceAll("\"", "");
let prefix = ctx;
......@@ -293,6 +286,151 @@
let selectThreeName = ''; // 选中演出三级的名称
let sendTimeType = '';
let playMethod = '1'; // 叠加/限制
if (!$.isEmptyObject(mgtCouponInfoDto)) {// 非空表示复用
console.log(">>>复用");
$("input[name='keyword']").val(mgtCouponInfoDto.title)
$('input[name="typeOne"][value='+mgtCouponInfoDto.busiType+']').prop('checked',true)
typeOne = mgtCouponInfoDto.busiType
if (typeOne == 1) {
$("#searchIpt").val('');
$("#searchIpt").attr('placeholder', '全部');
}
if (typeOne != 0) {
showId = ''; // 选中演出id
selectTwoId = ''; // 选中演出下级的ID
selectThreeId = ''; // 选中演出三级的ID
$('#scope_application').show();
} else {
$('#searchIpt').val('');
$('#selectTwo').empty();
$('#selectThree').empty('');
$('#scope_application').hide();
}
if (typeOne == 2 || typeOne == 3) {
showId = '';
$('#selectTwo').val('');
$('#selectThree').val('');
$('#selectTwo').hide();
$('#selectThree').hide();
$('#searchIpt').val('');
$('#selectTwo').empty();
$('#selectThree').empty();
$('#dataList').empty();
if (typeOne == 2) {
$("#searchIpt").val('');
$("#searchIpt").attr('placeholder', '全部商品');
}
} else {
$('#selectTwo').show();
$('#selectThree').show();
$('#selectTwo').empty();
$('#selectThree').empty();
$('#dataList').empty();
}
if (typeOne == 3) {
$('.playMethod').show()
} else {
$('.playMethod').hide()
}
$('input[id="valFace"]').val(mgtCouponInfoDto.valFace)
$('input[name="typeTwo"][value='+mgtCouponInfoDto.bindType+']').prop('checked',true)
typeTwo = mgtCouponInfoDto.bindType
if (typeTwo == 1) { // 发送至“我的券”
$('#unit').text('张/账户')
$('#iptModal').show();
$('.sendType').show();
$('#exchangeTime').val('')
$('#exchange').hide();
$('#dataOne1').show();
// $('.ticketTimeCheckBox_inner').hide();
// if (sendType == 2) {
// $('.phoneNumber').show();
// }
} else if (typeTwo == 2) { // 积分兑换
$('#unit').text('张')
$('#iptModal').hide();
$('.sendType').hide();
$('.phoneNumber').hide();
$('.test1').val('');
$('.phoneNum').val('');
$('.test1').hide();
$('#exchange').hide();
$('#dataOne1').hide();
$('.ticketTimeCheckBox_inner').hide();
} else if (typeTwo == 3) { // 发送需领取
$('#unit').text('张/账户');
$('#dataOne1').show();
$('#iptModal').show();
$('#exchange').hide();
$('.sendType').show();
$('.phoneNumber').hide();
$('.test1').val('');
$('.phoneNum').val('');
$('.test1').hide();
$('.ticketTimeCheckBox_inner').hide();
if (this.sendTypeNum == 1) {
$('.ticketTimeCheckBox_inner').show();
}
} else if (typeTwo == 4) { // 会员专属
$('#unit').hide();
$('#dataOne1').hide();
$('#iptModal').hide();
$('#exchange').hide();
$('.sendType').hide();
$('.phoneNumber').hide();
$('.test1').val('');
$('.phoneNum').val('');
$('.test1').hide();
$('.ticketTimeCheckBox_inner').show();
} else {
$('#unit').text('张')
$('#dataOne1').show();
$('#iptModal').hide();
$('#exchange').show();
$('.sendType').hide();
$('.phoneNumber').hide();
$('.test1').val('');
$('.phoneNum').val('');
$('.test1').hide();
$('.ticketTimeCheckBox_inner').hide();
}
$('input[id="num"]').val(mgtCouponInfoDto.eventAmt)
$('#describeTxt').val(mgtCouponInfoDto.notice)
$('#ticketTime').val(mgtCouponInfoDto.validity)
$('#exchangeTime').val(mgtCouponInfoDto.redeemValidity)
if(couponRule.useScope === 90){
$('#searchIpt').val(performanceSimpleAllDao.title)
showId = performanceSimpleAllDao.performancesId
}else if(couponRule.useScope === 91){
$('#searchIpt').val(performanceSimpleAllDao.title)
$('#selectTwo').val(performanceSimpleAllDao.timeTitle)
showId = performanceSimpleAllDao.performancesId
selectTwoId = performanceSimpleAllDao.timeId
// selectTwoName = performanceSimpleAllDao.timeTitle
}else if(couponRule.useScope === 92){
$('#searchIpt').val(performanceSimpleAllDao.title)
let str = `<option value="" label="" >${performanceSimpleAllDao.timeTitle}</option>`;
$('#selectTwo').empty().append(str);
let str2 = `<option value="" label="" >${performanceSimpleAllDao.ticketTitle}</option>`;
$('#selectThree').empty().append(str2);
showId = performanceSimpleAllDao.performancesId
selectTwoId = performanceSimpleAllDao.timeId
// selectTwoName = performanceSimpleAllDao.timeTitle
selectThreeId = performanceSimpleAllDao.ticketId
// selectThreeName = performanceSimpleAllDao.ticketTitle
}else if(couponRule.useScope === 80){
$('#searchIpt').val(couponRule.busiName)
showId = couponRule.busiId
}
$('#valOver').val(mgtCouponInfoDto.valOver)
$('#valMinus').val(mgtCouponInfoDto.valMinus)
console.log(mgtCouponInfoDto);
console.log(couponRule);
console.log(performanceSimpleAllDao);
}
function search() {
let data = {
status: '(3,6)',
......
......@@ -204,13 +204,6 @@
var mgtCouponInfoDto = /*[[${mgtCouponInfoDto}]]*/{};
var couponRule = /*[[${couponRule}]]*/{};
var performanceSimpleAllDao = /*[[${performanceSimpleAllDao}]]*/{};
if (!$.isEmptyObject(mgtCouponInfoDto)) {// 非空表示复用
console.log(">>>复用");
console.log(mgtCouponInfoDto);
console.log(couponRule);
console.log(performanceSimpleAllDao);
}
var roadShowId = '[[${roadShowId}]]'.replaceAll("\"", "");
let prefix = ctx;
......@@ -221,6 +214,39 @@
let selectTwoName = ''; // 选中演出下级的名称
let selectThreeId = ''; // 选中演出三级的ID
let selectThreeName = ''; // 选中演出三级的名称
if (!$.isEmptyObject(mgtCouponInfoDto)) {// 非空表示复用
console.log(">>>复用");
$('input[name="keyword"]').val(mgtCouponInfoDto.title)
$('input[id="num"]').val(mgtCouponInfoDto.eventAmt)
$('#describeTxt').val(mgtCouponInfoDto.notice)
$('#ticketTime').val(mgtCouponInfoDto.validity)
if(couponRule.useScope === 90){
$('#searchIpt').val(performanceSimpleAllDao.title)
showId = performanceSimpleAllDao.performancesId
}else if(couponRule.useScope === 91){
$('#searchIpt').val(performanceSimpleAllDao.title)
$('#selectTwo').val(performanceSimpleAllDao.timeTitle)
showId = performanceSimpleAllDao.performancesId
selectTwoId = performanceSimpleAllDao.timeId
// selectTwoName = performanceSimpleAllDao.timeTitle
}else if(couponRule.useScope === 92){
$('#searchIpt').val(performanceSimpleAllDao.title)
let str = `<option value="" label="" >${performanceSimpleAllDao.timeTitle}</option>`;
$('#selectTwo').empty().append(str);
let str2 = `<option value="" label="" >${performanceSimpleAllDao.ticketTitle}</option>`;
$('#selectThree').empty().append(str2);
showId = performanceSimpleAllDao.performancesId
selectTwoId = performanceSimpleAllDao.timeId
// selectTwoName = performanceSimpleAllDao.timeTitle
selectThreeId = performanceSimpleAllDao.ticketId
// selectThreeName = performanceSimpleAllDao.ticketTitle
}
console.log(mgtCouponInfoDto);
console.log(couponRule);
console.log(performanceSimpleAllDao);
}
function search() {
let data = {
status: '(3,6)',
......
......@@ -258,13 +258,6 @@
var mgtCouponInfoDto = /*[[${mgtCouponInfoDto}]]*/{};
var couponRule = /*[[${couponRule}]]*/{};
var performanceSimpleAllDao = /*[[${performanceSimpleAllDao}]]*/{};
if (!$.isEmptyObject(mgtCouponInfoDto)) {// 非空表示复用
console.log(">>>复用");
console.log(mgtCouponInfoDto);
console.log(couponRule);
console.log(performanceSimpleAllDao);
}
var roadShowId = '[[${roadShowId}]]'.replaceAll("\"", "");
let prefix = ctx;
......@@ -275,6 +268,107 @@
let searchData = []; // 搜索总数据
let showId = ''; // 选中演出id
let sendTimeType = '';
if (!$.isEmptyObject(mgtCouponInfoDto)) {// 非空表示复用
console.log(">>>复用");
$("input[name='keyword']").val(mgtCouponInfoDto.title)
$('input[id="valFace"]').val(mgtCouponInfoDto.valFace)
$('input[name="typeTwo"][value='+mgtCouponInfoDto.bindType+']').prop('checked',true)
typeTwo = mgtCouponInfoDto.bindType
if (typeTwo == 1) { // 发送至“我的券”
$('#unit').text('张/账户')
$('#iptModal').show();
$('.sendType').show();
$('#exchangeTime').val('')
$('#exchange').hide();
$('#dataOne1').show();
// $('.ticketTimeCheckBox_inner').hide();
// if (sendType == 2) {
// $('.phoneNumber').show();
// }
} else if (typeTwo == 2) { // 积分兑换
$('#unit').text('张')
$('#iptModal').hide();
$('.sendType').hide();
$('.phoneNumber').hide();
$('.test1').val('');
$('.phoneNum').val('');
$('.test1').hide();
$('#exchange').hide();
$('#dataOne1').hide();
$('.ticketTimeCheckBox_inner').hide();
} else if (typeTwo == 3) { // 发送需领取
$('#unit').text('张/账户');
$('#dataOne1').show();
$('#iptModal').show();
$('#exchange').hide();
$('.sendType').show();
$('.phoneNumber').hide();
$('.test1').val('');
$('.phoneNum').val('');
$('.test1').hide();
$('.ticketTimeCheckBox_inner').hide();
if (this.sendTypeNum == 1) {
$('.ticketTimeCheckBox_inner').show();
}
} else if (typeTwo == 4) { // 会员专属
$('#unit').hide();
$('#dataOne1').hide();
$('#iptModal').hide();
$('#exchange').hide();
$('.sendType').hide();
$('.phoneNumber').hide();
$('.test1').val('');
$('.phoneNum').val('');
$('.test1').hide();
$('.ticketTimeCheckBox_inner').show();
} else {
$('#unit').text('张')
$('#dataOne1').show();
$('#iptModal').hide();
$('#exchange').show();
$('.sendType').hide();
$('.phoneNumber').hide();
$('.test1').val('');
$('.phoneNum').val('');
$('.test1').hide();
$('.ticketTimeCheckBox_inner').hide();
}
$('input[id="num"]').val(mgtCouponInfoDto.eventAmt)
$('#describeTxt').val(mgtCouponInfoDto.notice)
$('#ticketTime').val(mgtCouponInfoDto.validity)
$('#exchangeTime').val(mgtCouponInfoDto.redeemValidity)
$('#discount').val(mgtCouponInfoDto.discount)
if(couponRule.useScope === 90){
$('#searchIpt').val(performanceSimpleAllDao.title)
showId = performanceSimpleAllDao.performancesId
}else if(couponRule.useScope === 91){
$('#searchIpt').val(performanceSimpleAllDao.title)
$('#selectTwo').val(performanceSimpleAllDao.timeTitle)
showId = performanceSimpleAllDao.performancesId
selectTwoId = performanceSimpleAllDao.timeId
// selectTwoName = performanceSimpleAllDao.timeTitle
}else if(couponRule.useScope === 92){
$('#searchIpt').val(performanceSimpleAllDao.title)
let str = `<option value="" label="" >${performanceSimpleAllDao.timeTitle}</option>`;
$('#selectTwo').empty().append(str);
let str2 = `<option value="" label="" >${performanceSimpleAllDao.ticketTitle}</option>`;
$('#selectThree').empty().append(str2);
showId = performanceSimpleAllDao.performancesId
selectTwoId = performanceSimpleAllDao.timeId
// selectTwoName = performanceSimpleAllDao.timeTitle
selectThreeId = performanceSimpleAllDao.ticketId
// selectThreeName = performanceSimpleAllDao.ticketTitle
}else if(couponRule.useScope === 80){
$('#searchIpt').val(couponRule.busiName)
showId = couponRule.busiId
}
console.log(mgtCouponInfoDto);
console.log(couponRule);
console.log(performanceSimpleAllDao);
}
function getMallList() {
let data = {
title: $('#searchIpt').val()
......
......@@ -153,7 +153,7 @@
/* 复用发放 */
function reuseMgtCoupon(mcouponId) {
var url = 'candy/coupon/mgt/reuse/' + couType + '/' + mcouponId;
$.modal.openTab("添加代金券", url);
$.modal.openTab("复用代金券", url);
}
</script>
</body>
......
......@@ -134,7 +134,7 @@
/* 复用发放 */
function reuseMgtCoupon(mcouponId) {
var url = 'candy/coupon/mgt/reuse/' + couType + '/' + mcouponId;
$.modal.openTab("添加优先券", url);
$.modal.openTab("复用优先券", url);
}
</script>
</body>
......
......@@ -153,7 +153,7 @@
/* 复用发放 */
function reuseMgtCoupon(mcouponId) {
var url = 'candy/coupon/mgt/reuse/' + couType + '/' + mcouponId;
$.modal.openTab("添加满减券", url);
$.modal.openTab("复用满减券", url);
}
</script>
</body>
......
......@@ -134,7 +134,7 @@
/* 复用发放 */
function reuseMgtCoupon(mcouponId) {
var url = 'candy/coupon/mgt/reuse/' + couType + '/' + mcouponId;
$.modal.openTab("添加兑换券", url);
$.modal.openTab("复用兑换券", url);
}
</script>
</body>
......
......@@ -153,7 +153,7 @@
/* 复用发放 */
function reuseMgtCoupon(mcouponId) {
var url = 'candy/coupon/mgt/reuse/' + couType + '/' + mcouponId;
$.modal.openTab("添加折扣券", url);
$.modal.openTab("复用折扣券", url);
}
</script>
</body>
......
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