update_2.15

20240205
luoJunYong.123 3 years ago
parent 352086c190
commit 1027879269
  1. 3
      src/components/dialog/index.vue
  2. 3
      src/components/dialog2/index.vue
  3. 12
      src/components/selectBusiness/index.vue
  4. 15
      src/mixins/saveSystemModule/index.js
  5. 4
      src/pages/counter/list/index.vue
  6. 22
      src/pages/index/list/index.vue
  7. 380
      src/pages/lobbyManager/list/index.vue
  8. 76
      src/pages/manage/list/ImportantCash/controlCash3/index.vue
  9. 6
      src/pages/manage/list/servicesAccount/relieveLost.vue
  10. 78
      src/store/modules/system.js

@ -143,6 +143,9 @@ const nameMap = {
chargeWay: {
13: '密码',
},
chargeWay2: {
135: '现金',
},
certificateDeposit: {
92: '现金'
},

@ -137,6 +137,9 @@ const nameMap = {
chargeWay: {
13: '密码',
},
chargeWay2: {
135: '现金',
},
certificateDeposit: {
92: '现金'
},

@ -10,6 +10,7 @@
<img v-lazy="businessImg" alt="">
<p>{{ item.myKey + item.text}}</p>
</li>
<li v-for="(item) in (3 - businessArr.length%3)" class="sitting" :key="item"></li>
</ul>
<div class="dia-footer2">
<div class='busyButtonBox'>
@ -147,10 +148,14 @@ export default {
},
{
myKey: '项目二十六',
text: ': 柜员日中轧账'
text: ': 支票出售'
},
{
myKey: '项目二十七',
text: ': 柜员日中轧账'
},
{
myKey: '项目二十八',
text: ': 网点日中轧账'
}
],
@ -485,4 +490,9 @@ export default {
}
}
}
.sitting {
opacity: 0;
cursor: default!important;
}
</style>

@ -0,0 +1,15 @@
export default {
created() {
if(sessionStorage.getItem('businessSelect')) {
// 调试时注释掉
this.$store.commit('system/setBusinessSelect', JSON.parse(sessionStorage.getItem('businessSelect')))
}
if(sessionStorage.getItem('businessKey')) {
this.$store.commit('system/setBusinessKey', sessionStorage.getItem('businessKey'))
}
window.addEventListener("beforeunload",()=>{
sessionStorage.setItem('businessKey', this.$store.state.system.businessKey)
sessionStorage.setItem('businessSelect', JSON.stringify(this.$store.state.system.businessSelect))
})
}
}

@ -1057,11 +1057,11 @@ export default {
}
if(sessionStorage.getItem('businessSelect')) {
//
// this.$store.commit('system/setBusinessSelect', JSON.parse(sessionStorage.getItem('businessSelect')))
this.$store.commit('system/setBusinessSelect', JSON.parse(sessionStorage.getItem('businessSelect')))
}
window.addEventListener("beforeunload",()=>{
sessionStorage.setItem('businessKey', this.$store.state.system.businessKey)
// sessionStorage.setItem('businessSelect', JSON.stringify(this.$store.state.system.businessSelect))
sessionStorage.setItem('businessSelect', JSON.stringify(this.$store.state.system.businessSelect))
})
this.startPlay()
console.log('startPlay')

@ -155,6 +155,10 @@ export default {
top: 0;
left: 72%;
width: 28%;
transition: all .5s;
&:hover{
top: -20px;
}
}
.manager{
top: 47%;
@ -162,23 +166,36 @@ export default {
width: 39%;
transition: all .5s;
&:hover{
top: calc(48% - 10px);
z-index: 9999;
top: calc(48% - 20px);
}
}
.credit-dep{
top: 35%;
left: 0;
width: 20%;
transition: all .5s;
&:hover{
top: 33%;
}
}
.company-finance{
top: 55%;
left: 9%;
width: 28%;
transition: all .5s;
&:hover{
top: 53%;
}
}
.personal-finance{
top: 72%;
left: 25%;
width: 30%;
transition: all .5s;
&:hover{
top: 70%;
}
}
.case{
position: absolute;
@ -192,6 +209,9 @@ export default {
font-size: 24px;
background: url(../../../assets/img/case.png) 0 0 /cover no-repeat;
cursor: pointer;
// &:hover{
// top: 76px;
// }
}
@media(max-width: 1440px){
.credit-dep{

@ -20,39 +20,44 @@
</div>
<p class="tips">- 请选择办理的业务 -</p>
<ul class="take-list">
<li :class="{checked: takeCheck == 1}" @click="checkTake(1)">
<!-- @click="checkTake(index)" -->
<li v-for="(item, index) in handleBusiness" :class="{checked: takeCheck == index}" :key="item.key" @click="checkTake(index)">
<img :src="item.img" :alt="item.name" :title="item.name">
<p>{{ item.name }}</p>
</li>
<!-- <li :class="{checked: takeCheck == 400}" @click="checkTake(400)">
<img src="@/assets/svg/cash.svg" alt="">
<p>现金业务</p>
</li>
<li :class="{checked: takeCheck == 2}" @click="checkTake(2)">
<li :class="{checked: takeCheck == 401}" @click="checkTake(401)">
<img src="@/assets/svg/non-cash.svg" alt="">
<p>个人非现金业务</p>
</li>
<li :class="{checked: takeCheck == 3}" @click="checkTake(3)">
<li :class="{checked: takeCheck == 402}" @click="checkTake(402)">
<img src="@/assets/svg/company.svg" alt="">
<p>公司业务</p>
</li>
<li :class="{checked: takeCheck == 4}" @click="checkTake(4)">
<li :class="{checked: takeCheck == 403}" @click="checkTake(403)">
<img src="@/assets/svg/financial.svg" alt="">
<p>理财业务</p>
</li>
</li> -->
</ul>
<div class="dia-footer">
<button type="button" @click="confirmTake">确定</button>
<button type="button" @click="confirmTake" v-throttle>确定</button>
</div>
</el-dialog>
<el-dialog :visible.sync="takeResultVisible" width="400px" :close-on-click-modal="false" :show-close="false" custom-class="data-dia">
<!-- :visible.sync="takeResultVisible" -->
<el-dialog :visible.sync="takeResultVisible" width="400px" :close-on-click-modal="false" :show-close="false" custom-class="data-dia">
<div slot="title" class="dia-header">
<div class="data-title">取号机</div>
<div class="data-title">{{ workingName + '机'}}</div>
<img class="close" src="@/assets/svg/close.svg" alt="" @click="takeResultVisible = false">
</div>
<div class="result">
<div style='width: 60px;height: 60px;margin: auto'>
<img src="@/assets/img/finish.png" alt="">
</div>
<h6>取号成功</h6>
<p class="text">您选择了现金业务</p>
<h6>{{ workingName + '成功'}}</h6>
<p v-if="workingName === '取号'" class="text">您选择了{{ handleBusiness[takeCheck]? handleBusiness[takeCheck].name: ''}}</p>
</div>
</el-dialog>
@ -63,74 +68,88 @@
</div>
<p class="tips">- 请单击选中所需材料双击可放大预览 -</p>
<ul class="list">
<li :class="{checked: checkList.includes(1)}" @click="checkData(1)">
<li :class="{checked: checkList.includes(elImg[0].key)}" @click="checkData(elImg[0].key)">
<el-image
:src="elImg[0]"
:src="elImg[0].img"
:fit="elImgFit"
:title="elImg[0].name"
:alt="elImg[0].name"
></el-image>
<!-- <img style='width: 100%;height: 154px' src="@/assets/img/goods/accountApplyBook.jpg" alt=""> -->
<p>开户申请书</p>
<p>{{ elImg[0].name }}</p>
</li>
<li :class="{checked: checkList.includes(2)}" @click="checkData(2)">
<img src="@/assets/img/idCard-copy-sm.png" alt="">
<p>密码挂失申请书</p>
<li :class="{checked: checkList.includes(elImg[1].key)}" @click="checkData(elImg[1].key)">
<img :src="elImg[1].img" :alt="elImg[1].name" :title="elImg[1].name">
<p>{{ elImg[1].name }}</p>
</li>
<li :class="{checked: checkList.includes(3)}" @click="checkData(3)">
<li :class="{checked: checkList.includes(elImg[2].key)}" @click="checkData(elImg[2].key)">
<el-image
style="margin-top: 0"
:src="elImg[2]"
:src="elImg[2].img"
:fit="elImgFit"
></el-image>
<p>特殊业务申请书</p>
<p>{{ elImg[2].name }}</p>
</li>
<li :class="{checked: checkList.includes(4)}" @click="checkData(4)">
<img style="margin-top: 10px" src="@/assets/img/goods/cash-sm.png" alt="">
<p style="font-size: 14px;line-height: 15px">开立单位银行结算账户申请书</p>
<li :class="{checked: checkList.includes(elImg[3].key)}" @click="checkData(elImg[3].key)">
<!-- <img class="" :src="elImg[3].img" :alt="elImg[3].name" :title="elImg[3].name"> -->
<el-image
style="margin-top: 0"
:src="elImg[3].img"
:fit="elImgFit"
></el-image>
<p style="font-size: 14px;line-height: 15px">{{ elImg[3].name }}</p>
</li>
<li :class="{checked: checkList.includes(5)}" @click="checkData(5)">
<img src="@/assets/img/goods/CashCertificate.png" alt="">
<p>现金存款凭证</p>
<li :class="{checked: checkList.includes(elImg[4].key)}" @click="checkData(elImg[4].key)">
<img :src="elImg[4].img" :alt="elImg[4].name" :title="elImg[4].name">
<p>{{ elImg[4].name }}</p>
</li>
<li :class="{checked: checkList.includes(6)}" @click="checkData(6)">
<img src="@/assets/img/goods/zzpt.png" alt="">
<p>转账凭证</p>
<li :class="{checked: checkList.includes(elImg[5].key)}" @click="checkData(elImg[5].key)">
<img :src="elImg[5].img" :alt="elImg[5].name" :title="elImg[5].name">
<p>{{ elImg[5].name }}</p>
</li>
<li :class="{checked: checkList.includes(7)}" @click="checkData(7)">
<li :class="{checked: checkList.includes(elImg[6].key)}" @click="checkData(elImg[6].key)">
<!-- <img style="margin-top: 0" src="@/assets/img/open-account-apply-sm.png" alt=""> -->
<el-image
:src="elImg[1]"
:src="elImg[6].img"
:fit="elImgFit"
:title="elImg[6].name"
:alt="elImg[6].name"
lazy></el-image>
<p>现金支票</p>
<p>{{ elImg[6].name }}</p>
</li>
<li :class="{checked: checkList.includes(8)}" @click="checkData(8)">
<img style="margin-top: 10px" src="@/assets/img/goods/cash-sm.png" alt="">
<p>转账支票</p>
<li :class="{checked: checkList.includes(elImg[7].key)}" @click="checkData(elImg[7].key)">
<img style="margin-top: 10px" :src="elImg[7].img" :alt="elImg[7].name" :title="elImg[7].name">
<p>{{ elImg[7].name }}</p>
</li>
<li :class="{checked: checkList.includes(9)}" @click="checkData(9)">
<img src="@/assets/img/idCard-copy-sm.png" alt="">
<p>支票领购单</p>
<li :class="{checked: checkList.includes(elImg[8].key)}" @click="checkData(elImg[8].key)">
<img :src="elImg[8].img" :alt="elImg[8].name" :title="elImg[8].name">
<p>{{ elImg[8].name }}</p>
</li>
<li :class="{checked: checkList.includes(10)}" @click="checkData(10)">
<li :class="{checked: checkList.includes(elImg[9].key)}" @click="checkData(elImg[9].key)">
<!-- <img style="margin-top: 0" src="@/assets/img/open-account-apply-sm.png" alt=""> -->
<el-image
:src="elImg[1]"
:src="elImg[9].img"
:fit="elImgFit"
:title="elImg[9].name"
:alt="elImg[9].name"
lazy></el-image>
<p>现金缴款单</p>
<p>{{ elImg[9].name }}</p>
</li>
<li :class="{checked: checkList.includes(11)}" @click="checkData(11)">
<img style="margin-top: 10px" src="@/assets/img/goods/cash-sm.png" alt="">
<p>境外汇款申请书</p>
<li :class="{checked: checkList.includes(elImg[10].key)}" @click="checkData(elImg[10].key)">
<img style="margin-top: 10px" :src="elImg[10].img" :alt="elImg[10].name" :title="elImg[10].name">
<p>{{ elImg[10].name }}</p>
</li>
<!-- 这个是占位的 -->
<li class="sitting2"></li>
<li class="sitting2"></li>
<li class="sitting2"></li>
<li class="sitting2"></li>
</ul>
<div class="dia-footer">
<button type="button">确定</button>
<button type="button" v-throttle @click="fillIt">确定</button>
</div>
</el-dialog>
@ -141,23 +160,13 @@
</div>
<p class="tips">- 请单击选中复印材料双击可放大预览 -</p>
<ul class="list" style="justify-content: center">
<li :class="{checked: checkList.includes(1)}" @click="checkData(1)">
<img src="@/assets/img/idCard-sm.png" alt="">
<p>身份证</p>
</li>
<li :class="{checked: checkList.includes(3)}" @click="checkData(3)" style='margin-left: 10px'>
<!-- <img style="margin-top: 0" src="@/assets/img/open-account-apply-sm.png" alt=""> -->
<el-image
style="margin-top: 10px"
:src="elImg[1]"
:fit="elImgFit"
></el-image>
<p>开户申请书</p>
<li v-for="item in elImg2" :class="{checked: checkList.includes(item.key)}" @click="checkData(item.key)" :key="item.key">
<img :src="item.img" :title="item.name" :alt="item.name">
<p>{{ item.name }}</p>
</li>
</ul>
<div class="dia-footer">
<button type="button">确定</button>
<button type="button" v-throttle @click="sureCopy">确定</button>
</div>
</el-dialog>
@ -183,20 +192,37 @@
</li>
</ul>
<div class="dia-footer">
<button type="button">确定</button>
<button type="button" v-throttle>确定</button>
</div>
</el-dialog>
<!-- 图片查看器 -->
<el-dialog
custom-class="data-dia"
:visible.sync="showImg"
width="634px"
>
<img :src="imgSrc" class="w-full" alt="">
</el-dialog>
</div>
</template>
<script>
import { mapState } from 'vuex'
const projectId = sessionStorage.getItem('projectId')
const startTime = sessionStorage.getItem('startTime')
import { addOperation, getOperation } from '@/api/http'
import saveSystemModule from '@/mixins/saveSystemModule'
export default {
name: 'index',
data() {
return {
takeCheck: '',
workingName: '', //
clickNum: 0, //
imgSrc: '',
showImg: false,
takeCheck: -1,
takeVisible: false,
takeResultVisible: false,
dataVisible: false,
@ -204,10 +230,27 @@ export default {
copyVisible: false,
recaptionVisible: false,
elImgFit: 'contain',
handleBusiness: [
{ key: 400, name: '现金业务', img: require('@/assets/svg/cash.svg') },
{ key: 401, name: '个人非现金业务', img: require('@/assets/svg/non-cash.svg') },
{ key: 402, name: '公司业务', img: require('@/assets/svg/company.svg') },
{ key: 403, name: '理财业务', img: require('@/assets/svg/financial.svg') }
],
elImg: [
require('@/assets/img/goods/accountApplyBook.jpg'),
require('@/assets/img/open-account-apply-sm.png'),
require('@/assets/img/goods/businessSpecialApplication.png')
{ img: require('@/assets/img/goods/accountApplyBook.jpg'), name: '开户申请书', key: 405 },
{ img: require('@/assets/img/idCard-copy-sm.png'), name: '密码挂失申请书', key: 406 },
{ img: require('@/assets/img/goods/businessSpecialApplication.png'), name: '特殊业务申请书', key: 407 },
{ img: require('@/assets/img/goods/ApplicationBankSettlement.png'), name: '开立单位银行结算账户申请书', key: 408 },
{ img: require('@/assets/img/goods/CashCertificate.png'), name: '现金存款凭证', key: 409 },
{ img: require('@/assets/img/goods/zzpt.png'), name: '转账凭证', key: 410 },
{ img: require('@/assets/img/goods/xjzp.png'), name: '现金支票', key: 411 },
{ img: require('@/assets/img/goods/sy-zzzp.png'), name: '转账支票', key: 412 },
{ img: require('@/assets/img/goods/CheckCoupons.png'), name: '支票领购单', key: 413 },
{ img: require('@/assets/img/goods/cash-sm.png'), name: '现金缴款单', key: 414 },
{ img: require('@/assets/img/goods/cash-sm.png'), name: '境外汇款申请书', key: 415 },
],
elImg2: [
{ img: require('@/assets/img/idCard-sm.png'), name: '身份证', key: 14 },
],
listLi1 : [
{checked: 1, click: 1, src: require('@/assets/img/goods/accountApplyBook.jpg'), title: '开户申请书'},
@ -215,6 +258,7 @@ export default {
{checked: 3, click: 3, src: require('@/assets/img/goods/businessSpecialApplication.png'), title: '特殊业务申请书'},
{checked: 4, click: 4, src: require('@/assets/img/goods/cash-sm.png'), title: '开立单位银行结算账户申请书'},
{checked: 1, click: 5, src: require('@/assets/img/goods/CashCertificate.png'), title: '现金存款凭证'},
{checked: 2, click: 6, src: require('@/assets/img/goods/zzpt.png'), title: '转账凭证'},
{checked: 4, click: 8, src: require('@/assets/img/goods/cash-sm.png'), title: '境外汇款申请书'},
{checked: 3, click: 7, src: require('@/assets/img/open-account-apply-sm.png'), title: '现金支票'},
@ -226,26 +270,187 @@ export default {
lazy1: require('@/assets/img/manager.png')
}
},
mixins: [saveSystemModule],
mounted() {
},
methods: {
showTake(type){
this.workingName = '取号'
this.takeVisible = true
},
checkTake(id){
this.takeCheck = id
checkTake(index){
if(this.takeCheck === index) {
this.takeCheck = -1
}else {
this.takeCheck = index
}
},
closeTakeDia(){
this.takeVisible = false
},
closeTake(){
this.takeCheck = ''
// this.takeCheck = 0
},
//
confirmTake(){
this.takeVisible = false
this.takeResultVisible = true
if(this.takeCheck < 0) {
this.$message({
message: '请选择一个您要办理的业务',
type: 'warning',
center: true
});
return
}
// "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,33,43"
const formList = [];
formList.push({"answerId":this.handleBusiness[this.takeCheck].key,"emptyOne": "", "emptyTwo": '', "operationIds": '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,399,' + this.handleBusiness[this.takeCheck].key, "type": ""})
const params= {
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,399',
lcJudgmentRuleReq:formList,
projectId:+projectId,
startTime:startTime,
}
addOperation(params).then((data)=>{
this.takeVisible = false
this.takeResultVisible = true
setTimeout(() => {
if(this.takeResultVisible) {
this.takeResultVisible = false
}
}, 2000)
}).catch((error)=>{
this.$message({
showClose: true,
message: '网络可能有问题哦,取号失败',
type: 'warning',
center: true
});
})
},
//
fillIt() {
const formList = [];
const checkList = [...this.checkList]
if(this.checkList.length <= 0) {
this.$message({
message: '请选择至少一个填单',
type: 'warning',
center: true
});
return
}
for(let i=0; i<checkList.length; i++) {
formList.push({"answerId":checkList[i],"emptyOne": "", "emptyTwo": '', "operationIds": '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,404,' + checkList[i], "type": ""})
}
const params= {
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286, 404',
lcJudgmentRuleReq:formList,
projectId:+projectId,
startTime:startTime,
}
addOperation(params).then((data)=>{
// ...
this.dataVisible = false
this.checkList = []
this.takeResultVisible = true
setTimeout(() => {
if(this.takeResultVisible) {
this.takeResultVisible = false
}
}, 2000)
}).catch((error)=>{
this.$message({
showClose: true,
message: '网络可能有问题哦,填单失败',
type: 'warning',
center: true
});
})
},
//
sureCopy() {
const formList = [];
const checkList = [...this.checkList]
if(this.checkList.length <= 0) {
this.$message({
message: '请选择至少一个文件进行复印',
type: 'warning',
center: true
});
return
}
for(let i=0; i<checkList.length; i++) {
formList.push({"answerId":checkList[i],"emptyOne": "", "emptyTwo": '', "operationIds": '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,416,' + checkList[i], "type": ""})
}
const params= {
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286, 416',
lcJudgmentRuleReq:formList,
projectId:+projectId,
startTime:startTime,
}
addOperation(params).then((data)=>{
// ...
this.copyVisible = false
this.checkList = []
this.takeResultVisible = true
setTimeout(() => {
if(this.takeResultVisible) {
this.takeResultVisible = false
}
}, 2000)
}).catch((error)=>{
this.$message({
showClose: true,
message: '网络可能有问题哦,填单失败',
type: 'warning',
center: true
});
})
},
takeBack() {
const formList = [];
const checkList = [...this.checkList]
if(this.checkList.length <= 0) {
this.$message({
message: '请取回至少一个文件',
type: 'warning',
center: true
});
return
}
for(let i=0; i<checkList.length; i++) {
formList.push({"answerId":checkList[i],"emptyOne": "", "emptyTwo": '', "operationIds": '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,416,' + checkList[i], "type": ""})
}
const params= {
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286, 416',
lcJudgmentRuleReq:formList,
projectId:+projectId,
startTime:startTime,
}
addOperation(params).then((data)=>{
// ...
this.copyVisible = false
this.checkList = []
this.takeResultVisible = true
setTimeout(() => {
if(this.takeResultVisible) {
this.takeResultVisible = false
}
}, 2000)
}).catch((error)=>{
this.$message({
showClose: true,
message: '网络可能有问题哦,填单失败',
type: 'warning',
center: true
});
})
},
//
toPart(){
this.$router.push('/index/list')
// let token = sessionStorage.getItem('token')
@ -271,11 +476,46 @@ export default {
// // location.href = "http://192.168.31.254:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId
// }
},
dblClickFn(item,val){/* 选中/预览 单/双击函数 */
let that = this
this.clickNum++
if (this.clickNum === 2) { //
this.clickNum = 0;
this.showImg = true
this.imgSrc = item.img
}
setTimeout(function () {
if (that.clickNum === 1) {//
that.clickNum = 0;
}
}, 200)
},
showData(){
this.workingName = '填单'
this.dataVisible = true
},
checkData(id){
this.checkList.includes(id) ? this.checkList.splice(this.checkList.indexOf(id),1) : this.checkList.push(id)
this.clickNum++
if (this.clickNum === 2) { //
let itemIndex = -1
if(this.workingName === '填单') {
itemIndex = this.elImg.findIndex(item => item.key === id)
this.imgSrc = this.elImg[itemIndex].img
}else if(this.workingName === '复印') {
itemIndex = this.elImg2.findIndex(item => item.key === id)
this.imgSrc = this.elImg2[itemIndex].img
}
this.clickNum = 0;
this.showImg = true
}
setTimeout(() => {
if (this.clickNum === 1) {//
this.clickNum = 0;
}
}, 200)
},
closeDataDia(){
this.dataVisible = false
@ -285,12 +525,14 @@ export default {
},
showCopy(){
this.workingName = '复印'
this.copyVisible = true
},
closeCopyDia(){
this.copyVisible = false
},
showRecaption() {
this.workingName = '取回'
this.recaptionVisible = true
},
closeRecaption() {

@ -13,19 +13,28 @@
<el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="1">
<el-form-item label="账号" prop="username">
<el-input :value="form.username" @input="val => checkHanzi(val, form, 'username')" ref="username"></el-input>
<el-input @blur="onBlur()" :value="form.username" @input="val => checkHanzi(val, form, 'username')" ref="username"></el-input>
</el-form-item>
<el-form-item label="凭证类型" prop="voucherType">
<el-select v-model="form.voucherType" placeholder="请选择" ref="voucherType">
<el-option label="身份证" value="身份证"> </el-option>
<!-- 15: 'IC卡',
115: '转账支票',
116: '现金支票',
123: '存单',
127: '银行' -->
<el-option label="IC卡" :value="15"> </el-option>
<el-option label="转账支票" :value="115"> </el-option>
<el-option label="现金支票" :value="116"> </el-option>
<el-option label="存单" :value="123"> </el-option>
<el-option label="银行" :value="127"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="凭证起始号" prop="voucherStartType">
<el-input :value="form.voucherStartType" @input="val => checkHanzi(val, form, 'voucherStartType')" ref="voucherStartType"></el-input>
<el-form-item label="凭证起始号" prop="startNumber">
<el-input :value="form.startNumber" @input="val => inputListen(val, form, 'startNumber')" ref="startNumber"></el-input>
</el-form-item>
<el-form-item label="收费类型" prop="drawWay">
<el-select v-model="form.drawWay" placeholder="请选择" ref="drawWay">
<el-option label="现金" :value="93"> </el-option>
<el-form-item label="收费类型" prop="chargeWay2">
<el-select v-model="form.chargeWay2" placeholder="请选择" ref="chargeWay2">
<el-option label="现金" :value="135"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="手续费" prop="serviceCharge">
@ -34,13 +43,13 @@
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="客户名称" prop="customerName">
<el-input :value="form.customerName" @input="(val) => checkHanzi(val, form, 'customerName')" ref="customerName" ></el-input>
<el-input :value="form.customerName" disabled @input="(val) => checkHanzi(val, form, 'customerName')" ref="customerName" ></el-input>
</el-form-item>
<el-form-item label="凭证终止号" prop="voucherEndType">
<el-input :value="form.voucherEndType" @input="val => checkHanzi(val, form, 'voucherEndType')" ref="voucherEndType"></el-input>
<el-form-item label="凭证终止号" prop="endNumber">
<el-input :value="form.endNumber" @blur="getBlur()" @input="val => inputListen(val, form, 'endNumber')" ref="endNumber"></el-input>
</el-form-item>
<el-form-item label="数量" prop="number">
<el-input :value="form.number" @input="val => inputListen(val, form, 'number')" ref="number" ></el-input>
<el-input :value="form.number" disabled @input="val => inputListen(val, form, 'number')" ref="number" ></el-input>
</el-form-item>
<el-form-item label="工本费" prop="cost">
<el-input :value="form.cost" @input="val => ismoney(val, form, 'cost')" ref="cost" ></el-input>
@ -83,12 +92,12 @@ export default {
form:{
//
username: '', //
voucherStartType: '', //
voucherEndType: '', //
startNumber: '', //
endNumber: '', //
//
voucherType: '', //
drawWay: 93, //
serviceCharge: 5.00, //
chargeWay2: 135, //
serviceCharge: '5.00', //
customerName: '', //
number: '', //
cost: '', //
@ -97,11 +106,11 @@ export default {
formName:{
//
username: '账号', //
voucherStartType: '凭证起始号', //
voucherEndType: '凭证终止号', //
startNumber: '凭证起始号', //
endNumber: '凭证终止号', //
//
voucherType: '凭证类型', //
drawWay: '收费类型', //
chargeWay2: '收费类型', //
serviceCharge: '手续费', //
customerName: '客户名称', //
number: '数量', //
@ -116,11 +125,17 @@ export default {
"subjectId": 84,
},
536: {
prop: 'voucherStartType',
prop: 'startNumber',
type: '3',
"subjectId": 95,
},
//
550: {
prop: 'endNumber',
type: '3',
"subjectId": 103,
}
},
myTable: {
241: {
@ -145,7 +160,7 @@ export default {
"subjectId": 96,
},
538: {
prop: 'drawWay',
prop: 'chargeWay2',
type: '1',
"subjectId": 90,
},
@ -168,7 +183,7 @@ export default {
trigger: 'blur'
}
],
voucherStartType: [
startNumber: [
{
required: true,
message: '请输入凭证起始号',
@ -196,7 +211,26 @@ export default {
this.$refs.username.focus()
},
methods: {
onBlur() {
this.form.customerName = '小白'
},
getBlur() {
const number = Number(this.form.endNumber) - Number(this.form.startNumber)
if(number<0 || this.form.endNumber.length<this.form.startNumber.length) {
this.form.number = 0
return
}
this.form.number = number
},
submitIt() {
if(this.form.number <= 0) {
this.$message({
message: '您的起始号码卡号比结束号码卡号排序更后,请检查一下哈。',
type: 'warning',
center: true
});
return
}
this.$refs.form.validate(myValidate(() => {
this.visible = true

@ -1,10 +1,6 @@
<template>
<div class="wrap wrap2">
<div class="title">
<p>账户服务</p>
<i class="el-icon-arrow-right"></i>
<p>密码修改</p>
</div>
<MyTitle :titleArr="['账户服务', '挂失解挂']"/>
<div class="body">
<el-row :gutter="20" style="margin: 0">
<el-form ref="form" :model="form" label-width="120px" :rules="rules">

@ -773,8 +773,14 @@ const myInitState = {
needsModule: {
// 这个项目没出
'servicesAccount/relieveLost': false
},
dataFlow: {
voucherNumber,
idNumber,
userName
}
},
// '项目十八': { // 现金领用
@ -829,7 +835,7 @@ const myInitState = {
'controlCash/cashRecipients': false
},
},
'项目十九': {
'项目十九': { // 现金上缴
id: 509,
data: [ ], //
needs: [ 438 ],
@ -851,12 +857,39 @@ const myInitState = {
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
needsModule: {
'controlCash/cashTransferInto': false
},
},
'项目二十': { // 现金调入
id: 548,
data: [ ], //
needs: [ 438 ],
isStamp: {
'业务专用章': [ 438 ]
},
backPeople: [ ],
cultureArr: [ 438 ],
moneyBox: [ ], // 钱箱
needBackMoney: false, // 需要钱箱取钱
peopleSign: [ ], // 客户签字
cultureIn: [], // 传票栏
sealBox: [], // 印章盒
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
needsModule: {
'controlCash/cashPaid': false
},
},
'项目二十': {
id: 509,
'项目二十': { // 现金调出
id: 549,
data: [ ], //
needs: [ 438 ],
isStamp: {
@ -881,7 +914,7 @@ const myInitState = {
'controlCash/cashOut': false
},
},
'项目二十': {
'项目二十': { // 凭证领用
id: 510,
data: [ ], //
needs: [ 438 ],
@ -907,8 +940,8 @@ const myInitState = {
'controlCash2/cashRecipients' : false
},
},
'项目二十': {
id: 511,
'项目二十': { // 凭证上缴
id: 514,
data: [ ], //
needs: [ 438 ],
isStamp: {
@ -928,12 +961,11 @@ const myInitState = {
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
needsModule: {
'controlCash2/cashTransferInto' : false
},
},
'项目二十': {
'项目二十': { // 凭证调入
id: 512,
data: [ ], //
needs: [ 438 ],
@ -959,7 +991,7 @@ const myInitState = {
'controlCash2/cashPaid' : false
},
},
'项目二十': {
'项目二十': { // 凭证调出
id: 513,
data: [ ], //
needs: [ 438 ],
@ -980,20 +1012,20 @@ const myInitState = {
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
// 'controlCash2/cashOut'
needsModule: {
'controlCash2/cashOut' : false
},
},
'项目二十': {
id: 514,
data: [ ], //
needs: [ 438 ],
'项目二十': { // 支票出售
id: 507,
data: [ 13, 23, 15, 413 ], // 身份证原件、复印件、现金、支票领购单
needs: [ 411, 479 ],
isStamp: {
'业务专用章': [ 438 ]
'附件章': [ 23 ],
'业务专用章': [ 413, 479 ]
},
backPeople: [ ],
cultureArr: [ 438 ],
backPeople: [ 13, 480, 411, 481 ], // 少了身份证原件、支票领购单回单、现金支票、业务收费凭证回单
cultureArr: [ 23, 488, 488 ], // 少了复印件、支票领购单凭证联、业务收费凭证凭证联、
moneyBox: [ ], // 钱箱
needBackMoney: false, // 需要钱箱取钱
@ -1006,8 +1038,12 @@ const myInitState = {
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
needsModule: {
'controlCash3/index': false
},
},
'项目二十六': {
'项目二十': { // 柜员日终扎帐
id: 516,
data: [ ], //
needs: [ 438 ],
@ -1029,7 +1065,7 @@ const myInitState = {
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
},
'项目二十': {
'项目二十': { // 网点日中扎帐
id: 517,
data: [ ], //
needs: [ 438 ],
@ -2010,7 +2046,7 @@ export default {
},
},
'项目二十六': { // 支票出售
id: 508,
id: 507,
data: [ 13, 23, 15, 413 ], // 身份证原件、复印件、现金、支票领购单
needs: [ 411, 479 ],
isStamp: {

Loading…
Cancel
Save