|
|
|
@ -34,9 +34,10 @@ |
|
|
|
|
:key="item.itemId"> </el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="购汇用途" prop="drawWay"> |
|
|
|
|
<el-select v-model.trim="form.drawWay" placeholder="请选择" ref="drawWay"> |
|
|
|
|
<el-option label="密码" :value="18"> </el-option> |
|
|
|
|
<el-form-item label="购汇用途" prop="buyForeignPurpose"> |
|
|
|
|
<el-select v-model.trim="form.buyForeignPurpose" placeholder="请选择"> |
|
|
|
|
<el-option v-for="item in getSelectList.buyForeignPurposeList" :label="item.options" :value="item.itemId" |
|
|
|
|
:key="item.itemId"> </el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
@ -45,7 +46,6 @@ |
|
|
|
|
<el-select v-model.trim="form.currency" placeholder="请选择" ref="currency"> |
|
|
|
|
<el-option v-for="item in getSelectList.currencySelectList" :label="item.options" :value="item.itemId" |
|
|
|
|
:key="item.itemId"> </el-option> |
|
|
|
|
<!-- <el-option value="CNY人民币">CNY人民币</el-option> --> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="外汇金额" prop="money"> |
|
|
|
@ -66,9 +66,6 @@ |
|
|
|
|
<my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" |
|
|
|
|
@submitIt="submitForm2" :needAuth="needAuth" /> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<!-- <need-before v-else :moduleName='needBefore' :unNeed="unNeed" /> --> |
|
|
|
|
|
|
|
|
|
</template> |
|
|
|
|
<script> |
|
|
|
|
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js' |
|
|
|
@ -99,12 +96,11 @@ export default { |
|
|
|
|
if (sessionStorage.getItem('nomUsefulPhrasesOpenPassword')) { |
|
|
|
|
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesOpenPassword') |
|
|
|
|
} |
|
|
|
|
if (sessionStorage.getItem('nomCurrentWithdrawalCard')) { |
|
|
|
|
if (sessionStorage.getItem('foreignExchangePuchasingVoucher')) { |
|
|
|
|
this.cardNumberJudge = true |
|
|
|
|
const { currency, goldLogo, drawWay, voucherNumber } = this.dataFlow |
|
|
|
|
const { currency, goldLogo } = this.dataFlow |
|
|
|
|
this.form.currency = currency |
|
|
|
|
this.form.goldLogo = goldLogo |
|
|
|
|
this.form.drawWay = drawWay |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
this.getFormData() |
|
|
|
@ -119,7 +115,7 @@ export default { |
|
|
|
|
currency: '', |
|
|
|
|
goldLogo: '', |
|
|
|
|
money: '', |
|
|
|
|
drawWay: '', |
|
|
|
|
buyForeignPurpose: '', |
|
|
|
|
drawPassword: '', |
|
|
|
|
}, |
|
|
|
|
formName: { |
|
|
|
@ -127,7 +123,7 @@ export default { |
|
|
|
|
currency: '币种', |
|
|
|
|
goldLogo: '钞汇', |
|
|
|
|
money: '外汇金额', |
|
|
|
|
drawWay: '购汇用途', |
|
|
|
|
buyForeignPurpose: '购汇用途', |
|
|
|
|
drawPassword: '支取密码', |
|
|
|
|
}, |
|
|
|
|
rules: { |
|
|
|
@ -152,7 +148,7 @@ export default { |
|
|
|
|
trigger: 'blur' |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
drawWay: [ |
|
|
|
|
buyForeignPurpose: [ |
|
|
|
|
{ |
|
|
|
|
required: true, |
|
|
|
|
message: '请选择购汇用途', |
|
|
|
@ -189,7 +185,7 @@ export default { |
|
|
|
|
else if (list[i].answerId == '87') { this.form.currency = +list[i].emptyTwo } //币种 |
|
|
|
|
else if (list[i].answerId == '88') { this.form.goldLogo = +list[i].emptyTwo } //钞汇标识 |
|
|
|
|
else if (list[i].answerId == '89') { this.form.money = list[i].emptyTwo } //金额 |
|
|
|
|
else if (list[i].answerId == '90') { this.form.drawWay = +list[i].emptyTwo } //支取方式 |
|
|
|
|
else if (list[i].answerId == '90') { this.form.buyForeignPurpose = +list[i].emptyTwo } //支取方式 |
|
|
|
|
else if (list[i].answerId == '91') { |
|
|
|
|
if (sessionStorage.getItem('nomCurrentWithdrawalPassword')) { |
|
|
|
|
this.form.drawPassword = sessionStorage.getItem('nomCurrentWithdrawalPassword') |
|
|
|
@ -228,7 +224,7 @@ export default { |
|
|
|
|
{ answerId: 755, emptyOne: '', emptyTwo: '', operationIds: preId + ',755', type: '' }, |
|
|
|
|
{ answerId: 756, emptyOne: 8, emptyTwo: form.currency, operationIds: preId + ',756', type: 1 }, |
|
|
|
|
{ answerId: 757, emptyOne: 119, emptyTwo: form.goldLogo, operationIds: preId + ',757', type: 1 }, |
|
|
|
|
{ answerId: 759, emptyOne: 117, emptyTwo: form.drawWay, operationIds: preId + ',759', type: 1 }, |
|
|
|
|
{ answerId: 759, emptyOne: 117, emptyTwo: form.buyForeignPurpose, operationIds: preId + ',759', type: 1 }, |
|
|
|
|
{ answerId: 760, emptyOne: 17, emptyTwo: form.drawPassword, operationIds: preId + ',760', type: 3 }, |
|
|
|
|
) |
|
|
|
|
let params = { |
|
|
|
@ -239,7 +235,6 @@ export default { |
|
|
|
|
} |
|
|
|
|
addOperation(params).then((data) => { |
|
|
|
|
this.setDataFlow({ ...this.form }) |
|
|
|
|
this.setNeedsModule(moduleName) |
|
|
|
|
this.submited = 1 |
|
|
|
|
}).catch((error) => { |
|
|
|
|
this.$message({ |
|
|
|
@ -257,7 +252,7 @@ export default { |
|
|
|
|
}, |
|
|
|
|
popUp2 (text) { |
|
|
|
|
this.setTipsOperate('请在密码器输入密码'); |
|
|
|
|
this.setPopId('167') |
|
|
|
|
this.setPopId('64,2') |
|
|
|
|
sessionStorage.setItem('computerPath', this.$route.fullPath) |
|
|
|
|
this.$router.push('/counter/list/') |
|
|
|
|
}, |
|
|
|
|