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