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