|
|
|
@ -55,7 +55,7 @@ |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<template v-if="form.transactionType === 'RECHARGE'"> |
|
|
|
|
<el-form-item label="企业收款账户" prop="companyBankCardArr"> |
|
|
|
|
<el-form-item label="企业收款账户"> |
|
|
|
|
<el-cascader |
|
|
|
|
:options="cascaderList" |
|
|
|
|
v-model="form.companyBankCardArr" |
|
|
|
@ -102,7 +102,6 @@ |
|
|
|
|
form.transactionType === 'RECHARGE' |
|
|
|
|
" |
|
|
|
|
label="线下交易凭证" |
|
|
|
|
prop="offlineTransactionProof" |
|
|
|
|
> |
|
|
|
|
<el-upload |
|
|
|
|
:action="uploadUrl" |
|
|
|
@ -120,7 +119,7 @@ |
|
|
|
|
</el-dialog> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item label="交易说明" prop="reverseRemark"> |
|
|
|
|
<el-form-item label="交易说明"> |
|
|
|
|
<el-input |
|
|
|
|
type="textarea" |
|
|
|
|
:rows="2" |
|
|
|
@ -158,10 +157,10 @@ export default { |
|
|
|
|
if (this.form.companyId) callback(); |
|
|
|
|
else callback("请选择公司"); |
|
|
|
|
}; |
|
|
|
|
let validatorofflineTransactionProof = (rule, value, callback) => { |
|
|
|
|
if (this.form.offlineTransactionProof) callback(); |
|
|
|
|
else callback("请上传凭证"); |
|
|
|
|
}; |
|
|
|
|
// let validatorofflineTransactionProof = (rule, value, callback) => { |
|
|
|
|
// if (this.form.offlineTransactionProof) callback(); |
|
|
|
|
// else callback("请上传凭证"); |
|
|
|
|
// }; |
|
|
|
|
return { |
|
|
|
|
uploadUrl: |
|
|
|
|
process.env.VUE_APP_ENV === "development" |
|
|
|
@ -198,13 +197,6 @@ export default { |
|
|
|
|
transactionAmount: [ |
|
|
|
|
{ required: true, message: "请输入交易金额", trigger: "blur" }, |
|
|
|
|
], |
|
|
|
|
offlineTransactionProof: [ |
|
|
|
|
{ |
|
|
|
|
required: true, |
|
|
|
|
validator: validatorofflineTransactionProof, |
|
|
|
|
trigger: "change", |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
offlinePaymentCompany: [ |
|
|
|
|
{ |
|
|
|
|
required: true, |
|
|
|
@ -233,9 +225,6 @@ export default { |
|
|
|
|
trigger: "change", |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
reverseRemark: [ |
|
|
|
|
{ required: true, message: "请输入交易说明", trigger: "blur" }, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|