...
|
...
|
@@ -32,7 +32,7 @@ |
|
|
/>
|
|
|
</Form-item>
|
|
|
<Form-item label="提现金额" prop="withdrawAmount">
|
|
|
<input v-model="data.withdrawAmount" disabled placeholder="请选择日期获取提现金额" />
|
|
|
<input v-model="data.withdrawAmount" :disabled="isAble" placeholder="请选择日期获取提现金额" />
|
|
|
</Form-item>
|
|
|
<Form-item label="提现到帐号">
|
|
|
<span>{{ data.withdrawAccount }}</span>
|
...
|
...
|
@@ -176,9 +176,6 @@ export default { |
|
|
}
|
|
|
},
|
|
|
getAvailableAmount() {
|
|
|
const params = {};
|
|
|
params.beginTime = this.beginStr;
|
|
|
params.endTime = this.endStr;
|
|
|
if (this.beginStr > this.endStr) {
|
|
|
this.$Notice.error({
|
|
|
title: '时间范围异常',
|
...
|
...
|
@@ -186,7 +183,7 @@ export default { |
|
|
});
|
|
|
return;
|
|
|
}
|
|
|
this.financeService.shopGetAvailableAmount(params).then(result => {
|
|
|
this.financeService.shopGetAvailableAmount(this.params).then(result => {
|
|
|
if (result.code === 200) {
|
|
|
this.data.withdrawAmount = result.data.availableAmount;
|
|
|
} else {
|
...
|
...
|
@@ -198,10 +195,10 @@ export default { |
|
|
});
|
|
|
},
|
|
|
changeBeginStr(value) {
|
|
|
this.beginStr = value;
|
|
|
this.params.beginTime = value;
|
|
|
},
|
|
|
changeEndStr(value) {
|
|
|
this.endStr = value;
|
|
|
this.params.endTime = value;
|
|
|
this.getAvailableAmount();
|
|
|
},
|
|
|
},
|
...
|
...
|
|