Compare commits

..

No commits in common. "8cdbea59de24c922d507b07f2b36a2d006fd1d33" and "8ac488bf6f27c0428d915aeb088fd96c4e317a3c" have entirely different histories.

1 changed files with 14 additions and 24 deletions

View File

@ -534,29 +534,18 @@
</v-row> </v-row>
</v-card-text> </v-card-text>
<v-card-text v-show="audio_content.price > 0 && is_limited_edition === false"> <v-card-text v-show="audio_content.price > 0 && is_limited_edition === false">
<v-row align="center"> <v-row>
<v-col cols="4"> <v-col cols="4">
소장 설정 대여만 가능
</v-col> </v-col>
<v-col cols="8"> <v-col
<v-radio-group cols="8"
v-model="audio_content.purchase_option" align="left"
row >
<input
v-model="audio_content.is_only_rental"
type="checkbox"
> >
<v-radio
value="BOTH"
label="소장/대여"
/>
<v-radio
value="BUY_ONLY"
label="소장만"
/>
<v-radio
value="RENT_ONLY"
label="대여만"
/>
<v-spacer />
</v-radio-group>
</v-col> </v-col>
</v-row> </v-row>
</v-card-text> </v-card-text>
@ -679,11 +668,13 @@ export default {
is_adult: false, is_adult: false,
is_generate_preview: false, is_generate_preview: false,
is_comment_available: true, is_comment_available: true,
purchase_option: 'BOTH',
}, },
audio_contents: [], audio_contents: [],
themeList: [], themeList: [],
selected_audio_content: {}, selected_audio_content: {},
utm_source: '',
utm_medium: '',
utm_campaign: '',
} }
}, },
@ -735,7 +726,6 @@ export default {
price: 0, price: 0,
is_adult: false, is_adult: false,
is_comment_available: true, is_comment_available: true,
purchase_option: 'BOTH',
} }
this.reservation_time = '' this.reservation_time = ''
this.reservation_time = '' this.reservation_time = ''
@ -843,12 +833,12 @@ export default {
themeId: this.audio_content.theme_id, themeId: this.audio_content.theme_id,
isAdult: this.audio_content.is_adult, isAdult: this.audio_content.is_adult,
isGeneratePreview: this.audio_content.price > 0 ? this.audio_content.is_generate_preview : false, isGeneratePreview: this.audio_content.price > 0 ? this.audio_content.is_generate_preview : false,
purchaseOption: this.audio_content.purchase_option, isOnlyRental: this.audio_content.is_only_rental,
isCommentAvailable: this.audio_content.is_comment_available isCommentAvailable: this.audio_content.is_comment_available
} }
if (this.audio_content.limited > 0) { if (this.audio_content.limited > 0) {
request.purchaseOption = 'BUY_ONLY' request.isOnlyRental = false
} }
if (this.audio_content.price > 0 && this.is_limited_edition === true) { if (this.audio_content.price > 0 && this.is_limited_edition === true) {