Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

sellPage.vue 15KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433
  1. <template>
  2. <!-- eslint-disable max-len -->
  3. <div class="container">
  4. <div class="row">
  5. <div class="col-md-12">
  6. <div class="col-sm-12">
  7. <div class="about-img-box">
  8. <img
  9. src="img/sell.jpg"
  10. alt="Timeshare To Sell"
  11. class="img-fluid"
  12. style="width:800px;height:400px;"
  13. />
  14. </div>
  15. <div class="sinse-box">
  16. <h3 class="sinse-title">
  17. Timeshare To Sell
  18. <span></span>
  19. </h3>
  20. </div>
  21. </div>
  22. <br />
  23. <div>
  24. <div style="float: right;" class="btn btn-link color-b">
  25. <router-link to="LinkToBeSelected">
  26. Bulk Weeks Upload
  27. <span class="ion-ios-arrow-forward" style="color:#60CBEB"></span>
  28. </router-link>
  29. </div>
  30. </div>
  31. <br />
  32. <br />
  33. <p>* You need to be logged in to submit your listing. Please register and log in if you have not done so already.</p>
  34. <hr />
  35. </div>
  36. </div>
  37. <div v-for="(item, i) in unitConfigurationList" :key="i">{{item}}</div>
  38. <div class="row mb-4">
  39. <div class="container col-md-10">
  40. <form
  41. id="mainForm"
  42. method="POST"
  43. action="/to-sell"
  44. accept-charset="UTF-8"
  45. enctype="multipart/form-data"
  46. >
  47. <div class="form-group row">
  48. <div class="col-md-4">
  49. <label>Were you referred by an agent?</label>
  50. <br />
  51. <div class="form-check form-check-inline">
  52. <input
  53. class="form-check-input radiogroup"
  54. type="radio"
  55. value="true"
  56. :checked="refAgent"
  57. @change="changeRef"
  58. />
  59. <label class="form-check-label" for="referedBy">Yes</label>
  60. </div>
  61. <div class="form-check form-check-inline">
  62. <input
  63. class="form-check-input radiogroup"
  64. type="radio"
  65. value="false"
  66. :checked="!refAgent"
  67. @change="changeRef"
  68. />
  69. <label class="form-check-label" for="referedBy">No</label>
  70. </div>
  71. </div>
  72. <div class="col-md-4" v-if="refAgent">
  73. <label>Name of Agency</label>
  74. <input
  75. class="form-control"
  76. placeholder="Name of Agency"
  77. type="text"
  78. name="name of agency"
  79. value
  80. />
  81. </div>
  82. <div class="col-md-4" v-if="refAgent">
  83. <label>Name of Agent</label>
  84. <input
  85. class="form-control"
  86. placeholder="Name of Agent"
  87. type="text"
  88. name="name of agenct"
  89. value
  90. />
  91. </div>
  92. </div>
  93. <div class="form-group row">
  94. <div class="col-md-6">
  95. <label>Resort Name</label>
  96. <select class="form-control" id="resort" name="resort">
  97. <option value>Please select Resort Name</option>
  98. <option value></option>
  99. <option value="Other">Other</option>
  100. </select>
  101. </div>
  102. <div class="col-md-6">
  103. <label>* If other</label>
  104. <input class="form-control" placeholder="* If other" type="text" name="other" value />
  105. </div>
  106. </div>
  107. <div class="form-group row">
  108. <div class="col-md-6">
  109. <label>Region</label>
  110. <select class="form-control" name="region" id="region">
  111. <option value>Please select Region</option>
  112. <option v-for="(region, r) in regions" :key="r">{{region.regionName}}</option>
  113. </select>
  114. </div>
  115. <div class="col-md-6">
  116. <label>Season</label>
  117. <select class="form-control" name="season">
  118. <option value>Please select Season</option>
  119. <option value="Peak">Peak</option>
  120. <option value="Peak 1">Peak 1</option>
  121. <option value="Peak 2">Peak 2</option>
  122. <option value="Peak 3">Peak 3</option>
  123. <option value="Peak 4">Peak 4</option>
  124. <option value="Red">Red</option>
  125. <option value="White">White</option>
  126. <option value="Blue">Blue</option>
  127. <option value="Flexi">Flexi</option>
  128. </select>
  129. </div>
  130. </div>
  131. <div class="form-group row">
  132. <div class="col-md-6">
  133. <label>Module</label>
  134. <input class="form-control" placeholder="Module" type="text" name="module" value />
  135. </div>
  136. <div class="col-md-6">
  137. <label>Week Number</label>
  138. <input class="form-control" placeholder="Week Number" type="text" name="week" value />
  139. </div>
  140. </div>
  141. <div class="form-group row">
  142. <div class="col-md-6">
  143. <label>Bedrooms</label>
  144. <select class="form-control" name="bedrooms">
  145. <option value>Please select Bedrooms</option>
  146. <option value="Studio">Studio</option>
  147. <option value="1">1</option>
  148. <option value="2">2</option>
  149. <option value="3">3</option>
  150. <option value="4">4</option>
  151. <option value="5">5</option>
  152. <option value="6">6</option>
  153. </select>
  154. </div>
  155. <div class="col-md-6">
  156. <label>Sleeps maximum</label>
  157. <select class="form-control" name="sleeps">
  158. <option value>Please select Sleeps maximum</option>
  159. <option value="2">2</option>
  160. <option value="4">4</option>
  161. <option value="6">6</option>
  162. <option value="8">8</option>
  163. <option value="10">10</option>
  164. <option value="12">12</option>
  165. </select>
  166. </div>
  167. </div>
  168. <div class="form-group row">
  169. <div class="col-md-6">
  170. <label>Unit number</label>
  171. <input class="form-control" placeholder="Unit Number" type="text" name="unit" value />
  172. </div>
  173. <div class="col-md-6">
  174. <label>Owner</label>
  175. <input class="form-control" placeholder="Owner" type="text" name="owner" value />
  176. </div>
  177. </div>
  178. <div class="form-group row">
  179. <div class="col-md-6">
  180. <label>Levy</label>
  181. <input
  182. class="form-control"
  183. placeholder="Levy"
  184. type="number"
  185. step="any"
  186. name="levy"
  187. value
  188. />
  189. </div>
  190. </div>
  191. <div class="form-group row">
  192. <div class="col-md-6">
  193. <p>Has your week been spacebanked for the current year?</p>
  194. <div class="form-check">
  195. <input
  196. class="form-check-input"
  197. type="radio"
  198. name="spacebankedyear"
  199. id="spacebankedyearyes"
  200. value="Yes"
  201. checked
  202. />
  203. <label class="form-check-label" for="spacebankedyearyes">Yes</label>
  204. </div>
  205. <div class="form-check">
  206. <input
  207. class="form-check-input"
  208. type="radio"
  209. name="spacebankedyear"
  210. id="spacebankedyearno"
  211. value="No"
  212. checked
  213. />
  214. <label class="form-check-label" for="spacebankedyearno">No</label>
  215. </div>
  216. </div>
  217. <div class="col-md-6">
  218. <label for="If yes, please confirm with whom"></label>
  219. <select class="form-control" name="spacebankOwner">
  220. <option value>If yes, please confirm with whom</option>
  221. <option value="Dial an Exchange">Dial an Exchange</option>
  222. <option value="RCI">RCI</option>
  223. <option value="First Exchange">First Exchange</option>
  224. <option value="iExchange">iExchange</option>
  225. <option value="Interval International">Interval International</option>
  226. </select>
  227. </div>
  228. </div>
  229. <br />
  230. <hr />
  231. <br />
  232. <h3>Share transfer information</h3>
  233. <br />
  234. <tr>
  235. <td>1. With respect to my timeshare module/week, I confirm that:</td>
  236. </tr>
  237. <div class="form-group row">
  238. <label
  239. for="name"
  240. class="col-form-label col-md-8"
  241. align="left"
  242. >1.1 All levy amounts for the current cycle have been paid in full</label>
  243. <div class="col-md-4">
  244. <div class="form-check form-check-inline">
  245. <input class="form-check-input" type="radio" name="paid" value="Yes" checked />
  246. <label class="form-check-label" for="paid">Yes</label>
  247. </div>
  248. <div class="form-check form-check-inline">
  249. <input class="form-check-input" type="radio" name="paid" value="No" checked />
  250. <label class="form-check-label" for="paid">No</label>
  251. </div>
  252. </div>
  253. </div>
  254. <hr />
  255. <div class="form-group row">
  256. <label
  257. for="name"
  258. class="col-form-label col-md-8"
  259. align="left"
  260. >1.2 My week is placed for rental this year</label>
  261. <div class="col-md-4">
  262. <div class="form-check form-check-inline">
  263. <input class="form-check-input" type="radio" name="rental" value="Yes" checked />
  264. <label class="form-check-label" for="paidyes">Yes</label>
  265. </div>
  266. <div class="form-check form-check-inline">
  267. <input class="form-check-input" type="radio" name="rental" value="No" checked />
  268. <label class="form-check-label" for="paidno">No</label>
  269. </div>
  270. </div>
  271. </div>
  272. <hr />
  273. <div class="form-group row">
  274. <label
  275. for="name"
  276. class="col-form-label col-md-8"
  277. align="left"
  278. >1.3 I/We bought the timeshare module/week on the following date:</label>
  279. <div class="col-md-4">
  280. <input type="date" class="form-control" name="date" value />
  281. </div>
  282. </div>
  283. <hr />
  284. <div class="form-group row">
  285. <label
  286. for="name"
  287. class="col-form-label col-md-8"
  288. align="left"
  289. >1.4 The purchase price for which I/we bought timeshare module/week was:</label>
  290. <div class="col-md-4">
  291. <input
  292. class="form-control"
  293. type="number"
  294. step="any"
  295. name="purchasePrice"
  296. placeholder="R"
  297. value
  298. />
  299. </div>
  300. </div>
  301. <hr />
  302. <div class="form-group row">
  303. <label
  304. for="name"
  305. class="col-form-label col-md-8"
  306. align="left"
  307. >1.5 I/We bought the timeshare module/week for the following dates for the current year:</label>
  308. <div class="col-md-4">
  309. Arrival Date :
  310. <input type="date" class="form-control" name="occupationDate1" value />
  311. Departure Date :
  312. <input
  313. type="date"
  314. class="form-control"
  315. name="occupationDate2"
  316. value
  317. />
  318. </div>
  319. </div>
  320. <hr />
  321. <div class="form-group row">
  322. <label
  323. for="name"
  324. class="col-form-label col-md-8"
  325. align="left"
  326. >1.6 The selling price for the timeshare module/week for which I/we want to sell is: (Including Vat)</label>
  327. <div class="col-md-4">
  328. <input
  329. class="form-control"
  330. type="number"
  331. step="any"
  332. name="sellingPrice"
  333. placeholder="R"
  334. value
  335. />
  336. </div>
  337. </div>
  338. <hr />
  339. <div class="form-group row">
  340. <label
  341. for="name"
  342. class="col-form-label col-md-8"
  343. align="left"
  344. >1.7 Estate agent’s commission agreed to (state Rand value)</label>
  345. <div class="col-md-4">
  346. <input
  347. class="form-control"
  348. type="number"
  349. step="any"
  350. name="commission"
  351. placeholder="R"
  352. value
  353. />
  354. </div>
  355. </div>
  356. <hr />
  357. <div class="form-group row">
  358. <label
  359. for="name"
  360. class="col-form-label col-md-8"
  361. align="left"
  362. >1.8 Mandate to sell timeshare</label>
  363. <div class="col-md-4">
  364. <input class="btn btn-b-n" type="file" name="mandate" value />
  365. </div>
  366. </div>
  367. <button type="submit" class="btn btn-b-n btn-lg">Submit</button>
  368. <hr />
  369. <p>* A listing fee of R380 including VAT is payable to list your timeshare week/module on the Uni-Vate website</p>
  370. <br />
  371. <br />
  372. <p style="text-align:center;">
  373. To rent your week out
  374. <a href="https://www.tradeunipoint.com/" target="_blank">click here</a>
  375. </p>
  376. </form>
  377. </div>
  378. </div>
  379. </div>
  380. </template>
  381. <script>
  382. import { mapState, mapActions } from 'vuex';
  383. export default {
  384. name: 'TimeshareToSell',
  385. created() {
  386. this.initTimeshare();
  387. },
  388. computed: {
  389. ...mapState('timeshare', [
  390. 'resorts',
  391. 'regions',
  392. 'detailedRegion',
  393. 'seasons',
  394. 'unitConfigurationList',
  395. 'resortBedrooms',
  396. 'maxBedrooms',
  397. 'bankedEntities',
  398. 'sellItem',
  399. 'agencies',
  400. 'agents',
  401. ]),
  402. refAgent() {
  403. return this.sellItem && this.sellItem.referedByAgent;
  404. },
  405. },
  406. methods: {
  407. changeRef() {
  408. this.sellItem.referedByAgent = !this.sellItem.referedByAgent;
  409. },
  410. ...mapActions('timeshare', ['initTimeshare']),
  411. },
  412. };
  413. </script>