결합할인여부 수정 기능 개발

This commit is contained in:
Leeminha
2022-12-10 16:00:37 +09:00
parent a480a2e455
commit 9ed312959e
5 changed files with 18 additions and 0 deletions

View File

@@ -88,6 +88,13 @@
<td colspan="2"><input type="text" disabled v-model="plan" /></td>
<th>가입번호</th>
<td colspan="2"><input type="text" disabled v-model="subsNo" /></td>
<th>결합할인여부</th>
<td colspan="1">
<select name="" id="" v-model="bindDcYn">
<option value="Y">Y</option>
<option value="N">N</option>
</select>
</td>
</tr>
<tr class="tr_input w75">
<th>관리자명</th>
@@ -221,6 +228,7 @@ export default {
userCnt: '',
saveConfirm: false,
props: {},
bindDcYn: '',
};
},
props: {
@@ -313,6 +321,7 @@ export default {
this.email = result.data.email;
this.carryOver = result.data.carryOver;
this.userCnt = result.data.userCnt;
this.bindDcYn = result.data.bindDcYn;
if (this.bregNo != '' && this.bregNo != null) {
this.bregNo1 = this.bregNo.substr(0, 3);
this.bregNo2 = this.bregNo.substr(3, 2);
@@ -339,6 +348,7 @@ export default {
this.row.serviceId = this.$route.params.serviceId;
this.row.adminId = this.adminId;
this.row.adminNm = this.adminNm;
this.row.bindDcYn = this.bindDcYn;
try {
const response = await custMgtApi.updateAdminInfo(this.row);