|
|
|
@ -14,13 +14,13 @@ |
|
|
|
|
<el-input :value="form.accountNumber" @input="val => checkHanzi(val, form, 'accountNumber')" ref="accountNumber"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="出票人名称" prop="accountName"> |
|
|
|
|
<el-input :value="form.accountName" @input="val => checkHanzi(val, form, 'accountName')" ref="accountName"></el-input> |
|
|
|
|
<el-input :value="form.accountName" @input="val => checkName(val, form, 'accountName')" ref="accountName"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="收款人账号" prop="collectionNumber"> |
|
|
|
|
<el-input :value="form.collectionNumber" @input="val => checkHanzi(val, form, 'collectionNumber')" ref="collectionNumber"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="收款人名称" prop="collectionName"> |
|
|
|
|
<el-input :value="form.collectionName" @input="val => checkHanzi(val, form, 'collectionName')" ref="collectionName"></el-input> |
|
|
|
|
<el-input :value="form.collectionName" @input="val => checkName(val, form, 'collectionName')" ref="collectionName"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="币种" prop="currencyType"> |
|
|
|
|
<el-input disabled v-model="form.currencyType" ref="currencyType"></el-input> |
|
|
|
@ -118,7 +118,7 @@ |
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
|
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js' |
|
|
|
|
import { myValidate, checkHanzi, ismoney } from '@/utils/utilFunction.js' |
|
|
|
|
import { myValidate, checkHanzi, checkName, ismoney } from '@/utils/utilFunction.js' |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
name: 'index', |
|
|
|
@ -199,7 +199,8 @@ export default { |
|
|
|
|
}, this.$refs)); |
|
|
|
|
}, |
|
|
|
|
ismoney: ismoney, |
|
|
|
|
checkHanzi: checkHanzi |
|
|
|
|
checkHanzi: checkHanzi, |
|
|
|
|
checkName: checkName |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
</script> |
|
|
|
|