|
|
|
@ -13,7 +13,7 @@ |
|
|
|
|
<el-form ref="form" :model="form" label-width="150px"> |
|
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
|
<el-form-item label="本行收款账号" required> |
|
|
|
|
<el-input v-model="form.shroffAccountNumber"></el-input> |
|
|
|
|
<el-input :value="form.shroffAccountNumber" @input="val => checkHanzi(val, form, 'shroffAccountNumber')"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="金额" required> |
|
|
|
|
<el-input :value="form.money" @input="val => ismoney(val, form, 'money')"></el-input> |
|
|
|
@ -26,13 +26,13 @@ |
|
|
|
|
</el-date-picker> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="他行收款户名"> |
|
|
|
|
<el-input v-model="form.otherAccountUsername"></el-input> |
|
|
|
|
<el-input :value="form.otherAccountUsername" @input="val => checkHanzi(val, form, 'otherAccountUsername')"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="交换行号"> |
|
|
|
|
<el-input v-model="form.exchangeNumber"></el-input> |
|
|
|
|
<el-input :value="form.exchangeNumber" @input="val => checkHanzi(val, form, 'exchangeNumber')"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="报单号"> |
|
|
|
|
<el-input v-model="form.customsNumber"></el-input> |
|
|
|
|
<el-input :value="form.customsNumber" @input="val => checkHanzi(val, form, 'customsNumber')"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="收款户名" required> |
|
|
|
|
<el-input v-model="form.accountUsername"></el-input> |
|
|
|
@ -51,10 +51,10 @@ |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="他行收款账号" required> |
|
|
|
|
<el-input v-model="form.otherAccountNumber"></el-input> |
|
|
|
|
<el-input :value="form.otherAccountNumber" @input="val => checkHanzi(val, form, 'otherAccountNumber')"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="凭证号码" required> |
|
|
|
|
<el-input v-model="form.voucherNumber"></el-input> |
|
|
|
|
<el-input :value="form.voucherNumber" @input="val => checkHanzi(val, form, 'voucherNumber')"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="交换行名"> |
|
|
|
|
<el-input v-model="form.exchangeName"></el-input> |
|
|
|
@ -93,7 +93,7 @@ |
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
|
import { mapState } from 'vuex' |
|
|
|
|
import { checkRequired, ismoney, inputListen } from '@/utils/utilFunction.js' |
|
|
|
|
import { checkRequired, ismoney, inputListen, checkHanzi } from '@/utils/utilFunction.js' |
|
|
|
|
export default { |
|
|
|
|
name: 'index', |
|
|
|
|
components:{}, |
|
|
|
@ -140,7 +140,8 @@ export default { |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
ismoney: ismoney, |
|
|
|
|
inputListen: inputListen |
|
|
|
|
inputListen: inputListen, |
|
|
|
|
checkHanzi: checkHanzi |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
</script> |
|
|
|
|