整存整取开户的控件(不包括点击弹窗提交)

20240205
e 3 years ago
parent 460d11e7f5
commit 33068bf1cc
  1. 64
      src/pages/manage/list/personal/timeDeposit/deposit.vue
  2. 54
      src/pages/manage/list/personal/timeDeposit/openAccount.vue
  3. 10
      src/pages/manage/list/personal/timeDeposit/timeDeposit.vue
  4. 56
      src/pages/manage/list/personal/timeDeposit/withdrawal.vue

@ -76,7 +76,7 @@
</div>
</template>
<script>
import { myValidate, checkHanzi, checkName, ismoney } from '@/utils/utilFunction.js'
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2 } from '@/utils/utilFunction.js';
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
export default{
name:'',
@ -151,23 +151,75 @@ export default{
required: true,
message: '请输入起息日'
}
}
},
myTable: {
135: {
prop: 'certificateType',//
type: '3'
},
139: {
prop: 'clientNumber',//
type: '1'
},
143: {
prop: 'clientNumber',//
type: '3'
},
},
myTable2: {
132: {
prop: 'customerName',//
type: '3'
},
133: {
prop: 'currency',//
type: '1'
},
134: {
prop: 'currencyMark',//
type: '1'
},
136: {
prop: 'voucherType',//
type: '1'
},
137: {
prop: 'customerManage',//
type: '3'
},
138: {
prop: 'customerManage',//
type: '1'
},
141: {
prop: 'customerManage',//
type: '1'
},
142: {
prop: 'customerManage',//
type: '3'
},
},
}
},
mounted() {
this.getFormData()
this.$refs.customerName.focus()
},
methods: {
getFormData(){
const parentId = '0,5,26,58,119'
autoPlay2(parentId, this.form, this.myTable2, this.myTable)
},
popUp(text) {
this.$store.commit('system/changePop',{show:true,text})
},
submitForm() {
this.$refs.form.validate(myValidate(() => {
//
this.$message({
message: '验证成功',
center: true
});
this.visible = true;
const parentId = '0,5,26,58,119'
autoPlay(parentId, this.form, this.myTable2, this.myTable)
}, this.$refs));
},

@ -58,7 +58,7 @@
</div>
</template>
<script>
import { myValidate, checkHanzi, checkName } from '@/utils/utilFunction.js'
import { myValidate, checkHanzi, checkName, autoPlay, autoPlay2 } from '@/utils/utilFunction.js';
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
export default{
name:'',
@ -109,28 +109,64 @@ export default{
trigger: 'blur'
}
],
},
myTable: {
121: {
prop: 'certificateType',//
type: '1'
},
123: {
prop: 'clientNumber',//
type: '3'
},
},
myTable2: {
124: {
prop: 'customerName',//
type: '3'
},
125: {
prop: 'currency',//
type: '1'
},
126: {
prop: 'currencyMark',//
type: '1'
},
127: {
prop: 'voucherType',//
type: '1'
},
130: {
prop: 'customerManage',//
type: '3'
},
},
}
}
},
mounted() {
this.getFormData()
this.$refs.clientNumber.focus()
},
methods: {
getFormData(){
const parentId = '0,5,26,58,118'
autoPlay2(parentId, this.form, this.myTable2, this.myTable)
},
popUp(text) {
this.$store.commit('system/changePop',{show:true,text})
},
submitForm() {
this.$refs.form.validate(myValidate(() => {
//
this.$message({
message: '验证成功',
center: true
});
this.visible = true;
const parentId = '0,5,26,58,118'
autoPlay(parentId, this.form, this.myTable2, this.myTable)
}, this.$refs));
},
checkHanzi: checkHanzi,
checkName: checkName
},
mounted() {
this.$refs.clientNumber.focus()
}
}
</script>
<style lang='scss' scoped>

@ -12,7 +12,7 @@
<div class="title">
<p>个人业务</p>
<i class="el-icon-arrow-right"></i>
<p>活期业务</p>
<p>整存整取</p>
<i class="el-icon-arrow-right"></i>
<p>{{text}}</p>
</div>
@ -66,9 +66,6 @@ export default {
'1':'开户',
'2':'存款',
'3':'取款',
'4':'转账',
'5':'结清',
'6':'销户',
},
form:{
@ -79,13 +76,10 @@ export default {
second:[//
],
}
},
created() {
this.handleSelect('1')
},
methods: {
handleSelect(val){

@ -60,7 +60,7 @@
</div>
</template>
<script>
import { myValidate, checkHanzi, checkName, ismoney } from '@/utils/utilFunction.js'
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2 } from '@/utils/utilFunction.js';
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
export default{
name:'',
@ -93,23 +93,67 @@ export default{
message: '利息格式有误'
}
]
}
},
myTable: {
146: {
prop: 'currency',//
type: '1'
},
147: {
prop: 'currencyMark',//
type: '1'
},
148: {
prop: 'certificateType',//
type: '3'
},
149: {
prop: 'clientNumber',//
type: '3'
},
150: {
prop: 'clientNumber',//
type: '3'
},
151: {
prop: 'clientNumber',//
type: '1'
},
153: {
prop: 'clientNumber',//
type: '1'
},
},
myTable2: {
145: {
prop: 'customerName',//
type: '3'
},
152: {
prop: 'voucherType',//
type: '3'
},
},
}
},
mounted() {
this.getFormData()
this.$refs.depositNumber.focus()
},
methods: {
getFormData(){
const parentId = '0,5,26,58,120'
autoPlay2(parentId, this.form, this.myTable2, this.myTable)
},
popUp(text) {
this.$store.commit('system/changePop',{show:true,text})
},
submitIt() {
this.$refs.form.validate(myValidate(() => {
//
this.$message({
message: '验证成功',
center: true
});
this.visible = true;
const parentId = '0,5,26,58,120'
autoPlay(parentId, this.form, this.myTable2, this.myTable)
}, this.$refs));
},
ismoney: ismoney,

Loading…
Cancel
Save