Commit 95b8dfd6 by 前端

第二轮测试BUG修复

1 parent 9ba27063
<template>
<el-dialog id="baseDialog" top="15vh" :close-on-click-modal="false" :close-on-press-escape="true"
:title="dialogConfig.title" :width="dialogConfig.width" :visible.sync="visible" :show-close="config.showClose"
class="noborder" :append-to-body="config.appendToBody">
<el-dialog id="baseDialog"
top="15vh"
:close-on-click-modal="false"
:close-on-press-escape="true"
:title="dialogConfig.title"
:width="dialogConfig.width"
:visible.sync="visible"
:show-close="config.showClose"
class="noborder"
:append-to-body="config.appendToBody">
<slot />
<div slot="footer" v-if="config.isShowFooter">
<el-button type="primary" @click="confirmBtn">
<div slot="footer"
v-if="config.isShowFooter">
<el-button type="primary"
@click="confirmBtn"
:loading="$store.state.d2admin.loading.value">
{{ config.confirm_name }}
</el-button>
<el-button v-preventReClick @click="visible = false">
<el-button v-preventReClick
@click="visible = false">
{{ config.cancel_name }}
</el-button>
</div>
......
......@@ -4,7 +4,7 @@
:dialog-config="dialogConfig.config"
@closeDialog="handleDetailClose">
<div class="detail-content"
v-if="dialogShow">
v-loading="loading">
<div class="merchant-info">
<div class="transferOut">
<div class="transferOut-name">{{ detailInfo.transferOutMerchantName }}</div>
......@@ -164,6 +164,7 @@ export default {
transferAccountsStatusShow: deepClone(transferAccountsStatusShow),
sceneTypeOpts: deepClone(sceneType),
transferTypeShow: deepClone(transferTypeShow),
loading: true
}
},
methods: {
......@@ -174,6 +175,7 @@ export default {
},
getDetail() {
transferAccountsRecordDetail({ orderCode: this.paramsObj.orderCode }).then(res => {
this.loading = false
this.detailInfo = res
let _logs = this.detailInfo.logs
if (_logs && _logs.length > 0) {
......
......@@ -45,7 +45,10 @@ export default {
label: '备注',
name: 'remark',
type: 'input',
maxlength: '50'
maxlength: 50,
inputType: 'textarea',
showLimit: true,
rows: 4
}],
baseData: {
// shippingEntityList: []
......
......@@ -47,7 +47,11 @@
prop="remark"
class="pdt">
<el-input v-model="cashForm.remark"
type="textarea"
maxlength="50"
placeholder="请输入备注"
show-word-limit
:rows="4"
style="width: 310px" />
<p>
财务确认后,转账业务单据自动流转至银盛完成正式转账。
......
......@@ -44,7 +44,10 @@ export default {
label: '驳回原因',
name: 'remark',
type: 'input',
maxlength: '50'
maxlength: 50,
inputType: 'textarea',
showLimit: true,
rows: 4
}],
baseData: {
......
......@@ -238,10 +238,11 @@ export default {
prop: 'transferInMerchantName',
width: '160px'
}, {
label: '转账金额',
label: '转账金额/元',
prop: 'transferTotalAmount',
width: '100px',
formatter: (cellValue) => {
return cellValue.transferTotalAmount ? '¥' + cellValue.transferTotalAmount : ''
return cellValue.transferTotalAmount ? cellValue.transferTotalAmount : ''
}
}, {
label: '费用类型',
......
......@@ -21,7 +21,7 @@
:value="item.merchantId" />
</el-select>
<p>
银盛账户余额:{{(balance || balance == 0)?balance:'-'}}
银盛账户余额:{{(balance || balance === 0)?balance:'-'}}
</p>
</el-form-item>
<el-form-item label="提现金额:"
......@@ -29,6 +29,7 @@
<el-input v-model="infoForm.totalAmount"
placeholder="请输入提现金额"
style="width: 310px"
:disabled="totalAmountDisabled"
@input="handleUpgradeNum" />
</el-form-item>
<el-form-item label="财务管理员:"
......@@ -116,7 +117,8 @@ export default {
administratorsList: [],
merchantList: []
},
balance: ''
balance: '',
totalAmountDisabled: true
}
},
......@@ -172,9 +174,15 @@ export default {
},
getBankBalance(val) {
this.infoForm.totalAmount = ''
this.balance = ''
getBankBalance({ merchantId: val }).then(res => {
if (res || res == 0) {
this.balance = res
if (this.balance) {
this.totalAmountDisabled = false
} else {
this.totalAmountDisabled = true
}
}
})
},
......@@ -183,6 +191,9 @@ export default {
if (this.balance) {
maxVal = this.balance
}
// else {
// newVal = ''
// }
this.infoForm.totalAmount = limitPrice(newVal, this.oldVal.totalAmount, 6, 2, 0, maxVal)
this.oldVal.totalAmount = this.infoForm.totalAmount
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!