币种类型

20240205
luoJunYong.123 3 years ago
parent 2c8a574644
commit a7cb1b2909
  1. 70
      src/pages/counter/list/index.vue
  2. 8
      src/pages/manage/list/acceptanceDraft/invoice.vue
  3. 4
      src/pages/manage/list/business/deposit.vue
  4. 4
      src/pages/manage/list/business/openAccount.vue
  5. 4
      src/pages/manage/list/business/transfer.vue
  6. 6
      src/pages/manage/list/cityWide/cityWideIn.vue
  7. 6
      src/pages/manage/list/cityWide/cityWideOut.vue
  8. 6
      src/pages/manage/list/personal/currentAccount/deposit.vue
  9. 4
      src/pages/manage/list/personal/currentAccount/openAccount.vue
  10. 6
      src/pages/manage/list/personal/currentAccount/settle.vue
  11. 6
      src/pages/manage/list/personal/currentAccount/transferAccounts.vue
  12. 6
      src/pages/manage/list/personal/currentAccount/withdrawal.vue
  13. 4
      src/pages/manage/list/personal/timeDeposit/deposit.vue
  14. 4
      src/pages/manage/list/personal/timeDeposit/openAccount.vue
  15. 4
      src/pages/manage/list/personal/timeDeposit/withdrawal.vue
  16. 4
      src/pages/manage/list/personal/usefulPhrases/accountClosed.vue
  17. 4
      src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue
  18. 4
      src/pages/manage/list/personal/usefulPhrases/openAccount.vue
  19. 47
      src/store/modules/system.js

@ -173,7 +173,7 @@
</div> </div>
<!-- 暂时未确定是否公共使用一个弹框 --> <!-- 暂时未确定是否公共使用一个弹框 -->
<div v-else class="list" ref="popUp"><!-- 钱箱 / 传票栏 ... 一系列可存物品弹框 --> <div v-else class="list" ref="popUp"><!-- 钱箱 / 传票栏 ... 一系列可存物品弹框 -->
<div class="img-wrap" :class="{ checked: commonChecked.includes(item.id),'img-wrap':true }" @click='dislodgeItem(index)' v-for="(item, index) in receptionList" :key="index" v-if="receptionList.length" > <div class="img-wrap" :class="{ checked: commonChecked.includes(item.id),'img-wrap':true }" @click='dislodgeItem(index)' v-for="(item, index) in receptionList" :key="index" >
<img :src="item.src" class="file" alt="" /> <img :src="item.src" class="file" alt="" />
<p class="text">{{item.name}}</p> <p class="text">{{item.name}}</p>
</div> </div>
@ -205,7 +205,7 @@
<div class="data-title2">请选择系统</div> <div class="data-title2">请选择系统</div>
<div class="close"><img v-lazy="lazyImg[28]" alt="" @click="showBusinessSelect(false)" /></div> <div class="close"><img v-lazy="lazyImg[28]" alt="" @click="showBusinessSelect(false)" /></div>
</div> </div>
<p class="tips2">python程序设计 | 请选择您要做的项目实验</p> <p class="tips2">请选择您要办理的业务</p>
<ul class="take-list2"> <ul class="take-list2">
<li v-for="(item) in businessArr" :class="{checked: takeCheck == item.myKey}" :key="item.myKey" @click="checkTake(item.myKey)"> <li v-for="(item) in businessArr" :class="{checked: takeCheck == item.myKey}" :key="item.myKey" @click="checkTake(item.myKey)">
<img v-lazy="item.img" alt=""> <img v-lazy="item.img" alt="">
@ -261,6 +261,7 @@ export default {
} }
}; };
return { return {
moneyBox: [],
takeCheck: '', // myKey takeCheck: '', // myKey
businessArr: [ businessArr: [
{ {
@ -461,6 +462,11 @@ export default {
{name:'开户申请书',src:require('@/assets/img/goods/khsqs.png'),id:14}, {name:'开户申请书',src:require('@/assets/img/goods/khsqs.png'),id:14},
{name:'现金',src:require('@/assets/img/goods/cash-sm.png'),id:15}, {name:'现金',src:require('@/assets/img/goods/cash-sm.png'),id:15},
{name:'存款凭条',src:require('@/assets/img/goods/ckpt.png'),id:17}, {name:'存款凭条',src:require('@/assets/img/goods/ckpt.png'),id:17},
//
{name:'开户申请书凭证联',src:require('@/assets/img/goods/khsqs.png'),id:141},
{name:'开户申请书回单',src:require('@/assets/img/goods/khsqs.png'),id:142},
{name:'存款凭条凭证联',src:require('@/assets/img/goods/ckpt.png'),id:171},
{name:'存款凭条回单',src:require('@/assets/img/goods/ckpt.png'),id:172},
], ],
receptionList:[ receptionList:[
@ -911,6 +917,9 @@ export default {
} }
} }
} }
if(this.$store.state.system.popText == '钱箱') {
// this.receptionList.push(...this.moneyBox)
}
if(!this.showGoods) this.checkList = [] if(!this.showGoods) this.checkList = []
return this.$store.state.system.showPop; return this.$store.state.system.showPop;
}, },
@ -1033,8 +1042,8 @@ export default {
/* oldindex识别是拖拽了哪个文件 */ /* oldindex识别是拖拽了哪个文件 */
// console.log(that.goodsShelfTotalData[evt.oldIndex].name,'2'); // console.log(that.goodsShelfTotalData[evt.oldIndex].name,'2');
that.checkList.push(that.goodsShelfTotalData[evt.oldIndex].name) that.checkList.push(that.goodsShelfTotalData[evt.oldIndex].name)
console.log('checkList') //
console.log(that.checkList) if(that.$refs.popUp) {
for(var i=0;i<that.popArr.length;i++){ for(var i=0;i<that.popArr.length;i++){
if (that.goodsShelfTotalData[evt.oldIndex].name == that.popArr[i].name){ if (that.goodsShelfTotalData[evt.oldIndex].name == that.popArr[i].name){
if (that.receptionList == null){ if (that.receptionList == null){
@ -1052,6 +1061,18 @@ export default {
} }
} }
} }
console.log('whata')
console.log(that.receptionList)
}
//
else if(that.$refs.popUpSeal) {
for(var i=0;i<that.popArr.length;i++){
if (that.goodsShelfTotalData[evt.oldIndex].name == that.popArr[i].name){
that.receptionList.splice(0, that.receptionList.length, that.popArr[i])
}
}
}
} }
} }
}, },
@ -1073,10 +1094,6 @@ export default {
if(evt.originalEvent.pageX<targetDom.right&&evt.originalEvent.pageX>targetDom.left){ if(evt.originalEvent.pageX<targetDom.right&&evt.originalEvent.pageX>targetDom.left){
if(evt.originalEvent.pageY<targetDom.bottom&&evt.originalEvent.pageY>targetDom.top){ if(evt.originalEvent.pageY<targetDom.bottom&&evt.originalEvent.pageY>targetDom.top){
/* oldindex识别是拖拽了哪个文件 */ /* oldindex识别是拖拽了哪个文件 */
console.log(evt)
console.log(that.importanceArr)
console.log(that.goodsShelfTotalData)
console.log(that.importanceArr[evt.oldIndex].name,'执行拖拽2');
that.checkList.push(that.importanceArr[evt.oldIndex].name) that.checkList.push(that.importanceArr[evt.oldIndex].name)
if(that.goodsShelfTotalData.length > 0){ if(that.goodsShelfTotalData.length > 0){
for(var i=0;i<that.goodsShelfTotalData.length;i++){ for(var i=0;i<that.goodsShelfTotalData.length;i++){
@ -1085,7 +1102,9 @@ export default {
} }
} }
// that.goodsShelfTotalData.push(that.importanceArr[evt.oldIndex]) // that.goodsShelfTotalData.push(that.importanceArr[evt.oldIndex])
// that.addGoods(that.importanceArr[evt.oldIndex]) console.log(that.importanceArr[evt.oldIndex])
console.log('---xxxxxxssss')
that.addGoods(that.importanceArr[evt.oldIndex])
} }
} }
} }
@ -1113,7 +1132,9 @@ export default {
addGoodsOpen: 'system/addGoodsOpen', addGoodsOpen: 'system/addGoodsOpen',
setBusinessKey: 'system/setBusinessKey', setBusinessKey: 'system/setBusinessKey',
addGoods: 'system/addGoods', addGoods: 'system/addGoods',
deleteGoods: 'system/deleteGoods' deleteGoods: 'system/deleteGoods',
stampJudge: 'system/stampJudge',
payMoney: 'system/payMoney'
}), }),
checkTake(myKey){ checkTake(myKey){
if(this.takeCheck === myKey) { if(this.takeCheck === myKey) {
@ -1124,9 +1145,17 @@ export default {
}, },
selectBusiness(myKey) { selectBusiness(myKey) {
if(!myKey) { if(!myKey) {
this.$message({ this.$confirm('由于您未选择一个业务,系统将返回主界面, 是否继续?', '提示', {
message: '请选择一个业务!', confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => {
this.$router.push('/index')
}).catch(() => {
this.$message({
type: 'info',
message: '请选择一个业务'
});
}); });
return return
} }
@ -1272,8 +1301,6 @@ export default {
}, },
checkSeal(id) {/* 选中印章 */ checkSeal(id) {/* 选中印章 */
this.sealChecked.includes(id) ? this.sealChecked.splice(this.sealChecked.indexOf(id), 1) : this.sealChecked.push(id); this.sealChecked.includes(id) ? this.sealChecked.splice(this.sealChecked.indexOf(id), 1) : this.sealChecked.push(id);
console.log('---')
console.log(this.sealChecked)
}, },
checkImportant(id){/* 选中重空凭证 */ checkImportant(id){/* 选中重空凭证 */
this.importantChecked.includes(id) ? this.importantChecked.splice(this.importantChecked.indexOf(id), 1) : this.importantChecked.push(id); this.importantChecked.includes(id) ? this.importantChecked.splice(this.importantChecked.indexOf(id), 1) : this.importantChecked.push(id);
@ -1338,6 +1365,21 @@ export default {
}else{ }else{
this.$message.error('请输入密码和确认密码'); this.$message.error('请输入密码和确认密码');
} }
}else if(this.popText == '印章盒') {
const id = this.receptionList[0].id
const sealArr = [...this.sealChecked]
this.stampJudge({ sealArr, id})
console.log(this.receptionList)
console.log(this.sealChecked)
}else if(this.popText == '钱箱') {
console.log(this.receptionList)
for(let i=0; i<this.receptionList.length; i++) {
if(this.receptionList[i].id === 15) {
this.payMoney()
this.moneyBox.push(...this.receptionList)
break;
}
}
}else{ }else{
console.log('-刷卡确认') console.log('-刷卡确认')
// this.goodsShelfTotalData = this.auditGoodsShelf // this.goodsShelfTotalData = this.auditGoodsShelf

@ -18,9 +18,13 @@
<el-form-item label="收款人名称" prop="collectionName"> <el-form-item label="收款人名称" prop="collectionName">
<el-input :value="form.collectionName" @input="val => checkName(val, form, 'collectionName')" ref="collectionName"></el-input> <el-input :value="form.collectionName" @input="val => checkName(val, form, 'collectionName')" ref="collectionName"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="币种" prop="currencyType"> <el-form-item label="币种" prop="currencyType">
<el-input ref="currencyType" :value="form.currencyType" @input="(val) => checkName(val, form, 'currencyType')"></el-input> <el-select v-model="form.currencyType" placeholder="请选择" ref="currencyType">
<el-option value="CYC人民币">CYC人民币</el-option>
</el-select>
</el-form-item> </el-form-item>
<el-form-item label="汇票号码" prop="moneyOrderNumber"> <el-form-item label="汇票号码" prop="moneyOrderNumber">
<el-input :value="form.moneyOrderNumber" @input="val => checkHanzi(val, form, 'moneyOrderNumber')" ref="moneyOrderNumber"></el-input> <el-input :value="form.moneyOrderNumber" @input="val => checkHanzi(val, form, 'moneyOrderNumber')" ref="moneyOrderNumber"></el-input>
</el-form-item> </el-form-item>
@ -227,7 +231,7 @@ export default {
}, },
383: { 383: {
prop: 'currencyType', // 3 prop: 'currencyType', // 3
type: '3', type: '1',
"subjectId": '8', "subjectId": '8',
}, },
386: { 386: {

@ -12,7 +12,9 @@
<el-input :value="form.username" @input="(val) => checkHanzi(val, form, 'username')" ref="username"></el-input> <el-input :value="form.username" @input="(val) => checkHanzi(val, form, 'username')" ref="username"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="币种" prop="currency"> <el-form-item label="币种" prop="currency">
<el-input ref="currency" :value="form.currency" @input="(val) => checkName(val, form, 'currency')"></el-input> <el-select v-model="form.currency" placeholder="请选择" ref="currency">
<el-option value="CYC人民币">CYC人民币</el-option>
</el-select>
</el-form-item> </el-form-item>
<el-form-item label="存款金额" prop="depositNum"> <el-form-item label="存款金额" prop="depositNum">
<el-input :value="form.depositNum" @input="val => ismoney(val, form, 'depositNum')" ref="depositNum"></el-input> <el-input :value="form.depositNum" @input="val => ismoney(val, form, 'depositNum')" ref="depositNum"></el-input>

@ -59,7 +59,9 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="币种" prop="currencyType"> <el-form-item label="币种" prop="currencyType">
<el-input ref="currencyType" :value="form.currencyType" @input="(val) => checkName(val, form, 'currencyType')"></el-input> <el-select v-model="form.currencyType" placeholder="请选择" ref="currencyType">
<el-option value="CYC人民币">CYC人民币</el-option>
</el-select>
</el-form-item> </el-form-item>
<el-form-item label="计息方式" prop="calculateWay"> <el-form-item label="计息方式" prop="calculateWay">
<el-select v-model="form.calculateWay" placeholder="请选择" ref="calculateWay"> <el-select v-model="form.calculateWay" placeholder="请选择" ref="calculateWay">

@ -47,7 +47,9 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="币种" prop="currencyType"> <el-form-item label="币种" prop="currencyType">
<el-input ref="currencyType" :value="form.currencyType" @input="(val) => checkName(val, form, 'currencyType')"></el-input> <el-select v-model="form.currencyType" placeholder="请选择" ref="currencyType">
<el-option value="CYC人民币">CYC人民币</el-option>
</el-select>
</el-form-item> </el-form-item>
<el-form-item label="支取方式" prop="payWay"> <el-form-item label="支取方式" prop="payWay">
<el-select v-model="form.payWay" placeholder="请选择" ref="payWay"> <el-select v-model="form.payWay" placeholder="请选择" ref="payWay">

@ -37,7 +37,9 @@
</el-col> </el-col>
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
<el-form-item label="币种" prop="currency"> <el-form-item label="币种" prop="currency">
<el-input :value="form.currency" @input="val => checkHanzi(val, form, 'currency')" ref="currency"></el-input> <el-select v-model="form.currency" placeholder="请选择" ref="currency">
<el-option value="CYC人民币">CYC人民币</el-option>
</el-select>
</el-form-item> </el-form-item>
<el-form-item label="提出场次" prop="proposeTime"> <el-form-item label="提出场次" prop="proposeTime">
<el-input :value="form.proposeTime" @input="val => inputListen(val, form, 'proposeTime')" ref="proposeTime"></el-input> <el-input :value="form.proposeTime" @input="val => inputListen(val, form, 'proposeTime')" ref="proposeTime"></el-input>
@ -176,7 +178,7 @@ export default {
361: { 361: {
prop: 'currency', // 1 prop: 'currency', // 1
type: '3', type: '1',
"subjectId": '8', "subjectId": '8',
}, },
363: { 363: {

@ -39,7 +39,9 @@
</el-col> </el-col>
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
<el-form-item label="币种" prop="currency"> <el-form-item label="币种" prop="currency">
<el-input :value="form.currency" @input="(val) => checkHanzi(val, form, 'currency')" ref="currency"></el-input> <el-select v-model="form.currency" placeholder="请选择" ref="currency">
<el-option value="CYC人民币">CYC人民币</el-option>
</el-select>
</el-form-item> </el-form-item>
<el-form-item label="提出场次" prop="proposeTime"> <el-form-item label="提出场次" prop="proposeTime">
<el-input :value="form.proposeTime" @input="val => inputListen(val, form, 'proposeTime')" ref="proposeTime"></el-input> <el-input :value="form.proposeTime" @input="val => inputListen(val, form, 'proposeTime')" ref="proposeTime"></el-input>
@ -170,7 +172,7 @@ export default {
// abstract: '', // // abstract: '', //
348: { 348: {
prop: 'currency', // 1 prop: 'currency', // 1
type: '3', type: '1',
"subjectId": '8', "subjectId": '8',
}, },
350: { 350: {

@ -9,8 +9,10 @@
<p>请刷卡</p> <p>请刷卡</p>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="币种"> <el-form-item label="币种" prop="currency">
<el-input ref="currency" :value="form.currency" @input="(val) => checkName(val, form, 'currency')"></el-input> <el-select v-model="form.currency" placeholder="请选择" ref="currency">
<el-option value="CYC人民币">CYC人民币</el-option>
</el-select>
</el-form-item> </el-form-item>
<el-form-item label="金额"> <el-form-item label="金额">
<el-input :value="form.money" @input="val => ismoney(val, form, 'money')" ref="money"></el-input> <el-input :value="form.money" @input="val => ismoney(val, form, 'money')" ref="money"></el-input>

@ -10,7 +10,9 @@
<el-input :value="form.userNumber" @input="(val) => checkHanzi(val, form, 'userNumber')" ref="userNumber"></el-input> <el-input :value="form.userNumber" @input="(val) => checkHanzi(val, form, 'userNumber')" ref="userNumber"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="币种" prop="currency"> <el-form-item label="币种" prop="currency">
<el-input ref="currency" :value="form.currency" @input="(val) => checkName(val, form, 'currency')"></el-input> <el-select v-model="form.currency" placeholder="请选择" ref="currency">
<el-option value="CYC人民币">CYC人民币</el-option>
</el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">

@ -9,8 +9,10 @@
<p>请刷卡</p> <p>请刷卡</p>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="币种"> <el-form-item label="币种" prop="currency">
<el-input ref="currency" :value="form.currency" @input="(val) => checkName(val, form, 'currency')"></el-input> <el-select v-model="form.currency" placeholder="请选择" ref="currency">
<el-option value="CYC人民币">CYC人民币</el-option>
</el-select>
</el-form-item> </el-form-item>
<el-form-item label="金额"> <el-form-item label="金额">
<el-input disabled :value="form.money" @input="val => ismoney(val, form, 'money')"></el-input> <el-input disabled :value="form.money" @input="val => ismoney(val, form, 'money')"></el-input>

@ -9,8 +9,10 @@
<p>请刷卡</p> <p>请刷卡</p>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="币种"> <el-form-item label="币种" prop="currency">
<el-input ref="currency" :value="form.currency" @input="(val) => checkName(val, form, 'currency')"></el-input> <el-select v-model="form.currency" placeholder="请选择" ref="currency">
<el-option value="CYC人民币">CYC人民币</el-option>
</el-select>
</el-form-item> </el-form-item>
<el-form-item label="金额" prop="money"> <el-form-item label="金额" prop="money">
<el-input :value="form.money" @input="val => ismoney(val, form, 'money')" ref="money"></el-input> <el-input :value="form.money" @input="val => ismoney(val, form, 'money')" ref="money"></el-input>

@ -9,8 +9,10 @@
<p>请刷卡</p> <p>请刷卡</p>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="币种"> <el-form-item label="币种" prop="currency">
<el-input ref="currency" :value="form.currency" @input="(val) => checkName(val, form, 'currency')"></el-input> <el-select v-model="form.currency" placeholder="请选择" ref="currency">
<el-option value="CYC人民币">CYC人民币</el-option>
</el-select>
</el-form-item> </el-form-item>
<el-form-item label="金额"> <el-form-item label="金额">
<el-input :value="form.money" @input="val => ismoney(val, form, 'money')"></el-input> <el-input :value="form.money" @input="val => ismoney(val, form, 'money')"></el-input>

@ -10,7 +10,9 @@
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="币种" prop="currency"> <el-form-item label="币种" prop="currency">
<el-input ref="currency" :value="form.currency" @input="(val) => checkName(val, form, 'currency')"></el-input> <el-select v-model="form.currency" placeholder="请选择" ref="currency">
<el-option value="CYC人民币">CYC人民币</el-option>
</el-select>
</el-form-item> </el-form-item>
<el-form-item label="金额" prop="money"> <el-form-item label="金额" prop="money">
<el-input :value="form.money" @input="val => ismoney(val, form, 'money')" ref="money"></el-input> <el-input :value="form.money" @input="val => ismoney(val, form, 'money')" ref="money"></el-input>

@ -13,7 +13,9 @@
<el-input ref="clientNumber" :value="form.clientNumber" @input="(val) => checkHanzi(val, form, 'clientNumber')"></el-input> <el-input ref="clientNumber" :value="form.clientNumber" @input="(val) => checkHanzi(val, form, 'clientNumber')"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="币种" prop="currency"> <el-form-item label="币种" prop="currency">
<el-input ref="currency" :value="form.currency" @input="(val) => checkName(val, form, 'currency')"></el-input> <el-select v-model="form.currency" placeholder="请选择" ref="currency">
<el-option value="CYC人民币">CYC人民币</el-option>
</el-select>
</el-form-item> </el-form-item>
<el-form-item label="凭证类型" prop="voucherType"> <el-form-item label="凭证类型" prop="voucherType">
<el-select disabled v-model="form.voucherType" placeholder="请选择" ref="voucherType"> <el-select disabled v-model="form.voucherType" placeholder="请选择" ref="voucherType">

@ -10,7 +10,9 @@
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="币种" prop="currencyType"> <el-form-item label="币种" prop="currencyType">
<el-input ref="currencyType" :value="form.currencyType" @input="(val) => checkName(val, form, 'currencyType')"></el-input> <el-select v-model="form.currencyType" placeholder="请选择" ref="currencyType">
<el-option value="CYC人民币">CYC人民币</el-option>
</el-select>
</el-form-item> </el-form-item>
<el-form-item label="定存编号" prop="depositNumber"> <el-form-item label="定存编号" prop="depositNumber">
<el-input ref="depositNumber" :value="form.depositNumber" @input="(val) => checkHanzi(val, form, 'depositNumber')"></el-input> <el-input ref="depositNumber" :value="form.depositNumber" @input="(val) => checkHanzi(val, form, 'depositNumber')"></el-input>

@ -15,7 +15,9 @@
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="币种" prop="currency"> <el-form-item label="币种" prop="currency">
<el-input ref="currency" :value="form.currency" @input="(val) => checkName(val, form, 'currency')"></el-input> <el-select v-model="form.currency" placeholder="请选择" ref="currency">
<el-option value="CYC人民币">CYC人民币</el-option>
</el-select>
</el-form-item> </el-form-item>
<el-form-item label="定存编号" prop="depositNumber"> <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" @input="(val) => checkHanzi(val, form, 'depositNumber')" ref="depositNumber"></el-input>

@ -26,7 +26,9 @@
<el-input ref="customerName" :value="form.customerName" @input="(val) => checkName(val, form, 'customerName')"></el-input> <el-input ref="customerName" :value="form.customerName" @input="(val) => checkName(val, form, 'customerName')"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="币种" prop="currency"> <el-form-item label="币种" prop="currency">
<el-input ref="currency" :value="form.currency" @input="(val) => checkName(val, form, 'currency')"></el-input> <el-select v-model="form.currency" placeholder="请选择" ref="currency">
<el-option value="CYC人民币">CYC人民币</el-option>
</el-select>
</el-form-item> </el-form-item>
<el-form-item label="存期" prop="depositTerm"> <el-form-item label="存期" prop="depositTerm">
<el-select disabled v-model="form.depositTerm" placeholder="请选择" ref="depositTerm"> <el-select disabled v-model="form.depositTerm" placeholder="请选择" ref="depositTerm">

@ -13,7 +13,9 @@
<el-input ref="clientNumber" :value="form.clientNumber" @input="(val) => checkHanzi(val, form, 'clientNumber')" ></el-input> <el-input ref="clientNumber" :value="form.clientNumber" @input="(val) => checkHanzi(val, form, 'clientNumber')" ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="币种" prop="currency"> <el-form-item label="币种" prop="currency">
<el-input ref="currency" :value="form.currency" @input="(val) => checkName(val, form, 'currency')"></el-input> <el-select v-model="form.currency" placeholder="请选择" ref="currency">
<el-option value="CYC人民币">CYC人民币</el-option>
</el-select>
</el-form-item> </el-form-item>
<el-form-item label="凭证类型" prop="voucherType"> <el-form-item label="凭证类型" prop="voucherType">
<el-select disabled v-model="form.voucherType" placeholder="请选择" ref="voucherType"> <el-select disabled v-model="form.voucherType" placeholder="请选择" ref="voucherType">

@ -18,8 +18,16 @@ const allGoods = {
14: {name:'开户申请书',src:require('@/assets/img/goods/khsqs.png'),id:14}, 14: {name:'开户申请书',src:require('@/assets/img/goods/khsqs.png'),id:14},
15: {name:'现金',src:require('@/assets/img/goods/cash-sm.png'),id:15}, 15: {name:'现金',src:require('@/assets/img/goods/cash-sm.png'),id:15},
17: {name:'存款凭条',src:require('@/assets/img/goods/ckpt.png'),id:17}, 17: {name:'存款凭条',src:require('@/assets/img/goods/ckpt.png'),id:17},
// 以下是我自己加的id 本来没有的 业务需要
141: {name:'开户申请书凭证联',src:require('@/assets/img/goods/khsqs.png'),id:141},
142: {name:'开户申请书回单',src:require('@/assets/img/goods/khsqs.png'),id:142},
171: {name:'存款凭条凭证联',src:require('@/assets/img/goods/ckpt.png'),id:171},
172: {name:'存款凭条回单',src:require('@/assets/img/goods/ckpt.png'),id:172},
} }
export default { export default {
namespaced: true, namespaced: true,
state: {/* 管理柜台状态 */ state: {/* 管理柜台状态 */
@ -37,7 +45,11 @@ export default {
}, },
'项目一': { '项目一': {
data: [15, 13, 23, 14], data: [15, 13, 23, 14],
needs: [16, 17] needs: [16, 17],
isStamp: {
'业务专用章': [14, 17],
'附件章': [23]
}
}, },
}, },
goods:[// 物品栏的物品 goods:[// 物品栏的物品
@ -80,6 +92,39 @@ export default {
], ],
}, },
mutations: { mutations: {
payMoney(state) {
const index = state.businessSelect[state.businessKey].data.findIndex(item => item === 15)
if(index !== -1) {
state.businessSelect[state.businessKey].data.splice(index, 1)
}
},
stampJudge(state, { sealArr, id }) {
const needStamp = state.businessSelect[state.businessKey].isStamp
for(let seal in needStamp) {
for(let i=0; i<sealArr.length; i++ ) {
if(sealArr[i] in needStamp && needStamp[sealArr[i]].includes(id)) {
this.commit('system/stampSure', { seal, id})
}
}
}
console.log('gai')
},
// 在盖章
stampSure(state, { seal, id }) {
// 先检查是否是需要的再传进来
const index = state.businessSelect[state.businessKey].data.findIndex(item => item === id)
console.log(index)
if(seal === '业务专用章') {
if(id === 14) {
state.businessSelect[state.businessKey].data.splice(index, 1, 141)
state.businessSelect[state.businessKey].data.push(142)
}
if(id === 17) {
state.businessSelect[state.businessKey].data.splice(index, 1, 171)
state.businessSelect[state.businessKey].data.push(172)
}
}
},
setBusinessKey: (state, val) => { setBusinessKey: (state, val) => {
// 这个是容错的 后面可以删掉 // 这个是容错的 后面可以删掉
if(!state.businessSelect[val]) { if(!state.businessSelect[val]) {

Loading…
Cancel
Save