|
|
@ -9,13 +9,14 @@ |
|
|
|
<el-option label="身份证" :value="83"> </el-option> |
|
|
|
<el-option label="身份证" :value="83"> </el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="凭证号码" required> |
|
|
|
<el-form-item label="凭证号码" prop="voucherNumber"> |
|
|
|
<div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')"> |
|
|
|
<!-- <div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')"> |
|
|
|
<p>请刷卡</p> |
|
|
|
<p>请刷卡</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-else> |
|
|
|
<div v-else> |
|
|
|
<el-input disabled ref="voucherNumber" maxlength="20" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> |
|
|
|
<el-input disabled ref="voucherNumber" maxlength="20" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> |
|
|
|
</div> |
|
|
|
</div> --> |
|
|
|
|
|
|
|
<el-input @blur="getDataBlur" ref="voucherNumber" maxlength="20" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="币种" prop="currency"> |
|
|
|
<el-form-item label="币种" prop="currency"> |
|
|
|
<el-select v-model="form.currency" disabled placeholder="请选择" ref="currency"> |
|
|
|
<el-select v-model="form.currency" disabled placeholder="请选择" ref="currency"> |
|
|
@ -101,7 +102,7 @@ |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js' |
|
|
|
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js' |
|
|
|
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, messageIdCard,messageCard, messagePassword } from '@/utils/utilFunction.js'; |
|
|
|
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, messageIdCard,messageCard, messagePassword, inputListen } from '@/utils/utilFunction.js'; |
|
|
|
|
|
|
|
|
|
|
|
const moduleName = 'usefulPhrases/accoumtClosed' |
|
|
|
const moduleName = 'usefulPhrases/accoumtClosed' |
|
|
|
import { mapMutations, mapGetters } from 'vuex' |
|
|
|
import { mapMutations, mapGetters } from 'vuex' |
|
|
@ -150,7 +151,6 @@ export default{ |
|
|
|
this.form.signDate = signDate |
|
|
|
this.form.signDate = signDate |
|
|
|
this.form.voucherNumber = voucherNumber |
|
|
|
this.form.voucherNumber = voucherNumber |
|
|
|
this.form.depositTerm = depositTerm |
|
|
|
this.form.depositTerm = depositTerm |
|
|
|
console.log(depositTerm) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -199,6 +199,13 @@ export default{ |
|
|
|
signDate:'起息日期', // |
|
|
|
signDate:'起息日期', // |
|
|
|
}, |
|
|
|
}, |
|
|
|
rules: { |
|
|
|
rules: { |
|
|
|
|
|
|
|
voucherNumber: [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
required: true, |
|
|
|
|
|
|
|
message: '请输入凭证号码', |
|
|
|
|
|
|
|
trigger: 'blur' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
], |
|
|
|
customerName: vercustomer, |
|
|
|
customerName: vercustomer, |
|
|
|
currency: [ |
|
|
|
currency: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -308,6 +315,23 @@ export default{ |
|
|
|
setPopId: 'system/setPopId', |
|
|
|
setPopId: 'system/setPopId', |
|
|
|
setTipsOperate: 'system/setTipsOperate' |
|
|
|
setTipsOperate: 'system/setTipsOperate' |
|
|
|
}), |
|
|
|
}), |
|
|
|
|
|
|
|
getDataBlur() { |
|
|
|
|
|
|
|
if(!this.form.voucherNumber) { |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
const { currency, userName, depositNumber, goldLogo, capital, interestRate, interest, totalMoney, signDate, voucherNumber, depositTerm } = this.dataFlow |
|
|
|
|
|
|
|
this.form.currency = currency |
|
|
|
|
|
|
|
this.form.customerName = userName |
|
|
|
|
|
|
|
this.form.depositNumber = depositNumber |
|
|
|
|
|
|
|
this.form.goldLogo = goldLogo |
|
|
|
|
|
|
|
this.form.capital = capital |
|
|
|
|
|
|
|
this.form.interestRate = interestRate |
|
|
|
|
|
|
|
this.form.interest = interest |
|
|
|
|
|
|
|
this.form.totalMoney = totalMoney |
|
|
|
|
|
|
|
this.form.signDate = signDate |
|
|
|
|
|
|
|
// this.form.voucherNumber = voucherNumber |
|
|
|
|
|
|
|
this.form.depositTerm = depositTerm |
|
|
|
|
|
|
|
}, |
|
|
|
getFormData(){ |
|
|
|
getFormData(){ |
|
|
|
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,59,157' |
|
|
|
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,59,157' |
|
|
|
const cards = { |
|
|
|
const cards = { |
|
|
@ -422,7 +446,8 @@ export default{ |
|
|
|
}, |
|
|
|
}, |
|
|
|
ismoney: ismoney, |
|
|
|
ismoney: ismoney, |
|
|
|
checkHanzi: checkHanzi, |
|
|
|
checkHanzi: checkHanzi, |
|
|
|
checkName: checkName |
|
|
|
checkName: checkName, |
|
|
|
|
|
|
|
inputListen |
|
|
|
}, |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
computed: { |
|
|
|
...mapGetters({ |
|
|
|
...mapGetters({ |
|
|
|