20240205
luoJunYong.123 3 years ago
parent 5e20f89f92
commit 614f4662a0
  1. 5
      src/pages/counter/list/index.vue
  2. 193
      src/pages/manage/list/acceptanceDraft/invoice.vue
  3. 16
      src/pages/manage/list/business/deposit.vue
  4. 8
      src/pages/manage/list/business/openAccount.vue
  5. 13
      src/pages/manage/list/business/transfer.vue
  6. 13
      src/pages/manage/list/business/withdrawal.vue
  7. 243
      src/pages/manage/list/cityWide/cityWideIn.vue
  8. 239
      src/pages/manage/list/cityWide/cityWideOut.vue
  9. 2
      src/pages/manage/list/client/consumerClient.vue
  10. 7
      src/pages/manage/list/personal/accountService/changePassword.vue
  11. 22
      src/pages/manage/list/personal/callDeposits/accountClosed.vue
  12. 15
      src/pages/manage/list/personal/callDeposits/openAccount.vue
  13. 7
      src/pages/manage/list/personal/currentAccount/accountCancellation.vue
  14. 18
      src/pages/manage/list/personal/currentAccount/deposit.vue
  15. 7
      src/pages/manage/list/personal/currentAccount/openAccount.vue
  16. 15
      src/pages/manage/list/personal/currentAccount/settle.vue
  17. 18
      src/pages/manage/list/personal/currentAccount/transferAccounts.vue
  18. 12
      src/pages/manage/list/personal/currentAccount/withdrawal.vue
  19. 17
      src/pages/manage/list/personal/timeDeposit/deposit.vue
  20. 6
      src/pages/manage/list/personal/timeDeposit/openAccount.vue
  21. 19
      src/pages/manage/list/personal/timeDeposit/withdrawal.vue
  22. 19
      src/pages/manage/list/personal/usefulPhrases/accountClosed.vue
  23. 14
      src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue
  24. 14
      src/pages/manage/list/personal/usefulPhrases/openAccount.vue
  25. 12
      src/pages/manage/list/servicesAccount/passwordChange.vue
  26. 139
      src/pages/manage/list/servicesAccount/passwordLost.vue
  27. 144
      src/pages/manage/list/servicesAccount/relieveLost.vue
  28. 16
      src/pages/manage/navbar/index.vue
  29. 18
      src/router/modules/counter.js
  30. 16
      src/utils/utilFunction.js
  31. 19
      src/utils/verify.js

@ -713,7 +713,7 @@ export default {
}
}
}
this.toggleGoods()
// this.toggleGoods()
if(this.popText == '密码器'){
if (this.nbm == 8){
let formList = []
@ -735,6 +735,7 @@ export default {
}else{
if (this.receptionList.length >0){
let formList = []
this.toggleGoods()
this.$message.success(`${this.popText}操作成功!`)
if (this.nbm == 0){ //
}else if (this.nbm == 1){ //
@ -917,6 +918,7 @@ export default {
this.$message.error('请从物品栏中拖拽所需资料');
}
}
},
toPart(){
this.$router.push('/index')
@ -1932,6 +1934,7 @@ export default {
@media screen and (min-width: 1200px) and (max-width: 1919px) {
.goods-dia {
height: 15vh;
width: 100%;
.justify-center {
max-height: 13vh;
}

@ -0,0 +1,193 @@
//
<template>
<div class="wrap">
<div class="flex mt-8 ml-12 text-xl">
<p>客户信息</p>
<i class="el-icon-arrow-right text-xl"></i>
<p>个人客户信息建立</p>
</div>
<div class="body">
<el-row :gutter="20">
<el-form ref="form" :model="form" label-width="140px">
<el-col :span="10" :offset="1">
<el-form-item prop="userName" label="出票人账号" required>
<el-input v-model="form.accountNumber"></el-input>
</el-form-item>
<el-form-item prop="userName" label="出票人名称">
<el-input v-model="form.accountName"></el-input>
</el-form-item>
<el-form-item prop="userName" label="收款人账号" required>
<el-input v-model="form.collectionNumber"></el-input>
</el-form-item>
<el-form-item prop="userName" label="收款人名称">
<el-input v-model="form.collectionName"></el-input>
</el-form-item>
<el-form-item label="币种">
<el-input disabled v-model="form.currencyType"></el-input>
</el-form-item>
<el-form-item prop="userName" label="汇票号码" required>
<el-input v-model="form.moneyOrderNumber"></el-input>
</el-form-item>
<el-form-item label="到期日期" required>
<el-date-picker
v-model="form.expireDate"
type="date"
placeholder="选择日期">
</el-date-picker>
</el-form-item>
<el-form-item prop="userName" label="汇划费金额">
<el-input :value="form.moneyOrderMoney" @input="val => ismoney(val, form, 'moneyOrderMoney')"></el-input>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item prop="userName" label="出票人行名">
<el-input v-model="form.accountTradeName"></el-input>
</el-form-item>
<el-form-item prop="userName" label="出票行地址">
<el-input v-model="form.tradeAddress"></el-input>
</el-form-item>
<el-form-item prop="userName" label="收款人行名">
<el-input v-model="form.collectionTradeName"></el-input>
</el-form-item>
<el-form-item label="票据类型">
<el-select v-model="form.billType" placeholder="请选择">
<el-option value="银行承兑汇票">银行承兑汇票</el-option>
</el-select>
</el-form-item>
<el-form-item prop="money" label="金额" required>
<el-input :value="form.money" @input="val => ismoney(val, form, 'money')"></el-input>
</el-form-item>
<el-form-item label="出票日期">
<el-date-picker
v-model="form.drawBillDate"
type="date"
placeholder="选择日期">
</el-date-picker>
</el-form-item>
<el-form-item label="是否转让">
<el-select v-model="form.isTransfer" placeholder="请选择">
<el-option value="是"></el-option>
<el-option value="否"></el-option>
</el-select>
</el-form-item>
<el-form-item prop="userName" label="手续费金额">
<el-input :value="form.serviceCharge" @input="val => ismoney(val, form, 'serviceCharge')"></el-input>
</el-form-item>
</el-col>
</el-form>
</el-row>
</div>
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
<!-- <el-dialog
style="margin-top:10vh"
:visible.sync="visible"
:modal="false"
width="40%"
:close-on-click-modal="false"
:show-close="false"
custom-class="data-dia">
<div slot="title" class="dia-header">
<div class="data-title">提交</div>
</div>
<div class="popBody" v-if="!authorization&&!success">
<h2>本业务需要授权</h2>
</div>
<div class="popBody" v-if="authorization&&!success">
<el-form ref="form" :model="disForm" label-width="80px">
<el-form-item label="授权柜员">
<el-input disabled v-model="disForm.name"></el-input>
</el-form-item>
<el-form-item label="授权柜员">
<el-input type="password" disabled v-model="disForm.pass"></el-input>
</el-form-item>
</el-form>
</div>
<div class="popBody" v-if="success">
<h2>完成表单form</h2>
</div>
<div class="popBtns">
<el-button class="close btn" @click="[visible = false,authorization=false,success=false]"> </el-button>
<el-button class="sure btn" type="primary" @click="popSure"> </el-button>
</div>
</el-dialog> -->
</div>
</template>
<script>
import { vername, vermob } from '@/utils/verify.js'
import { checkRequired, ismoney } from '@/utils/utilFunction.js'
export default {
name: 'index',
data() {
return {
visible: false,
form:{
//
accountNumber: '', //
collectionNumber: '', //
moneyOrderNumber: '', //
expireDate: '', //
money: '', //
//
accountName: '', //
collectionName: '', //
currencyType: 'CYC人民币', //
moneyOrderMoney: '', //
accountTradeName: '', //
tradeAddress: '', //
collectionTradeName: '', //
billType: '', //
drawBillDate: '', //
isTransfer: '否', //
serviceCharge: '' //
},
}
},
methods: {
//
submitForm(){
const requiredField = {
accountNumber: '出票人账号', //
collectionNumber: '收款人账号', //
moneyOrderNumber: '汇票号码', //
expireDate: '到期日期', //
money: '金额', //
}
if(checkRequired(this.form, requiredField)) {
console.log('校验成功')
}
},
ismoney: ismoney
}
}
</script>
<style lang="scss" scoped>
.wrap{
width: 100%;
display: flex;
flex-direction: column;
overflow: auto;
.title{
height: 60px;
display: flex;
align-items: center;
font-size: 20px;
padding-left: 50px;
}
.body{
margin-top: 50px;
}
.submitBtn{
width: 300px;
margin-top: 10vh;
font-size: 18px;
height: 68px;
border-radius: 10px;
left: 50%;
transform: translateX(-50%);
}
}
</style>

@ -21,11 +21,11 @@
</el-select>
</el-form-item>
<el-form-item label="存款金额" required>
<el-input v-model="form.depositNum"></el-input>
<el-input :value="form.depositNum" @input="val => ismoney(val, form, 'depositNum')"></el-input>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="客户姓名" required>
<el-form-item label="客户姓名" required prop="customerName" :rules="rules.customerName">
<el-input v-model="form.customerName"></el-input>
</el-form-item>
<el-form-item label="钞汇标识" required>
@ -33,7 +33,7 @@
<el-option label="钞户" value="钞户"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="利率(%)" required>
<el-form-item label="利率(%)" required prop="interestRate" :rules="rules.interestRate">
<el-input v-model="form.interestRate"></el-input>
</el-form-item>
</el-col>
@ -72,7 +72,8 @@
<script>
import { mapState } from 'vuex'
import { checkRequired } from '@/utils/utilFunction.js'
import { checkRequired, ismoney } from '@/utils/utilFunction.js'
import { vername, verrate } from '@/utils/verify.js'
export default {
name: 'index',
components:{},
@ -90,6 +91,10 @@ export default {
interestRate: '', //
abstract: '', //
},
rules: {
customerName: vername,
interestRate: verrate
},
second:[//
],
@ -116,7 +121,8 @@ export default {
console.log('检验成功')
}
}
},
ismoney: ismoney
}
};
</script>

@ -51,7 +51,7 @@
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="客户姓名" required>
<el-form-item label="客户姓名" required prop="customerName" :rules="rules.customerName">
<el-input v-model="form.customerName"></el-input>
</el-form-item>
<el-form-item label="账户性质" required>
@ -113,7 +113,8 @@
<script>
import { mapState } from 'vuex'
import { checkRequired } from '@/utils/utilFunction.js'
import { checkRequired, ismoney } from '@/utils/utilFunction.js'
import { vername, verrate } from '@/utils/verify.js'
export default {
name: 'index',
components:{},
@ -137,6 +138,9 @@ export default {
foreignCurrencyBumber: '', //
foreignCurrencyCertificate: '' //
},
rules: {
customerName: vername
},
second:[//
],

@ -34,12 +34,12 @@
<el-input v-model="form.transinNum"></el-input>
</el-form-item>
<el-form-item label="金额">
<el-input v-model="form.money"></el-input>
<el-input :value="form.money" @input="val => ismoney(val, form, 'money')"></el-input>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="客户姓名" required>
<el-form-item label="客户姓名" required prop="customerName" :rules="rules.customerName">
<el-input v-model="form.customerName"></el-input>
</el-form-item>
<el-form-item label="凭证类型" required>
@ -99,7 +99,8 @@
<script>
import { mapState } from 'vuex'
import { checkRequired } from '@/utils/utilFunction.js'
import { checkRequired, ismoney } from '@/utils/utilFunction.js'
import { vername, verrate } from '@/utils/verify.js'
export default {
name: 'index',
components:{},
@ -122,6 +123,9 @@ export default {
payWay: '印鉴', //
abstract: '', //
},
rules: {
customerName: vername
},
second:[//
],
@ -151,7 +155,8 @@ export default {
console.log('检验成功')
}
}
},
ismoney: ismoney
}
};
</script>

@ -35,7 +35,7 @@
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="客户姓名" required>
<el-form-item label="客户姓名" required prop="customerName" :rules="rules.customerName">
<el-input v-model="form.customerName"></el-input>
</el-form-item>
<el-form-item label="签发日期" required>
@ -51,7 +51,7 @@
</el-select>
</el-form-item>
<el-form-item label="金额" required>
<el-input v-model="form.money"></el-input>
<el-input :value="form.money" @input="val => ismoney(val, form, 'money')"></el-input>
</el-form-item>
</el-col>
<el-col :span="21" :offset="1">
@ -89,7 +89,8 @@
<script>
import { mapState } from 'vuex'
import { checkRequired } from '@/utils/utilFunction.js'
import { checkRequired, ismoney } from '@/utils/utilFunction.js'
import { vername, verrate } from '@/utils/verify.js'
export default {
name: 'index',
components:{},
@ -110,6 +111,9 @@ export default {
payWay: '', //
abstract: '', //
},
rules: {
customerName: vername
},
second:[//
],
@ -140,7 +144,8 @@ export default {
console.log('检验成功')
}
}
},
ismoney: ismoney
}
};
</script>

@ -0,0 +1,243 @@
//
<template>
<div class="wrap">
<div class="title">
<p>公司业务</p>
<i class="el-icon-arrow-right"></i>
<p>{{text}}</p>
</div>
<!-- 存款 -->
<div class="body">
<el-row :gutter="20" style="margin: 0">
<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-form-item>
<el-form-item label="金额" required>
<el-input :value="form.money" @input="val => ismoney(val, form, 'money')"></el-input>
</el-form-item>
<el-form-item label="提入日期">
<el-date-picker
v-model="form.insertDate"
type="date"
placeholder="选择日期">
</el-date-picker>
</el-form-item>
<el-form-item label="他行收款户名">
<el-input v-model="form.otherAccountUsername"></el-input>
</el-form-item>
<el-form-item label="交换行号">
<el-input v-model="form.exchangeNumber"></el-input>
</el-form-item>
<el-form-item label="报单号">
<el-input v-model="form.customsNumber"></el-input>
</el-form-item>
<el-form-item label="收款户名" required>
<el-input v-model="form.accountUsername"></el-input>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="币种">
<el-input v-model="form.currency"></el-input>
</el-form-item>
<el-form-item label="提出场次">
<el-input :value="form.proposeTime" @input="val => inputListen(val, form, 'proposeTime')"></el-input>
</el-form-item>
<el-form-item label="票据类型" required>
<el-select v-model="form.billTyoe" placeholder="请选择">
<el-option label="银行本票" value="银行本票"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="他行收款账号" required>
<el-input v-model="form.otherAccountNumber"></el-input>
</el-form-item>
<el-form-item label="凭证号码" required>
<el-input v-model="form.voucherNumber"></el-input>
</el-form-item>
<el-form-item label="交换行名">
<el-input v-model="form.exchangeName"></el-input>
</el-form-item>
<el-form-item label="摘要">
<el-input v-model="form.abstract"></el-input>
</el-form-item>
</el-col>
</el-form>
</el-row>
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
</div>
<el-dialog
style="margin-top:10vh"
:visible.sync="visible"
:modal="false"
width="40%"
:close-on-click-modal="false"
:show-close="false"
custom-class="data-dia"
>
<div slot="title" class="dia-header">
<div class="data-title">提交</div>
</div>
<div class="popBody">
<h2>本业务需要授权</h2>
</div>
<div class="popBtns">
<el-button class="close btn" @click="visible = false"> </el-button>
<el-button class="sure btn" type="primary" @click="visible = false"> </el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import { mapState } from 'vuex'
import { checkRequired, ismoney, inputListen } from '@/utils/utilFunction.js'
export default {
name: 'index',
components:{},
data() {
return {
text:'存款',/* 顶部文字 */
form:{
//
shroffAccountNumber: '', //
money: '', //
accountUsername: '', //
billTyoe: '银行本票', //
otherAccountNumber: '', //
voucherNumber: '', //
//
currency: 'CYC人民币', //
proposeTime: '', //
insertDate: '', //
otherAccountUsername: '', //
exchangeNumber: '', //
abstract: '', //
customsNumber: '', //
exchangeName: '' //
},
visible:false
}
},
created() {
},
methods: {
submitForm() {
const requiredField = {
shroffAccountNumber: '本行收款账号', //
money: '金额', //
accountUsername: '收款户名', //
billTyoe: '票据类型', //
otherAccountNumber: '他行收款账号', //
voucherNumber: '凭证号码', //
}
if(checkRequired(this.form, requiredField)) {
console.log('检验成功')
}
},
ismoney: ismoney,
inputListen: inputListen
}
};
</script>
<style lang="scss" scoped>
.wrap{
width: 100%;
display: flex;
flex-direction: column;
overflow: hidden;
padding: 24px 0 24px 24px;
.nav{
/deep/ .el-menu.el-menu--horizontal{
border: 0;
}
/deep/ .el-menu--horizontal > .el-menu-item.is-active{
border:2px solid #568DF2;
border-radius: 10px;
color: #000;
}
/deep/ .el-menu--horizontal > .el-menu-item{
border: 2px solid transparent;
border-radius: 10px;
margin-right: 10px;
height: 30px;
line-height: 28px;
}
}
.body{
margin-top: 50px;
overflow: auto;
.idCard{
border-radius: 5px;
background: #CFDDFF;
text-align: center;
height: 40px;
line-height: 40px;
font-size: 18px;
color: #6191FF;
}
.add{
position: relative;
&::after{
content: '';
display: block;
position: absolute;
right: 3%;
top: -4%;
border: 1px dashed #CFDDFF;
width: 88%;
height: 268px;
}
.addBtn{
position: absolute;
left: 0;
top: 50%;
transform: translate(50%,-50%);
font-size: 22px;
}
}
}
.submitBtn{
position: relative;
width: 300px;
font-size: 18px;
height: 68px;
margin-top: 50px;
border-radius: 10px;
bottom: 10px;
left: 50%;
transform: translate(-50%,-0%);
}
.popBody{
min-height: 200px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.popBtns{
display: flex;
justify-content: space-between;
align-items: center;
.btn{
width: 180px;
border-radius: 10px;
font-size: 18px;
}
.close{
background: #CFDEFF;
color: #6191FF;
}
.sure{
background: #6191FF;
color: #fff;
}
}
}
</style>

@ -0,0 +1,239 @@
//
<template>
<div class="wrap">
<div class="title">
<p>公司业务</p>
<i class="el-icon-arrow-right"></i>
<p>{{text}}</p>
</div>
<!-- 存款 -->
<div class="body">
<el-row :gutter="20" style="margin: 0">
<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-form-item>
<el-form-item label="金额" required>
<el-input :value="form.money" @input="val => ismoney(val, form, 'money')"></el-input>
</el-form-item>
<el-form-item label="提出日期">
<el-date-picker
v-model="form.proposeDate"
type="date"
placeholder="选择日期">
</el-date-picker>
</el-form-item>
<el-form-item label="他行收款户名">
<el-input v-model="form.otherAccountUsername"></el-input>
</el-form-item>
<el-form-item label="出票日期">
<el-date-picker
v-model="form.drawBillDate"
type="date"
placeholder="选择日期">
</el-date-picker>
</el-form-item>
<el-form-item label="本行收款户名" required>
<el-input v-model="form.shroffAccountUsername"></el-input>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="币种">
<el-input v-model="form.currency"></el-input>
</el-form-item>
<el-form-item label="提出场次">
<el-input :value="form.proposeTime" @input="val => inputListen(val, form, 'proposeTime')"></el-input>
</el-form-item>
<el-form-item label="票据类型" required>
<el-select v-model="form.billTyoe" placeholder="请选择">
<el-option label="银行本票" value="银行本票"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="他行收款账号" required>
<el-input v-model="form.otherAccountNumber"></el-input>
</el-form-item>
<el-form-item label="凭证号码" required>
<el-input v-model="form.voucherNumber"></el-input>
</el-form-item>
<el-form-item label="摘要">
<el-input v-model="form.abstract"></el-input>
</el-form-item>
</el-col>
</el-form>
</el-row>
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
</div>
<el-dialog
style="margin-top:10vh"
:visible.sync="visible"
:modal="false"
width="40%"
:close-on-click-modal="false"
:show-close="false"
custom-class="data-dia"
>
<div slot="title" class="dia-header">
<div class="data-title">提交</div>
</div>
<div class="popBody">
<h2>本业务需要授权</h2>
</div>
<div class="popBtns">
<el-button class="close btn" @click="visible = false"> </el-button>
<el-button class="sure btn" type="primary" @click="visible = false"> </el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import { mapState } from 'vuex'
import { checkRequired, ismoney, inputListen } from '@/utils/utilFunction.js'
export default {
name: 'index',
components:{},
data() {
return {
text:'存款',/* 顶部文字 */
form:{
//
shroffAccountNumber: '', //
money: '', //
shroffAccountUsername: '', //
billTyoe: '银行本票', //
otherAccountNumber: '', //
voucherNumber: '', //
//
currency: 'CYC人民币', //
proposeTime: '', //
proposeDate: '', //
otherAccountUsername: '', //
drawBillDate: '', //
abstract: '', //
},
visible:false
}
},
created() {
},
methods: {
submitForm() {
const requiredField = {
shroffAccountNumber: '本行收款账号', //
money: '金额', //
shroffAccountUsername: '本行收款户名', //
billTyoe: '票据类型', //
otherAccountNumber: '他行收款账号', //
voucherNumber: '凭证号码', //
}
if(checkRequired(this.form, requiredField)) {
console.log('检验成功')
}
},
ismoney: ismoney,
inputListen: inputListen
}
};
</script>
<style lang="scss" scoped>
.wrap{
width: 100%;
display: flex;
flex-direction: column;
overflow: hidden;
padding: 24px 0 24px 24px;
.nav{
/deep/ .el-menu.el-menu--horizontal{
border: 0;
}
/deep/ .el-menu--horizontal > .el-menu-item.is-active{
border:2px solid #568DF2;
border-radius: 10px;
color: #000;
}
/deep/ .el-menu--horizontal > .el-menu-item{
border: 2px solid transparent;
border-radius: 10px;
margin-right: 10px;
height: 30px;
line-height: 28px;
}
}
.body{
margin-top: 50px;
overflow: auto;
.idCard{
border-radius: 5px;
background: #CFDDFF;
text-align: center;
height: 40px;
line-height: 40px;
font-size: 18px;
color: #6191FF;
}
.add{
position: relative;
&::after{
content: '';
display: block;
position: absolute;
right: 3%;
top: -4%;
border: 1px dashed #CFDDFF;
width: 88%;
height: 268px;
}
.addBtn{
position: absolute;
left: 0;
top: 50%;
transform: translate(50%,-50%);
font-size: 22px;
}
}
}
.submitBtn{
position: relative;
width: 300px;
font-size: 18px;
height: 68px;
margin-top: 50px;
border-radius: 10px;
bottom: 10px;
left: 50%;
transform: translate(-50%,-0%);
}
.popBody{
min-height: 200px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.popBtns{
display: flex;
justify-content: space-between;
align-items: center;
.btn{
width: 180px;
border-radius: 10px;
font-size: 18px;
}
.close{
background: #CFDEFF;
color: #6191FF;
}
.sure{
background: #6191FF;
color: #fff;
}
}
}
</style>

@ -156,7 +156,7 @@ export default {
//
const requiredField = {
// idNumber:'',
userName:'用户名字',
userName:'客户姓名',
sex:'性别',
birthday:'出生日期',
phone:'联系电话'

@ -21,7 +21,7 @@
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="客户姓名">
<el-form-item label="客户姓名" prop="customerName" :rules="rules.customerName">
<el-input v-model="form.customerName"></el-input>
</el-form-item>
<el-form-item label="身份证" required>
@ -42,7 +42,7 @@
</template>
<script>
import { EventBus } from "@/utils/event-bus.js";
import { vername } from '@/utils/verify.js'
export default{
name:'',
props:{},
@ -52,6 +52,9 @@ export default{
//
customerName: '', //
certificateType: '', //
},
rules: {
customerName: vername
}
}
},

@ -22,11 +22,11 @@
<el-form-item label="定存编号">
<el-input v-model="form.depositNumber"></el-input>
</el-form-item>
<el-form-item label="利率(%)">
<el-form-item label="利率(%)" prop="interestRate" :rules="rules.interestRate">
<el-input v-model="form.interestRate"></el-input>
</el-form-item>
<el-form-item label="利息">
<el-input v-model="form.interest"></el-input>
<el-input :value="form.interest" @input="val => ismoney(val, form, 'interest')"></el-input>
</el-form-item>
<el-form-item label="起息日期" required>
<div class="idCard" @click="popUp('密码器')">
@ -41,7 +41,7 @@
<p>请刷身份证</p>
</div>
</el-form-item>
<el-form-item label="客户姓名">
<el-form-item label="客户姓名" prop="clientName" :rules="rules.clientName">
<el-input v-model="form.clientName" ></el-input>
</el-form-item>
<el-form-item label="钞汇标识">
@ -50,7 +50,7 @@
</el-select>
</el-form-item>
<el-form-item label="本金">
<el-input v-model="form.capital" ></el-input>
<el-input :value="form.capital" @input="val => ismoney(val, form, 'capital')" ></el-input>
</el-form-item>
<el-form-item label="存期">
<el-select disabled v-model="form.depositDate" placeholder="请选择">
@ -60,7 +60,7 @@
</el-select>
</el-form-item>
<el-form-item label="总金额">
<el-input v-model="form.totalMoney" ></el-input>
<el-input :value="form.totalMoney" @input="val => ismoney(val, form, 'totalMoney')" ></el-input>
</el-form-item>
<el-form-item label="支取密码" required>
<div class="idCard" @click="popUp('输入器')">
@ -84,7 +84,8 @@
</template>
<script>
import { EventBus } from "@/utils/event-bus.js";
import { checkRequired } from '@/utils/utilFunction.js'
import { checkRequired, ismoney } from '@/utils/utilFunction.js'
import { vername, verrate } from '@/utils/verify.js'
export default{
name:'',
props:{},
@ -103,7 +104,11 @@ export default{
depositDate: '', //
interest: '', //
totalMoney: '', //
}
},
rules: {
clientName: vername,
interestRate: verrate
},
}
},
methods: {
@ -119,7 +124,8 @@ export default{
console.log('检验成功')
}
}
},
ismoney: ismoney
}
}
</script>

@ -28,7 +28,7 @@
</el-select>
</el-form-item>
<el-form-item label="金额" required>
<el-input v-model="form.money"></el-input>
<el-input :value="form.money" @input="val => ismoney(val, form, 'money')"></el-input>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
@ -37,7 +37,7 @@
<p>请刷身份证</p>
</div>
</el-form-item>
<el-form-item label="客户姓名" required>
<el-form-item label="客户姓名" required prop="customerName" :rules="rules.customerName">
<el-input v-model="form.customerName" ></el-input>
</el-form-item>
<el-form-item label="钞汇标识" required>
@ -69,7 +69,8 @@
</template>
<script>
import { EventBus } from "@/utils/event-bus.js";
import { checkRequired } from '@/utils/utilFunction.js'
import { checkRequired, ismoney } from '@/utils/utilFunction.js'
import { vername, verrate } from '@/utils/verify.js'
export default{
name:'',
props:{},
@ -89,7 +90,10 @@ export default{
// paymentCode: '', //
//
clientNumber: '' //
}
},
rules: {
customerName: vername
},
}
},
methods: {
@ -111,7 +115,8 @@ export default{
console.log('检验成功')
}
}
},
ismoney: ismoney
}
}
</script>

@ -21,7 +21,7 @@
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="客户姓名">
<el-form-item label="客户姓名" prop="userName" :rules="rules.userName">
<el-input v-model="form.userName"></el-input>
</el-form-item>
<el-form-item label="证件号码" required>
@ -37,7 +37,7 @@
</template>
<script>
import { EventBus } from "@/utils/event-bus.js";
import { vername } from '@/utils/verify.js'
export default{
name:'',
props:{},
@ -46,6 +46,9 @@ export default{
form:{
idType:'',
userName:'',
},
rules: {
userName: vername
}
}
},

@ -15,11 +15,11 @@
</el-select>
</el-form-item>
<el-form-item label="金额">
<el-input v-model="form.money"></el-input>
<el-input :value="form.money" @input="val => ismoney(val, form, 'money')"></el-input>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="客户姓名" required>
<el-form-item label="客户姓名" required prop="userName" :rules="rules.username">
<el-input v-model="form.userName"></el-input>
</el-form-item>
<el-form-item label="钞汇标识" required>
@ -27,7 +27,7 @@
<el-option label="钞户" value="钞户"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="年利率" required>
<el-form-item label="年利率" required prop="annualInterest" :rules="rules.annualInterest">
<el-input v-model="form.annualInterest"></el-input>
</el-form-item>
</el-col>
@ -43,7 +43,8 @@
</template>
<script>
import { EventBus } from "@/utils/event-bus.js";
import { vername, verrate } from '@/utils/verify.js'
import { ismoney } from '@/utils/utilFunction.js'
export default{
name:'',
props:{},
@ -56,7 +57,11 @@ export default{
goldLogo:'',
annualInterest:'',
remark:'',
}
},
rules: {
username: vername,
annualInterest: verrate
},
}
},
mounted() {
@ -89,7 +94,8 @@ export default{
popUp(t) {
EventBus.$emit("changeShowGoods", true);
console.log('test')
}
},
ismoney: ismoney
},
}
</script>

@ -14,7 +14,7 @@
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="客户姓名" required>
<el-form-item label="客户姓名" required prop="userName" :rules="rules.username">
<el-input v-model="form.userName"></el-input>
</el-form-item>
<el-form-item label="钞汇标识" required>
@ -175,7 +175,7 @@
<script>
import {getSubjectInfo,addOperation,getOperation} from "@/api/http.js";
import { EventBus } from "@/utils/event-bus.js";
import { vername, vermob } from '@/utils/verify.js'
export default {
data(){
return{
@ -197,6 +197,9 @@ export default {
drawWaysThree: '',
voucherTypesThree: '',
},
rules: {
username: vername
},
second:[],//
options:[],
visible:false,

@ -15,7 +15,7 @@
</el-select>
</el-form-item>
<el-form-item label="金额">
<el-input disabled v-model="form.money"></el-input>
<el-input disabled :value="form.money" @input="val => ismoney(val, form, 'money')"></el-input>
</el-form-item>
<el-form-item label="总金额">
<el-input disabled v-model="form.totalMoney" placeholder="显示余额加利息总额"></el-input>
@ -27,9 +27,9 @@
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="客户姓名">
<el-form-item label="客户姓名" prop="userName" :rules="rules.userName">
<el-input v-model="form.userName"></el-input>
</el-form-item>
</el-form-item>xin
<el-form-item label="钞汇标识">
<el-select v-model="form.goldLogo" placeholder="请选择">
<el-option label="钞户" value="钞户"> </el-option>
@ -56,7 +56,8 @@
</template>
<script>
import { EventBus } from "@/utils/event-bus.js";
import { vername } from '@/utils/verify.js'
import { ismoney } from '@/utils/utilFunction.js'
export default{
name:'',
props:{},
@ -71,6 +72,9 @@ export default{
interest:'',
chargeWay:'',
remark:'',
},
rules: {
userName: vername
}
}
},
@ -104,7 +108,8 @@ export default{
},
popUp() {
EventBus.$emit("changeShowGoods", true);
}
},
ismoney: ismoney
},
}
</script>

@ -15,14 +15,14 @@
</el-select>
</el-form-item>
<el-form-item label="金额" required>
<el-input v-model="form.money"></el-input>
<el-input :value="form.money" @input="val => ismoney(val, form, 'money')"></el-input>
</el-form-item>
<el-form-item label="收款卡号" required>
<el-input v-model="form.shroffAccount"></el-input>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="客户姓名">
<el-form-item label="客户姓名" prop="username" :rules="rules.userName">
<el-input v-model="form.userName" disabled></el-input>
</el-form-item>
<el-form-item label="钞汇标识" required>
@ -35,8 +35,8 @@
<p>请输入密码</p>
</div>
</el-form-item>
<el-form-item label="收款人名称" required>
<el-input v-model="form.payeeName " ></el-input>
<el-form-item label="收款人名称" required prop="payeeName" :rules="rules.payeeName" >
<el-input v-model="form.payeeName"></el-input>
</el-form-item>
</el-col>
<el-col :span="21" :offset="1">
@ -51,7 +51,8 @@
</template>
<script>
import { EventBus } from "@/utils/event-bus.js";
import { vername } from '@/utils/verify.js'
import { checkRequired, ismoney } from '@/utils/utilFunction.js'
export default{
name:'',
props:{},
@ -65,6 +66,10 @@ export default{
goldLogo:'',
payeeName:'',
remark:'',
},
rules: {
userName: vername,
payeeName:vername
}
}
},
@ -97,7 +102,8 @@ export default{
},
popUo() {
EventBus.$emit("changeShowGoods", true);
}
},
ismoney: ismoney
},
}
</script>

@ -15,7 +15,7 @@
</el-select>
</el-form-item>
<el-form-item label="金额">
<el-input v-model="form.money"></el-input>
<el-input :value="form.money" @input="val => ismoney(val, form, 'money')"></el-input>
</el-form-item>
<el-form-item label="支取密码" required>
<div class="idCard" @click="popUp('密码器')">
@ -24,7 +24,7 @@
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="客户姓名" required>
<el-form-item label="客户姓名" required :rules="rules.userName">
<el-input v-model="form.userName"></el-input>
</el-form-item>
<el-form-item label="钞汇标识" required>
@ -38,7 +38,7 @@
</el-select>
</el-form-item>
<el-form-item label="手续费" required>
<el-input v-model="form.serviceCharge" ></el-input>
<el-input :value="form.serviceCharge" @input="val => ismoney(val, form, 'serviceCharge')" ></el-input>
</el-form-item>
</el-col>
<el-col :span="21" :offset="1">
@ -52,6 +52,8 @@
</div>
</template>
<script>
import { vername } from '@/utils/verify.js'
import { checkRequired, ismoney } from '@/utils/utilFunction.js'
export default{
name:'',
props:{
@ -67,6 +69,9 @@ export default{
serviceCharge:'',
chargeWay:'',
remark:'',
},
rules: {
userName: vername
}
}
},
@ -104,6 +109,7 @@ export default{
this.$message.error('有必填项未填哦~');
}
},
ismoney: ismoney
},
}
</script>

@ -15,9 +15,9 @@
</el-select>
</el-form-item>
<el-form-item label="金额">
<el-input v-model="form.money"></el-input>
<el-input :value="form.money" @input="val => ismoney(val, form, 'money')"></el-input>
</el-form-item>
<el-form-item label="利率(%)">
<el-form-item label="利率(%)" prop="interestRate" :rules="rules.interestRate">
<el-input v-model="form.interestRate"></el-input>
</el-form-item>
<el-form-item label="支取方式">
@ -32,7 +32,7 @@
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="客户姓名" required>
<el-form-item label="客户姓名" required prop="customerName" :rules="rules.customerName">
<el-input v-model="form.customerName" ></el-input>
</el-form-item>
<el-form-item label="钞汇标识" required>
@ -75,8 +75,8 @@
</template>
<script>
import { EventBus } from "@/utils/event-bus.js";
import { checkRequired } from '@/utils/utilFunction.js'
import { checkRequired, ismoney } from '@/utils/utilFunction.js'
import { vername, verrate } from '@/utils/verify.js'
export default{
name:'',
props:{},
@ -99,6 +99,10 @@ export default{
interestRate: '', //
withdrawingWay: '密码', //
abstract: '' //
},
rules: {
customerName: vername,
interestRate: verrate
}
}
},
@ -120,7 +124,8 @@ export default{
console.log('检验成功')
}
}
},
ismoney: ismoney
}
}
</script>

@ -34,7 +34,7 @@
<p>请刷身份证</p>
</div>
</el-form-item>
<el-form-item label="客户姓名" required>
<el-form-item label="客户姓名" required prop="customerName" :rules="rules.customerName">
<el-input v-model="form.customerName" ></el-input>
</el-form-item>
<el-form-item label="钞汇标识" required>
@ -60,6 +60,7 @@
<script>
import { EventBus } from "@/utils/event-bus.js";
import { checkRequired } from '@/utils/utilFunction.js'
import { vername } from '@/utils/verify.js'
export default{
name:'',
props:{},
@ -78,6 +79,9 @@ export default{
//
certificateType: '身份证', //
clientNumber: '' //
},
rules: {
customerName: vername
}
}
},

@ -18,9 +18,9 @@
<el-input v-model="form.depositNumber"></el-input>
</el-form-item>
<el-form-item label="支取金额" required>
<el-input v-model="form.withdrawAmount"></el-input>
<el-input :value="form.withdrawAmount" @input="val => ismoney(val, form, 'withdrawAmount')"></el-input>
</el-form-item>
<el-form-item label="利息(%)" required>
<el-form-item label="利息(%)" required prop="interest" :rules="rules.interest">
<el-input v-model="form.interest"></el-input>
</el-form-item>
<el-form-item label="支取密码" required>
@ -30,7 +30,7 @@
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="客户姓名">
<el-form-item label="客户姓名" prop="customerName" :rules="rules.customerName">
<el-input v-model="form.customerName" disabled></el-input>
</el-form-item>
<el-form-item label="钞汇标识" required>
@ -39,7 +39,7 @@
</el-select>
</el-form-item>
<el-form-item label="本金" required>
<el-input v-model="form.capital" ></el-input>
<el-input :value="form.capital" @input="val => ismoney(val, form, 'capital')" ></el-input>
</el-form-item>
<el-form-item label="支取类别" required>
<el-select disabled v-model="form.withdrawType" placeholder="请选择">
@ -59,8 +59,8 @@
</template>
<script>
import { EventBus } from "@/utils/event-bus.js";
import { checkRequired } from '@/utils/utilFunction.js'
import { checkRequired, ismoney } from '@/utils/utilFunction.js'
import { vername, verrate } from '@/utils/verify.js'
export default{
name:'',
props:{},
@ -77,6 +77,10 @@ export default{
//
customerName: '', //
depositNumber: '', //
},
rules: {
customerName: vername,
interest: verrate
}
}
},
@ -96,7 +100,8 @@ export default{
if(checkRequired(this.form, requiredField)) {
console.log('检验成功')
}
}
},
ismoney: ismoney
}
}
</script>

@ -22,7 +22,7 @@
<el-form-item label="定存编号">
<el-input v-model="form.depositNumber"></el-input>
</el-form-item>
<el-form-item label="利率(%)">
<el-form-item label="利率(%)" prop="interestRate" :rules="rules.interestRate">
<el-input v-model="form.interestRate"></el-input>
</el-form-item>
<el-form-item label="利息">
@ -41,7 +41,7 @@
<p>请刷身份证</p>
</div>
</el-form-item>
<el-form-item label="客户姓名">
<el-form-item label="客户姓名" prop="customerName" :rules="rules.customerName">
<el-input v-model="form.customerName" ></el-input>
</el-form-item>
<el-form-item label="钞汇标识">
@ -50,7 +50,7 @@
</el-select>
</el-form-item>
<el-form-item label="本金">
<el-input :value="form.capital" @input="val => inputListen(val, form, 'capital')" ></el-input>
<el-input :value="form.capital" @input="val => ismoney(val, form, 'capital')" ></el-input>
</el-form-item>
<el-form-item label="存期">
<el-select disabled v-model="form.depositTerm" placeholder="请选择">
@ -60,7 +60,7 @@
</el-select>
</el-form-item>
<el-form-item label="总金额">
<el-input v-model="form.totalMoney" ></el-input>
<el-input :value="form.totalMoney" @input="val => ismoney(val, form, 'totalMoney')" ></el-input>
</el-form-item>
<el-form-item label="支取密码" required>
<div class="idCard" @click="popUp('输入器')">
@ -84,7 +84,8 @@
</template>
<script>
import { EventBus } from "@/utils/event-bus.js";
import { checkRequired, inputListen } from '@/utils/utilFunction.js'
import { checkRequired, ismoney } from '@/utils/utilFunction.js'
import { vername, verrate } from '@/utils/verify.js'
export default{
name:'',
props:{},
@ -104,7 +105,11 @@ export default{
depositTerm: '', //
interest: '', //
totalMoney: '', //
}
},
rules: {
customerName: vername,
interestRate: verrate
},
}
},
methods: {
@ -121,7 +126,7 @@ export default{
}
},
inputListen: inputListen
ismoney: ismoney
}
}
</script>

@ -18,11 +18,11 @@
</el-select>
</el-form-item>
<el-form-item label="月存金额">
<el-input v-model="form.monthDeposit"></el-input>
<el-input :value="form.monthDeposit" @input="val => ismoney(val, form, 'monthDeposit')"></el-input>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="客户姓名" required>
<el-form-item label="客户姓名" required prop="customerName" :rules="rules.customerName">
<el-input v-model="form.customerName" ></el-input>
</el-form-item>
<el-form-item label="币种" required>
@ -50,8 +50,8 @@
</template>
<script>
import { EventBus } from "@/utils/event-bus.js";
import { checkRequired } from '@/utils/utilFunction.js'
import { checkRequired, ismoney } from '@/utils/utilFunction.js'
import { vername } from '@/utils/verify.js'
export default{
name:'',
props:{},
@ -67,6 +67,9 @@ export default{
depositNumber: '', //
moneyTarget: '', //
monthDeposit: '' //
},
rules: {
customerName: vername
}
}
},
@ -84,7 +87,8 @@ export default{
console.log('检验成功')
}
}
},
ismoney: ismoney
}
}
</script>

@ -41,7 +41,7 @@
<p>请刷身份证</p>
</div>
</el-form-item>
<el-form-item label="客户姓名" required>
<el-form-item label="客户姓名" required prop="customerName" :rules="rules.customerName">
<el-input v-model="form.customerName" ></el-input>
</el-form-item>
<el-form-item label="钞汇标识" required>
@ -55,7 +55,7 @@
</div>
</el-form-item>
<el-form-item label="月存金额" required>
<el-input v-model="form.monthDeposit" ></el-input>
<el-input :value="form.monthDeposit" @input="val => ismoney(val, form, 'monthDeposit')" ></el-input>
</el-form-item>
<el-form-item label="续存标识" required>
<el-select disabled v-model="form.extendDepositTarget" placeholder="请选择">
@ -74,8 +74,8 @@
</template>
<script>
import { EventBus } from "@/utils/event-bus.js";
import { checkRequired } from '@/utils/utilFunction.js'
import { checkRequired, ismoney } from '@/utils/utilFunction.js'
import { vername, verrate } from '@/utils/verify.js'
export default{
name:'',
props:{},
@ -95,6 +95,9 @@ export default{
// paymentCode: '', //
//
clientNumber: '' //
},
rules: {
customerName: vername
}
}
},
@ -116,7 +119,8 @@ export default{
console.log('检验成功')
}
}
},
ismoney: ismoney
}
}
</script>

@ -14,11 +14,11 @@
<el-option label="身份证" value="身份证"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="客户姓名" required>
<el-form-item label="客户姓名" required prop="customerName" :rules="rules.customerName">
<el-input v-model="form.customerName"></el-input>
</el-form-item>
<el-form-item label="原支付密码" required>
<el-input v-model="form.payPassword" placeholder="请输入密码"></el-input>
<el-input type="password" v-model="form.payPassword" placeholder="请输入密码"></el-input>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
@ -33,7 +33,7 @@
</div>
</el-form-item>
<el-form-item label="新支付密码">
<el-input v-model="form.newPayPassword" placeholder="请输入密码"></el-input>
<el-input type="password" v-model="form.newPayPassword" placeholder="请输入密码"></el-input>
</el-form-item>
</el-col>
<el-col :span="20" :offset="2">
@ -70,7 +70,8 @@
</template>
<script>
import { EventBus } from "@/utils/event-bus.js";
import { checkRequired } from '@/utils/utilFunction.js'
import { checkRequired, ismoney } from '@/utils/utilFunction.js'
import { vername, verrate } from '@/utils/verify.js'
export default{
name:'',
props:{},
@ -86,6 +87,9 @@ export default{
newPayPassword: '', //
maillingAddress: '', //
},
rules: {
customerName: vername
},
visible: false
}
},

@ -0,0 +1,139 @@
<template>
<div class="changePassword">
<div class="title">
<p>账户服务</p>
<i class="el-icon-arrow-right"></i>
<p>密码修改</p>
</div>
<div class="body">
<el-row :gutter="20" style="margin: 0">
<el-form ref="form" :model="form" label-width="120px">
<el-col :span="10" :offset="1">
<el-form-item label="账号" required>
<div class="idCard" @click="popUp('银行扫描器')">
<p>请刷银行卡</p>
</div>
</el-form-item>
<el-form-item label="证件类型">
<el-select v-model="form.certificateType">
<el-option label="身份证" value="身份证"> </el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="客户姓名" prop="customerName" :rules="rules.customerName">
<el-input v-model="form.customerName"></el-input>
</el-form-item>
<el-form-item label="身份证" required>
<div class="idCard" @click="popUp('身份证扫描器')">
<p>请刷身份证</p>
</div>
</el-form-item>
</el-col>
<el-col :span="20" :offset="1">
<el-form-item label="备注">
<el-input type="textarea" :rows="3" placeholder="请输入内容" v-model="form.remark"></el-input>
</el-form-item>
</el-col>
</el-form>
</el-row>
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
<el-dialog
style="margin-top:10vh"
:visible.sync="visible"
:modal="false"
width="40%"
:close-on-click-modal="false"
:show-close="false"
custom-class="data-dia"
>
<div slot="title" class="dia-header">
<div class="data-title">提交</div>
</div>
<div class="popBody">
<h2 v-if='dialogChange'>本业务需要授权</h2>
</div>
<div class="popBtns">
<el-button class="close btn" @click="visible = false"> </el-button>
<el-button class="sure btn" type="primary" @click="visible = false"> </el-button>
</div>
</el-dialog>
</div>
</div>
</template>
<script>
import { EventBus } from "@/utils/event-bus.js";
import { checkRequired, ismoney } from '@/utils/utilFunction.js'
import { vername, verrate } from '@/utils/verify.js'
export default{
name:'',
props:{},
data(){
return{
form:{
//
customerName: '', //
//
certificateType: '身份证', //
remark: '', //
},
rules: {
customerName: vername
},
visible: false
}
},
methods: {
popUp(text) {
this.$store.commit('system/changePop',{show:true,id:'test66',id: 'test'})
EventBus.$emit("changeShowGoods", true);
},
submitForm() {
const requiredField = {
}
if(checkRequired(this.form, requiredField)) {
this.visible = true
}
}
}
}
</script>
<style lang='scss' scoped>
.changePassword{
width: 100%;
.title{
margin-left: 80px;
height: 60px;
display: flex;
align-items: center;
font-size: 20px;
padding-left: 0px;
margin-top: 10px;
}
.body{
margin-top: 70px;
.idCard{
border-radius: 5px;
background: #CFDDFF;
text-align: center;
height: 40px;
line-height: 40px;
font-size: 18px;
color: #6191FF;
cursor: pointer;
}
.submitBtn{
position: absolute;
width: 300px;
font-size: 18px;
height: 68px;
border-radius: 10px;
bottom: 10px;
left: 50%;
transform: translate(-50%,-20%);
}
}
}
</style>

@ -0,0 +1,144 @@
<template>
<div class="changePassword">
<div class="title">
<p>账户服务</p>
<i class="el-icon-arrow-right"></i>
<p>密码修改</p>
</div>
<div class="body">
<el-row :gutter="20" style="margin: 0">
<el-form ref="form" :model="form" label-width="120px">
<el-col :span="10" :offset="1">
<el-form-item label="账号" required>
<div class="idCard" @click="popUp('银行扫描器')">
<p>请刷银行卡</p>
</div>
</el-form-item>
<el-form-item label="证件类型">
<el-select v-model="form.certificateType">
<el-option label="身份证" value="身份证"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="支取密码" required>
<div class="idCard" @click="popUp('密码器')">
<p>请输入密码</p>
</div>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="客户姓名" prop="customerName" :rules="rules.customerName">
<el-input v-model="form.customerName"></el-input>
</el-form-item>
<el-form-item label="身份证" required>
<div class="idCard" @click="popUp('身份证扫描器')">
<p>请刷身份证</p>
</div>
</el-form-item>
<el-form-item label="备注">
<el-input v-model="form.remark"></el-input>
</el-form-item>
</el-col>
</el-form>
</el-row>
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
<el-dialog
style="margin-top:10vh"
:visible.sync="visible"
:modal="false"
width="40%"
:close-on-click-modal="false"
:show-close="false"
custom-class="data-dia"
>
<div slot="title" class="dia-header">
<div class="data-title">提交</div>
</div>
<div class="popBody">
<h2 v-if='dialogChange'>本业务需要授权</h2>
</div>
<div class="popBtns">
<el-button class="close btn" @click="visible = false"> </el-button>
<el-button class="sure btn" type="primary" @click="visible = false"> </el-button>
</div>
</el-dialog>
</div>
</div>
</template>
<script>
import { EventBus } from "@/utils/event-bus.js";
import { checkRequired, ismoney } from '@/utils/utilFunction.js'
import { vername, verrate } from '@/utils/verify.js'
export default{
name:'',
props:{},
data(){
return{
form:{
//
customerName: '', //
//
certificateType: '身份证', //
remark: '', //
},
rules: {
customerName: vername
},
visible: false
}
},
methods: {
popUp(text) {
//
this.$store.commit('system/changePop',{show: true,id:'62,3xxx',text})
EventBus.$emit("changeShowGoods", true);
},
submitForm() {
const requiredField = {
}
if(checkRequired(this.form, requiredField)) {
this.visible = true
}
}
}
}
</script>
<style lang='scss' scoped>
.changePassword{
width: 100%;
.title{
margin-left: 80px;
height: 60px;
display: flex;
align-items: center;
font-size: 20px;
padding-left: 0px;
margin-top: 10px;
}
.body{
margin-top: 70px;
.idCard{
border-radius: 5px;
background: #CFDDFF;
text-align: center;
height: 40px;
line-height: 40px;
font-size: 18px;
color: #6191FF;
cursor: pointer;
}
.submitBtn{
position: absolute;
width: 300px;
font-size: 18px;
height: 68px;
border-radius: 10px;
bottom: 10px;
left: 50%;
transform: translate(-50%,-20%);
}
}
}
</style>

@ -135,11 +135,27 @@ export default {
icon: 'menu-icon icon-index',
index: '/index/list4',
title: '同城交互',
children:[
{
index:"/counter/list/manage/cityWide-out",
title:'同城提出'
},
{
index:"/counter/list/manage/cityWide-in",
title:'同城提入'
}
]
},
{
icon: 'menu-icon icon-index',
index: '/index/list5',
title: '银行承兑汇票',
children:[
{
index:"/counter/list/manage/acceptanceDraft-invoice",
title:'商业承兑汇票开票'
}
]
},
{
icon: 'menu-icon icon-index',

@ -116,8 +116,26 @@ export default {
},
// 同城交互
{
name: `${pre}cityWideOut`,
path: `cityWide-out`,
component: () => import('@/pages/manage/list/cityWide/cityWideOut.vue'),
meta: { title: '同城提出' },
},
{
name: `${pre}cityWideIn`,
path: `cityWide-in`,
component: () => import('@/pages/manage/list/cityWide/cityWideIn.vue'),
meta: { title: '同城提入' },
},
// 银行承兑汇票
{
name: `${pre}acceptanceDraftInvoice`,
path: `acceptanceDraft-invoice`,
component: () => import('@/pages/manage/list/acceptanceDraft/invoice.vue'),
meta: { title: '商业承兑汇票开票' },
},
// 重空现金
{

@ -25,9 +25,22 @@ const checkRequired = function(form, obj) {
// 监听数字
const inputListen = function(val, row, prop) {
if(val === '') {
row[prop] = val;
return;
}
row[prop] = Number(val.replace(/\D+/, ''))
}
const ismoney = function(val, row, prop) {
// const reg = /([1-9]\d{0,9}|0)(\.\d{1,2})?$/ // 不用保留
const reg2 = /(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/; // 保留小数点后两位
if (reg2.test(Number(val)) || val==='') {
row[prop] = val
}
}
/*
刷卡器逻辑
*/
@ -36,5 +49,6 @@ const inputListen = function(val, row, prop) {
phoneListen,
mailBoxListen,
checkRequired,
inputListen
inputListen,
ismoney
}

@ -14,17 +14,21 @@ const vermob = [
}
]
const vername = [
{
required: true,
message: '请输入姓名',
trigger: 'blur'
},
{
// pattern: /^[\u4e00-\u9fa5]{2,4}$/,
pattern: /^(?:[\u4e00-\u9fa5]+)(?:●[\u4e00-\u9fa5]+)*$|^[a-zA-Z0-9]+\s?[\.·\-()a-zA-Z]*[a-zA-Z]+$/,
// pattern: /^(?:[\u4e00-\u9fa5]+)(?:●[\u4e00-\u9fa5]+)*$|^[a-zA-Z0-9]+\s?[\.·\-()a-zA-Z]*[a-zA-Z]+$/,
pattern: /(^[A-Z][a-z]*(\s[A-Z][a-z]*)*$)|(^[\u4e00-\u9fa5]{2,4}$)/,
message: '请输入正确的姓名'
}
]
const verrate = [
{
// pattern: /\d{1,2}(\.\d{1,2})?/,
// pattern: /^(([1-9]\\d{0,9})|0)(\\.\\d{1,2})?%$/,
pattern: /^(\d|[1-9]\d|100)(.\d{1,3})?%$|^(\d|[1-9]\d|100)(.\d{1,3})?$/,
message: '请输入正确的年利率'
}
]
export {
veridc,
@ -33,5 +37,6 @@ const vername = [
verdou,
vermail,
vermob,
vername
vername,
verrate
}

Loading…
Cancel
Save