Commit 3f59282e authored by 786817560's avatar 786817560

'修改预计还款日期'

parent bddcc690
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-09-29 10:02:11 * @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-10-21 11:16:28 * @LastEditTime: 2019-10-21 14:00:54
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
--> -->
...@@ -226,7 +226,7 @@ export default { ...@@ -226,7 +226,7 @@ export default {
}, },
} }
</script> </script>
<style lang='less' > <style lang='less' type="text/less">
#contract-details { #contract-details {
.all{ .all{
position: absolute; position: absolute;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Descrip""/>User Settings Edit * @Descrip""/>User Settings Edit
* @Author: your name * @Author: your name
* @Date: 2019-09-29 20:31:00 * @Date: 2019-09-29 20:31:00
* @LastEditTime: 2019-10-18 16:40:49 * @LastEditTime: 2019-10-21 15:17:55
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -58,7 +58,9 @@ ...@@ -58,7 +58,9 @@
</item> </item>
<item> <item>
<div slot="name" class="font-color">预计付款日</div> <div slot="name" class="font-color">预计付款日</div>
<input slot="content" placeholder="YYYY-MM-DD" > <!-- <input slot="content" placeholder="YYYY-MM-DD" readonly> -->
<div slot="content">{{ dates }}</div>
<img src="@/assets/trial/date.png" alt="" class="date-pic" @click="showTime('YYYY-MM-DD')">
</item> </item>
<item :showArrow="true"> <item :showArrow="true">
<div slot="name" class="font-color">还款周期</div> <div slot="name" class="font-color">还款周期</div>
...@@ -90,6 +92,7 @@ export default { ...@@ -90,6 +92,7 @@ export default {
name: 'FinancingDetails', name: 'FinancingDetails',
data () { data () {
return { return {
dates: '',
plan_price: '', plan_price: '',
price_date_to: '', price_date_to: '',
} }
...@@ -116,11 +119,28 @@ export default { ...@@ -116,11 +119,28 @@ export default {
name: 'FinancDetails', name: 'FinancDetails',
}) })
}, },
showTime (format) {
let vm = this
hlsPopup.showTime({
nowDate: new Date().toLocaleDateString(),
format: format,
callback: (date) => {
// alert(date)
vm.dates = date
},
})
},
}, },
} }
</script> </script>
<style lang='less' scoped> <style lang='less' scoped>
#details1 { #details1 {
.date-pic {
height: 17px;
width: 17px;
margin-top: 13px;
margin-left: 4px;
}
.h-header-btn { .h-header-btn {
img { img {
width: 16px; width: 16px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment