@@ -239,12 +243,6 @@ export default {
left: 50%;
transform: translate(-50%,-20%);
}
- /deep/ .myFlex {
- height: 100%;
- font-size: 18px;
- line-height: 88.9px;
- display: flex;
- }
/deep/.el-table .warning-row {
background: oldlace;
}
diff --git a/src/pages/manage/list/ImportantCash/controlCash3/index.vue b/src/pages/manage/list/ImportantCash/controlCash3/index.vue
index f669728..37d21a4 100644
--- a/src/pages/manage/list/ImportantCash/controlCash3/index.vue
+++ b/src/pages/manage/list/ImportantCash/controlCash3/index.vue
@@ -13,37 +13,37 @@
-
+ checkHanzi(val, form, 'username')" ref="username">
-
+
-
+ checkHanzi(val, form, 'voucherStartType')" ref="voucherStartType">
-
+
-
+
-
+
-
+ inputListen(val, form, 'number')" >
-
+ ismoney(val, form, 'cost')" >
-
+
@@ -54,6 +54,8 @@
diff --git a/src/pages/manage/list/acceptanceDraft/invoice.vue b/src/pages/manage/list/acceptanceDraft/invoice.vue
index 0ee041f..ec46a01 100644
--- a/src/pages/manage/list/acceptanceDraft/invoice.vue
+++ b/src/pages/manage/list/acceptanceDraft/invoice.vue
@@ -10,43 +10,44 @@
-
- checkHanzi(val, form, 'accountNumber')">
+
+ checkHanzi(val, form, 'accountNumber')" ref="accountNumber">
-
+
-
- checkHanzi(val, form, 'collectionNumber')">
+
+ checkHanzi(val, form, 'collectionNumber')" ref="collectionNumber">
-
+
-
- checkHanzi(val, form, 'moneyOrderNumber')">
+
+ checkHanzi(val, form, 'moneyOrderNumber')" ref="moneyOrderNumber">
+ placeholder="选择日期"
+ ref="expireDate">
-
+
ismoney(val, form, 'moneyOrderMoney')">
-
+
-
+
-
+
@@ -54,8 +55,8 @@
银行承兑汇票
-
- ismoney(val, form, 'money')">
+
+ ismoney(val, form, 'money')" ref="money">
否
-
+
ismoney(val, form, 'serviceCharge')">
@@ -145,6 +146,9 @@ export default {
},
}
},
+ mounted() {
+ this.$refs.accountNumber.focus()
+ },
methods: {
//提交个人用户信息
submitForm(){
@@ -155,8 +159,11 @@ export default {
expireDate: '到期日期', //
money: '金额', //
}
- if(checkRequired(this.form, requiredField)) {
- console.log('校验成功')
+ const judgeRef = checkRequired(this.form, requiredField)
+ if(judgeRef === '') {
+ console.log('submit success')
+ }else {
+ this.$refs[judgeRef].focus()
}
},
ismoney: ismoney,
diff --git a/src/pages/manage/list/business/deposit.vue b/src/pages/manage/list/business/deposit.vue
index 68c1326..73589ed 100644
--- a/src/pages/manage/list/business/deposit.vue
+++ b/src/pages/manage/list/business/deposit.vue
@@ -13,28 +13,28 @@
-
+
-
+
- ismoney(val, form, 'depositNum')">
+ ismoney(val, form, 'depositNum')" ref="depositNum">
-
+
-
+
-
+
@@ -109,6 +109,9 @@ export default {
},
created() {
+ },
+ mounted() {
+ this.$refs.username.focus()
},
methods: {
submitForm() {
@@ -117,8 +120,11 @@ export default {
username: '账号', //
depositNum: '存款金额', //
}
- if(checkRequired(this.form, requiredField)) {
- console.log('检验成功')
+ const judgeRef = checkRequired(this.form, requiredField)
+ if(judgeRef === '') {
+ console.log('submit success')
+ }else {
+ this.$refs[judgeRef].focus();
}
},
diff --git a/src/pages/manage/list/business/openAccount.vue b/src/pages/manage/list/business/openAccount.vue
index 08ca9ad..a01fb41 100644
--- a/src/pages/manage/list/business/openAccount.vue
+++ b/src/pages/manage/list/business/openAccount.vue
@@ -13,10 +13,10 @@
-
+
-
+
@@ -24,7 +24,7 @@
-
+
@@ -32,12 +32,12 @@
-
+
-
+
@@ -52,10 +52,10 @@
-
+
-
+
@@ -63,19 +63,19 @@
-
+
-
+
-
+
@@ -155,6 +155,9 @@ export default {
},
created() {
},
+ mounted() {
+ this.$refs.customerNumber.focus()
+ },
methods: {
submitForm() {
const requiredField = {
@@ -168,9 +171,11 @@ export default {
outAccountWay: '出账页标志', //
withdrawingWay: '支取方式', //
}
- if(checkRequired(this.form, requiredField)) {
- console.log('---')
- this.visible = true
+ const judgeRef = checkRequired(this.form, requiredField)
+ if(judgeRef === '') {
+ console.log('submit success')
+ }else {
+ this.$refs[judgeRef].focus();
}
}
diff --git a/src/pages/manage/list/business/transfer.vue b/src/pages/manage/list/business/transfer.vue
index 586e6d3..acc106b 100644
--- a/src/pages/manage/list/business/transfer.vue
+++ b/src/pages/manage/list/business/transfer.vue
@@ -13,25 +13,26 @@
-
+
-
+
+ placeholder="选择日期"
+ ref="signDate">
-
+
-
+
ismoney(val, form, 'money')">
@@ -40,10 +41,10 @@
-
+
-
+
@@ -51,14 +52,14 @@
-
+
-
+
@@ -140,6 +141,9 @@ export default {
},
created() {
+ },
+ mounted() {
+ this.$refs.transoutNum.focus()
},
methods: {
submitForm() {
@@ -151,8 +155,11 @@ export default {
transinName: '转入户名', //
money: '金额 ', //
}
- if(checkRequired(this.form, requiredField)) {
- console.log('检验成功')
+ const judgeRef = checkRequired(this.form, requiredField)
+ if(judgeRef === '') {
+ console.log('submit success')
+ }else {
+ this.$refs[judgeRef].focus();
}
},
diff --git a/src/pages/manage/list/business/withdrawal.vue b/src/pages/manage/list/business/withdrawal.vue
index b6589de..6c1a329 100644
--- a/src/pages/manage/list/business/withdrawal.vue
+++ b/src/pages/manage/list/business/withdrawal.vue
@@ -13,45 +13,46 @@
-
+
-
+
-
+
-
+
-
+
+ placeholder="选择日期"
+ ref="issueDate">
-
+
- ismoney(val, form, 'money')">
+ ismoney(val, form, 'money')" ref="money">
@@ -128,6 +129,9 @@ export default {
},
created() {
+ },
+ mounted() {
+ this.$refs.username.focus()
},
methods: {
submitForm() {
@@ -140,8 +144,11 @@ export default {
// paymentCode: '支付密码', //
customerManage: '客户经理', //
}
- if(checkRequired(this.form, requiredField)) {
- console.log('检验成功')
+ const judgeRef = checkRequired(this.form, requiredField)
+ if(judgeRef === '') {
+ console.log('submit success')
+ }else {
+ this.$refs[judgeRef].focus();
}
},
diff --git a/src/pages/manage/list/cityWide/cityWideIn.vue b/src/pages/manage/list/cityWide/cityWideIn.vue
index a04d449..cfb558f 100644
--- a/src/pages/manage/list/cityWide/cityWideIn.vue
+++ b/src/pages/manage/list/cityWide/cityWideIn.vue
@@ -13,10 +13,10 @@
- checkHanzi(val, form, 'shroffAccountNumber')">
+ checkHanzi(val, form, 'shroffAccountNumber')" ref="shroffAccountNumber">
- ismoney(val, form, 'money')">
+ ismoney(val, form, 'money')" ref="money">
checkHanzi(val, form, 'customsNumber')">
-
+
@@ -46,15 +46,15 @@
inputListen(val, form, 'proposeTime')">
-
+
- checkHanzi(val, form, 'otherAccountNumber')">
+ checkHanzi(val, form, 'otherAccountNumber')" ref="otherAccountNumber">
- checkHanzi(val, form, 'voucherNumber')">
+ checkHanzi(val, form, 'voucherNumber')" ref="voucherNumber">
@@ -123,6 +123,9 @@ export default {
},
created() {
+ },
+ mounted() {
+ this.$refs.shroffAccountNumber.focus()
},
methods: {
submitForm() {
@@ -134,8 +137,11 @@ export default {
otherAccountNumber: '他行收款账号', //
voucherNumber: '凭证号码', //
}
- if(checkRequired(this.form, requiredField)) {
- console.log('检验成功')
+ const judgeRef = checkRequired(this.form, requiredField)
+ if(judgeRef === '') {
+ console.log('submit success')
+ }else {
+ this.$refs[judgeRef].focus();
}
},
diff --git a/src/pages/manage/list/cityWide/cityWideOut.vue b/src/pages/manage/list/cityWide/cityWideOut.vue
index e89e60e..6114da0 100644
--- a/src/pages/manage/list/cityWide/cityWideOut.vue
+++ b/src/pages/manage/list/cityWide/cityWideOut.vue
@@ -13,10 +13,10 @@
- checkHanzi(val, form, 'shroffAccountNumber')">
+ checkHanzi(val, form, 'shroffAccountNumber')" ref="shroffAccountNumber">
- ismoney(val, form, 'money')">
+ ismoney(val, form, 'money')" ref="money">
- checkHanzi(val, form, 'shroffAccountUsername')" >
+ checkHanzi(val, form, 'shroffAccountUsername')" ref="shroffAccountUsername">
@@ -47,15 +47,15 @@
inputListen(val, form, 'proposeTime')">
-
+
- checkHanzi(val, form, 'otherAccountNumber')" >
+ checkHanzi(val, form, 'otherAccountNumber')" ref="otherAccountNumber">
- checkHanzi(val, form, 'voucherNumber')" >
+ checkHanzi(val, form, 'voucherNumber')" ref="voucherNumber">
@@ -119,6 +119,9 @@ export default {
},
created() {
+ },
+ mounted() {
+ this.$refs.shroffAccountNumber.focus()
},
methods: {
submitForm() {
@@ -130,8 +133,11 @@ export default {
otherAccountNumber: '他行收款账号', //
voucherNumber: '凭证号码', //
}
- if(checkRequired(this.form, requiredField)) {
- console.log('检验成功')
+ const judgeRef = checkRequired(this.form, requiredField)
+ if(judgeRef === '') {
+ console.log('submit success')
+ }else {
+ this.$refs[judgeRef].focus();
}
},
diff --git a/src/pages/manage/list/client/consumerClient.vue b/src/pages/manage/list/client/consumerClient.vue
index c9f47e0..e7ac92a 100644
--- a/src/pages/manage/list/client/consumerClient.vue
+++ b/src/pages/manage/list/client/consumerClient.vue
@@ -20,14 +20,15 @@
-
-
+
+
+ placeholder="选择日期"
+ ref="birthday">
@@ -41,12 +42,13 @@
-
+
+ :value="item.id"
+ >
@@ -60,8 +62,8 @@
-
- phoneListen(val, form, 'phone')" maxlength="12">
+
+ phoneListen(val, form, 'phone')" maxlength="12" ref='phone'>
@@ -105,8 +107,7 @@
diff --git a/src/pages/manage/list/personal/callDeposits/accountClosed.vue b/src/pages/manage/list/personal/callDeposits/accountClosed.vue
index 1092302..e2677ab 100644
--- a/src/pages/manage/list/personal/callDeposits/accountClosed.vue
+++ b/src/pages/manage/list/personal/callDeposits/accountClosed.vue
@@ -10,12 +10,12 @@