|
@@ -27,7 +27,7 @@
|
|
|
<p>{{item.stationName}}</p>
|
|
|
</view>
|
|
|
<view class="detailed-item-num">
|
|
|
- <h2>{{item.applicationAmount.toFixed(2)}}元</h2>
|
|
|
+ <h2>{{item.applicationAmount?item.applicationAmount.toFixed(2):'0'}}元</h2>
|
|
|
|
|
|
<p>{{showTime2(info.createTime)}}</p>
|
|
|
</view>
|
|
@@ -39,7 +39,7 @@
|
|
|
|
|
|
</view>
|
|
|
|
|
|
- <u-button v-if="info.status" @click="gotoUrl('pagesFinance/user/applicationForWithdrawal')" >创建提现单</u-button>
|
|
|
+ <u-button v-if="info.status" @click="uuid=new Date().getTime(),gotoUrl('pagesFinance/user/applicationForWithdrawal?uuid='+uuid)" >创建提现单</u-button>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -49,6 +49,7 @@
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
+
|
|
|
pageIndex: 1,
|
|
|
recordsTotal: 0,
|
|
|
list: [],
|
|
@@ -58,6 +59,7 @@
|
|
|
intro: '',
|
|
|
},
|
|
|
showMap:null,
|
|
|
+ uuid:""
|
|
|
|
|
|
}
|
|
|
},
|
|
@@ -74,6 +76,15 @@
|
|
|
this.myLoadmore();
|
|
|
}
|
|
|
},
|
|
|
+ onShow(){
|
|
|
+ var obj=this.carhelp.get("withdrawRecord")
|
|
|
+ if(obj&&obj.uuid==this.uuid){
|
|
|
+
|
|
|
+ this.list=[];
|
|
|
+ this.pageIndex = 1;
|
|
|
+ this.getList()
|
|
|
+ }
|
|
|
+ },
|
|
|
methods: {
|
|
|
showTime(name){
|
|
|
if(!name){
|
|
@@ -88,8 +99,9 @@
|
|
|
return name.substring(5);
|
|
|
},
|
|
|
gotoItem(item){
|
|
|
+ this.uuid=new Date().getTime()
|
|
|
if(item.status=='-1'){
|
|
|
- this.gotoUrl('pagesFinance/user/applicationForWithdrawal?id='+item.id)
|
|
|
+ this.gotoUrl('pagesFinance/user/applicationForWithdrawal?id='+item.id+"&uuid="+this.uuid)
|
|
|
}else{
|
|
|
this.gotoUrl('pagesFinance/user/applicationDetails?id='+item.id)
|
|
|
}
|