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

20240205
e 3 years ago
parent 460d11e7f5
commit 33068bf1cc
  1. 64
      src/pages/manage/list/personal/timeDeposit/deposit.vue
  2. 56
      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> </div>
</template> </template>
<script> <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' import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
export default{ export default{
name:'', name:'',
@ -151,23 +151,75 @@ export default{
required: true, required: true,
message: '请输入起息日' 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() { mounted() {
this.getFormData()
this.$refs.customerName.focus() this.$refs.customerName.focus()
}, },
methods: { methods: {
getFormData(){
const parentId = '0,5,26,58,119'
autoPlay2(parentId, this.form, this.myTable2, this.myTable)
},
popUp(text) { popUp(text) {
this.$store.commit('system/changePop',{show:true,text}) this.$store.commit('system/changePop',{show:true,text})
}, },
submitForm() { submitForm() {
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// //
this.$message({ this.visible = true;
message: '验证成功', const parentId = '0,5,26,58,119'
center: true autoPlay(parentId, this.form, this.myTable2, this.myTable)
});
}, this.$refs)); }, this.$refs));
}, },

@ -58,7 +58,7 @@
</div> </div>
</template> </template>
<script> <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' import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
export default{ export default{
name:'', name:'',
@ -109,28 +109,64 @@ export default{
trigger: 'blur' 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: { methods: {
getFormData(){
const parentId = '0,5,26,58,118'
autoPlay2(parentId, this.form, this.myTable2, this.myTable)
},
popUp(text) { popUp(text) {
this.$store.commit('system/changePop',{show:true,text}) this.$store.commit('system/changePop',{show:true,text})
}, },
submitForm() { submitForm() {
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// //
this.$message({ this.visible = true;
message: '验证成功', const parentId = '0,5,26,58,118'
center: true autoPlay(parentId, this.form, this.myTable2, this.myTable)
});
}, this.$refs)); }, this.$refs));
}, },
checkHanzi: checkHanzi, checkHanzi: checkHanzi,
checkName: checkName checkName: checkName
}, },
mounted() {
this.$refs.clientNumber.focus()
}
} }
</script> </script>
<style lang='scss' scoped> <style lang='scss' scoped>

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

@ -60,7 +60,7 @@
</div> </div>
</template> </template>
<script> <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' import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
export default{ export default{
name:'', name:'',
@ -93,23 +93,67 @@ export default{
message: '利息格式有误' 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() { mounted() {
this.getFormData()
this.$refs.depositNumber.focus() this.$refs.depositNumber.focus()
}, },
methods: { methods: {
getFormData(){
const parentId = '0,5,26,58,120'
autoPlay2(parentId, this.form, this.myTable2, this.myTable)
},
popUp(text) { popUp(text) {
this.$store.commit('system/changePop',{show:true,text}) this.$store.commit('system/changePop',{show:true,text})
}, },
submitIt() { submitIt() {
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// //
this.$message({ this.visible = true;
message: '验证成功', const parentId = '0,5,26,58,120'
center: true autoPlay(parentId, this.form, this.myTable2, this.myTable)
});
}, this.$refs)); }, this.$refs));
}, },
ismoney: ismoney, ismoney: ismoney,

Loading…
Cancel
Save