|
@@ -105,7 +105,7 @@
|
|
|
<view class="withdraw-head" >
|
|
|
<b class="asterisk">可提现金额</b>
|
|
|
<span>
|
|
|
- <view class="uni-input">{{info.chargingProfitAmount?info.chargingProfitAmount.toFixed(2):0}}元</view>
|
|
|
+ <view class="uni-input">{{info.chargingProfitAmount?showNumJP(info.chargingProfitAmount):0}}元</view>
|
|
|
|
|
|
</span>
|
|
|
</view>
|
|
@@ -316,7 +316,8 @@
|
|
|
|
|
|
|
|
|
},
|
|
|
- methods: {
|
|
|
+ methods: {
|
|
|
+
|
|
|
init() {
|
|
|
var _this=this.$refs.ucalendar
|
|
|
_this.init=()=>{
|
|
@@ -520,10 +521,10 @@
|
|
|
mask: true,
|
|
|
})
|
|
|
|
|
|
- API.profitDetailsExcel({
|
|
|
+ API.profitDetailsExcelByPersonal({
|
|
|
stationId:this.stationObj.id,
|
|
|
- yearMonth:this.queryTime,
|
|
|
-
|
|
|
+ endDate:this.endTime,
|
|
|
+ startDate:this.info.startTime
|
|
|
}).then((resDown) => {
|
|
|
uni.hideLoading()
|
|
|
if(resDown.data){
|
|
@@ -559,12 +560,19 @@
|
|
|
title: "加载中",
|
|
|
mask: true,
|
|
|
})
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ var obj={
|
|
|
+ stationId: this.stationObj.id,
|
|
|
+ accountType:this.userType,
|
|
|
+ endDate:this.endTime,
|
|
|
+ }
|
|
|
+ if(this.id){
|
|
|
+ obj.recordId=this.id
|
|
|
+ }
|
|
|
|
|
|
- API.queryWithdrawInfoByPersonal({
|
|
|
- stationId: this.stationObj.id,
|
|
|
-
|
|
|
- accountType:this.userType,
|
|
|
- }).then((res) => {
|
|
|
+ API.queryWithdrawInfoByPersonal(obj).then((res) => {
|
|
|
this.info = res.data.record;
|
|
|
this.info.endTime=this.endTime
|
|
|
this.info.stationName=this.stationObj.name
|
|
@@ -603,7 +611,8 @@
|
|
|
})
|
|
|
API.getWithdrawInfoByPersonal(this.id).then((res) => {
|
|
|
|
|
|
- this.info=res.data.record
|
|
|
+ this.info=res.data.record
|
|
|
+ this.endTime=this.info.endTime;
|
|
|
this.detailList=res.data.detailList
|
|
|
uni.hideLoading()
|
|
|
|
|
@@ -673,9 +682,10 @@
|
|
|
bindPickerChange4(e) {
|
|
|
var nowTime=new Date(this.nowTime)
|
|
|
var result=new Date(e.result)
|
|
|
- if(result<=nowTime){
|
|
|
- this.endTime =result;
|
|
|
- this.info.endTime= result;
|
|
|
+ if(result<=nowTime){
|
|
|
+
|
|
|
+ this.endTime =e.result;
|
|
|
+ this.info.endTime= e.result;
|
|
|
this.queryWithdrawInfo()
|
|
|
}
|
|
|
|