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. 44
      src/pages/manage/list/ImportantCash/controlCash/cashPaid.vue
  5. 52
      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. 66
      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>
<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> -->
<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>
<!-- <img :src="imgSrc" class="imgPop imgIndex min-w-full dia-header" :alt="imgSrcName" :title="imgSrcName"> -->
</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" >
<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>
</template>
<template v-else-if="imgSrcId==411" >
<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: 680px;top: 95px;">12802851701099</h3>
<h3 class="text-xl" style="left: 300px;top: 95px;">袋鼠互联网科技有限公司</h3>
<h3 class="text-xl" style="left: 340px;top: 129px;">{{ transMoney(dataFlow.getMoney) }}</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: 300px;top: 95px;">{{ dataFlow.collectingCompany }}</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.transMoney).padStart(8, 0).padEnd(10, 0) }}</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: 420px;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(1)>10?'420px':'430px',top: '78px'}">{{ mapNumber(getNowYear(1)) }}</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: 126px;top: 189px;">{{ getNowYear(1) }}</h3>
<h3 class="text-xs" style="left: 163px;top: 189px;">{{ getNowYear(2) }}</h3>
</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">
<slot />
</div>
@ -100,7 +119,7 @@ export default {
},
created() {
// dataFlow.getMoney
// dataFlow.transMoney
this.nowDate = (() => {
const date = new Date()
var y = date.getFullYear();
@ -132,6 +151,7 @@ export default {
dataFlow: 'system/dataFlow'
}),
getNowYear() {
console.log(this.dataFlow)
return (index) => {
return this.nowDate.split('-')[index]
}
@ -142,7 +162,7 @@ export default {
var strOutput = "",
strUnit = '仟佰拾亿仟佰拾万仟佰拾元角分';
strUnit = '仟佰拾亿仟佰拾萬仟佰拾圆角分';
num += "00";
@ -160,7 +180,7 @@ export default {
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)
}
}else {
if(str.indexOf('0' === 0)) {
if(str.charAt(0) == '0') {
strEnd = myMap.get(str.charAt(1))
}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>
</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
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>
<script>
@ -354,7 +253,7 @@ export default {
},
created() {
if(!this.needAuth) {
this.flow = 3
this.flow = 4
}
let num = 0;
for(const key in this.showForm) {
@ -421,10 +320,10 @@ export default {
}else if(this.flow === 2) {
this.flow = 3
this.$emit('submitIt')
}else if(this.flow === 4) {
this.flow = 3
this.$emit('submitIt')
}else {
//
//
this.cancelIt()
}
},

@ -97,7 +97,7 @@
<template slot-scope="scope">
<div class="myFlex">
<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>
</template>
</el-table-column>
@ -124,7 +124,7 @@
</el-col>
<el-col :span="10">
<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-col>
</el-row>
@ -137,7 +137,7 @@
<script>
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';
const moduleName = 'controlCash/cashOut'
@ -205,20 +205,17 @@ export default {
moneyMedium: '纸币',
moneyNumber: 0
},
{
moneyType: '1元',
moneyMedium: '纸币',
moneyNumber: 0
}
],
tableData2: [
{
moneyType: '1元',
moneyMedium: '币',
moneyMedium: '币',
moneyNumber: 0
},
{
moneyType: '5角',
moneyType: '1元',
moneyMedium: '硬币',
moneyNumber: 0
},
@ -228,7 +225,7 @@ export default {
moneyNumber: 0
},
{
moneyType: '1角',
moneyType: '5角',
moneyMedium: '硬币',
moneyNumber: 0
},
@ -237,6 +234,11 @@ export default {
moneyMedium: '纸币',
moneyNumber: 0
},
{
moneyType: '1角',
moneyMedium: '硬币',
moneyNumber: 0
}
],
visible:false,
}
@ -324,7 +326,8 @@ export default {
})
},
tableRowClassName: tableRowClassName,
checkName
checkName,
inputListen
}
};
</script>

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

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

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

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

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

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

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

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

Loading…
Cancel
Save