20240205
luoJunYong.123 3 years ago
parent 9f965407fc
commit de9a307184
  1. 2
      src/components/checkPhoto/index.vue
  2. 9
      src/components/dialogTwo/index.vue
  3. 8
      src/pages/manage/list/cityWide/cityWideIn.vue
  4. 7
      src/pages/manage/list/cityWide/cityWideOut.vue
  5. 16
      src/pages/manage/list/dayEnd/branchDayEnd.vue
  6. 1
      src/pages/manage/list/dayEnd/tellerCash.vue

@ -202,7 +202,7 @@ export default {
methods: { methods: {
closeIt() { closeIt() {
this.$emit('update:showImg', false) this.$emit('update:showImg', false)
}, }
}, },
computed: { computed: {

@ -270,19 +270,28 @@ export default {
if(!this.showForm[key]) { if(!this.showForm[key]) {
continue; continue;
} }
if(num%2 === 0) { if(num%2 === 0) {
if(nameMap[key]) { if(nameMap[key]) {
this.leftObj[this.formName[key]] = nameMap[key][this.showForm[key]] this.leftObj[this.formName[key]] = nameMap[key][this.showForm[key]]
}else {
if(this.formName[key].indexOf('密码') !== -1) {
this.leftObj[this.formName[key]] = '******'
}else { }else {
this.leftObj[this.formName[key]] = this.showForm[key] this.leftObj[this.formName[key]] = this.showForm[key]
} }
}
}else { }else {
if(nameMap[key]) { if(nameMap[key]) {
this.rightObj[this.formName[key]] = nameMap[key][this.showForm[key]] this.rightObj[this.formName[key]] = nameMap[key][this.showForm[key]]
}else {
if(this.formName[key].indexOf('密码') !== -1) {
this.rightObj[this.formName[key]] = '******'
}else { }else {
this.rightObj[this.formName[key]] = this.showForm[key] this.rightObj[this.formName[key]] = this.showForm[key]
} }
} }
}
// if(num%2 === 0) { // if(num%2 === 0) {
// this.leftObj[this.formName[key]] = this.showForm[key] // this.leftObj[this.formName[key]] = this.showForm[key]

@ -44,7 +44,7 @@
</el-col> </el-col>
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
<el-form-item label="本行收款户名" prop="accountUsername"> <el-form-item label="本行收款户名" prop="accountUsername">
<el-input :value="form.accountUsername" @focus="getFocus" @input="val => checkName(val, form, 'accountUsername')" ref="accountUsername"></el-input> <el-input :value="form.accountUsername" disabled @focus="getFocus" @input="val => checkName(val, form, 'accountUsername')" ref="accountUsername"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="金额" prop="money"> <el-form-item label="金额" prop="money">
<el-input :value="form.money" @input="val => ismoney(val, form, 'money')" ref="money"></el-input> <el-input :value="form.money" @input="val => ismoney(val, form, 'money')" ref="money"></el-input>
@ -304,7 +304,6 @@ export default {
} }
this.form.insertDate = tmpFunc() this.form.insertDate = tmpFunc()
this.form.exchangeNumber = 20082289056288 this.form.exchangeNumber = 20082289056288
// this.form.exchangeName = ''
}, },
mounted() { mounted() {
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,29,345,359' const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,29,345,359'
@ -334,7 +333,7 @@ export default {
} }
}, },
getBlur() { getBlur() {
this.form.accountUsername = '小白' this.form.accountUsername = this.dataFlow.userName;
}, },
ismoney: ismoney, ismoney: ismoney,
inputListen: inputListen, inputListen: inputListen,
@ -343,7 +342,8 @@ export default {
}, },
computed: { computed: {
...mapGetters({ ...mapGetters({
getSelectList: 'system/getSelectList' getSelectList: 'system/getSelectList',
dataFlow: 'system/dataFlow'
}) })
} }
}; };

@ -45,7 +45,7 @@
</el-col> </el-col>
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
<el-form-item label="本行收款户名" prop="shroffAccountUsername"> <el-form-item label="本行收款户名" prop="shroffAccountUsername">
<el-input @focus="getFocus" :value="form.shroffAccountUsername" @input="val => checkName(val, form, 'shroffAccountUsername')" ref="shroffAccountUsername"></el-input> <el-input @focus="getFocus" disabled :value="form.shroffAccountUsername" @input="val => checkName(val, form, 'shroffAccountUsername')" ref="shroffAccountUsername"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="金额" prop="money"> <el-form-item label="金额" prop="money">
<el-input :value="form.money" @input="val => ismoney(val, form, 'money')" ref="money"></el-input> <el-input :value="form.money" @input="val => ismoney(val, form, 'money')" ref="money"></el-input>
@ -363,7 +363,7 @@ export default {
}, },
getBlur() { getBlur() {
if(this.form.shroffAccountNumber) { if(this.form.shroffAccountNumber) {
this.form.shroffAccountUsername = '小白' this.form.shroffAccountUsername = this.dataFlow.userName
} }
}, },
ismoney: ismoney, ismoney: ismoney,
@ -376,7 +376,8 @@ export default {
// billTypeSelect: state => state.select.billTypeSelect // billTypeSelect: state => state.select.billTypeSelect
// }), // }),
...mapGetters({ ...mapGetters({
getSelectList: 'system/getSelectList' getSelectList: 'system/getSelectList',
dataFlow: 'system/dataFlow'
}) })
} }
}; };

@ -1,23 +1,23 @@
<template> <template>
<div class="wrap wrap2 myPadding"> <div class=" wrap2 myPadding">
<my-title :titleArr="['日终管理', '网点日终轧帐']"/> <my-title :titleArr="['日终管理', '网点日终轧帐']"/>
<!-- 存款 --> <!-- 存款 -->
<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" label-position="right" :rules="rules"> <el-form ref="form" :model="form" label-width="120px" label-position="right" :rules="rules">
<el-form-item label="主管柜员号" prop="username"> <el-form-item label="主管柜员号" prop="username" style="width: 40vw;">
<el-input placeholder="请输入账号" :value="form.username" @input="val => checkHanzi(val, form, 'username')" ref="username"></el-input> <el-input placeholder="请输入账号" :value="form.username" @input="val => checkHanzi(val, form, 'username')" ref="username"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="登录密码" prop="password"> <el-form-item label="登录密码" prop="password" style="width: 40vw;">
<el-input placeholder="请输入密码" type="password" :value="form.password" @input="val => checkHanzi(val, form, 'password')" ref="password"></el-input> <el-input placeholder="请输入密码" type="password" :value="form.password" @input="val => checkHanzi(val, form, 'password')" ref="password"></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
</el-row> </el-row>
<my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" />
</div> </div>
<el-button @click="submitIt()" type="primary" class="submitBtn" v-throttle>提交</el-button> <el-button @click="submitIt()" type="primary" class="submitBtn" v-throttle>提交</el-button>
<my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" />
</div> </div>
</template> </template>
@ -121,9 +121,9 @@ export default {
padding: 24px 0 24px 24px; padding: 24px 0 24px 24px;
} }
/deep/.el-input input { // /deep/.el-input input {
width: 420px; // // width: 420px;
} // }
.body { .body {
padding-top: 50px; padding-top: 50px;
padding-left: 50px; padding-left: 50px;

@ -64,6 +64,7 @@
import { tableRowClassName, headerCellStyle } from '@/assets/js/myConfig' import { tableRowClassName, headerCellStyle } from '@/assets/js/myConfig'
import { myValidate, checkHanzi, inputListen } from '@/utils/utilFunction.js' import { myValidate, checkHanzi, inputListen } from '@/utils/utilFunction.js'
import { mapState, mapMutations, mapGetters } from 'vuex' import { mapState, mapMutations, mapGetters } from 'vuex'
import { addOperation, getOperation } from '@/api/http';
import MyTitle from '@/components/myTitle' import MyTitle from '@/components/myTitle'
import MyDialog from '@/components/dialogTwo' import MyDialog from '@/components/dialogTwo'
export default { export default {

Loading…
Cancel
Save