ソースを参照

이태영 - 20210719 BOS 수정사항 수정 중

xodud lee 4 年 前
コミット
5197c73217

+ 3 - 3
src/main/webapp/WEB-INF/views/marketing/FreeGoodsPromotionRegiForm.html

@@ -942,7 +942,7 @@
 		mcxDialog.confirmC("프로모션을 진행하시겠습니까?<br/>진행 후에는 수정이 제한될 수 있습니다.", {
 			btn: confirmBtnText,
 			btnClick: function(index) {
-				if(index == 1) {
+				if(index == 0) {
 					let data = { freegiftStat : "G232_11"				// 진행
 						, freegiftSq : $("#freeGoodsPromotionForm input[name=freegiftSq]").val()
 					}
@@ -958,7 +958,7 @@
 		mcxDialog.confirmC("프로모션을 삭제하시겠습니까?<br/>삭제한 프로모션은 복원하실 수 없습니다.", {
 			btn: confirmBtnText,
 			btnClick: function(index) {
-				if(index == 1) {
+				if(index == 0) {
 					let data = {
 						freegiftStat: "G232_14"			// 삭제
 						, freegiftSq: $("#freeGoodsPromotionForm input[name=freegiftSq]").val()
@@ -977,7 +977,7 @@
 		mcxDialog.confirmC("프로모션을 중지하시겠습니까?<br/>중지 후에는 진행으로 복원하실 수 없습니다.", {
 			btn: confirmBtnText,
 			btnClick: function(index) {
-				if(index == 1) {
+				if(index == 0) {
 					let data = {
 						freegiftStat: "G232_12"			// 중지
 						, freegiftSq: $("#freeGoodsPromotionForm input[name=freegiftSq]").val()