20240205
luoJunYong.123 3 years ago
parent 5066d14e03
commit 881e9a51fd
  1. 2
      src/components/dialog/index.vue
  2. 13
      src/pages/counter/list/myConfig.js
  3. 19
      src/pages/manage/list/personal/timeDeposit/deposit.vue
  4. 13
      src/pages/manage/list/personal/timeDeposit/openAccount.vue
  5. 142
      src/pages/manage/list/personal/timeDeposit/withdrawal.vue
  6. 46
      src/pages/manage/list/personal/usefulPhrases/accountClosed.vue
  7. 28
      src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue
  8. 72
      src/pages/manage/list/personal/usefulPhrases/openAccount.vue
  9. 1
      src/store/modules/system.js

@ -121,7 +121,7 @@ export default {
return {
flow: 1,
disForm:{
name:'002009',
name:'002288',
pass:'123456'
},
leftObj: {},

@ -50,6 +50,12 @@ const myConfig = {
parentId: '285,287,5,26,58,120',
isPassword: true
},
'154,2': {
nbm: 154,
name: 'nomtimeDepositWithdrawalPassword2',
parentId: '285,287,5,26,58,120',
isPassword: true
},
'144,1': {
nbm: 144,
name: 'nomtimeDepositWithdrawal1',
@ -57,6 +63,13 @@ const myConfig = {
isPassword: false,
machine: '刷卡器'
},
'144,2': {
nbm: 144,
name: 'nomtimeDepositWithdrawal2',
parentId: '285,287,5,26,58,120',
isPassword: false,
machine: '刷卡器'
},
'156': {
nbm: 156,
name: 'nomtimeDepositContinue',

@ -84,7 +84,7 @@
<need-before v-else :moduleName='needBefore' :unNeed="unNeed" />
</template>
<script>
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, inputListen } from '@/utils/utilFunction.js';
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, inputListen,messageCard, messagePassword } from '@/utils/utilFunction.js';
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
const moduleName = 'timeDeposit/deposit'
@ -279,10 +279,8 @@ export default{
this.form.currencyMark = goldLogo
this.form.voucherNumber = voucherNumber
}
console.log('mxxx')
console.log(sessionStorage.getItem('nomtimeDepositlPassword'))
if(sessionStorage.getItem('nomtimeDepositlPassword')) {
if(sessionStorage.getItem('nomtimeDepositlPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomtimeDepositlPassword')
}
@ -326,8 +324,8 @@ export default{
if(this.form.voucherNumber) {
this.cardNumberJudge = true
}
if(this.form.drawPassword) {
sessionStorage.setItem('nomtimeDepositlPassword', this.form.drawPassword)
if(sessionStorage.getItem('nomtimeDepositlPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomtimeDepositlPassword')
}
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback)
@ -349,6 +347,15 @@ export default{
this.$router.push('/counter/list/')
},
submitForm() {
if(!this.form.voucherNumber) {
messageCard('请填写凭证号码')
return
}
if(!this.form.drawPassword) {
messagePassword()
return
}
this.$refs.form.validate(myValidate(() => {
//
this.visible = true;

@ -236,6 +236,10 @@ export default{
this.cardNumberJudge = true
this.form.voucherNumber = voucherNumber
}
if(sessionStorage.getItem('nomtimeOpenAccountPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomtimeOpenAccountPassword')
}
this.getFormData()
}else {
this.isNeedBefore = true
@ -311,14 +315,15 @@ export default{
this.$router.push('/counter/list/')
},
submitForm() {
if(!this.form.voucherNumber) {
messageCard()
return
}
if(!this.form.idNumber) {
messageIdCard()
return
}
if(!this.form.voucherNumber) {
messageCard()
return
}
if(!this.form.drawPassword) {
messagePassword()
return

@ -69,7 +69,7 @@
<need-before v-else :moduleName='needBefore' :unNeed="unNeed" />
</template>
<script>
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, rateListen, inputListen } from '@/utils/utilFunction.js';
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, rateListen, inputListen,messageCard, messagePassword} from '@/utils/utilFunction.js';
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
const moduleName = 'timeDeposit/withdrawal'
@ -90,30 +90,50 @@ export default{
if(withdrawWay === '全部支取并销户') {
this.form.interest = 5.75
this.rules.withdrawAmount[0].required = false
if(sessionStorage.getItem('nomtimeDepositWithdrawal2')) {
this.cardNumberJudge = true
const { userName, currency, goldLogo, interest, depositNumber, capital, withdrawType, voucherNumber } = this.dataFlow
this.form.voucherNumber = voucherNumber
this.form.customerName = userName
this.form.currencyType = currency
this.form.currencyMark = goldLogo
this.form.interest = interest
this.form.depositNumber = depositNumber
this.form.capital = capital
this.form.withdrawType = withdrawType
// this.form.withdrawWay = withdrawWay
}
if(sessionStorage.getItem('nomtimeDepositWithdrawalPassword2')) {
this.form.drawPassword = sessionStorage.getItem('nomtimeDepositWithdrawalPassword2')
}
}else {
this.form.interest = 0.00
}
if(sessionStorage.getItem('nomtimeDepositWithdrawal1')) {
this.cardNumberJudge = true
const { userName, currency, goldLogo, interest, depositNumber, capital, withdrawType, voucherNumber } = this.dataFlow
console.log('voucherNumber')
console.log(voucherNumber)
this.form.voucherNumber = voucherNumber
this.form.customerName = userName
this.form.currencyType = currency
this.form.currencyMark = goldLogo
this.form.interest = interest
this.form.depositNumber = depositNumber
this.form.capital = capital
this.form.withdrawType = withdrawType
// this.form.withdrawWay = withdrawWay
}
if(sessionStorage.getItem('nomtimeDepositWithdrawalPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomtimeDepositWithdrawalPassword')
console.log(this.form.drawPassword)
if(sessionStorage.getItem('nomtimeDepositWithdrawal1')) {
this.cardNumberJudge = true
const { userName, currency, goldLogo, interest, depositNumber, capital, withdrawType, voucherNumber } = this.dataFlow
this.form.voucherNumber = voucherNumber
this.form.customerName = userName
this.form.currencyType = currency
this.form.currencyMark = goldLogo
this.form.interest = interest
this.form.depositNumber = depositNumber
this.form.capital = capital
this.form.withdrawType = withdrawType
// this.form.withdrawWay = withdrawWay
}
if(sessionStorage.getItem('nomtimeDepositWithdrawalPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomtimeDepositWithdrawalPassword')
console.log(this.form.drawPassword)
}
}
this.getFormData()
// this.$nextTick(() => {
// this.$refs.depositNumber.focus()
@ -284,30 +304,96 @@ export default{
// 154: 'nomtimeDepositWithdrawalPassword'
}
const callback = () => {
if(this.form.voucherNumber) {
this.cardNumberJudge = true
// if(this.form.voucherNumber) {
// this.cardNumberJudge = true
// }
//
// if(sessionStorage.getItem('nomtimeDepositWithdrawalPassword')) {
// this.form.drawPassword = sessionStorage.getItem('nomtimeDepositWithdrawalPassword')
// }
const { withdrawWay } = this.dataFlow
if(withdrawWay === '全部支取并销户') {
this.form.interest = 5.75
this.rules.withdrawAmount[0].required = false
if(sessionStorage.getItem('nomtimeDepositWithdrawal2')) {
this.cardNumberJudge = true
const { userName, currency, goldLogo, interest, depositNumber, capital, withdrawType, voucherNumber } = this.dataFlow
this.form.voucherNumber = voucherNumber
this.form.customerName = userName
this.form.currencyType = currency
this.form.currencyMark = goldLogo
this.form.interest = interest
this.form.depositNumber = depositNumber
this.form.capital = capital
this.form.withdrawType = withdrawType
// this.form.withdrawWay = withdrawWay
}
if(sessionStorage.getItem('nomtimeDepositWithdrawalPassword2')) {
this.form.drawPassword = sessionStorage.getItem('nomtimeDepositWithdrawalPassword2')
}
}else {
this.form.interest = 0.00
// nomtimeDepositWithdrawalPassword2
if(sessionStorage.getItem('nomtimeDepositWithdrawal1')) {
this.cardNumberJudge = true
const { userName, currency, goldLogo, interest, depositNumber, capital, withdrawType, voucherNumber } = this.dataFlow
this.form.voucherNumber = voucherNumber
this.form.customerName = userName
this.form.currencyType = currency
this.form.currencyMark = goldLogo
this.form.interest = interest
this.form.depositNumber = depositNumber
this.form.capital = capital
this.form.withdrawType = withdrawType
// this.form.withdrawWay = withdrawWay
}
if(sessionStorage.getItem('nomtimeDepositWithdrawalPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomtimeDepositWithdrawalPassword')
}
}
// if(this.form.drawPassword)
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback)
},
popUp(text) {
// this.$store.commit('system/changePop',{show:true,text, id: '144,1'})
const { withdrawWay } = this.dataFlow
if(withdrawWay === '全部支取并销户') {
this.setPopId('144,2')
}else {
this.setPopId('144,1')
}
this.$message.warning('请刷银行卡');
this.setPopId('144,1')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp2(text) {
// this.$store.commit('system/changePop',{show:true,text, id: '154'})
const { withdrawWay } = this.dataFlow
if(withdrawWay === '全部支取并销户') {
this.setPopId('154,2')
}else {
this.setPopId('154')
}
this.$message.warning('请在密码器输入密码');
this.setPopId('154')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
submitIt() {
if(!this.form.voucherNumber) {
messageCard()
return
}
if(!this.form.drawPassword) {
messagePassword()
return
}
this.$refs.form.validate(myValidate(() => {
//
this.visible = true;
@ -341,7 +427,7 @@ export default{
needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork',
})
}),
},
watch: {
'form.withdrawWay'(newVal) {

@ -18,24 +18,27 @@
</div>
</el-form-item>
<el-form-item label="币种" prop="currency">
<el-select v-model="form.currency" placeholder="请选择" ref="currency">
<el-select v-model="form.currency" disabled placeholder="请选择" ref="currency">
<el-option value="CNY人民币">CNY人民币</el-option>
</el-select>
</el-form-item>
<el-form-item label="定存编号" prop="depositNumber">
<el-input :value="form.depositNumber" @input="(val) => checkHanzi(val, form, 'depositNumber')" ref="depositNumber"></el-input>
<el-input :value="form.depositNumber" disabled @input="(val) => checkHanzi(val, form, 'depositNumber')" ref="depositNumber"></el-input>
</el-form-item>
<el-form-item label="利率" prop="interestRate">
<el-input :value="form.interestRate" @input="(val) => checkHanzi(val, form, 'interestRate')" ref="interestRate"></el-input>
<el-input :value="form.interestRate" disabled @input="(val) => checkHanzi(val, form, 'interestRate')" ref="interestRate"></el-input>
</el-form-item>
<el-form-item label="利息" prop="interest">
<el-input :value="form.interest" @input="(val) => checkHanzi(val, form, 'interest')" ref="interest"></el-input>
<el-input :value="form.interest" disabled @input="(val) => checkHanzi(val, form, 'interest')" ref="interest"></el-input>
</el-form-item>
<el-form-item label="起息日期" required>
<el-date-picker
disabled
v-model="form.signDate"
type="date"
placeholder="选择日期"
format="yyyy-MM-dd"
value-format="yyyy-MM-dd"
ref="signDate">
</el-date-picker>
</el-form-item>
@ -51,25 +54,25 @@
</div>
</el-form-item>
<el-form-item label="客户姓名" prop="customerName">
<el-input ref="customerName" :value="form.customerName" @input="(val) => checkName(val, form, 'customerName')"></el-input>
<el-input ref="customerName" disabled :value="form.customerName" @input="(val) => checkName(val, form, 'customerName')"></el-input>
</el-form-item>
<el-form-item label="钞汇标识" prop="currencyMark">
<el-select v-model="form.currencyMark" placeholder="请选择" ref="currencyMark">
<el-select v-model="form.currencyMark" disabled placeholder="请选择" ref="currencyMark">
<el-option label="钞户" value="钞户"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="本金" prop="capital">
<el-input :value="form.capital" @input="val => ismoney(val, form, 'capital')" ref="capital" ></el-input>
<el-input :value="form.capital" disabled @input="val => ismoney(val, form, 'capital')" ref="capital" ></el-input>
</el-form-item>
<el-form-item label="存期" prop="depositTerm">
<el-select v-model="form.depositTerm" placeholder="请选择" ref="depositTerm">
<el-select v-model="form.depositTerm" disabled placeholder="请选择" ref="depositTerm">
<el-option label="1年" value="1年"> </el-option>
<el-option label="3年" value="3年"> </el-option>
<el-option label="5年" value="5年"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="总金额" prop="totalMoney">
<el-input :value="form.totalMoney" @input="val => ismoney(val, form, 'totalMoney')" ref="totalMoney" ></el-input>
<el-input :value="form.totalMoney" disabled @input="val => ismoney(val, form, 'totalMoney')" ref="totalMoney" ></el-input>
</el-form-item>
<el-form-item label="支取密码" required>
<div v-if='!form.drawPassword' class="idCard" @click="popUp2('密码器')">
@ -92,13 +95,13 @@
</el-form>
</el-row>
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" :needAuth="false" />
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" />
</div>
<need-before v-else :moduleName='needBefore' :unNeed="unNeed" />
</template>
<script>
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2 } from '@/utils/utilFunction.js';
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, messageIdCard,messageCard, messagePassword } from '@/utils/utilFunction.js';
const moduleName = 'usefulPhrases/accoumtClosed'
import { mapMutations, mapGetters } from 'vuex'
@ -125,7 +128,7 @@ export default{
}
if(sessionStorage.getItem('nomUsefulPhrasesClosed2')) {
this.cardNumberJudge = true
const { currency, userName, depositNumber, goldLogo, capital, interestRate, interest, totalMoney, signDate, voucherNumber } = this.dataFlow
const { currency, userName, depositNumber, goldLogo, capital, interestRate, interest, totalMoney, signDate, voucherNumber, depositTerm } = this.dataFlow
this.form.currency = currency
this.form.customerName = userName
this.form.depositNumber = depositNumber
@ -136,6 +139,8 @@ export default{
this.form.totalMoney = totalMoney
this.form.signDate = signDate
this.form.voucherNumber = voucherNumber
this.form.depositTerm = depositTerm
console.log(depositTerm)
}
if(sessionStorage.getItem('nomUsefulPhrasesClosedPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesClosedPassword')
@ -317,6 +322,9 @@ export default{
if(this.form.voucherNumber) {
this.cardNumberJudge = true
}
if(sessionStorage.getItem('nomUsefulPhrasesClosedPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesClosedPassword')
}
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback)
},
@ -345,9 +353,21 @@ export default{
this.$router.push('/counter/list/')
},
submitForm() {
if(!this.form.idNumber) {
messageIdCard()
return
}
if(!this.form.voucherNumber) {
messageCard('请填写凭证号码')
return
}
if(!this.form.drawPassword) {
messagePassword()
return
}
this.$refs.form.validate(myValidate(() => {
//
this.form.signDate = this.form.signDate.slice(0, 10)
this.visible = true;
}, this.$refs));
},

@ -13,28 +13,28 @@
</div>
</el-form-item>
<el-form-item label="定存编号" prop="depositNumber">
<el-input :value="form.depositNumber" @input="(val) => checkHanzi(val, form, 'depositNumber')"></el-input>
<el-input :value="form.depositNumber" disabled @input="(val) => checkHanzi(val, form, 'depositNumber')"></el-input>
</el-form-item>
<el-form-item label="钞汇标识" prop="moneyTarget">
<el-select v-model="form.moneyTarget" placeholder="请选择">
<el-select v-model="form.moneyTarget" disabled placeholder="请选择">
<el-option label="钞户" value="钞户"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="月存金额" prop="monthDeposit">
<el-input :value="form.monthDeposit" @input="val => ismoney(val, form, 'monthDeposit')"></el-input>
<el-input :value="form.monthDeposit" disabled @input="val => ismoney(val, form, 'monthDeposit')"></el-input>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="客户姓名" prop="customerName">
<el-input ref="customerName" :value="form.customerName" @input="(val) => checkName(val, form, 'customerName')"></el-input>
<el-input ref="customerName" disabled :value="form.customerName" @input="(val) => checkName(val, form, 'customerName')"></el-input>
</el-form-item>
<el-form-item label="币种" prop="currency">
<el-select v-model="form.currency" placeholder="请选择" ref="currency">
<el-select v-model="form.currency" disabled placeholder="请选择" ref="currency">
<el-option value="CNY人民币">CNY人民币</el-option>
</el-select>
</el-form-item>
<el-form-item label="存期" prop="depositTerm">
<el-select v-model="form.depositTerm" placeholder="请选择" ref="depositTerm">
<el-select v-model="form.depositTerm" disabled placeholder="请选择" ref="depositTerm">
<el-option label="1年" value="1年"> </el-option>
<el-option label="3年" value="3年"> </el-option>
<el-option label="5年" value="5年"> </el-option>
@ -58,7 +58,7 @@
</template>
<script>
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, inputListen } from '@/utils/utilFunction.js';
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, inputListen, messageCard, messagePassword } from '@/utils/utilFunction.js';
const moduleName = 'usefulPhrases/continueDeposit'
import { mapMutations, mapGetters } from 'vuex'
@ -217,7 +217,9 @@ export default{
if(this.form.voucherNumber) {
this.cardNumberJudge = true
}
if(sessionStorage.getItem('nomUsefulPhrasesContinuePassword')) {
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesContinuePassword')
}
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback)
},
@ -237,6 +239,16 @@ export default{
this.$router.push('/counter/list/')
},
submitForm() {
if(!this.form.voucherNumber) {
messageCard('请填写凭证号码')
return
}
if(!this.form.drawPassword) {
messagePassword()
return
}
this.$refs.form.validate(myValidate(() => {
//

@ -10,10 +10,10 @@
</el-select>
</el-form-item>
<el-form-item label="客户号" prop="clientNumber">
<el-input ref="clientNumber" :value="form.clientNumber" @input="(val) => checkHanzi(val, form, 'clientNumber')" ></el-input>
<el-input ref="clientNumber" disabled :value="form.clientNumber" @input="(val) => checkHanzi(val, form, 'clientNumber')" ></el-input>
</el-form-item>
<el-form-item label="币种" prop="currency">
<el-select v-model="form.currency" placeholder="请选择" ref="currency">
<el-select v-model="form.currency" disabled placeholder="请选择" ref="currency">
<el-option value="CNY人民币">CNY人民币</el-option>
</el-select>
</el-form-item>
@ -30,12 +30,11 @@
<el-input :value="form.drawPassword" ref="drawPassword" type="password"></el-input>
</div>
</el-form-item>
<el-form-item label="续存标识" prop="extendDepositTarget">
<el-select v-model="form.extendDepositTarget" placeholder="请选择" ref="extendDepositTarget">
<el-option label="不续存" value="不续存"> </el-option>
<el-option label="续存1年" value="续存1年"> </el-option>
<el-option label="续存3年" value="续存3年"> </el-option>
<el-option label="续存5年" value="续存5年"> </el-option>
<el-form-item label="存期" prop="depositTerm">
<el-select v-model="form.depositTerm" placeholder="请选择" ref="depositTerm">
<el-option label="1年" value="1年"> </el-option>
<el-option label="3年" value="3年"> </el-option>
<el-option label="5年" value="5年"> </el-option>
</el-select>
</el-form-item>
</el-col>
@ -49,10 +48,10 @@
</div>
</el-form-item>
<el-form-item label="客户姓名" prop="customerName">
<el-input ref="customerName" :value="form.customerName" @input="(val) => checkName(val, form, 'customerName')"></el-input>
<el-input ref="customerName" disabled :value="form.customerName" @input="(val) => checkName(val, form, 'customerName')"></el-input>
</el-form-item>
<el-form-item label="钞汇标识" prop="currencyMark">
<el-select v-model="form.currencyMark" placeholder="请选择" ref="currencyMark">
<el-select v-model="form.currencyMark" disabled placeholder="请选择" ref="currencyMark">
<el-option label="钞户" value="钞户"> </el-option>
</el-select>
</el-form-item>
@ -61,16 +60,24 @@
<p>请刷卡</p>
</div>
<div v-else>
<el-input @blur="getDataBlur" ref="voucherNumber" disabled :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
<el-input @blur="getDataBlur" maxlength="20" ref="voucherNumber" disabled :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</div>
</el-form-item>
<el-form-item label="月存金额" prop="monthDeposit">
<!-- :value="form.monthDeposit" -->
<el-input :value="form.monthDeposit" @input="val => ismoney(val, form, 'monthDeposit')" ref="monthDeposit" ></el-input>
<el-input :value="form.monthDeposit" maxlength="15" @input="val => ismoney(val, form, 'monthDeposit')" ref="monthDeposit" ></el-input>
</el-form-item>
<el-form-item label="客户经理" prop="customerManage">
<el-input :value="form.customerManage" @input="val => checkHanzi(val, form, 'customerManage')" ref="customerManage" ></el-input>
<el-form-item label="续存标识" prop="extendDepositTarget">
<el-select v-model="form.extendDepositTarget" placeholder="请选择" ref="extendDepositTarget">
<el-option label="不续存" value="不续存"> </el-option>
<el-option label="续存1年" value="续存1年"> </el-option>
<el-option label="续存3年" value="续存3年"> </el-option>
<el-option label="续存5年" value="续存5年"> </el-option>
</el-select>
</el-form-item>
<!-- <el-form-item label="客户经理" prop="customerManage">
<el-input :value="form.customerManage" @input="val => checkHanzi(val, form, 'customerManage')" ref="customerManage" ></el-input>
</el-form-item> -->
</el-col>
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" />
</el-form>
@ -80,7 +87,7 @@
<need-before v-else :moduleName='needBefore' :unNeed="unNeed" />
</template>
<script>
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, inputListen } from '@/utils/utilFunction.js';
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, inputListen, messageIdCard,messageCard, messagePassword } from '@/utils/utilFunction.js';
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
const moduleName = 'usefulPhrases/openAccount'
@ -156,7 +163,6 @@ export default{
//
clientNumber: '', //
certificateType: '身份证', //
customerManage: '', //
},
formName:{
//
@ -171,10 +177,10 @@ export default{
extendDepositTarget: '续存标识', //
voucherNumber: '凭证号码', //
drawPassword: '支付密码', //
depositTerm: '续存标识',
//
clientNumber: '客户号', //
certificateType: '证件类型', //
customerManage: '客户经理', //
},
rules: {
customerName: vercustomer,
@ -227,11 +233,11 @@ export default{
type: '1',
"subjectId": 19,
},
169: {
prop: 'customerManage',//
type: '3',
"subjectId": 27,
},
// 169: {
// prop: 'customerManage',//
// type: '3',
// "subjectId": 27,
// },
160: {
prop: 'clientNumber',//
type: '3',
@ -278,7 +284,7 @@ export default{
"subjectId": 31,
},
170: {
prop: 'customerManage',//
prop: 'depositTerm',//
type: '1',
"subjectId": 37,
},
@ -329,22 +335,32 @@ export default{
// 167: 'nomUsefulPhrasesOpenPassword'
}
const callback = () => {
console.log('callback')
console.log(this.form)
if(this.form.idNumber) {
this.idNumberJudge = true
}
if(this.form.voucherNumber) {
this.cardNumberJudge = true
}
if(this.form.drawPassword) {
console.log(this.form.drawPassword)
if(sessionStorage.getItem('nomUsefulPhrasesOpenPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesOpenPassword')
}
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback)
},
submitForm() {
if(!this.form.idNumber) {
messageIdCard()
return
}
if(!this.form.voucherNumber) {
messageCard('请填写凭证号码')
return
}
if(!this.form.drawPassword) {
messagePassword()
return
}
this.$refs.form.validate(myValidate(() => {
//
this.visible = true;

@ -1021,6 +1021,7 @@ export default {
interest: 1.6,
totalMoney: 101.6,
signDate: '2001-03-01',
depositTerm: '5年',
voucherNumber
}
},

Loading…
Cancel
Save