20240205
luoJunYong.123 3 years ago
parent d5eeb5996e
commit 4292698bf9
  1. 10
      src/pages/counter/list/index.vue
  2. 6
      src/pages/manage/list/client/corporateClient.vue
  3. 10
      src/pages/manage/list/personal/callDeposits/accountClosed.vue
  4. 20
      src/pages/manage/list/personal/callDeposits/openAccount.vue
  5. 4
      src/pages/manage/list/personal/currentAccount/accountCancellation.vue
  6. 17
      src/pages/manage/list/personal/currentAccount/deposit.vue
  7. 38
      src/pages/manage/list/personal/currentAccount/openAccount.vue
  8. 17
      src/pages/manage/list/personal/currentAccount/settle.vue
  9. 10
      src/pages/manage/list/personal/currentAccount/transferAccounts.vue
  10. 24
      src/pages/manage/list/personal/currentAccount/withdrawal.vue
  11. 45
      src/pages/manage/list/personal/timeDeposit/deposit.vue
  12. 21
      src/pages/manage/list/personal/timeDeposit/openAccount.vue
  13. 17
      src/pages/manage/list/personal/timeDeposit/withdrawal.vue
  14. 11
      src/pages/manage/list/personal/usefulPhrases/accountClosed.vue
  15. 11
      src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue
  16. 30
      src/pages/manage/list/personal/usefulPhrases/openAccount.vue
  17. 166
      src/store/modules/system.js
  18. 9
      src/utils/utilFunction.js
  19. 0
      test2.js

@ -936,6 +936,7 @@ export default {
cultureIn: 'system/cultureIn', //
peopleSign: 'system/peopleSign',
goodState: 'system/goodState',
getSelectList: 'system/getSelectList'
})
},
watch: {
@ -1037,6 +1038,10 @@ export default {
sessionStorage.setItem('businessKey', this.$store.state.system.businessKey)
// sessionStorage.setItem('businessSelect', JSON.stringify(this.$store.state.system.businessSelect))
})
this.startPlay()
console.log('startPlay')
console.log(this.getSelectList)
// console.log(this.getSelectList.accountQualitySelectList)
},
mounted(){
let that = this
@ -1149,6 +1154,7 @@ export default {
},
methods: {
...mapMutations({
startPlay: 'system/startPlay',
replaceThingsGoods: 'system/replaceThingsGoods',
replaceThings: 'system/replaceThings',
setShowBusiness: 'system/setShowBusiness',
@ -1561,7 +1567,7 @@ export default {
if (this.nbm == 0){ //
let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime')
for (var i=0;i<this.goodState.length;i++){formList.push({"answerId":this.goodState[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,9,"+this.goodState[i].id,"type": ""})}
for (var i=0;i<this.goodState.length;i++){formList.push({"answerId":this.goodState[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,12,"+this.goodState[i].id,"type": ""})}
let params= {
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,12',
lcJudgmentRuleReq:formList,
@ -1612,7 +1618,7 @@ export default {
let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime')
let formList = []
for (var i=0;i<clickList.length;i++){formList.push({ "answerId":clickList[i], "emptyOne": "", "emptyTwo": "", "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,3,"+clickList[i], "type": "" })}
for (var i=0;i<clickList.length;i++){formList.push({ "answerId":clickList[i], "emptyOne": "", "emptyTwo": "", "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,2,"+clickList[i], "type": "" })}
let params= {
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,2',
lcJudgmentRuleReq:formList,

@ -8,7 +8,7 @@
<el-col :span="10" :offset="1">
<el-form-item label="证件类型">
<el-select v-model="form.documentType" placeholder="请选择" ref="documentType">
<el-option label="统一社会信用代码证" value="统一社会信用代码证"></el-option>
<el-option label="统一社会信用代码证" :value="82"></el-option>
</el-select>
</el-form-item>
<el-form-item label="公司名称" prop="companyName">
@ -86,7 +86,7 @@ export default {
idNumber: '',
name: '',
phone: '',
documentType: '统一社会信用代码证',
documentType: 82,
companyName: '',
registeredCapital: '',
codeNumber: '',
@ -184,7 +184,7 @@ export default {
else if (list[i].answerId == '50') {this.form.companyName = list[i].emptyTwo} //
else if (list[i].answerId == '51') {this.form.companyAddress = list[i].emptyTwo} //
else if (list[i].answerId == '52') {this.form.registeredCapital = list[i].emptyTwo} //
else if (list[i].answerId == '53') {this.form.certificateType = list[i].emptyTwo} //
else if (list[i].answerId == '53') {this.form.certificateType = +list[i].emptyTwo} //
// else if (list[i].answerId == '54') {sessionStorage.setItem('firmClientIdentity', list[i].emptyTwo)} //
else if (list[i].answerId == '54') {
console.log('54id')

@ -17,12 +17,13 @@
</el-form-item>
<el-form-item label="币种" prop="currency">
<el-select v-model="form.currency" disabled placeholder="请选择" ref="currency">
<el-option value="CNY人民币">CNY人民币</el-option>
<el-option v-for="item in getSelectList.currencySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="通知类型" prop="noticeType">
<el-select v-model="form.noticeType" disabled placeholder="请选择" ref="noticeType">
<el-option label="1天" value="1天"> </el-option>
<el-option label="1天" :value="95"> </el-option>
<el-option label="7天" :value="96"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="起息日期" prop="breathDate">
@ -38,7 +39,7 @@
</el-form-item>
<el-form-item label="证件类型" prop="certificateType">
<el-select v-model="form.certificateType" disabled placeholder="请选择" ref="certificateType">
<el-option label="身份证" value="身份证"> </el-option>
<el-option label="身份证" :value="83"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="支取密码" required>
@ -54,7 +55,7 @@
<el-col :span="10" :offset="1">
<el-form-item label="凭证类型" prop="depositDate">
<el-select v-model="form.voucherType" disabled placeholder="请选择" ref="voucherType">
<el-option label="存单" value="存单"> </el-option>
<el-option label="存单" :value="123"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="客户姓名" prop="clientName">
@ -421,6 +422,7 @@ export default{
needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork',
getSelectList: 'system/getSelectList'
})
}
}

@ -6,7 +6,7 @@
<el-col :span="10" :offset="1">
<el-form-item label="证件类型" prop="certificateType">
<el-select v-model="form.certificateType" placeholder="请选择" ref="certificateType">
<el-option label="身份证" value="身份证"> </el-option>
<el-option label="身份证" :value="83"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="客户号" prop="clientNumber">
@ -14,18 +14,19 @@
</el-form-item>
<el-form-item label="币种" prop="currency">
<el-select v-model="form.currency" disabled placeholder="请选择" ref="currency">
<el-option value="CNY人民币">CNY人民币</el-option>
<el-option v-for="item in getSelectList.currencySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="凭证类型" prop="voucherType">
<el-select disabled v-model="form.voucherType" placeholder="请选择" ref="voucherType">
<el-option label="存单" value="存单"> </el-option>
<el-option label="存单" :value="123"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="通知类型" prop="noticeType">
<el-select v-model="form.noticeType" placeholder="请选择" ref="noticeType">
<el-option label="1天" value="1天"> </el-option>
<el-option label="7天" value="7天"> </el-option>
<el-option label="1天" :value="95"> </el-option>
<el-option label="7天" :value="96"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="金额" prop="money">
@ -46,7 +47,7 @@
</el-form-item>
<el-form-item label="钞汇标识" prop="currencyMark">
<el-select disabled v-model="form.currencyMark" placeholder="请选择" ref="currencyMark">
<el-option label="钞户" value="钞户"> </el-option>
<el-option v-for="item in getSelectList.chargeWayList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="凭证号码" required>
@ -59,7 +60,7 @@
</el-form-item>
<el-form-item label="存款类别" prop="depositType">
<el-select v-model="form.depositType" disabled placeholder="请选择" ref="depositType">
<el-option label="现金" value="现金"> </el-option>
<el-option label="现金" :value="92"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="支取密码" required>
@ -106,14 +107,14 @@ export default{
form:{
//
// identityCard: '', //
certificateType: '身份证',
certificateType: 83,
idNumber: '', //
voucherNumber: '', //
drawPassword: '', //
customerName: '', //
currency: 'CYN人民币', //
currencyMark: '钞户', //
voucherType: '存单', //
voucherType: 123, //
noticeType: '', //
depositType: '', // ''
money: '', //
@ -386,6 +387,7 @@ export default{
needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork',
getSelectList: 'system/getSelectList'
})
}
}

@ -9,7 +9,7 @@
</el-form-item>
<el-form-item label="证件类型">
<el-select v-model="form.idType" placeholder="请选择">
<el-option label="身份证" value="身份证"> </el-option>
<el-option label="身份证" :value="83"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="支取密码" required>
@ -66,7 +66,7 @@ export default{
idNumberJudge: false,
cardNumberJudge: false,
form:{
idType:'身份证',
idType:'',
userName:'',
cardNumber: '', //
drawPassword: '',

@ -14,8 +14,9 @@
</div>
</el-form-item>
<el-form-item label="币种" prop="currency">
<el-select v-model="form.currency" disabled placeholder="请选择" ref="currency">
<el-option value="CNY人民币">CNY人民币</el-option>
<el-select v-model="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">
@ -27,8 +28,9 @@
<el-input ref="userName" disabled :value="form.userName" maxlength="20" @input="(val) => checkName(val, form, 'userName')"></el-input>
</el-form-item>
<el-form-item label="钞汇标识" prop="goldLogo">
<el-select v-model="form.goldLogo" disabled ref="goldLogo" placeholder="请选择">
<el-option label="钞户" value="钞户"> </el-option>
<el-select v-model="form.goldLogo" ref="goldLogo" placeholder="请选择">
<el-option v-for="item in getSelectList.goldLogoSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
<!-- <el-option label="钞户" value="钞户"> </el-option> -->
</el-select>
</el-form-item>
<el-form-item label="年利率" prop="annualInterest">
@ -155,8 +157,8 @@ export default{
this.cardNumberJudge = true
} //
if (list[i].answerId == '79') {this.form.userName = list[i].emptyTwo} //
if (list[i].answerId == '80') {this.form.currency = list[i].emptyTwo} //
if (list[i].answerId == '81') {this.form.goldLogo = list[i].emptyTwo} //
if (list[i].answerId == '80') {this.form.currency = +list[i].emptyTwo} //
if (list[i].answerId == '81') {this.form.goldLogo = +list[i].emptyTwo} //
if (list[i].answerId == '82') {this.form.money = list[i].emptyTwo} //
if (list[i].answerId == '83') {this.form.annualInterest = list[i].emptyTwo} //
if (list[i].answerId == '84') {this.form.remark = list[i].emptyTwo} //
@ -240,7 +242,8 @@ export default{
dataFlow: 'system/dataFlow',
dataFlowPassword: 'system/dataFlowPassword',
needsModule: 'system/needsModule',
inMyWork: 'system/inMyWork'
inMyWork: 'system/inMyWork',
getSelectList: 'system/getSelectList'
})
},
}

@ -20,7 +20,7 @@
<el-input :value="form.userName" disabled @input="(val) => checkName(val, form, 'userName')" ref="userName"></el-input>
</el-form-item>
<el-form-item label="钞汇标识" prop="goldLogo">
<el-select v-model="form.goldLogo" @focus="getSubjectInfoData('9')" placeholder="请选择" ref="goldLogo">
<el-select v-model="form.goldLogo" placeholder="请选择" ref="goldLogo">
<el-option v-for="item in goldLogoSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
@ -39,17 +39,17 @@
<el-form ref="form1" :model="form" label-width="120px">
<el-col :span="10" :offset="2">
<el-form-item label="账户性质">
<el-select v-model="form.accountQuality" @focus="getSubjectInfoData('10')" placeholder="请选择" ref="accountQuality">
<el-select v-model="form.accountQuality" placeholder="请选择" ref="accountQuality">
<el-option v-for="item in accountQualitySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="账户类型" prop="accountType">
<el-select v-model="form.accountType" @focus="getSubjectInfoData('12')" placeholder="请选择" ref="accountType">
<el-select v-model="form.accountType" placeholder="请选择" ref="accountType">
<el-option v-for="item in accountTypeSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="支取方式" prop="drawWay">
<el-select v-model="form.drawWay" @focus="getSubjectInfoData('13')" placeholder="请选择" ref="drawWay">
<el-select v-model="form.drawWay" placeholder="请选择" ref="drawWay">
<el-option v-for="item in drawWaySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
@ -57,7 +57,7 @@
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="凭证类型" prop="voucherType">
<el-select v-model="form.voucherType" @focus="getSubjectInfoData('11')" placeholder="请选择" ref="voucherType">
<el-select v-model="form.voucherType" placeholder="请选择" ref="voucherType">
<el-option v-for="item in voucherTypeSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
@ -89,18 +89,18 @@
<el-form ref="form2" :model="form" label-width="120px">
<el-col :span="10" :offset="2">
<el-form-item label="账户性质">
<el-select v-model="form.accountQualitysTwo" @focus="getSubjectInfoData('10')" placeholder="请选择" disabled>
<el-option v-for="item in accountQualitySelectList" :label="item.options" :value="item.options" :key="item.itemId"> </el-option>
<el-select v-model="form.accountQualitysTwo" placeholder="请选择" disabled>
<el-option v-for="item in accountQualitySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="账户类型" required>
<el-select v-model="form.accountTypesTwo" @focus="getSubjectInfoData('12')" placeholder="请选择">
<el-option v-for="item in accountTypeSelectList" :label="item.options" :value="item.options" :key="item.itemId"> </el-option>
<el-select v-model="form.accountTypesTwo" placeholder="请选择">
<el-option v-for="item in accountTypeSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="支取方式" required>
<el-select v-model="form.drawWaysTwo" @focus="getSubjectInfoData('13')" placeholder="请选择">
<!-- <el-option v-for="item in drawWaySelectList" :label="item.options" :value="item.options" :key="item.itemId"> </el-option> -->
<el-select v-model="form.drawWaysTwo" placeholder="请选择">
<!-- <el-option v-for="item in drawWaySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> -->
<el-option label="密码" value="密码"> </el-option>
<el-option label="印鉴" value="印鉴"> </el-option>
</el-select>
@ -108,8 +108,8 @@
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="凭证类型" required>
<el-select v-model="form.voucherTypesTwo" @focus="getSubjectInfoData('11')" placeholder="请选择" disabled>
<el-option v-for="item in voucherTypeSelectList" :label="item.options" :value="item.options" :key="item.itemId"> </el-option>
<el-select v-model="form.voucherTypesTwo" placeholder="请选择" disabled>
<el-option v-for="item in voucherTypeSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="凭证号码" required>
@ -138,17 +138,17 @@
<el-form ref="form3" :model="form" label-width="120px">
<el-col :span="10" :offset="2">
<el-form-item label="账户性质">
<el-select v-model="form.accountQualitysThree" @focus="getSubjectInfoData('10')" placeholder="请选择" disabled>
<el-option v-for="item in accountQualitySelectList" :label="item.options" :value="item.options" :key="item.itemId"> </el-option>
<el-select v-model="form.accountQualitysThree" placeholder="请选择" disabled>
<el-option v-for="item in accountQualitySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="账户类型" required>
<el-select v-model="form.accountTypesThree" @focus="getSubjectInfoData('12')" placeholder="请选择">
<el-option v-for="item in accountTypeSelectList" :label="item.options" :value="item.options" :key="item.itemId"> </el-option>
<el-select v-model="form.accountTypesThree" placeholder="请选择">
<el-option v-for="item in accountTypeSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="支取方式" required>
<el-select v-model="form.drawWaysThree" @focus="getSubjectInfoData('13')" placeholder="请选择">
<el-select v-model="form.drawWaysThree" placeholder="请选择">
<el-option label="密码" value="密码"> </el-option>
<el-option label="印鉴" value="印鉴"> </el-option>
<!-- <el-option v-for="item in drawWaySelectList" :label="item.options" :value="item.options" :key="item.itemId"> </el-option> -->
@ -156,7 +156,7 @@
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="凭证类型" @focus="getSubjectInfoData('11')" required>
<el-form-item label="凭证类型" required>
<el-select v-model="form.voucherTypesThree" placeholder="请选择" disabled>
<el-option v-for="item in voucherTypeSelectList" :label="item.options" :value="item.options" :key="item.itemId"> </el-option>
</el-select>

@ -13,8 +13,9 @@
</div>
</el-form-item>
<el-form-item label="币种" prop="currency">
<el-select v-model="form.currency" disabled placeholder="请选择" ref="currency">
<el-option value="CNY人民币">CNY人民币</el-option>
<el-select v-model="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-select>
</el-form-item>
<el-form-item label="余额">
@ -37,8 +38,8 @@
<el-input :value="form.userName" disabled maxlength="20" @input="(val) => checkName(val, form, 'userName')" ref="userName"></el-input>
</el-form-item>
<el-form-item label="钞汇标识">
<el-select v-model="form.goldLogo" disabled placeholder="请选择">
<el-option label="钞户" value="钞户"> </el-option>
<el-select v-model="form.goldLogo" placeholder="请选择">
<el-option v-for="item in getSelectList.goldLogoSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="利息">
@ -46,7 +47,7 @@
</el-form-item>
<el-form-item label="支取方式" prop="chargeWay">
<el-select v-model="form.chargeWay" placeholder="请选择" ref="chargeWay">
<el-option label="现金" value="现金"> </el-option>
<el-option label="现金" :value="93"> </el-option>
</el-select>
</el-form-item>
</el-col>
@ -174,16 +175,17 @@ export default{
}
},
created() {
console.log(this.getSelectList)
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
if(sessionStorage.getItem('nomCurrentSettleCard')) {
this.cardNumberJudge = true
const { currency, userName, goldLogo, chargeWay, interest, voucherNumber, balance, totalMoney } = this.dataFlow
const { currency, userName, goldLogo, interest, voucherNumber, balance, totalMoney } = this.dataFlow
this.form.cardNumber = voucherNumber
this.form.currency = currency
this.form.userName = userName
this.form.goldLogo = goldLogo
this.form.chargeWay = chargeWay
this.form.chargeWay = 93 //
this.form.interest = interest
this.form.balance = balance
this.form.totalMoney = totalMoney
@ -294,6 +296,7 @@ export default{
needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork',
getSelectList: 'system/getSelectList'
}),
needAuth() {
return this.form.balance > 50000 || this.totalMoney > 50000

@ -13,8 +13,9 @@
</div>
</el-form-item>
<el-form-item label="币种" prop="currency">
<el-select v-model="form.currency" disabled placeholder="请选择" ref="currency">
<el-option value="CNY人民币">CNY人民币</el-option>
<el-select v-model="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">
@ -29,8 +30,8 @@
<el-input :value="form.userName" disabled @input="(val) => checkName(val, form, 'userName')"></el-input>
</el-form-item>
<el-form-item label="钞汇标识" prop="goldLogo">
<el-select v-model="form.goldLogo" disabled placeholder="请选择" ref="goldLogo">
<el-option label="钞户" value="钞户" ref="goldLogo"> </el-option>
<el-select v-model="form.goldLogo" placeholder="请选择" ref="goldLogo">
<el-option v-for="item in getSelectList.goldLogoSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="支取密码" required>
@ -303,6 +304,7 @@ export default{
needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork',
getSelectList: 'system/getSelectList'
}),
needAuth() {
return this.form.money > 50000

@ -13,8 +13,9 @@
</div>
</el-form-item>
<el-form-item label="币种" prop="currency">
<el-select v-model="form.currency" disabled placeholder="请选择" ref="currency">
<el-option value="CNY人民币">CNY人民币</el-option>
<el-select v-model="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">
@ -34,14 +35,14 @@
<el-input ref="userName" disabled :value="form.userName" @input="(val) => checkName(val, form, 'userName')"></el-input>
</el-form-item>
<el-form-item label="钞汇标识" prop="goldLogo">
<el-select v-model="form.goldLogo" disabled placeholder="请选择" ref="goldLogo">
<el-option label="钞户" value="钞户"> </el-option>
<el-select v-model="form.goldLogo" placeholder="请选择" ref="goldLogo">
<el-option v-for="item in getSelectList.goldLogoSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
<!-- <el-option label="钞户" value="钞户"> </el-option> -->
</el-select>
</el-form-item>
<el-form-item label="支取方式" prop="chargeWay">
<el-select v-model="form.chargeWay" disabled placeholder="请选择" ref="chargeWay">
<el-option label="现金" value="现金"> </el-option>
<el-option label="转账" value="转账"> </el-option>
<el-select v-model="form.chargeWay" placeholder="请选择" ref="chargeWay">
<el-option label="密码" :value="18"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="手续费" prop="serviceCharge">
@ -197,10 +198,10 @@ export default{
this.cardNumberJudge = true
} //
else if (list[i].answerId == '86') {this.form.userName = 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 == '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.chargeWay = list[i].emptyTwo} //
else if (list[i].answerId == '90') {this.form.chargeWay = +list[i].emptyTwo} //
// if (list[i].answerId == '91') {sessionStorage.setItem('nomCurrentWithdrawalPassword', list[i].emptyTwo)} //
else if (list[i].answerId == '91') {
console.log(91)
@ -295,7 +296,8 @@ export default{
dataFlow: 'system/dataFlow',
needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork'
inMyWork: 'system/inMyWork',
getSelectList: 'system/getSelectList'
}),
needAuth() {
return this.form.money > 50000

@ -13,8 +13,8 @@
</div>
</el-form-item>
<el-form-item label="币种" prop="currency">
<el-select v-model="form.currency" disabled placeholder="请选择" ref="currency">
<el-option value="CNY人民币">CNY人民币</el-option>
<el-select v-model="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-select>
</el-form-item>
<el-form-item label="金额" prop="money">
@ -25,12 +25,12 @@
</el-form-item>
<el-form-item label="支取方式" prop="withdrawingWay">
<el-select v-model="form.withdrawingWay" placeholder="请选择" ref="withdrawingWay">
<el-option label="密码" value="密码"> </el-option>
<el-option label="密码" :value="18"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="存款类别" required prop="certificateDeposit">
<el-select v-model="form.certificateDeposit" placeholder="请选择" ref="certificateDeposit">
<el-option label="现金" value="现金"> </el-option>
<el-option label="现金" :value="92"> </el-option>
</el-select>
</el-form-item>
</el-col>
@ -39,24 +39,24 @@
<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" disabled placeholder="请选择" ref="currencyMark">
<el-option label="钞户" value="钞户"> </el-option>
<el-select v-model="form.currencyMark" placeholder="请选择" ref="currencyMark">
<el-option v-for="item in getSelectList.goldLogoSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="存期" prop="depositTerm">
<el-select v-model="form.depositTerm" placeholder="请选择" ref="depositTerm">
<el-option label="3个月" value="3个月"> </el-option>
<el-option label="6个月" value="6个月"> </el-option>
<el-option label="1年" value="1年"> </el-option>
<el-option label="2年" value="2年"> </el-option>
<el-option label="3年" value="3年"> </el-option>
<el-option label="5年" value="5年"> </el-option>
<el-option label="3个月" :value="84"> </el-option>
<el-option label="6个月" :value="85"> </el-option>
<el-option label="1年" :value="86"> </el-option>
<el-option label="2年" :value="87"> </el-option>
<el-option label="3年" :value="88"> </el-option>
<el-option label="5年" :value="89"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="续存" prop="extendPeriod">
<el-radio-group v-model="form.extendPeriod" ref="extendPeriod">
<el-radio label="不续存">不续存</el-radio>
<el-radio label="续存">续存</el-radio>
<el-radio label="不续存" :value="90"></el-radio>
<el-radio label="续存" :value="91"></el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="支取密码" required>
@ -113,14 +113,14 @@ export default{
currencyMark: '', //
depositTerm: '', //
extendPeriod: '', //
certificateDeposit: '现金', //
certificateDeposit: 92, //
valueDate: '', //
voucherNumber: '', //
drawPassword: '', //
//
money: '', //
interestRate: '', //
withdrawingWay: '密码', //
withdrawingWay: 18, //
abstract: '' //
},
formName:{
@ -388,21 +388,22 @@ export default{
needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork',
getSelectList: 'system/getSelectList'
})
},
watch: {
'form.depositTerm'(newVal) {
if(newVal === '3个月') {
if(newVal === 84) {
this.form.interestRate = 1.35
}else if(newVal === '6个月') {
}else if(newVal === 85) {
this.form.interestRate = 1.55
}else if(newVal === '1年') {
}else if(newVal === 86) {
this.form.interestRate = 1.75
}else if(newVal === '2年') {
}else if(newVal === 87) {
this.form.interestRate = 2.25
}else if(newVal === '3年') {
}else if(newVal === 88) {
this.form.interestRate = 2.75
}else if(newVal === '5年') {
}else if(newVal === 89) {
this.form.interestRate = 2.75
}
}

@ -6,25 +6,25 @@
<el-col :span="10" :offset="1">
<el-form-item label="证件类型">
<el-select v-model="form.certificateType" placeholder="请选择">
<el-option label="身份证" value="身份证"> </el-option>
<el-option label="身份证" :value="83"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="客户号">
<el-input ref="clientNumber" disabled maxlength="20" :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" disabled placeholder="请选择" ref="currency">
<el-option value="CNY人民币">CNY人民币</el-option>
<el-select v-model="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-select>
</el-form-item>
<el-form-item label="凭证类型" prop="voucherType">
<el-select v-model="form.voucherType" placeholder="请选择" ref="voucherType">
<el-option label="存单" value="存单"> </el-option>
<el-option label="存单" :value="123"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="支取方式" prop="withdrawingWay">
<el-select v-model="form.withdrawingWay" placeholder="请选择" ref="withdrawingWay">
<el-option label="密码" value="密码"> </el-option>
<el-option v-for="item in getSelectList.chargeWayList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
</el-col>
@ -41,8 +41,8 @@
<el-input ref="customerName" maxlength="20" 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" disabled placeholder="请选择" ref="currencyMark">
<el-option label="钞户" value="钞户"> </el-option>
<el-select v-model="form.currencyMark" placeholder="请选择" ref="currencyMark">
<el-option v-for="item in getSelectList.goldLogoSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="凭证号码" required>
@ -102,13 +102,13 @@ export default{
customerName: '', //
currency: '', //
currencyMark: '', //
voucherType: '存单', //
voucherType: 123, //
voucherNumber: '', //
drawPassword: '', //
customerManage: '', //
withdrawingWay:'密码',//
withdrawingWay:18,//
//
certificateType: '身份证', //
certificateType: 83, //
clientNumber: '' //
},
formName: {
@ -365,6 +365,7 @@ export default{
needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork',
getSelectList: 'system/getSelectList'
})
},
}

@ -13,8 +13,8 @@
</div>
</el-form-item>
<el-form-item label="币种" prop="currencyType">
<el-select v-model="form.currencyType" disabled placeholder="请选择" ref="currencyType">
<el-option value="CNY人民币">CNY人民币</el-option>
<el-select v-model="form.currencyType" placeholder="请选择" ref="currencyType">
<el-option v-for="item in getSelectList.currencySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="定存编号" prop="depositNumber">
@ -22,13 +22,13 @@
</el-form-item>
<el-form-item label="支取方式" prop="withdrawWay">
<el-radio-group v-model="form.withdrawWay" ref="withdrawWay">
<el-radio label="部分支取">部分支取</el-radio>
<el-radio label="全部支取并销户">全部支取并销户</el-radio>
<el-radio label="部分支取" :value="125"></el-radio>
<el-radio label="全部支取并销户" :value="126"></el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="支取类别" prop="withdrawType">
<el-select v-model="form.withdrawType" disabled placeholder="请选择" ref="withdrawType">
<el-option label="现金" value="现金"> </el-option>
<el-select v-model="form.withdrawType" placeholder="请选择" ref="withdrawType">
<el-option label="现金" :value="124"> </el-option>
</el-select>
</el-form-item>
</el-col>
@ -37,8 +37,8 @@
<el-input :value="form.customerName" disabled @input="(val) => checkName(val, form, 'customerName')" ref="customerName"></el-input>
</el-form-item>
<el-form-item label="钞汇标识" prop="currencyMark">
<el-select v-model="form.currencyMark" disabled placeholder="请选择" ref="currencyMark">
<el-option label="钞户" value="钞户"> </el-option>
<el-select v-model="form.currencyMark" placeholder="请选择" ref="currencyMark">
<el-option v-for="item in getSelectList.goldLogoSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="本金" prop="capital">
@ -427,6 +427,7 @@ export default{
needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork',
getSelectList: 'system/getSelectList'
}),
},
watch: {

@ -19,7 +19,7 @@
</el-form-item>
<el-form-item label="币种" prop="currency">
<el-select v-model="form.currency" disabled placeholder="请选择" ref="currency">
<el-option value="CNY人民币">CNY人民币</el-option>
<el-option v-for="item in getSelectList.currencySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="定存编号" prop="depositNumber">
@ -58,7 +58,7 @@
</el-form-item>
<el-form-item label="钞汇标识" prop="currencyMark">
<el-select v-model="form.currencyMark" disabled placeholder="请选择" ref="currencyMark">
<el-option label="钞户" value="钞户"> </el-option>
<el-option v-for="item in getSelectList.goldLogoSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="本金" prop="capital">
@ -66,9 +66,9 @@
</el-form-item>
<el-form-item label="存期" prop="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-option label="1年" :value="86"> </el-option>
<el-option label="3年" :value="88"> </el-option>
<el-option label="5年" :value="89"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="总金额" prop="totalMoney">
@ -403,6 +403,7 @@ export default{
needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork',
getSelectList: 'system/getSelectList'
})
},
}

@ -17,7 +17,7 @@
</el-form-item>
<el-form-item label="钞汇标识" prop="moneyTarget">
<el-select v-model="form.moneyTarget" disabled placeholder="请选择">
<el-option label="钞户" value="钞户"> </el-option>
<el-option v-for="item in getSelectList.goldLogoSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="月存金额" prop="monthDeposit">
@ -30,14 +30,14 @@
</el-form-item>
<el-form-item label="币种" prop="currency">
<el-select v-model="form.currency" disabled placeholder="请选择" ref="currency">
<el-option value="CNY人民币">CNY人民币</el-option>
<el-option v-for="item in getSelectList.currencySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="存期" prop="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-option label="1年" :value="86"> </el-option>
<el-option label="3年" :value="88"> </el-option>
<el-option label="5年" :value="89"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="支取密码" required>
@ -282,6 +282,7 @@ export default{
needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork',
getSelectList: 'system/getSelectList'
})
},
}

@ -6,20 +6,20 @@
<el-col :span="10" :offset="1">
<el-form-item label="证件类型" prop="certificateType">
<el-select v-model="form.certificateType" placeholder="请选择" ref="certificateType">
<el-option label="身份证" value="身份证"> </el-option>
<el-option label="身份证" :value="83"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="客户号" prop="clientNumber">
<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" disabled placeholder="请选择" ref="currency">
<el-option value="CNY人民币">CNY人民币</el-option>
<el-select v-model="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-select>
</el-form-item>
<el-form-item label="凭证类型" prop="voucherType">
<el-select v-model="form.voucherType" placeholder="请选择" ref="voucherType">
<el-option label="银行卡" value="银行卡"> </el-option>
<el-option label="银行卡" :value="127"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="支取密码" required>
@ -32,9 +32,9 @@
</el-form-item>
<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-option label="1年" :value="86"> </el-option>
<el-option label="3年" :value="88"> </el-option>
<el-option label="5年" :value="89"> </el-option>
</el-select>
</el-form-item>
</el-col>
@ -51,8 +51,8 @@
<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" disabled placeholder="请选择" ref="currencyMark">
<el-option label="钞户" value="钞户"> </el-option>
<el-select v-model="form.currencyMark" placeholder="请选择" ref="currencyMark">
<el-option v-for="item in getSelectList.goldLogoSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="凭证号码" required>
@ -69,10 +69,10 @@
</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-option label="不续存" :value="128"> </el-option>
<el-option label="续存1年" :value="129"> </el-option>
<el-option label="续存3年" :value="130"> </el-option>
<el-option label="续存5年" :value="131"> </el-option>
</el-select>
</el-form-item>
<!-- <el-form-item label="客户经理" prop="customerManage">
@ -116,6 +116,7 @@ export default{
this.form.customerName = userName
this.form.currency = currency
this.form.currencyMark = goldLogo
this.form.voucherType = 127
}
if(sessionStorage.getItem('nomUsefulPhrasesOpenCard')) {
this.cardNumberJudge = true
@ -162,7 +163,7 @@ export default{
drawPassword: '', //
//
clientNumber: '', //
certificateType: '身份证', //
certificateType: 83, //
},
formName:{
//
@ -396,6 +397,7 @@ export default{
needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork',
getSelectList: 'system/getSelectList'
})
}
}

@ -184,10 +184,10 @@ const myInitState = {
// cardNumber: '', // 卡号
voucherNumber,
currency:'CNY人民币',
goldLogo:'钞户',
currency:12,
goldLogo:13,
serviceCharge:'0.00',
chargeWay:'密码',
chargeWay:18,
interest: '0.1',
balance: 666,
totalMoney: 9999999999,
@ -223,8 +223,8 @@ const myInitState = {
dataFlow: {
idNumber,
userName,
currency:'CNY人民币',
goldLogo:'钞户',
currency:12,
goldLogo:13,
peopleNumber,
voucherNumber
}
@ -263,8 +263,8 @@ const myInitState = {
// 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码)
voucherNumber,
userName,
currency:'CNY人民币',
goldLogo:'钞户',
currency:12,
goldLogo:13,
interest: '0.00',
depositNumber: '0912',
capital, // 不知道是多少
@ -304,8 +304,8 @@ const myInitState = {
// 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码)
userName,
voucherNumber,
currency:'CNY人民币',
goldLogo:'钞户',
currency:12,
goldLogo:13,
interest: '5.75',
depositNumber: '0912',
capital, // 不知道是多少
@ -343,8 +343,8 @@ const myInitState = {
},
dataFlow: {
// 身份证号码、客户号、客户姓名、币种(人民币)、钞汇标识(钞户)
currency:'CNY人民币',
goldLogo:'钞户',
currency:12,
goldLogo:13,
userName,
peopleNumber,
idNumber,
@ -381,8 +381,8 @@ const myInitState = {
// 客户姓名、定存编号(0816)、币种、钞汇标识、存期(显示上一业务选中的存期)、月存金额
userName,
depositNumber: '0816',
currency:'CNY人民币',
goldLogo:'钞户',
currency:12,
goldLogo:13,
depositTerm: '1年',
monthDeposit: 100,
voucherNumber
@ -418,8 +418,8 @@ const myInitState = {
idNumber,
userName,
depositNumber: '0816',
currency:'CNY人民币',
goldLogo:'钞户',
currency:12,
goldLogo:13,
capital: 100,
interestRate: 1.85,
depositTerm: '1年',
@ -461,8 +461,8 @@ const myInitState = {
idNumber,
peopleNumber,
userName,
currency:'CNY人民币',
goldLogo:'钞户',
currency:12,
goldLogo:13,
voucherNumber,
depositType: '现金'
// depositNumber: '0816',
@ -516,8 +516,8 @@ const myInitState = {
idNumber,
peopleNumber,
userName,
currency:'CNY人民币',
goldLogo:'钞户',
currency:12,
goldLogo:13,
voucherNumber
// depositNumber: '0816',
@ -637,8 +637,8 @@ const myInitState = {
// idNumber,
// userName,
// peopleNumber,
// currency:'CNY人民币',
// goldLogo:'钞户',
// currency:12,
// goldLogo:13,
}
},
'项目十四': {
@ -1010,6 +1010,18 @@ export default {
// 业务选择表是否展示:
showBusiness: false,
// 下拉框的数据:
selectList: {
currencySelectList: [],
goldLogoSelectList: [],
accountQualitySelectList: [],
accountQualitySelectList: [],
voucherTypeSelectList: [],
accountTypeSelectList: [],
chargeWayList: [],
idTypeList: [] // 身份证选项
},
// (要保存的)
businessSelect: {
'': {
@ -1105,10 +1117,10 @@ export default {
// cardNumber: '', // 卡号
voucherNumber,
currency:'CNY人民币',
goldLogo:'钞户',
currency:12,
goldLogo:13,
serviceCharge:'0.00',
chargeWay:'密码',
chargeWay:18,
interest: '0.1',
balance: 666,
totalMoney: 9999999999,
@ -1144,8 +1156,8 @@ export default {
dataFlow: {
idNumber,
userName,
currency:'CNY人民币',
goldLogo:'钞户',
currency:12,
goldLogo:13,
peopleNumber,
voucherNumber
}
@ -1184,8 +1196,8 @@ export default {
// 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码)
voucherNumber,
userName,
currency:'CNY人民币',
goldLogo:'钞户',
currency:12,
goldLogo:13,
interest: '0.00',
depositNumber: '0912',
capital, // 不知道是多少
@ -1225,8 +1237,8 @@ export default {
// 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码)
userName,
voucherNumber,
currency:'CNY人民币',
goldLogo:'钞户',
currency:12,
goldLogo:13,
interest: '5.75',
depositNumber: '0912',
capital, // 不知道是多少
@ -1264,8 +1276,8 @@ export default {
},
dataFlow: {
// 身份证号码、客户号、客户姓名、币种(人民币)、钞汇标识(钞户)
currency:'CNY人民币',
goldLogo:'钞户',
currency:12,
goldLogo:13,
userName,
peopleNumber,
idNumber,
@ -1302,8 +1314,8 @@ export default {
// 客户姓名、定存编号(0816)、币种、钞汇标识、存期(显示上一业务选中的存期)、月存金额
userName,
depositNumber: '0816',
currency:'CNY人民币',
goldLogo:'钞户',
currency:12,
goldLogo:13,
depositTerm: '1年',
monthDeposit: 100,
voucherNumber
@ -1339,8 +1351,8 @@ export default {
idNumber,
userName,
depositNumber: '0816',
currency:'CNY人民币',
goldLogo:'钞户',
currency:12,
goldLogo:13,
capital: 100,
interestRate: 1.85,
depositTerm: '1年',
@ -1382,8 +1394,8 @@ export default {
idNumber,
peopleNumber,
userName,
currency:'CNY人民币',
goldLogo:'钞户',
currency:12,
goldLogo:13,
voucherNumber,
depositType: '现金'
// depositNumber: '0816',
@ -1437,8 +1449,8 @@ export default {
idNumber,
peopleNumber,
userName,
currency:'CNY人民币',
goldLogo:'钞户',
currency:12,
goldLogo:13,
voucherNumber
// depositNumber: '0816',
@ -1558,8 +1570,8 @@ export default {
// idNumber,
// userName,
// peopleNumber,
// currency:'CNY人民币',
// goldLogo:'钞户',
// currency:12,
// goldLogo:13,
}
},
'项目十四': {
@ -1943,37 +1955,61 @@ export default {
],
},
mutations: {
getOptionsList(){
for(var item=8;item<14;item++){
startPlay(state) {
// 开始时调用,获取下拉框的东西。
getSubjectInfo({
subject_id:19
}).then((data)=>{
if(data.status == 200){
state.selectList.idTypeList = data.data.items;
}
}).catch((error)=>{})
for(let item=8;item<14;item++){
let params= {
subject_id:item
}
if (item == '8'){
getSubjectInfo(params).then((data)=>{
if(data.status == 200){
this.selectList = data.data.items;
if (item == '8'){
this.currencySelectList = data.data.items;
state.selectList.currencySelectList = data.data.items;
}
}).catch((error)=>{})
}else if (item == '9'){
this.goldLogoSelectList = data.data.items;
this.form.goldLogo = +this.goldLogoSelectList[0].itemId
getSubjectInfo(params).then((data)=>{
if(data.status == 200){
state.selectList.goldLogoSelectList = data.data.items;
}
}).catch((error)=>{})
}else if (item == '10'){
this.accountQualitySelectList = data.data.items;
this.form.accountQuality = this.accountQualitySelectList[0].itemId
getSubjectInfo(params).then((data)=>{
if(data.status == 200){
state.selectList.accountQualitySelectList = data.data.items;
}
}).catch((error)=>{})
}else if (item == '11'){
this.voucherTypeSelectList = data.data.items;
this.form.voucherType = +this.voucherTypeSelectList[0].itemId
getSubjectInfo(params).then((data)=>{
if(data.status == 200){
state.selectList.voucherTypeSelectList = data.data.items;
}
}).catch((error)=>{})
}else if (item == '12'){
this.accountTypeSelectList = data.data.items;
this.form.accountType = this.accountTypeSelectList[0].itemId
getSubjectInfo(params).then((data)=>{
if(data.status == 200){
state.selectList.accountTypeSelectList = data.data.items;
}
}).catch((error)=>{})
}else if (item == '13'){
this.drawWaySelectList = data.data.items;
this.form.drawWay = this.drawWaySelectList[0].itemId
getSubjectInfo(params).then((data)=>{
if(data.status == 200){
state.selectList.chargeWayList = data.data.items;
}
}).catch((error)=>{})
}
}).catch((error)=>{
})
this.getSubjectInfoData(i)
}
},
setPopId(state, id) {
@ -2322,6 +2358,16 @@ export default {
},
getters: {
getSelectList(state) {
return state.selectList
// currencySelectList: [],
// goldLogoSelectList: [],
// accountQualitySelectList: [],
// accountQualitySelectList: [],
// voucherTypeSelectList: [],
// accountTypeSelectList: [],
// accountTypeSelectList: []
},
popId(state) {
return state.popId
},

@ -199,28 +199,33 @@ const autoPlay2 = (parentId=11, form, myTable2, myTable, cardArr, callback) =>
}
getOperation(param).then((data)=>{
console.log('---拿到的data')
console.log('kao')
console.log(data)
if(data.status == 200) {
var list = data.data.judgmentRuleReqs
const tmpObj = Object.assign(myTable, myTable2)
for (var i = 0; i < list.length; i++) {
const { answerId, emptyTwo } = list[i]
if(!cardArr) {
form[tmpObj[answerId].prop] = emptyTwo
} else {
if(cardArr[answerId]) {
try{
console.log(answerId)
sessionStorage.setItem(cardArr[answerId], JSON.parse(list[i].emptyTwo))
}catch(e) {
// sessionStorage.setItem(cardArr[answerId], list[i].emptyTwo)
continue;
}
}else {
if(Number(emptyTwo)) {
form[tmpObj[answerId].prop] = +emptyTwo
}else {
form[tmpObj[answerId].prop] = emptyTwo
}
// form[tmpObj[answerId].prop] = emptyTwo
}
}
// form[tmpObj[answerId].prop] = emptyTwo

Loading…
Cancel
Save