中秋更新
This commit is contained in:
@@ -33,6 +33,10 @@
|
||||
<view style="text-align: center;">账户余额</view>
|
||||
<view style="text-align: center;">{{detailsData.gasStationBalance|price}}</view>
|
||||
</view>
|
||||
<view v-if="!routerIndex">
|
||||
<view style="text-align: center;">企业余额</view>
|
||||
<view style="text-align: center;">{{detailsData.totalBalance|price}}</view>
|
||||
</view>
|
||||
<view>
|
||||
<uni-icons color="#FFFFFF" type="right" size="30"></uni-icons>
|
||||
</view>
|
||||
@@ -164,7 +168,6 @@
|
||||
if (e.jsData) {
|
||||
this.dedata = JSON.parse(e.jsData);
|
||||
this.getdata(JSON.parse(e.jsData));
|
||||
console.log(this.dedata,'*******')
|
||||
}
|
||||
},
|
||||
filters:{
|
||||
@@ -201,7 +204,6 @@
|
||||
|
||||
},
|
||||
getdata(e) {
|
||||
console.log(this.routerIndex ,'**************')
|
||||
sy[(this.routerIndex ? 'findSiteMovingPinVo':'findEnterpriSemovingPinVo')]({
|
||||
[((this.routerIndex ? 'siteId':'companyId'))]:e.id
|
||||
}).then(res => {
|
||||
@@ -258,18 +260,20 @@
|
||||
url: '../contribution/contribution?jsData=' + JSON.stringify(Object.assign(this
|
||||
.dedata, {
|
||||
liters: this.enterpriseData.liters,
|
||||
enterpriseContributionAmount: this.enterpriseData
|
||||
.enterpriseContributionAmount
|
||||
enterpriseContributionAmount: this.enterpriseData.enterpriseContributionAmount,
|
||||
...this.detailsData
|
||||
}))
|
||||
})
|
||||
break;
|
||||
case 2:
|
||||
console.log(this.dedata,'rechargeRecordrechargeRecordrechargeRecordrechargeRecord')
|
||||
uni.navigateTo({
|
||||
url: '../rechargeRecord/rechargeRecord?jsData=' + JSON.stringify(Object.assign(this
|
||||
.dedata, {
|
||||
routerIndex:this.routerIndex,
|
||||
gasStationBalance: this.detailsData.gasStationBalance,
|
||||
amountYesterday: this.detailsData.amountYesterday
|
||||
amountYesterday: this.detailsData.amountYesterday,
|
||||
...this.detailsData
|
||||
}))
|
||||
})
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user