|
|
|
@ -30,7 +30,7 @@ |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
|
<el-form-item label="身份证" required> |
|
|
|
|
<div class="idCard" @click="popUp1('身份证扫描仪')" v-if='!form.idNumber'> |
|
|
|
|
<div class="idCard" @click="popUp1('身份证扫描仪')" v-if='!idNumberJudge'> |
|
|
|
|
<p>请刷身份证</p> |
|
|
|
|
</div> |
|
|
|
|
<div v-else> |
|
|
|
@ -41,19 +41,24 @@ |
|
|
|
|
<el-input ref="customerName" :value="form.customerName" @input="(val) => checkName(val, form, 'customerName')"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="钞汇标识" prop="currencyMark"> |
|
|
|
|
<el-select disabled v-model="form.currencyMark" placeholder="请选择" ref="currencyMark"> |
|
|
|
|
<el-select v-model="form.currencyMark" placeholder="请选择" ref="currencyMark"> |
|
|
|
|
<el-option label="钞户" value="钞户"> </el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="凭证号码" prop='voucherNumber'> |
|
|
|
|
<el-input ref="voucherNumber" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> |
|
|
|
|
<el-form-item label="凭证号码"> |
|
|
|
|
<div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')"> |
|
|
|
|
<p>请刷卡</p> |
|
|
|
|
</div> |
|
|
|
|
<div v-else> |
|
|
|
|
<el-input @blur="getDataBlur" ref="voucherNumber" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="支取密码" required> |
|
|
|
|
<div v-if='!form.drawPassword' class="idCard" @click="popUp('密码器')"> |
|
|
|
|
<p>请输入密码</p> |
|
|
|
|
</div> |
|
|
|
|
<div v-else> |
|
|
|
|
<el-input :value="form.drawPassword" disabled ref="drawPassword" type="password"></el-input> |
|
|
|
|
<el-input :value="form.drawPassword" ref="drawPassword" type="password"></el-input> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
<!-- <el-form-item label="客户经理" prop="customerManage">--> |
|
|
|
@ -88,6 +93,8 @@ export default{ |
|
|
|
|
return{ |
|
|
|
|
visible: false, |
|
|
|
|
needBefore: '', |
|
|
|
|
idNumberJudge: false, |
|
|
|
|
cardNumberJudge: false, |
|
|
|
|
form:{ |
|
|
|
|
// 必填项 |
|
|
|
|
idNumber: '', // 身份证 |
|
|
|
@ -104,6 +111,7 @@ export default{ |
|
|
|
|
clientNumber: '' // 客户号 |
|
|
|
|
}, |
|
|
|
|
formName: { |
|
|
|
|
idNumber: '身份证', // |
|
|
|
|
customerName: '客户姓名', // |
|
|
|
|
currency: '币种', // |
|
|
|
|
currencyMark: '钞汇标识', // |
|
|
|
@ -159,6 +167,10 @@ export default{ |
|
|
|
|
type: '1', |
|
|
|
|
"subjectId": 19, |
|
|
|
|
}, |
|
|
|
|
122: { |
|
|
|
|
prop: 'idNumber',// 身份证 |
|
|
|
|
type: '3' |
|
|
|
|
}, |
|
|
|
|
123: { |
|
|
|
|
prop: 'clientNumber',//客户号 |
|
|
|
|
type: '3', |
|
|
|
@ -175,7 +187,10 @@ export default{ |
|
|
|
|
prop: 'voucherNumber',// 凭证号码 |
|
|
|
|
type: '3', |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
129: { |
|
|
|
|
prop: 'drawPassword', |
|
|
|
|
type: '3' |
|
|
|
|
}, |
|
|
|
|
130: { |
|
|
|
|
prop: 'withdrawingWay', //支取方式 |
|
|
|
|
type: '1', |
|
|
|
@ -217,14 +232,25 @@ export default{ |
|
|
|
|
setDataFlow: 'system/setDataFlow', |
|
|
|
|
setNeedsModule: 'system/setNeedsModule' |
|
|
|
|
}), |
|
|
|
|
getDataBlur() { |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
getFormData(){ |
|
|
|
|
const parentId = '285,287,5,26,58,118' |
|
|
|
|
const cards = { |
|
|
|
|
13: 'nomtimeOpenAccount1', |
|
|
|
|
// 128: 'nomtimeOpenAccount2', |
|
|
|
|
129: 'nomtimeOpenAccountPassword' |
|
|
|
|
// 13: 'nomtimeOpenAccount1', |
|
|
|
|
// // 128: 'nomtimeOpenAccount2', |
|
|
|
|
// 129: 'nomtimeOpenAccountPassword' |
|
|
|
|
} |
|
|
|
|
const callback = () => { |
|
|
|
|
if(this.form.idNumber) { |
|
|
|
|
this.idNumberJudge = true |
|
|
|
|
} |
|
|
|
|
if(this.form.voucherNumber) { |
|
|
|
|
this.cardNumberJudge = true |
|
|
|
|
} |
|
|
|
|
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards) |
|
|
|
|
} |
|
|
|
|
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback) |
|
|
|
|
}, |
|
|
|
|
popUp1(text) { |
|
|
|
|
this.$store.commit('system/changePop',{show:true,text, id: '118,1'}) |
|
|
|
@ -248,18 +274,18 @@ export default{ |
|
|
|
|
submitForm2() { |
|
|
|
|
let nomtimeOpenAccount1 = sessionStorage.getItem('nomtimeOpenAccount1') |
|
|
|
|
// let nomtimeOpenAccount2 = sessionStorage.getItem('nomtimeOpenAccount2') |
|
|
|
|
let nomtimeOpenAccountPassword = sessionStorage.getItem('nomtimeOpenAccountPassword') |
|
|
|
|
// let nomtimeOpenAccountPassword = sessionStorage.getItem('nomtimeOpenAccountPassword') |
|
|
|
|
const cards = [ |
|
|
|
|
{ |
|
|
|
|
13: nomtimeOpenAccount1 |
|
|
|
|
}, |
|
|
|
|
// { |
|
|
|
|
// 128: nomtimeOpenAccount2 |
|
|
|
|
// 13: nomtimeOpenAccount1 |
|
|
|
|
// }, |
|
|
|
|
{ |
|
|
|
|
129: nomtimeOpenAccountPassword, |
|
|
|
|
"subjectId": 17, |
|
|
|
|
} |
|
|
|
|
// // { |
|
|
|
|
// // 128: nomtimeOpenAccount2 |
|
|
|
|
// // }, |
|
|
|
|
// { |
|
|
|
|
// 129: nomtimeOpenAccountPassword, |
|
|
|
|
// "subjectId": 17, |
|
|
|
|
// } |
|
|
|
|
] |
|
|
|
|
const parentId = '285,287,5,26,58,118' |
|
|
|
|
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) |
|
|
|
@ -281,8 +307,15 @@ export default{ |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
watch: { |
|
|
|
|
dataFlowCard(newVal) { |
|
|
|
|
this.cardNumberJudge = true |
|
|
|
|
this.$nextTick(() => { |
|
|
|
|
this.$refs.voucherNumber.focus() |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
dataFlowPassword(newVal) { |
|
|
|
|
this.form.drawPassword = '******' |
|
|
|
|
const nomtimeOpenAccountPassword = sessionStorage.getItem('nomtimeOpenAccountPassword') |
|
|
|
|
this.form.drawPassword = nomtimeOpenAccountPassword |
|
|
|
|
}, |
|
|
|
|
dataFlowId(newVal) { |
|
|
|
|
// 身份证号码、客户姓名、币种(人民币)、钞汇标识(钞户) |
|
|
|
@ -291,6 +324,9 @@ export default{ |
|
|
|
|
this.form.customerName = userName |
|
|
|
|
this.form.currency = currency |
|
|
|
|
this.form.currencyMark = goldLogo |
|
|
|
|
|
|
|
|
|
this.idNumberJudge = true |
|
|
|
|
console.log(this.idNumberJudge) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|