20240205
luoJunYong.123 3 years ago
parent a072a0f9bf
commit f3f601d710
  1. 55
      src/components/checkPhoto/index.vue
  2. 109
      src/components/dialogTwo/index.vue
  3. 27
      src/pages/manage/list/ImportantCash/controlCash/cashOut.vue
  4. 40
      src/pages/manage/list/ImportantCash/controlCash/cashPaid.vue
  5. 48
      src/pages/manage/list/ImportantCash/controlCash/cashRecipients.vue
  6. 2
      src/pages/manage/list/ImportantCash/controlCash2/cashOut.vue
  7. 2
      src/pages/manage/list/ImportantCash/controlCash2/cashTransferInto.vue
  8. 4
      src/pages/manage/list/ImportantCash/controlCash3/index.vue
  9. 9
      src/pages/manage/list/cityWide/cityWideOut.vue
  10. 62
      src/pages/manage/list/dayEnd/tellerCertificate.vue
  11. 6
      src/pages/manage/navbar/index.vue
  12. 98
      src/store/modules/system.js

@ -1,5 +1,5 @@
<template> <template>
<div class="relative -translate-y-2/4" style="margin-top: 10px;color: black;" id="checkPhoto" v-drag> <div class="relative -translate-y-2/4 overflow-hidden" style="margin-top: 10px;color: black;" id="checkPhoto" v-drag>
<!-- <div class="bg-gray-400" @click="closeIt">关闭</div> --> <!-- <div class="bg-gray-400" @click="closeIt">关闭</div> -->
<img class="absolute cursor-pointer hover:bg-red-700" src="@/assets/svg/close.svg" alt="" @click="closeIt" style="right: 50px; top: 30px;" /> <img class="absolute cursor-pointer hover:bg-red-700" src="@/assets/svg/close.svg" alt="" @click="closeIt" style="right: 50px; top: 30px;" />
@ -30,30 +30,49 @@
<h3 class="text-xl" style="left: 96px;top: 356px;">NO.&nbsp;&nbsp;{{ dataFlow.idNumber }}</h3> <h3 class="text-xl" style="left: 96px;top: 356px;">NO.&nbsp;&nbsp;{{ dataFlow.idNumber }}</h3>
<!-- <img :src="imgSrc" class="imgPop imgIndex min-w-full dia-header" :alt="imgSrcName" :title="imgSrcName"> --> <!-- <img :src="imgSrc" class="imgPop imgIndex min-w-full dia-header" :alt="imgSrcName" :title="imgSrcName"> -->
</template> </template>
<template v-else-if="imgSrcId==412">
<h3 class="text-xs" style="left: 820px;top: 123px;">12802851701099</h3>
<h3 class="text-xs" style="left: 357px;top: 123px;">袋鼠互联网科技有限公司</h3>
</template>
<template v-else-if="imgSrcId==16 || imgSrcId==563" > <template v-else-if="imgSrcId==16 || imgSrcId==563" >
<h3 class="text-4xl text-white" style="left: 300px;top: 35px;">No: {{ dataFlow.voucherNumber }}</h3> <h3 class="text-4xl text-white" style="left: 300px;top: 35px;">No: {{ dataFlow.voucherNumber }}</h3>
<h3 class="text-4xl text-white" style="left: 300px;top: 390px;">:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{ dataFlow.userName }}</h3> <h3 class="text-4xl text-white" style="left: 300px;top: 390px;">:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{ dataFlow.userName }}</h3>
</template> </template>
<template v-else-if="imgSrcId==411" > <template v-else-if="imgSrcId==411" >
<h3 class="text-xl" style="left: 630px;top: 10px;">00242986</h3> <h3 class="text-xl" style="left: 630px;top: 10px;">00242986</h3>
<h3 class="text-xl" style="left: 690px;top: 70px;">商业银行</h3> <h3 class="text-xl" style="left: 690px;top: 70px;">商业银行</h3>
<h3 class="text-xl" style="left: 680px;top: 95px;">12802851701099</h3> <h3 class="text-xl" style="left: 680px;top: 95px;">12802851701099</h3>
<h3 class="text-xl" style="left: 300px;top: 95px;">袋鼠互联网科技有限公司</h3> <h3 class="text-xl" style="left: 300px;top: 95px;">{{ dataFlow.collectingCompany }}</h3>
<h3 class="text-xl" style="left: 340px;top: 129px;">{{ transMoney(dataFlow.getMoney) }}</h3> <h3 class="text-xl" style="left: 340px;top: 129px;">{{ transMoney(dataFlow.transMoney) }}</h3>
<h3 class="text-xl" style="left: 667px;top: 135px;letter-spacing: 2px">{{ ('' + dataFlow.getMoney).padStart(8, 0).padEnd(10, 0) }}</h3> <h3 class="text-xl" style="left: 667px;top: 135px;letter-spacing: 2px">{{ ('' + dataFlow.transMoney).padStart(8, 0).padEnd(10, 0) }}</h3>
<h3 class="text-xl" style="left: 300px;top: 172px;">工资性支出</h3> <h3 class="text-xl" style="left: 300px;top: 172px;">工资性支出</h3>
<h3 class="text-xs" style="left: 350px;top: 78px;">{{ mapNumber(getNowYear(0)) }}</h3> <h3 class="text-xs" style="left: 350px;top: 78px;">{{ mapNumber(getNowYear(0)) }}</h3>
<h3 class="text-xs" style="left: 420px;top: 78px;">{{ mapNumber(getNowYear(1)) }}</h3> <h3 class="text-xs" :style="{left: getNowYear(1)>10?'420px':'430px',top: '78px'}">{{ mapNumber(getNowYear(1)) }}</h3>
<h3 class="text-xs" style="left: 480px;top: 78px;">{{ mapNumber(getNowYear(2)) }}</h3> <h3 class="text-xs" :style="{left: getNowYear(2)>10?'471px':'485px',top: '78px'}">{{ mapNumber(getNowYear(2)) }}</h3>
<h3 class="text-xs" style="left: 76px;top: 189px;">{{ getNowYear(0) }}</h3> <h3 class="text-xs" style="left: 76px;top: 189px;">{{ getNowYear(0) }}</h3>
<h3 class="text-xs" style="left: 126px;top: 189px;">{{ getNowYear(1) }}</h3> <h3 class="text-xs" style="left: 126px;top: 189px;">{{ getNowYear(1) }}</h3>
<h3 class="text-xs" style="left: 163px;top: 189px;">{{ getNowYear(2) }}</h3> <h3 class="text-xs" style="left: 163px;top: 189px;">{{ getNowYear(2) }}</h3>
</template> </template>
<template v-else-if="imgSrcId==412" >
<h3 class="text-xl" style="left: 630px;top: 10px;">00246862</h3>
<h3 class="text-xs" style="left: 700px;top: 80px;">{{ dataFlow.collectingCompany }}</h3>
<h3 class="text-xs" style="left: 305px;top: 103px;">六品居股份有限公司</h3>
<h3 class="text-xs" style="left: 490px;top: 103px;">62270072009899</h3>
<h3 class="text-xs" style="left: 700px;top: 103px;">12802851701099</h3>
<h3 class="text-xl" style="left: 340px;top: 130px;">{{ transMoney(dataFlow.transMoney) }}</h3>
<h3 class="text-xl" style="left: 682px;top: 140px;letter-spacing: 2px">{{ ('' + dataFlow.transMoney).padStart(8, 0).padEnd(10, 0) }}</h3>
<h3 class="text-xs" :style="{ left: '355px',top: '80px' }">{{ mapNumber(getNowYear(0)) }}</h3>
<h3 class="text-xs" :style="{left: getNowYear(1)>10?'430px':'445px',top: '80px'}">{{ mapNumber(getNowYear(1)) }}</h3>
<h3 class="text-xs" :style="{left: getNowYear(2)>10?'482px':'497px',top: '80px'}">{{ mapNumber(getNowYear(2)) }}</h3>
<h3 class="text-xs" style="left: 80px;top: 194px;">{{ getNowYear(0) }}</h3>
<h3 class="text-xs" style="left: 128px;top: 194px;">{{ getNowYear(1) }}</h3>
<h3 class="text-xs" style="left: 167px;top: 194px;">{{ getNowYear(2) }}</h3>
</template>
<template v-else-if="imgSrcId==434 || imgSrcId==435" >
<h3 class="text-xl" style="left: 475px;top: 418px;">913403005685450862</h3>
<h3 class="text-xl" style="left: 220px;top: 480px;">{{ dataFlow.collectingCompany }}</h3>
</template>
<template v-else-if="imgSrcId==409" >
<h3 class="text-lg" style="left: 610px;top: 140px;">12802851701099</h3>
</template>
<img :src="imgSrc" class="imgPop imgIndex min-w-full dia-header" :alt="imgSrcName" :title="imgSrcName" ref="showPage"> <img :src="imgSrc" class="imgPop imgIndex min-w-full dia-header" :alt="imgSrcName" :title="imgSrcName" ref="showPage">
<slot /> <slot />
</div> </div>
@ -100,7 +119,7 @@ export default {
}, },
created() { created() {
// dataFlow.getMoney // dataFlow.transMoney
this.nowDate = (() => { this.nowDate = (() => {
const date = new Date() const date = new Date()
var y = date.getFullYear(); var y = date.getFullYear();
@ -132,6 +151,7 @@ export default {
dataFlow: 'system/dataFlow' dataFlow: 'system/dataFlow'
}), }),
getNowYear() { getNowYear() {
console.log(this.dataFlow)
return (index) => { return (index) => {
return this.nowDate.split('-')[index] return this.nowDate.split('-')[index]
} }
@ -142,7 +162,7 @@ export default {
var strOutput = "", var strOutput = "",
strUnit = '仟佰拾亿仟佰拾万仟佰拾元角分'; strUnit = '仟佰拾亿仟佰拾萬仟佰拾圆角分';
num += "00"; num += "00";
@ -160,7 +180,7 @@ export default {
strOutput += '零壹贰叁肆伍陆柒捌玖'.substr(num.substr(i,1),1) + strUnit.substr(i,1); strOutput += '零壹贰叁肆伍陆柒捌玖'.substr(num.substr(i,1),1) + strUnit.substr(i,1);
} }
return strOutput.replace(/零角零分$/, '').replace(/零[仟佰拾]/g, '零').replace(/零{2,}/g, '零').replace(/零([亿|])/g, '$1').replace(/零+元/, '元').replace(/亿零{0,3}/, '亿').replace(/^元/, "零元") return strOutput.replace(/零角零分$/, '').replace(/零[仟佰拾]/g, '零').replace(/零{2,}/g, '零').replace(/零([亿|])/g, '$1').replace(/零+圆/, '圆').replace(/亿零{0,3}/, '亿').replace(/^圆/, "零圆")
} }
}, },
@ -185,10 +205,13 @@ export default {
strEnd += myMap.get(val) strEnd += myMap.get(val)
} }
}else { }else {
if(str.indexOf('0' === 0)) { if(str.charAt(0) == '0') {
strEnd = myMap.get(str.charAt(1)) strEnd = myMap.get(str.charAt(1))
}else { }else {
strEnd = myMap.get(str.charAt(0)) + '拾' + myMap.get(str.charAt(1)) strEnd = myMap.get(str.charAt(0)) + '拾'
if(str.charAt(1) != '0') {
strEnd += myMap.get(str.charAt(1))
}
} }
} }

@ -55,108 +55,7 @@
<el-button class="sure btn hover:bg-blue-700 " type="primary" @click="sureIt"> </el-button> <el-button class="sure btn hover:bg-blue-700 " type="primary" @click="sureIt"> </el-button>
</div> </div>
</div> </div>
<!-- <div width="900px" class="data-dia23 max-h-screen 2xl:-mt-20;" ref="dataDia" v-drag>
<div class="dia-header">
<div class="data-title" v-if="flow === 1 || flow === 2">授权</div>
<div class="data-title" v-else>提交成功</div>
</div>
<div class="popBody w-full" v-if="flow === 1">
<h2 class="text-red-500 text-2xl">本业务需要授权</h2>
</div>
<div class="popBody" v-else-if="flow === 4">
<h2 class="text-red-500 text-2xl">提交后将不可更改您确认提交吗</h2>
</div>
<div class="popBody" v-else-if="flow === 2">
<el-form ref="form2" :model="disForm" label-width="80px">
<el-form-item label="授权柜员">
<el-input disabled v-model="disForm.name"></el-input>
</el-form-item>
<el-form-item label="授权柜员">
<el-input type="password" disabled v-model="disForm.pass"></el-input>
</el-form-item>
</el-form>
</div>
<div class="popBody w-full" v-else>
<el-row :gutter="20">
<el-form label-width="100px">
<el-col :span="10" :offset="1">
<el-form-item v-for="(val, key) in leftObj" :key="key" :label="key + ':'">
<div>{{ val }}</div>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item v-for="(val, key) in rightObj" :key="key" :label="key + ':'">
<div>{{ val }}</div>
</el-form-item>
</el-col>
</el-form>
</el-row>
</div>
<div class="popBtns" v-if="flow === 1 || flow === 2 || flow === 4">
<el-button class="close btn hover:bg-blue-100 " @click="cancelIt"> </el-button>
<el-button class="sure btn hover:bg-blue-700 " type="primary" @click="sureIt"> </el-button>
</div>
<div class="myPopBtns" v-else>
<el-button class="sure btn hover:bg-blue-700 " type="primary" @click="sureIt"> </el-button>
</div>
</div> -->
</el-dialog> </el-dialog>
<!-- <el-dialog
style="margin-top:0vh"
:visible="visible"
class="w-9/12"
append-to-body
:close-on-click-modal="true"
:show-close="false"
custom-class="data-dia mx-auto">
<div slot="title" class="dia-header">
<div class="data-title" v-if="flow === 1 || flow === 2">提交</div>
<div class="data-title" v-else>{{ successName }}</div>
</div>
<div class="popBody" v-if="flow === 1">
<h2 class="text-red-500 text-2xl">本业务需要授权</h2>
</div>
<div class="popBody" v-else-if="flow === 2">
<el-form ref="form2" :model="disForm" label-width="120px">
<el-form-item label="授权柜员">
<el-input disabled v-model="disForm.name"></el-input>
</el-form-item>
<el-form-item label="授权柜员">
<el-input type="password" disabled v-model="disForm.pass"></el-input>
</el-form-item>
</el-form>
</div>
<div class="popBody" v-else>
<el-row :gutter="20">
<el-form label-width="100px">
<el-col :span="10" :offset="1">
<el-form-item v-for="(val, key) in leftObj" :key="key" :label="key + ':'">
<div>{{ val }}</div>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item v-for="(val, key) in rightObj" :key="key" :label="key + ':'">
<div>{{ val }}</div>
</el-form-item>
</el-col>
</el-form>
</el-row>
</div>
<div class="popBtns" v-if="flow === 1 || flow === 2">
<el-button class="close btn hover:bg-blue-100" @click="cancelIt"> </el-button>
<el-button class="sure btn hover:bg-blue-700" type="primary" @click="sureIt"> </el-button>
</div>
<div class="myPopBtns" v-else>
<el-button class="sure btn hover:bg-blue-700" type="primary" @click="sureIt"> </el-button>
</div>
</el-dialog> -->
</template> </template>
<script> <script>
@ -354,7 +253,7 @@ export default {
}, },
created() { created() {
if(!this.needAuth) { if(!this.needAuth) {
this.flow = 3 this.flow = 4
} }
let num = 0; let num = 0;
for(const key in this.showForm) { for(const key in this.showForm) {
@ -421,10 +320,10 @@ export default {
}else if(this.flow === 2) { }else if(this.flow === 2) {
this.flow = 3 this.flow = 3
this.$emit('submitIt') this.$emit('submitIt')
}else if(this.flow === 4) {
this.flow = 3
this.$emit('submitIt')
}else { }else {
//
//
this.cancelIt() this.cancelIt()
} }
}, },

@ -97,7 +97,7 @@
<template slot-scope="scope"> <template slot-scope="scope">
<div class="myFlex"> <div class="myFlex">
<el-input type='text' @input="val => inputListen(val, scope.row)" min="0" :value="scope.row.moneyNumber"></el-input> <el-input type='text' @input="val => inputListen(val, scope.row)" min="0" :value="scope.row.moneyNumber"></el-input>
<span></span> <span>{{ scope.row.moneyMedium.includes('硬币')? '枚': '' }}</span>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
@ -124,7 +124,7 @@
</el-col> </el-col>
<el-col :span="10"> <el-col :span="10">
<el-form-item label="接收柜员" prop="receiveCounter"> <el-form-item label="接收柜员" prop="receiveCounter">
<el-input :value="form.receiveCounter" ref='receiveCounter' maxlength="20" @input="(val) => checkName(val, form, 'receiveCounter')"></el-input> <el-input :value="form.receiveCounter" ref='receiveCounter' maxlength="20" @input="(val) => inputListen(val, form, 'receiveCounter')"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -137,7 +137,7 @@
<script> <script>
import { tableRowClassName, headerCellStyle, cellStyle } from '@/assets/js/myConfig' import { tableRowClassName, headerCellStyle, cellStyle } from '@/assets/js/myConfig'
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2 } from '@/utils/utilFunction.js' import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, inputListen } from '@/utils/utilFunction.js'
import { addOperation } from '@/api/http'; import { addOperation } from '@/api/http';
const moduleName = 'controlCash/cashOut' const moduleName = 'controlCash/cashOut'
@ -205,20 +205,17 @@ export default {
moneyMedium: '纸币', moneyMedium: '纸币',
moneyNumber: 0 moneyNumber: 0
}, },
{
moneyType: '1元',
moneyMedium: '纸币',
moneyNumber: 0
}
], ],
tableData2: [ tableData2: [
{ {
moneyType: '1元', moneyType: '1元',
moneyMedium: '币', moneyMedium: '币',
moneyNumber: 0 moneyNumber: 0
}, },
{ {
moneyType: '5角', moneyType: '1元',
moneyMedium: '硬币', moneyMedium: '硬币',
moneyNumber: 0 moneyNumber: 0
}, },
@ -228,7 +225,7 @@ export default {
moneyNumber: 0 moneyNumber: 0
}, },
{ {
moneyType: '1角', moneyType: '5角',
moneyMedium: '硬币', moneyMedium: '硬币',
moneyNumber: 0 moneyNumber: 0
}, },
@ -237,6 +234,11 @@ export default {
moneyMedium: '纸币', moneyMedium: '纸币',
moneyNumber: 0 moneyNumber: 0
}, },
{
moneyType: '1角',
moneyMedium: '硬币',
moneyNumber: 0
}
], ],
visible:false, visible:false,
} }
@ -324,7 +326,8 @@ export default {
}) })
}, },
tableRowClassName: tableRowClassName, tableRowClassName: tableRowClassName,
checkName checkName,
inputListen
} }
}; };
</script> </script>

@ -73,7 +73,7 @@ const moduleName = 'controlCash/cashPaid'
import { mapMutations, mapGetters } from 'vuex' import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore' import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialogTwo' import MyDialog from '@/components/dialogTwo'
import { addOperation } from '@/api/http'; import { addOperation, getOperation } from '@/api/http';
export default { export default {
name: 'index', name: 'index',
components:{ components:{
@ -90,8 +90,8 @@ export default {
isNeedBefore: '', isNeedBefore: '',
needBefore: '', needBefore: '',
form:{ form:{
clickIt1: '未确认', clickIt1: '',
clickIt2: '未退回' clickIt2: ''
}, },
formName:{ formName:{
clickIt1: '调入状态', clickIt1: '调入状态',
@ -129,30 +129,48 @@ export default {
} }
}, },
created() { created() {
if(this.inMyWork(moduleName)) { getOperation({
if(this.needsModule(moduleName) === '') { parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,31,518,523"
}).then((data)=>{
if(data.data.status == 500) {
return;
}
const { data: { judgmentRuleReqs } } = data;
if(judgmentRuleReqs.length>0) {
const { answerId } = judgmentRuleReqs[0];
if(answerId == '525') {
this.form.clickIt1 = '确认调入'
}else { }else {
this.isNeedBefore = true this.form.clickIt2 = '确认退回'
this.needBefore = this.needsModule(moduleName)
} }
}else {
this.isNeedBefore = true
this.unNeed = true
} }
})
}, },
methods: { methods: {
...mapMutations({
setTipsOperate: 'system/setTipsOperate'
}),
tableRowClassName: tableRowClassName, tableRowClassName: tableRowClassName,
sure(row) { sure(row) {
if(this.form.clickIt2 === '确认退回') {
this.setTipsOperate('您已选择退回')
return
}
this.form.clickIt1 = '确认调入' this.form.clickIt1 = '确认调入'
}, },
back(row) { back(row) {
if(this.form.clickIt1 === '确认调入') {
this.setTipsOperate('您已选择调入')
return
}
this.form.clickIt2 = '确认退回' this.form.clickIt2 = '确认退回'
}, },
submitClick() { submitClick() {
this.visible = true this.visible = true
}, },
submitForm2() { submitForm2() {
console.log('xxx')
let projectId = sessionStorage.getItem('projectId') let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
const formList = [] const formList = []
@ -174,7 +192,7 @@ export default {
// message: '', // message: '',
// type: 'success' // type: 'success'
// }); // });
this.setNeedsModule(moduleName) // this.setNeedsModule(moduleName)
// this.setDataFlow({ ...this.form }) // this.setDataFlow({ ...this.form })
}).catch((error)=>{ }).catch((error)=>{
}) })

@ -72,7 +72,7 @@ import { tableRowClassName, headerCellStyle } from '@/assets/js/myConfig'
import { getNowDate } from '@/utils/utilFunction' import { getNowDate } from '@/utils/utilFunction'
import MyDialog from '@/components/dialogTwo' import MyDialog from '@/components/dialogTwo'
import NeedBefore from '@/components/needBefore' import NeedBefore from '@/components/needBefore'
import { addOperation } from '@/api/http'; import { addOperation, getOperation } from '@/api/http';
const moduleName = 'controlCash/cashRecipients' const moduleName = 'controlCash/cashRecipients'
import { mapMutations, mapGetters } from 'vuex' import { mapMutations, mapGetters } from 'vuex'
@ -92,8 +92,8 @@ export default {
needBefore: '', needBefore: '',
text:'柜员现金轧账',/* 顶部文字 */ text:'柜员现金轧账',/* 顶部文字 */
form:{ form:{
clickIt1: '未领用', // clickIt1: '', //
clickIt2: '未退回',// clickIt2: '',//
}, },
formName: { formName: {
clickIt1: '领用状态', clickIt1: '领用状态',
@ -131,23 +131,51 @@ export default {
} }
}, },
created() { created() {
if(this.inMyWork(moduleName)) { // if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') { // if(this.needsModule(moduleName) === '') {
}else { // }else {
this.isNeedBefore = true // this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName) // this.needBefore = this.needsModule(moduleName)
// }
// }else {
// this.isNeedBefore = true
// this.unNeed = true
// }
getOperation({
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,31,518,521"
}).then((data)=>{
if(data.data.status === 500) {
return;
} }
const { data: { judgmentRuleReqs } } = data;
if(judgmentRuleReqs.length>0) {
const { answerId } = judgmentRuleReqs[0];
if(answerId == '525') {
this.form.clickIt1 = '已领用'
}else { }else {
this.isNeedBefore = true this.form.clickIt2 = '已退回'
this.unNeed = true }
} }
})
}, },
methods: { methods: {
...mapMutations({
setTipsOperate: 'system/setTipsOperate'
}),
sure(row) { sure(row) {
if(this.form.clickIt2 === '已退回') {
this.setTipsOperate('您已选择退回')
return
}
this.form.clickIt1 = '已领用' this.form.clickIt1 = '已领用'
}, },
back(row) { back(row) {
if(this.form.clickIt1 === '已领用') {
this.setTipsOperate('您已选择领用')
return
}
this.form.clickIt2 = '已退回' this.form.clickIt2 = '已退回'
}, },
submitClick() { submitClick() {

@ -152,7 +152,7 @@ export default {
submitClick() { submitClick() {
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
if(this.form.number <= 0) { if(this.form.number <= 0) {
this.setTipsOperate('您的起始号码卡号比结束号码卡号排序更后,请检查一下。') this.setTipsOperate('结束号码应大于起始号码。')
return return
} }
this.visible = true this.visible = true

@ -146,7 +146,7 @@ export default {
submitClick() { submitClick() {
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
if(this.form.number <= 0) { if(this.form.number <= 0) {
this.setTipsOperate('您的起始号码卡号比结束号码卡号排序更后,请检查一下。') this.setTipsOperate('结束号码应大于起始号码')
return return
} }
this.visible = true this.visible = true

@ -197,7 +197,7 @@ export default {
endNumber: [ endNumber: [
{ {
required: true, required: true,
message: '请输入凭证起始号', message: '请输入凭证终止号',
trigger: 'blur' trigger: 'blur'
} }
], ],
@ -252,7 +252,7 @@ export default {
// type: 'warning', // type: 'warning',
// center: true // center: true
// }); // });
this.setTipsOperate('您的起始号码卡号比结束号码卡号排序更后,请检查一下。') this.setTipsOperate('结束号码应大于起始号码')
return return
} }
this.visible = true this.visible = true

@ -136,6 +136,7 @@ export default {
message: '请输入本行收款账号', message: '请输入本行收款账号',
trigger: 'blur' trigger: 'blur'
}, },
{ {
pattern: /^[0-9]*$/, pattern: /^[0-9]*$/,
message: '请输入数字' message: '请输入数字'
@ -145,6 +146,13 @@ export default {
// message: '', // message: '',
// } // }
], ],
otherAccountUsername: [
{
required: true,
message: '请输入本行收款户名',
trigger: 'blur'
},
],
currency: [ currency: [
{ {
required: true, required: true,
@ -180,6 +188,7 @@ export default {
trigger: 'blur' trigger: 'blur'
} }
], ],
voucherNumber: [ voucherNumber: [
{ {
required: true, required: true,

@ -6,7 +6,7 @@
<!-- 存款 --> <!-- 存款 -->
<div class="body"> <div class="body">
<el-row :gutter="20" style="margin: 0"> <el-row :gutter="20" style="margin: 0">
<el-form ref="form" :model="form" label-width="120px"> <el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
<el-form-item label="日期" required> <el-form-item label="日期" required>
<!-- <el-date-picker type="date" placeholder="选择日期" v-model="form.date" style="width: 100%;"></el-date-picker> --> <!-- <el-date-picker type="date" placeholder="选择日期" v-model="form.date" style="width: 100%;"></el-date-picker> -->
@ -14,7 +14,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
<el-form-item label="柜员号" required> <el-form-item label="柜员号" prop="counterNumber">
<el-input :value="form.counterNumber" @input="(val) => checkHanzi(val, form, 'counterNumber')"></el-input> <el-input :value="form.counterNumber" @input="(val) => checkHanzi(val, form, 'counterNumber')"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -24,9 +24,10 @@
<el-table <el-table
ref="filterTable" ref="filterTable"
:data="tableData" :data="tableData"
max-height="350" max-height="550"
:header-cell-style="headerCellStyle" :header-cell-style="headerCellStyle"
style="width: 95%"> style="width: 95%"
:rules="rules">
<el-table-column <el-table-column
prop="certificateName" prop="certificateName"
label="凭证类型" label="凭证类型"
@ -54,17 +55,20 @@
<el-table-column <el-table-column
label="钱箱数量" label="钱箱数量"
align="center" align="center"
width="180" width="230"
prop="boxNumber"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-form-item :label="scope.row.certificateName + '数量'" required>
<el-input type='text' @input="val => inputListen(val, scope.row)" min="0" :value="scope.row.cashBoxNum" class='numrule'></el-input> <el-input type='text' @input="val => inputListen(val, scope.row)" min="0" :value="scope.row.cashBoxNum" class='numrule'></el-input>
</el-form-item>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
</el-form> </el-form>
</el-row> </el-row>
<el-button @click="submitForm" type="primary" class="submitBtn" v-throttle>提交</el-button> <el-button @click="submitForm" type="primary" class="submitBtn" style="margin-top: 20px;" v-throttle>提交</el-button>
<my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" /> <my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" />
</div> </div>
@ -77,6 +81,8 @@ import { myValidate, checkHanzi } from '@/utils/utilFunction.js'
import { mapState, mapMutations, mapGetters } from 'vuex' import { mapState, mapMutations, mapGetters } from 'vuex'
import MyTitle from '@/components/myTitle' import MyTitle from '@/components/myTitle'
import MyDialog from '@/components/dialogTwo' import MyDialog from '@/components/dialogTwo'
import { Message } from 'element-ui';
import { addOperation } from '@/api/http';
export default { export default {
name: 'index', name: 'index',
components:{ components:{
@ -90,7 +96,8 @@ export default {
visible: false, visible: false,
form:{ form:{
date: '', date: '',
counterNumber: '' counterNumber: '',
}, },
formName:{ formName:{
date: '日期', date: '日期',
@ -110,6 +117,13 @@ export default {
message: '请输入柜员号', message: '请输入柜员号',
trigger: 'blur' trigger: 'blur'
} }
],
boxNumber: [
{
required: true,
message: '请输入钱箱数量',
trigger: 'blur'
}
] ]
}, },
tableData: [ tableData: [
@ -118,28 +132,32 @@ export default {
stockNum: 19, stockNum: 19,
startNumber: '003001', startNumber: '003001',
endNumber: '003019', endNumber: '003019',
cashBoxNum: '' cashBoxNum: '',
name2: 'bankCard',
}, },
{ {
certificateName: '定期存单', certificateName: '定期存单',
stockNum: 20, stockNum: 20,
startNumber: '003501', startNumber: '003501',
endNumber: '003520', endNumber: '003520',
cashBoxNum: '' cashBoxNum: '',
name2: 'depositReceipt',
}, },
{ {
certificateName: '现金支票', certificateName: '现金支票',
stockNum: 20, stockNum: 20,
startNumber: '003601', startNumber: '003601',
endNumber: '003620', endNumber: '003620',
cashBoxNum: '' cashBoxNum: '',
name2: 'cashCheck',
}, },
{ {
certificateName: '转账支票', certificateName: '转账支票',
stockNum: 20, stockNum: 20,
startNumber: '003701', startNumber: '003701',
endNumber: '003720', endNumber: '003720',
cashBoxNum: '' cashBoxNum: '',
name2: 'transCheck',
} }
] ]
} }
@ -165,6 +183,28 @@ export default {
}, },
submitForm() { submitForm() {
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
for(const item of this.tableData) {
if(item.cashBoxNum === '') {
Message.warning({
center: true,
message: '请输入' + item.certificateName + '数量'
})
return;
}
}
const obj1 = {}
const obj2 = {}
for(const item of this.tableData) {
console.log(item)
const { cashBoxNum, name2, certificateName } = item;
obj1[name2] = cashBoxNum + '张'
obj2[name2] = certificateName
}
this.form = { ...this.form, ...obj1 }
this.formName = { ...this.formName, ...obj2 }
console.log(obj1)
console.log(obj2)
this.visible = true this.visible = true
}, this.$refs)); }, this.$refs));
}, },

@ -192,15 +192,15 @@ export default {
children:[ children:[
{ {
index:"/counter/list/manage/dayEnd-tellerCash", index:"/counter/list/manage/dayEnd-tellerCash",
title:'柜员现金帐' title:'柜员现金帐'
}, },
{ {
index:"/counter/list/manage/dayEnd-tellerCertificate", index:"/counter/list/manage/dayEnd-tellerCertificate",
title:'柜员凭证帐' title:'柜员凭证帐'
}, },
{ {
index:"/counter/list/manage/dayEnd-branchDayEnd", index:"/counter/list/manage/dayEnd-branchDayEnd",
title:'网点日终帐' title:'网点日终帐'
} }
] ]
}, },

@ -87,12 +87,14 @@ const allGoods = {
// 472: {name:472,src:require('@/assets/img/goods/xjzp.png'),id:472}, // 472: {name:472,src:require('@/assets/img/goods/xjzp.png'),id:472},
} }
// 这里的参数是全体的 具体要不一样可以在业务的dataFlow中设置进行覆盖
const idNumber = '220602199202281234' const idNumber = '220602199202281234'
const birthday = '1996-11-03' const birthday = '1996-11-03'
const userName = '丛小凤' const userName = '丛小凤'
const capital = 100 const capital = 100
const peopleNumber = '111222' const peopleNumber = '111222'
const collectingCompany = '袋鼠互联网科技有限公司'
const transMoney = '81100'
const voucherNumber = (() => { const voucherNumber = (() => {
const $chars = '1234567890'; const $chars = '1234567890';
const maxPos = $chars.length; const maxPos = $chars.length;
@ -141,7 +143,8 @@ const allDataFlow = {
payMoney: 102.8, payMoney: 102.8,
interestRate: 1.85, interestRate: 1.85,
totalMoney: 101.6, totalMoney: 101.6,
getMoney: 60000, collectingCompany,
transMoney,
'corporateClient': false, 'corporateClient': false,
} }
@ -183,7 +186,6 @@ const myInitState = {
}, },
// dataFlowGo: 0, // dataFlowGo: 0,
dataFlow: { dataFlow: {
...allDataFlow,
peopleNumber, peopleNumber,
userName,//用户名字 userName,//用户名字
idType: '身份证', idType: '身份证',
@ -192,9 +194,7 @@ const myInitState = {
birthday,//出生日期 birthday,//出生日期
// nationality:'汉',//民族 // nationality:'汉',//民族
mailbox:'广东省深圳市阳光村',//通讯地址 mailbox:'广东省深圳市阳光村',//通讯地址
voucherNumber voucherNumber
} }
}, },
'业务二': { '业务二': {
@ -232,7 +232,6 @@ const myInitState = {
}, },
// dataFlowGo: 0, // dataFlowGo: 0,
dataFlow: { dataFlow: {
...allDataFlow,
peopleNumber, peopleNumber,
userName,//用户名字 userName,//用户名字
idType: 83, idType: 83,
@ -284,7 +283,6 @@ const myInitState = {
'timeDeposit/deposit': false 'timeDeposit/deposit': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
idNumber, idNumber,
userName, userName,
currency:12, currency:12,
@ -326,7 +324,6 @@ const myInitState = {
'timeDeposit/withdrawal': false 'timeDeposit/withdrawal': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
// 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码) // 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码)
voucherNumber, voucherNumber,
userName, userName,
@ -337,7 +334,6 @@ const myInitState = {
capital, // 不知道是多少 capital, // 不知道是多少
withdrawType: 124, // 支取类别 withdrawType: 124, // 支取类别
withdrawWay: 125, // 支取方式 withdrawWay: 125, // 支取方式
} }
}, },
'业务五': { '业务五': {
@ -370,7 +366,6 @@ const myInitState = {
'timeDeposit/withdrawal': false 'timeDeposit/withdrawal': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
// 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码) // 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码)
userName, userName,
voucherNumber, voucherNumber,
@ -414,7 +409,6 @@ const myInitState = {
'usefulPhrases/openAccount': false 'usefulPhrases/openAccount': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
// 身份证号码、客户号、客户姓名、币种(人民币)、钞汇标识(钞户) // 身份证号码、客户号、客户姓名、币种(人民币)、钞汇标识(钞户)
currency:12, currency:12,
goldLogo:13, goldLogo:13,
@ -453,7 +447,6 @@ const myInitState = {
'usefulPhrases/continueDeposit': false 'usefulPhrases/continueDeposit': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
// 客户姓名、定存编号(0816)、币种、钞汇标识、存期(显示上一业务选中的存期)、月存金额 // 客户姓名、定存编号(0816)、币种、钞汇标识、存期(显示上一业务选中的存期)、月存金额
userName, userName,
depositNumber: '0816', depositNumber: '0816',
@ -493,7 +486,6 @@ const myInitState = {
'usefulPhrases/accoumtClosed': false 'usefulPhrases/accoumtClosed': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
idNumber, idNumber,
userName, userName,
depositNumber: '0816', depositNumber: '0816',
@ -538,7 +530,6 @@ const myInitState = {
'callDeposits/openAccount': false 'callDeposits/openAccount': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
// 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户) // 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户)
idNumber, idNumber,
peopleNumber, peopleNumber,
@ -587,7 +578,6 @@ const myInitState = {
'callDeposits/accountClosed': false 'callDeposits/accountClosed': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
// 凭证类型(存单)、客户号(根据案例展示)、客户姓名、币种(CNY人民币)、钞汇标识(钞户)、通知类型(根据案例展示)、定存编号(根据开户时的定存编号展示)、本金(开户时存的金额)、利息(2.8)、、总金额(利息+本金)、支取类别(现金)、支取金额(等于总金额)证件类型(身份证) // 凭证类型(存单)、客户号(根据案例展示)、客户姓名、币种(CNY人民币)、钞汇标识(钞户)、通知类型(根据案例展示)、定存编号(根据开户时的定存编号展示)、本金(开户时存的金额)、利息(2.8)、、总金额(利息+本金)、支取类别(现金)、支取金额(等于总金额)证件类型(身份证)
// 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户) // 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户)
voucherType: 123, voucherType: 123,
@ -645,12 +635,11 @@ const myInitState = {
'business/openAccount': false 'business/openAccount': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
idNumber, idNumber,
userName, userName,
peopleNumber, peopleNumber,
'corporateClient': false collectingCompany,
}, }
// dataFlow: { // dataFlow: {
// // 凭证类型(存单)、客户号(根据案例展示)、客户姓名、币种(CNY人民币)、钞汇标识(钞户)、通知类型(根据案例展示)、定存编号(根据开户时的定存编号展示)、本金(开户时存的金额)、利息(2.8)、、总金额(利息+本金)、支取类别(现金)、支取金额(等于总金额)证件类型(身份证) // // 凭证类型(存单)、客户号(根据案例展示)、客户姓名、币种(CNY人民币)、钞汇标识(钞户)、通知类型(根据案例展示)、定存编号(根据开户时的定存编号展示)、本金(开户时存的金额)、利息(2.8)、、总金额(利息+本金)、支取类别(现金)、支取金额(等于总金额)证件类型(身份证)
// // 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户) // // 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户)
@ -693,7 +682,6 @@ const myInitState = {
'business/deposit': false 'business/deposit': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
idNumber, idNumber,
userName, userName,
peopleNumber peopleNumber
@ -726,8 +714,11 @@ const myInitState = {
'business/withdrawal': false, 'business/withdrawal': false,
}, },
test: { oo: 'oo' },
dataFlow: { dataFlow: {
...allDataFlow, transMoney: 60000,
xx: 'xxx'
// voucherNumber: '00242986',
// idNumber, // idNumber,
// userName, // userName,
// peopleNumber, // peopleNumber,
@ -762,9 +753,9 @@ const myInitState = {
'business/transfer': false 'business/transfer': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
idNumber, idNumber,
voucherNumber // voucherNumber: '00246862',
transMoney: 20000
} }
}, },
'业务十五': { // 密码修改 '业务十五': { // 密码修改
@ -794,7 +785,6 @@ const myInitState = {
'servicesAccount/passwordChange': false 'servicesAccount/passwordChange': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
idNumber, idNumber,
voucherNumber, voucherNumber,
userName userName
@ -826,7 +816,6 @@ const myInitState = {
'servicesAccount/passwordLost': false 'servicesAccount/passwordLost': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
voucherNumber, voucherNumber,
userName, userName,
idNumber idNumber
@ -860,7 +849,6 @@ const myInitState = {
'servicesAccount/relieveLost': false 'servicesAccount/relieveLost': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
voucherNumber, voucherNumber,
idNumber, idNumber,
userName userName
@ -922,7 +910,6 @@ const myInitState = {
'controlCash/cashRecipients': false 'controlCash/cashRecipients': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
} }
}, },
'业务十九': { // 现金上缴 '业务十九': { // 现金上缴
@ -953,7 +940,6 @@ const myInitState = {
}, },
dataFlow: { dataFlow: {
...allDataFlow,
} }
}, },
'业务二十': { // 现金调入 '业务二十': { // 现金调入
@ -983,7 +969,6 @@ const myInitState = {
'controlCash/cashPaid': false 'controlCash/cashPaid': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
} }
}, },
'业务二十一': { // 现金调出 '业务二十一': { // 现金调出
@ -1013,7 +998,6 @@ const myInitState = {
'controlCash/cashOut': false 'controlCash/cashOut': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
} }
}, },
'业务二十二': { // 凭证领用 '业务二十二': { // 凭证领用
@ -1043,7 +1027,6 @@ const myInitState = {
'controlCash2/cashRecipients' : false 'controlCash2/cashRecipients' : false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
} }
}, },
'业务二十三': { // 凭证上缴 '业务二十三': { // 凭证上缴
@ -1072,7 +1055,6 @@ const myInitState = {
'controlCash2/cashTransferInto' : false 'controlCash2/cashTransferInto' : false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
} }
}, },
'业务二十四': { // 凭证调入 '业务二十四': { // 凭证调入
@ -1102,7 +1084,6 @@ const myInitState = {
'controlCash2/cashPaid' : false 'controlCash2/cashPaid' : false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
} }
}, },
'业务二十五': { // 凭证调出 '业务二十五': { // 凭证调出
@ -1131,7 +1112,6 @@ const myInitState = {
'controlCash2/cashOut' : false 'controlCash2/cashOut' : false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
} }
}, },
'业务二十六': { // 支票出售 '业务二十六': { // 支票出售
@ -1162,7 +1142,6 @@ const myInitState = {
'controlCash3/index': false 'controlCash3/index': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
} }
}, },
'业务二十七': { // 柜员日终扎帐 '业务二十七': { // 柜员日终扎帐
@ -1188,7 +1167,6 @@ const myInitState = {
importanceArr: [], // 重要空白凭证箱 importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱 commonArr: [], // 普通凭证箱
dataFlow: { dataFlow: {
...allDataFlow,
} }
}, },
'业务二十八': { // 网点日中扎帐 '业务二十八': { // 网点日中扎帐
@ -1214,7 +1192,6 @@ const myInitState = {
importanceArr: [], // 重要空白凭证箱 importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱 commonArr: [], // 普通凭证箱
dataFlow: { dataFlow: {
...allDataFlow,
} }
}, },
} }
@ -1292,7 +1269,6 @@ export default {
}, },
// dataFlowGo: 0, // dataFlowGo: 0,
dataFlow: { dataFlow: {
...allDataFlow,
peopleNumber, peopleNumber,
userName,//用户名字 userName,//用户名字
idType: '身份证', idType: '身份证',
@ -1301,9 +1277,7 @@ export default {
birthday,//出生日期 birthday,//出生日期
// nationality:'汉',//民族 // nationality:'汉',//民族
mailbox:'广东省深圳市阳光村',//通讯地址 mailbox:'广东省深圳市阳光村',//通讯地址
voucherNumber voucherNumber
} }
}, },
'业务二': { '业务二': {
@ -1341,7 +1315,6 @@ export default {
}, },
// dataFlowGo: 0, // dataFlowGo: 0,
dataFlow: { dataFlow: {
...allDataFlow,
peopleNumber, peopleNumber,
userName,//用户名字 userName,//用户名字
idType: 83, idType: 83,
@ -1393,7 +1366,6 @@ export default {
'timeDeposit/deposit': false 'timeDeposit/deposit': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
idNumber, idNumber,
userName, userName,
currency:12, currency:12,
@ -1435,7 +1407,6 @@ export default {
'timeDeposit/withdrawal': false 'timeDeposit/withdrawal': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
// 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码) // 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码)
voucherNumber, voucherNumber,
userName, userName,
@ -1446,7 +1417,6 @@ export default {
capital, // 不知道是多少 capital, // 不知道是多少
withdrawType: 124, // 支取类别 withdrawType: 124, // 支取类别
withdrawWay: 125, // 支取方式 withdrawWay: 125, // 支取方式
} }
}, },
'业务五': { '业务五': {
@ -1479,7 +1449,6 @@ export default {
'timeDeposit/withdrawal': false 'timeDeposit/withdrawal': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
// 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码) // 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码)
userName, userName,
voucherNumber, voucherNumber,
@ -1523,7 +1492,6 @@ export default {
'usefulPhrases/openAccount': false 'usefulPhrases/openAccount': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
// 身份证号码、客户号、客户姓名、币种(人民币)、钞汇标识(钞户) // 身份证号码、客户号、客户姓名、币种(人民币)、钞汇标识(钞户)
currency:12, currency:12,
goldLogo:13, goldLogo:13,
@ -1562,7 +1530,6 @@ export default {
'usefulPhrases/continueDeposit': false 'usefulPhrases/continueDeposit': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
// 客户姓名、定存编号(0816)、币种、钞汇标识、存期(显示上一业务选中的存期)、月存金额 // 客户姓名、定存编号(0816)、币种、钞汇标识、存期(显示上一业务选中的存期)、月存金额
userName, userName,
depositNumber: '0816', depositNumber: '0816',
@ -1602,7 +1569,6 @@ export default {
'usefulPhrases/accoumtClosed': false 'usefulPhrases/accoumtClosed': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
idNumber, idNumber,
userName, userName,
depositNumber: '0816', depositNumber: '0816',
@ -1647,7 +1613,6 @@ export default {
'callDeposits/openAccount': false 'callDeposits/openAccount': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
// 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户) // 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户)
idNumber, idNumber,
peopleNumber, peopleNumber,
@ -1696,7 +1661,6 @@ export default {
'callDeposits/accountClosed': false 'callDeposits/accountClosed': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
// 凭证类型(存单)、客户号(根据案例展示)、客户姓名、币种(CNY人民币)、钞汇标识(钞户)、通知类型(根据案例展示)、定存编号(根据开户时的定存编号展示)、本金(开户时存的金额)、利息(2.8)、、总金额(利息+本金)、支取类别(现金)、支取金额(等于总金额)证件类型(身份证) // 凭证类型(存单)、客户号(根据案例展示)、客户姓名、币种(CNY人民币)、钞汇标识(钞户)、通知类型(根据案例展示)、定存编号(根据开户时的定存编号展示)、本金(开户时存的金额)、利息(2.8)、、总金额(利息+本金)、支取类别(现金)、支取金额(等于总金额)证件类型(身份证)
// 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户) // 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户)
voucherType: 123, voucherType: 123,
@ -1754,12 +1718,11 @@ export default {
'business/openAccount': false 'business/openAccount': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
idNumber, idNumber,
userName, userName,
peopleNumber, peopleNumber,
'corporateClient': false collectingCompany,
}, }
// dataFlow: { // dataFlow: {
// // 凭证类型(存单)、客户号(根据案例展示)、客户姓名、币种(CNY人民币)、钞汇标识(钞户)、通知类型(根据案例展示)、定存编号(根据开户时的定存编号展示)、本金(开户时存的金额)、利息(2.8)、、总金额(利息+本金)、支取类别(现金)、支取金额(等于总金额)证件类型(身份证) // // 凭证类型(存单)、客户号(根据案例展示)、客户姓名、币种(CNY人民币)、钞汇标识(钞户)、通知类型(根据案例展示)、定存编号(根据开户时的定存编号展示)、本金(开户时存的金额)、利息(2.8)、、总金额(利息+本金)、支取类别(现金)、支取金额(等于总金额)证件类型(身份证)
// // 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户) // // 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户)
@ -1802,7 +1765,6 @@ export default {
'business/deposit': false 'business/deposit': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
idNumber, idNumber,
userName, userName,
peopleNumber peopleNumber
@ -1835,8 +1797,11 @@ export default {
'business/withdrawal': false, 'business/withdrawal': false,
}, },
test: { oo: 'oo' },
dataFlow: { dataFlow: {
...allDataFlow, transMoney: 60000,
xx: 'xxx'
// voucherNumber: '00242986',
// idNumber, // idNumber,
// userName, // userName,
// peopleNumber, // peopleNumber,
@ -1871,9 +1836,9 @@ export default {
'business/transfer': false 'business/transfer': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
idNumber, idNumber,
voucherNumber // voucherNumber: '00246862',
transMoney: 20000
} }
}, },
'业务十五': { // 密码修改 '业务十五': { // 密码修改
@ -1903,7 +1868,6 @@ export default {
'servicesAccount/passwordChange': false 'servicesAccount/passwordChange': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
idNumber, idNumber,
voucherNumber, voucherNumber,
userName userName
@ -1935,7 +1899,6 @@ export default {
'servicesAccount/passwordLost': false 'servicesAccount/passwordLost': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
voucherNumber, voucherNumber,
userName, userName,
idNumber idNumber
@ -1969,7 +1932,6 @@ export default {
'servicesAccount/relieveLost': false 'servicesAccount/relieveLost': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
voucherNumber, voucherNumber,
idNumber, idNumber,
userName userName
@ -2031,7 +1993,6 @@ export default {
'controlCash/cashRecipients': false 'controlCash/cashRecipients': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
} }
}, },
'业务十九': { // 现金上缴 '业务十九': { // 现金上缴
@ -2062,7 +2023,6 @@ export default {
}, },
dataFlow: { dataFlow: {
...allDataFlow,
} }
}, },
'业务二十': { // 现金调入 '业务二十': { // 现金调入
@ -2092,7 +2052,6 @@ export default {
'controlCash/cashPaid': false 'controlCash/cashPaid': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
} }
}, },
'业务二十一': { // 现金调出 '业务二十一': { // 现金调出
@ -2122,7 +2081,6 @@ export default {
'controlCash/cashOut': false 'controlCash/cashOut': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
} }
}, },
'业务二十二': { // 凭证领用 '业务二十二': { // 凭证领用
@ -2152,7 +2110,6 @@ export default {
'controlCash2/cashRecipients' : false 'controlCash2/cashRecipients' : false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
} }
}, },
'业务二十三': { // 凭证上缴 '业务二十三': { // 凭证上缴
@ -2181,7 +2138,6 @@ export default {
'controlCash2/cashTransferInto' : false 'controlCash2/cashTransferInto' : false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
} }
}, },
'业务二十四': { // 凭证调入 '业务二十四': { // 凭证调入
@ -2211,7 +2167,6 @@ export default {
'controlCash2/cashPaid' : false 'controlCash2/cashPaid' : false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
} }
}, },
'业务二十五': { // 凭证调出 '业务二十五': { // 凭证调出
@ -2240,7 +2195,6 @@ export default {
'controlCash2/cashOut' : false 'controlCash2/cashOut' : false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
} }
}, },
'业务二十六': { // 支票出售 '业务二十六': { // 支票出售
@ -2271,7 +2225,6 @@ export default {
'controlCash3/index': false 'controlCash3/index': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
} }
}, },
'业务二十七': { // 柜员日终扎帐 '业务二十七': { // 柜员日终扎帐
@ -2297,7 +2250,6 @@ export default {
importanceArr: [], // 重要空白凭证箱 importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱 commonArr: [], // 普通凭证箱
dataFlow: { dataFlow: {
...allDataFlow,
} }
}, },
'业务二十八': { // 网点日中扎帐 '业务二十八': { // 网点日中扎帐
@ -2323,7 +2275,6 @@ export default {
importanceArr: [], // 重要空白凭证箱 importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱 commonArr: [], // 普通凭证箱
dataFlow: { dataFlow: {
...allDataFlow,
} }
}, },
}, },
@ -2469,9 +2420,6 @@ export default {
state.businessSelect[state.businessKey][name].push(idArr[0]) state.businessSelect[state.businessKey][name].push(idArr[0])
} }
}else { }else {
console.log('装东西')
console.log(state.businessSelect[state.businessKey][name])
console.log(name)
for(let i=0; i<idArr.length; i++) { for(let i=0; i<idArr.length; i++) {
const index = state.businessSelect[state.businessKey][name].findIndex(item => item == idArr[i]) const index = state.businessSelect[state.businessKey][name].findIndex(item => item == idArr[i])
if(index === -1) { if(index === -1) {
@ -2683,7 +2631,6 @@ export default {
addOperation(params).then((data)=>{ addOperation(params).then((data)=>{
if(judgeDelete) { if(judgeDelete) {
this.commit('system/pushThingsGoods', [...state.businessSelect[state.businessKey].sealBox]) this.commit('system/pushThingsGoods', [...state.businessSelect[state.businessKey].sealBox])
console.log(id)
cb(id) cb(id)
} }
// 盖章会消失的删掉 // 盖章会消失的删掉
@ -2751,7 +2698,6 @@ export default {
state.popText = val.text? val.text: '' state.popText = val.text? val.text: ''
state.id = val.id? val.id: state.id state.id = val.id? val.id: state.id
if(!state.popText.includes('密码') && state.showPop && state.popText) { if(!state.popText.includes('密码') && state.showPop && state.popText) {
console.log(state.popText)
state.showGoods = true; state.showGoods = true;
}else { }else {
state.showGoods = false; state.showGoods = false;
@ -2843,7 +2789,7 @@ export default {
}, },
// 选择业务物品栏中的物品 根据myKey判断有什么 // 选择业务物品栏中的物品 根据myKey判断有什么
dataFlow(state) { dataFlow(state) {
return state.businessSelect[state.businessKey].dataFlow return Object.assign(allDataFlow, state.businessSelect[state.businessKey].dataFlow)
}, },
goods2(state) { goods2(state) {
// 调试容错采用if-else // 调试容错采用if-else

Loading…
Cancel
Save