20240205
luoJunYong.123 3 years ago
parent d00963f86e
commit 677b834968
  1. 89
      src/components/checkPhoto/index.vue
  2. 14
      src/components/dialogTwo/index.vue
  3. 1
      src/mixins/tipsBefore/index.js
  4. 10
      src/pages/counter/list/index.vue
  5. 178
      src/pages/manage/list/acceptanceDraft/invoice.vue
  6. 23
      src/pages/manage/list/business/deposit.vue
  7. 43
      src/pages/manage/list/business/openAccount.vue
  8. 3
      src/pages/manage/list/business/transfer.vue
  9. 12
      src/pages/manage/list/cityWide/cityWideIn.vue
  10. 10
      src/pages/manage/list/cityWide/cityWideOut.vue
  11. 2
      src/pages/manage/list/client/corporateClient.vue
  12. 21
      src/pages/manage/list/personal/callDeposits/accountClosed.vue
  13. 1
      src/pages/manage/list/personal/currentAccount/accountCancellation.vue
  14. 11
      src/pages/manage/list/personal/timeDeposit/withdrawal.vue
  15. 132
      src/store/modules/system.js
  16. 14
      src/utils/utilFunction.js

@ -147,6 +147,44 @@
<h3 class="text-md" style="left: 450px;top: 235px;">郭平安</h3>
<h3 class="text-md" style="left: 116px;top: 306px;letter-spacing: 3.3px">{{ ('' + dataFlow.transMoney).padStart(8, 0).padEnd(10, 0) }}</h3>
</template>
<template v-else-if="imgSrcId==584 || imgSrcId==582" >
<div class="coverIt" style="top: 75px; left: 400px;width: 300px;height: 25px;">
<h3 class="smallFont" style="left: 0px;">{{ mapNumber(getYear2(0, 'drawDate')) }}</h3>
<h3 class="smallFont" style="left: 50px;font-weight: 700"></h3>
<h3 class="smallFont" style="left: 65px;">{{ mapNumber(getYear2(1, 'drawDate')) }}</h3>
<h3 class="smallFont" style="left: 90px;font-weight: 700"></h3>
<h3 class="smallFont" style="left: 104px;">{{ mapNumber(getYear2(2, 'drawDate')) }}</h3>
<h3 class="smallFont" style="left: 140px;font-weight: 700"></h3>
</div>
<h3 class="text-base" style="left: 250px;top: 126px;">商业银行</h3>
<h3 class="text-base" style="left: 210px;top: 162px;">12802851701099</h3>
<h3 class="text-base" style="left: 570px;top: 126px;">六品居股份有限公司</h3>
<h3 class="text-xl" style="left: 340px;top: 230px;">{{ transMoney(dataFlow.transMoney) }}</h3>
<h3 class="text-lg" style="left: 560px;top: 242px;letter-spacing: 11.5px">{{ ('' + dataFlow.transMoney).padStart(8, 0).padEnd(10, 0) }}</h3>
<div class="coverIt" style="top: 270px; left: 180px;width: 200px;height: 20px;line-height: 25px;">
<h3 class="text-base" style="left: 0px;">{{ mapNumber(getYear2(0, 'expireDate')) }}</h3>
<h3 class="text-base" style="left: 70px;font-weight: 700"></h3>
<h3 class="text-base" style="left: 90px;">{{ mapNumber(getYear2(1, 'expireDate')) }}</h3>
<h3 class="text-base" style="left: 130px;font-weight: 700"></h3>
<h3 class="text-base" style="left: 150px;">{{ mapNumber(getYear2(2, 'expireDate')) }}</h3>
<h3 class="text-base" style="left: 200px;font-weight: 700"></h3>
</div>
</template>
<template v-else-if="imgSrcId==430 || imgSrcId==429" >
<h3 class="text-lg" v-if="imgSrcId==430" style="left: 730px;top: 35px;">{{ dataFlow.oldDepositNumber }}</h3>
<h3 class="text-lg" v-else style="left: 730px;top: 35px;">{{ dataFlow.newDepositNumber }}</h3>
<h3 class="text-lg" style="left: 572px;top: 199px;">部分支取</h3>
<h3 class="text-xl" style="left: 210px;top: 135px;">{{ transMoney(dataFlow.transMoney) }}</h3>
<h3 class="text-xl" style="left: 590px;top: 135px;">{{ dataFlow.transMoney }}</h3>
</template>
<!-- 这里就是要展示的图片 dia-header让它可以带动整个组件被拖拽 因为这里的v-drag会去搜这个组件内的dia-header -->
<img :src="imgSrc" class="imgPop imgIndex min-w-full dia-header shadow-2xl" :alt="imgSrcName" :title="imgSrcName" ref="showPage">
@ -206,8 +244,6 @@ export default {
d = d < 10 ? ('0' + d) : d;
return y + '-' + m + '-' + d;
})()
console.log(this.dataFlow.sex)
},
methods: {
closeIt() {
@ -227,7 +263,7 @@ export default {
})
return newStr
})
}
},
},
computed: {
@ -247,6 +283,21 @@ export default {
}
},
getYear2() {
return (index, name) => {
//
const { [name]: tmpName } = this.dataFlow
if(!tmpName) {
const tmpDate = this.nowDate.split('-')[index]
return tmpDate
}else {
const tmpDate = tmpName.split('-')[index]
return tmpDate
}
}
},
// ->
transMoney() {
return (str) => {
@ -295,25 +346,32 @@ export default {
return (str) => {
let myStr = str + ''
let strEnd = ''
if(str.length === 4) {
if(myStr.length === 4) {
for(const val of myStr) {
strEnd += myMap.get(val)
}
}else {
if(str.charAt(0) == '0') {
strEnd = myMap.get(str.charAt(1))
if(myStr.charAt(0) == '0') {
strEnd = myMap.get(myStr.charAt(1))
}else if(myStr.charAt(0) == '1') {
// console.log('Wok')
strEnd = '拾'
if(myStr.charAt(1) != '0') {
strEnd = strEnd + myMap.get(myStr.charAt(1))
}
}else {
strEnd = myMap.get(str.charAt(0)) + '拾'
if(str.charAt(1) != '0') {
strEnd += myMap.get(str.charAt(1))
strEnd = myMap.get(myStr.charAt(0)) + '拾'
if(myStr.charAt(1) != '0') {
strEnd += myMap.get(myStr.charAt(1))
}
}
}
return strEnd
}
},
// divboxshadow
needBoxShadow() {
const needShadow = [ 411, 412, 14 ]
@ -327,7 +385,7 @@ export default {
<style lang="scss" scoped>
h3 {
position: absolute;
z-index: 9999;
z-index: 9990;
text-align: center;
-webkit-font-smoothing: auto;
-moz-osx-font-smoothing: auto;
@ -335,4 +393,13 @@ export default {
cursor: text!important;
}
}
.smallFont {
font-size: 1px;
}
.coverIt {
position: absolute;
background-color: rgb(255, 255, 255);
}
</style>

@ -61,7 +61,7 @@
<script>
// dialog使dialog
// , 'dataFlow'
const obj = {
// 'consumerClient': '/counter/list/manage/consumerClient',
@ -239,9 +239,13 @@ const nameMap = {
137: '银行汇票',
138: '商业承兑汇票',
139: '其他'
},
isTransfer: {
121: '是',
122: '否'
}
}
import { mapGetters } from 'vuex'
export default {
props: {
moduleName: {
@ -274,7 +278,6 @@ export default {
if(!this.showForm[key]) {
continue;
}
if(num%2 === 0) {
if(nameMap[key]) {
this.leftObj[this.formName[key]] = nameMap[key][this.showForm[key]]
@ -306,7 +309,6 @@ export default {
}
this.leftObj['上缴柜员号'] = '002119'
this.leftObj['接收柜员号'] = '002110'
this.rightObj['机构号'] = '1234100'
const tmpFunc = () => {
const date = new Date()
@ -355,13 +357,15 @@ export default {
}
},
computed: {
...mapGetters({
getSelectList: 'system/getSelectList'
}),
showItem() {
return (val, key) => {
return key + ': ' + val
}
},
successName() {
console.log(this.moduleName)
return obj[ this.moduleName ] + '成功'
},
}

@ -38,6 +38,7 @@ export default {
const getBeforeData = JSON.parse(sessionStorage.getItem(this.moduleName))
for(const key in getBeforeData) {
this.form[key] = Number(getBeforeData[key])? Number(getBeforeData[key]): getBeforeData[key]
console.log(typeof this.form[key])
}
}

@ -110,7 +110,7 @@
</el-tooltip>
<div class="employee-wrap sth">
<el-tooltip placement="top" popper-class="sth-popper" offset="50">
<img v-lazy="lazyImg[21]" alt="" @click="setShowBusiness(true)" />
<img v-lazy="lazyImg[21]" alt="" />
</el-tooltip>
<el-tooltip placement="top" popper-class="sth-popper" offset="-50">
@ -615,6 +615,10 @@ export default {
{name:'1角', src:require('@/assets/img/cash/1角.png'), id:4405, num: ''},
],
popArr:[/* 弹窗展示的物品 */
{name:'银行承兑汇票一联',src:require('@/assets/img/goods/银行承兑汇票.png'),id:582},
{name:'银行承兑汇票二联',src:require('@/assets/img/goods/银行承兑汇票.png'),id:581},
{name:'银行承兑汇票三联(解讫通知)',src:require('@/assets/img/goods/银行承兑汇票.png'),id:580},
{name:'银行承兑汇票四联',src:require('@/assets/img/goods/银行承兑汇票.png'),id:583},
{name:'预留印鉴卡(二)',src:require('@/assets/img/goods/预留印鉴卡.png'),id:470},
{name:'预留印鉴卡(三)',src:require('@/assets/img/goods/预留印鉴卡.png'),id:471},
{name:'二类银行卡',src:require('@/assets/img/goods/bankCard.png'),id:563},
@ -622,7 +626,7 @@ export default {
{name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:428},
{name:'预留印鉴卡',src:require('@/assets/img/seal/paid.png'),id:439},
{name:'转账支票',src:require('@/assets/img/goods/xd-zzzp.png'),id:412},
{name:'银行承兑汇票',src:require('@/assets/img/seal/paid.png'),id:30},
{name:'银行承兑汇票',src:require('@/assets/img/seal/paid.png'),id:584},
{name:'银行承兑汇票一联',src:require('@/assets/img/goods/银行承兑汇票.png'),id:582},
{name:'银行承兑汇票二联',src:require('@/assets/img/goods/银行承兑汇票.png'),id:581},
{name:'银行承兑汇票三联',src:require('@/assets/img/goods/银行承兑汇票.png'),id:580},
@ -892,7 +896,7 @@ export default {
{name:'定期存单',src:require('@/assets/img/goods/储蓄存单.png'),id:428},
{name:'预留印鉴卡',src:require('@/assets/img/goods/预留印鉴卡.png'),id:439},
{name:'转账支票',src:require('@/assets/img/goods/xd-zzzp.png'),id:412},
{name:'银行承兑汇票',src:require('@/assets/img/goods/银行承兑汇票.png'),id:30},
{name:'银行承兑汇票',src:require('@/assets/img/goods/银行承兑汇票.png'),id:584},
{name:'现金支票',src:require('@/assets/img/goods/xjzp.png'),id:411},
{name:'新定期存单',src:require('@/assets/img/goods/储蓄存单.png'),id:429},
]

@ -1,4 +1,3 @@
//
<template>
<div class="wrap">
<div class="wrap2">
@ -15,7 +14,7 @@
</el-form-item>
<el-form-item label="收款人账号" prop="collectionNumber">
<el-input :value="form.collectionNumber" @input="val => checkHanzi(val, form, 'collectionNumber')" ref="collectionNumber"></el-input>
<el-input @blur="getBlur2" :value="form.collectionNumber" @input="val => checkHanzi(val, form, 'collectionNumber')" ref="collectionNumber"></el-input>
</el-form-item>
<el-form-item label="收款人行名" prop="collectionTradeName">
<el-input :value="form.collectionTradeName" disabled @input="val => checkHanzi(val, form, 'collectionTradeName')" ref="collectionTradeName"></el-input>
@ -24,11 +23,7 @@
<el-input :value="form.moneyOrderNumber" @input="val => checkHanzi(val, form, 'moneyOrderNumber')" ref="moneyOrderNumber"></el-input>
</el-form-item>
<el-form-item label="到期日期" prop="expireDate">
<el-date-picker
v-model="form.expireDate"
type="date"
placeholder="选择日期"
ref="expireDate">
<el-input v-model="form.expireDate" ref="expireDate"></el-input>
</el-date-picker>
</el-form-item>
<el-form-item label="申请人证件类型" prop="ApplicantDocuments">
@ -40,7 +35,7 @@
</el-form-item>
<el-form-item label="币种" prop="currencyType">
<el-select v-model="form.currencyType" placeholder="请选择" ref="currencyType">
<el-option value="CNY人民币">CNY人民币</el-option>
<el-option v-for="item in getSelectList.currencySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="汇票费金额" prop="moneyOrderMoney">
@ -59,21 +54,15 @@
</el-form-item>
<el-form-item label="票据类型" prop="billType">
<el-select v-model="form.billType" placeholder="请选择" ref="billType">
<el-option value="银行承兑汇票">银行承兑汇票</el-option>
<el-option v-for="item in getSelectList.billTypeSelect" :label="item.options" :value="item.itemId" :key="item.itemId" ></el-option>
</el-select>
</el-form-item>
<el-form-item label="出票日期" prop="drawBillDate">
<el-date-picker
v-model="form.drawBillDate"
type="date"
placeholder="选择日期"
ref="drawBillDate">
</el-date-picker>
<el-input v-model="form.drawBillDate" ref="drawBillDate"></el-input>
</el-form-item>
<el-form-item label="是否转让" prop="isTransfer">
<el-select v-model="form.isTransfer" placeholder="请选择" ref="isTransfer">
<el-option value="是"></el-option>
<el-option value="否"></el-option>
<el-option v-for="item in getSelectList.isTranslate" :label="item.options" :value="item.itemId" :key="item.itemId" ></el-option>
</el-select>
</el-form-item>
<el-form-item label="证件号码" prop="certificateNumber">
@ -91,6 +80,7 @@
</el-row>
</div>
<el-button @click="submitForm" type="primary" class="submitBtn" v-throttle>提交</el-button>
<my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" :needAuth='true' />
</div>
</div>
@ -100,16 +90,23 @@
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2 } from '@/utils/utilFunction.js'
import MyTitle from '@/components/myTitle'
import { mapGetters } from 'vuex'
import TipsBefore from '@/mixins/tipsBefore'
import MyDialog from '@/components/dialogTwo'
const moduleName = 'acceptanceDraft/invoice'
export default {
name: 'index',
components: {
MyTitle
MyTitle,
MyDialog
},
mixins: [ TipsBefore ],
data() {
return {
// my-dialog
visible: false,
moduleName,
form:{
//
accountNumber: '', //
@ -120,11 +117,11 @@ export default {
ApplicantDocuments: '', //
certificateNumber: '', //
drawBillDate: '', //
isTransfer: '', //
isTransfer: '', //
//
accountName: '', //
collectionName: '', //
currencyType: 'CNY人民币', //
currencyType: '', //
moneyOrderMoney: '', //
accountTradeName: '', //
tradeAddress: '', //
@ -133,9 +130,38 @@ export default {
serviceCharge: '' //
},
formName:{
//
accountNumber: '出票人账号', //
collectionNumber: '收款人账号', //
moneyOrderNumber: '汇票号码', //
expireDate: '到期日期', //
money: '金额', //
ApplicantDocuments: '申请人证件类型', //
certificateNumber: '证件号码', //
drawBillDate: '出票日期', //
isTransfer: '是否转让', //
//
accountName: '出票人名称', //
collectionName: '收款人名称', //
currencyType: '币种', //
moneyOrderMoney: '汇划费金额', //
accountTradeName: '出票人行名', //
tradeAddress: '出票行地址', //
collectionTradeName: '收款人行名', //
billType: '票据类型', //
serviceCharge: '手续费金额' //
},
//
rules: {
collectionName: [
{
required: true,
message: '请输入收款人名称',
trigger: 'blur'
}
],
currencyType: [
{
required: true,
@ -150,6 +176,13 @@ export default {
trigger: 'blur'
}
],
billType: [
{
required: true,
message: '请选择票据类型',
trigger: 'blur'
}
],
accountNumber: [
{
required: true,
@ -179,13 +212,6 @@ export default {
trigger: 'blur'
}
],
moneyOrderMoney: [
{
required: true,
message: '请输入汇票费金额',
trigger: 'blur'
}
],
expireDate: [
{
required: true,
@ -224,6 +250,11 @@ export default {
},
//
myTable2: {
375: {
prop: 'accountNumber', // 1
type: '3',
"subjectId": '67',
},
376: {
prop: 'accountTradeName', // 1
type: '3',
@ -239,6 +270,11 @@ export default {
type: '3',
"subjectId": '70',
},
379: {
prop: 'collectionNumber', // 1
type: '3',
"subjectId": '71',
},
380: {
prop: 'collectionTradeName', // 3
type: '3',
@ -259,11 +295,26 @@ export default {
type: '1',
"subjectId": '8',
},
384: {
prop: 'money', // 3
type: '3',
"subjectId": '14',
},
385: {
prop: 'moneyOrderNumber', // 3
type: '3',
"subjectId": '74',
},
386: {
prop: 'drawBillDate', // 3
type: '1',
type: '3',
"subjectId": '60',
},
387: {
prop: 'expireDate', // 3
type: '3',
"subjectId": '75',
},
388: {
prop: 'isTransfer', // 3
type: '1',
@ -281,75 +332,54 @@ export default {
},
},
myTable: {
//
// accountNumber: '', //
// collectionNumber: '', //
// moneyOrderNumber: '', //
// expireDate: '', //
// money: '', //
375: {
prop: 'accountNumber', // 3
type: '3',
"subjectId": '67',
},
379: {
prop: 'collectionNumber', // 3
type: '3',
"subjectId": '71',
},
384: {
prop: 'money', // 1
type: '3',
"subjectId": '14',
},
385: {
prop: 'moneyOrderNumber', // 3
type: '3',
"subjectId": '74',
},
387: {
prop: 'expireDate', // 3
type: '1',
"subjectId": '75',
},
372: {
prop: 'accountUsername', // 3
type: '3',
"subjectId": '',
}
},
}
},
created() {
//
this.form.moneyOrderMoney = '6.00'
this.form.serviceCharge = '5.00'
},
mounted() {
//
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,30,374'
//
autoPlay2(parentId, this.form, this.myTable2, this.myTable)
//
this.form.moneyOrderMoney = '6.89'
this.form.serviceCharge = '5.89'
},
mounted() {
this.$refs.accountNumber.focus()
},
methods: {
//
// myValidateelement-uivalidate
submitForm(){
this.$refs.form.validate(myValidate(() => {
this.visible = true
}, this.$refs));
},
submitForm2() {
//
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,30,374'
//
autoPlay(parentId, this.form, this.myTable2, this.myTable)
}, this.$refs));
},
//
getBlur() {
if(this.form.accountNumber) {
this.form.accountTradeName = '小白1'
this.form.collectionTradeName = '小白2'
this.form.accountTradeName = '商业银行'
}
},
//
getBlur2() {
if(this.form.collectionNumber) {
this.form.collectionTradeName = '中交商业银行'
}
},
ismoney: ismoney,
checkHanzi: checkHanzi,
checkName: checkName
},
computed: {
...mapGetters('system', ['getSelectList'])
}
}
</script>

@ -123,18 +123,7 @@ export default {
second:[//
],
// if(this.form.currency){
// formList.push({ "answerId":'242', "emptyOne": "19", "emptyTwo": this.form.currency, "operationIds": parentId + ',242', "type": "1" })//
// }
// if(this.form.goldLogo){
// formList.push({ "answerId":'243', "emptyOne": "7", "emptyTwo": this.form.goldLogo, "operationIds": parentId + ',243', "type": "3" })//
// }
// if(this.form.interestRate){
// formList.push( {"answerId":'245',"emptyOne": "5", "emptyTwo": this.form.interestRate, "operationIds": parentId + ",245", "type": "3"})//
// }
// if(this.form.abstract){
// formList.push( {"answerId":'246',"emptyOne": "5", "emptyTwo": this.form.abstract, "operationIds": parentId + ",246", "type": "3"})//
// }
//
myTable2: {
242: {
prop: 'currency',
@ -191,9 +180,13 @@ export default {
}),
getBlur() {
if(this.form.username) {
this.form.currency = 12
this.form.interestRate = 0.30
this.form.goldLogo = 13
const { currency, interestRate, goldLogo } = this.dataFlow
// this.form.currency = 12
// this.form.interestRate = 0.30
// this.form.goldLogo = 13
this.form.currency = currency
this.form.interestRate = interestRate
this.form.goldLogo = goldLogo
}
},
getFormData(){

@ -13,18 +13,12 @@
</el-form-item>
<el-form-item label="账户类型" prop="accountType">
<el-select v-model="form.accountType" placeholder="请选择" ref="accountType">
<el-option label="结算户" :value="97"> </el-option>
<el-option label="活期保障金户" :value="98"> </el-option>
<el-option label="委托保障金户" :value="99"> </el-option>
<el-option label="资本临时户" :value="100"> </el-option>
<el-option v-for="item in getSelectList.accountTypeSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="账户科目" prop="accountManagement">
<el-select v-model="form.accountManagement" placeholder="请选择" ref="accountManagement">
<el-option label="工业存款" :value="105"> </el-option>
<el-option label="商业存款" :value="106"> </el-option>
<el-option label="外贸存款" :value="107"> </el-option>
<el-option label="其他存款" :value="108"> </el-option>
<el-option v-for="item in getSelectList.accountManagementList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="钞汇标识" prop="goldLogo">
@ -34,15 +28,14 @@
</el-form-item>
<el-form-item label="出账页标志" prop="outAccountWay">
<el-select v-model="form.outAccountWay" placeholder="请选择" ref="outAccountWay">
<el-option label="按月" :value="112"> </el-option>
<el-option label="满页" :value="113"> </el-option>
<el-option v-for="item in getSelectList.outAccountWayList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="统计代码" prop="clientNumber">
<el-input :value="form.clientNumber" disabled @input="(val) => checkHanzi(val, form, 'clientNumber')" ref="clientNumber"></el-input>
<el-input :value="form.clientNumber" @input="(val) => checkHanzi(val, form, 'clientNumber')" ref="clientNumber"></el-input>
</el-form-item>
<el-form-item label="外汇证号" prop="foreignCurrencyCertificate">
<el-input :value="form.foreignCurrencyCertificate" disabled @input="(val) => checkHanzi(val, form, 'foreignCurrencyCertificate')" ref="foreignCurrencyCertificate"></el-input>
<el-input :value="form.foreignCurrencyCertificate" @input="(val) => checkHanzi(val, form, 'foreignCurrencyCertificate')" ref="foreignCurrencyCertificate"></el-input>
</el-form-item>
</el-col>
@ -52,10 +45,7 @@
</el-form-item>
<el-form-item label="账户性质" prop="accountQuality">
<el-select v-model="form.accountQuality" placeholder="请选择" ref="accountQuality">
<el-option label="基本户" :value="101"> </el-option>
<el-option label="一般户" :value="102"> </el-option>
<el-option label="专用户" :value="103"> </el-option>
<el-option label="临时户" :value="104"> </el-option>
<el-option v-for="item in getSelectList.accountQualitySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="币种" prop="currency">
@ -65,9 +55,7 @@
</el-form-item>
<el-form-item label="计息方式" prop="calculateWay">
<el-select v-model="form.calculateWay" placeholder="请选择" ref="calculateWay">
<el-option label="季度" :value="109"> </el-option>
<el-option label="半年" :value="110"> </el-option>
<el-option label="一年" :value="111"> </el-option>
<el-option v-for="item in getSelectList.calculateWayList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="支取方式" prop="drawWay">
@ -76,7 +64,7 @@
</el-select>
</el-form-item>
<el-form-item label="外汇核准号" prop="foreignCurrencyBumber">
<el-input :value="form.foreignCurrencyBumber" disabled @input="(val) => checkName(val, form, 'foreignCurrencyBumber')" ref="foreignCurrencyBumber"></el-input>
<el-input :value="form.foreignCurrencyBumber" @input="(val) => checkName(val, form, 'foreignCurrencyBumber')" ref="foreignCurrencyBumber"></el-input>
</el-form-item>
</el-col>
</el-form>
@ -293,13 +281,15 @@ export default {
},
mixins: [ TipsBefore ],
created() {
if(this.isNeedBefore) {
return
}
// if(this.isNeedBefore) {
// return
// }
if(this.dataFlow.corporateClient) {
const { peopleNumber, userName } = this.dataFlow
this.form.customerName = userName
this.form.customerNumber = peopleNumber
}
this.getFormData()
},
methods: {
@ -316,10 +306,13 @@ export default {
submitForm(){
// let projectId = sessionStorage.getItem('projectId')
// let startTime = sessionStorage.getItem('startTime')
if(!this.form.customerName) {
this.setTipsOperate('请先完成 客户信息 -> 公司客户信息建立');
return;
}
this.$refs.form.validate(myValidate(() => {
//
this.visible = true;
}, this.$refs));
},
submitForm2(){

@ -268,10 +268,11 @@ export default {
// payWay: '', //
// abstract: '', //
if(this.form.transoutNum) {
this.form.certificateType = 12
const { currency } = this.dataFlow
this.form.currencyMark = 13
this.form.signDate = '2021-01-05'
this.form.certificateType = 115
this.form.currencyType = currency
this.form.payWay = 114
}
},

@ -13,7 +13,7 @@
</el-form-item>
<el-form-item label="币种" prop="currency">
<el-select v-model="form.currency" placeholder="请选择" ref="currency">
<el-option v-for="item in getSelectList.currencySelectList" :label="item.options" :value="item.itemId + ''" :key="item.itemId"> </el-option>
<el-option v-for="item in getSelectList.currencySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
<!-- <el-option value="CNY人民币">CNY人民币</el-option> -->
</el-select>
</el-form-item>
@ -25,13 +25,7 @@
</el-form-item>
<el-form-item label="票据类型" prop="billType">
<el-select v-model="form.billType" placeholder="请选择" ref="billType">
<el-option v-for="item in getSelectList.billTypeSelect" :label="item.options" :value="item.itemId + ''" :key="item.itemId" ></el-option>
<!-- <el-option :label="119">银行本票</el-option>
<el-option :label="120">银行承兑汇票</el-option>
<el-option :label="136">银行汇票</el-option>
<el-option :label="137" value="银行承兑汇票"> </el-option>
<el-option :label="商业承兑汇票" value="商业承兑汇票"> </el-option>
<el-option :label="其他" value="其他"> </el-option> -->
<el-option v-for="item in getSelectList.billTypeSelect" :label="item.options" :value="item.itemId" :key="item.itemId" ></el-option>
</el-select>
</el-form-item>
<el-form-item label="交换行号" prop="exchangeNumber">
@ -105,7 +99,7 @@ export default {
otherAccountNumber: '', //
voucherNumber: '', //
//
currency: '12', //
currency: 12, //
proposeTime: 1, //
insertDate: '', //
otherAccountUsername: '', //

@ -13,7 +13,7 @@
</el-form-item>
<el-form-item label="币种" prop="currency">
<el-select v-model="form.currency" placeholder="请选择" ref="currency">
<el-option v-for="item in getSelectList.currencySelectList" :label="item.options" :value="item.itemId + ''" :key="item.itemId"> </el-option>
<el-option v-for="item in getSelectList.currencySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
<!-- <el-option label="CNY人民币" value="12"></el-option> -->
</el-select>
</el-form-item>
@ -25,7 +25,7 @@
</el-form-item>
<el-form-item label="票据类型" prop="billType">
<el-select v-model="form.billType" placeholder="请选择" ref="billType">
<el-option v-for="item in getSelectList.billTypeSelect" :label="item.options" :key="item.itemId" :value="item.itemId + ''" ></el-option>
<el-option v-for="item in getSelectList.billTypeSelect" :label="item.options" :key="item.itemId" :value="item.itemId" ></el-option>
<!-- <el-option :label="119" :key="item.itemId" :value="item.itemId" ></el-option> -->
</el-select>
</el-form-item>
@ -106,7 +106,7 @@ export default {
otherAccountNumber: '', //
voucherNumber: '', //
//
currency: '12', //
currency: 12, //
proposeTime: 1, //
proposeDate: '', //
otherAccountUsername: '', //
@ -319,12 +319,12 @@ export default {
let startTime = sessionStorage.getItem('startTime')
const formList = []
formList.push({"answerId":'347',"emptyOne": 54, "emptyTwo": this.form.shroffAccountNumber, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,29,345,346","type": "3"})
formList.push({"answerId":'348',"emptyOne": 8, "emptyTwo": this.form.currency, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,29,345,346","type": "3"})
formList.push({"answerId":'348',"emptyOne": 8, "emptyTwo": +this.form.currency, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,29,345,346","type": "3"})
formList.push({"answerId":'349',"emptyOne": 14, "emptyTwo": this.form.money, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,29,345,346","type": "3"})
formList.push({"answerId":'350',"emptyOne": 55, "emptyTwo": this.form.proposeTime, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,29,345,346","type": "3"})
formList.push({"answerId":'351',"emptyOne": 56, "emptyTwo": this.form.proposeDate, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,29,345,346","type": "3"})
formList.push({"answerId":'352',"emptyOne": 57, "emptyTwo": this.form.billType, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,29,345,346","type": "3"})
formList.push({"answerId":'352',"emptyOne": 57, "emptyTwo": +this.form.billType, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,29,345,346","type": "3"})
formList.push({"answerId":'353',"emptyOne": 58, "emptyTwo": this.form.shroffAccountUsername, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,29,345,346","type": "3"})
formList.push({"answerId":'354',"emptyOne": 59, "emptyTwo": this.form.otherAccountNumber, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,29,345,346","type": "3"})

@ -295,6 +295,8 @@ export default {
// this.setDataFlow({ ...this.form })
this.setNeedsModule(moduleName)
this.setDataFlow({ userName: this.form.name })
//
this.setDataFlow({ [moduleName]: true })
}).catch((error)=>{
this.setTipsOperate('服务器繁忙哦,提交失败。')
})

@ -64,7 +64,7 @@
</el-form-item>
<el-form-item label="钞汇标识" prop="goldLogo">
<el-select v-model="form.goldLogo" disabled placeholder="请选择" ref="goldLogo">
<el-option label="钞户" value="钞户"> </el-option>
<el-option v-for="item in getSelectList.goldLogo" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="定存编号" prop="depositNumber">
@ -163,10 +163,10 @@ export default{
totalMoney: '总金额', //
certificateType: '证件类型', //
breathDate: '起息日期', //
customerNumber: '客户号', // ()
noticeType: '通知类型', // ()
drawWayType: '支取类别', // ()
voucherType: '凭证类型', // ()
customerNumber: '客户号',
noticeType: '通知类型',
drawWayType: '支取类别',
voucherType: '凭证类型',
},
rules: {
clientName: {
@ -399,7 +399,6 @@ export default{
},
popUp3(text) {
// this.$store.commit('system/changePop',{show:true,text, id: '394'})
this.setTipsOperate('请在密码器输入密码');
this.setPopId('394')
sessionStorage.setItem('computerPath', this.$route.fullPath)
@ -434,16 +433,6 @@ export default{
{
key: '392,13'
}
// {
// 302: nomCallDepositCard
// },
// {
// 392: nomCallDepositCard2
// },
// {
// 394: nomCallDepositClosedPassword,
// "subjectId": 17,
// }
]
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
},

@ -116,6 +116,7 @@ export default{
created() {
//
// sessionStorage
if(sessionStorage.getItem('nomCurrentCancellPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCurrentCancellPassword')
}

@ -90,6 +90,7 @@ export default{
MyDialog
},
created() {
if(this.form.depositNumber) {
this.form.depositNumber = '0912'
}
@ -133,8 +134,11 @@ export default{
// this.form.withdrawWay = withdrawWay
}
}
if(!this.form.withdrawWay) {
this.form.withdrawWay = 125
}
this.getFormData()
},
data(){
return{
@ -484,7 +488,7 @@ export default{
},
watch: {
'form.withdrawWay': {
handler(newVal) {
handler(newVal, oldVal) {
// withdrawWay
// const { withdrawWay } = this.dataFlow
if(newVal === 126) {
@ -501,7 +505,10 @@ export default{
if(sessionStorage.getItem('newVoucherNumber')) {
this.form.newVoucherNumber = sessionStorage.getItem('newVoucherNumber')
}
if(oldVal === 126) {
this.form.withdrawAmount = ''
}
this.form.interest = '0.00'
this.rules.newVoucherNumber = [
{

@ -12,10 +12,10 @@ const allGoods = {
428: {name:'定期存单',src:require('@/assets/img/goods/储蓄存单.png'),id:428},
439: {name:'预留印鉴卡',src:require('@/assets/img/goods/预留印鉴卡.png'),id:439},
412: {name:'转账支票',src:require('@/assets/img/goods/sy-zzzp.png'),id:412},
30: {name:'银行承兑汇票',src:require('@/assets/img/goods/银行承兑汇票.png'),id:30},
584: {name:'银行承兑汇票',src:require('@/assets/img/goods/银行承兑汇票.png'),id:584},
582: {name:'银行承兑汇票一联',src:require('@/assets/img/goods/银行承兑汇票.png'),id:582},
581: {name:'银行承兑汇票二联',src:require('@/assets/img/goods/银行承兑汇票.png'),id:581},
580: {name:'银行承兑汇票三联',src:require('@/assets/img/goods/银行承兑汇票.png'),id:580},
580: {name:'银行承兑汇票三联(解讫通知)',src:require('@/assets/img/goods/银行承兑汇票.png'),id:580},
583: {name:'银行承兑汇票四联',src:require('@/assets/img/goods/银行承兑汇票.png'),id:583},
411: {name:'现金支票',src:require('@/assets/img/goods/xjzp.png'),id:411},
425: {name:'取款凭条',src:require('@/assets/img/goods/qkpt.png'),id:425},
@ -137,7 +137,7 @@ const sex = 2 // 1为男,2为女。
const allDataFlow = {
peopleNumber,
userName,
idType: 83,
idType: '83',
idNumber,//证件号码
sex,//性别 1为男,
birthday,//出生日期
@ -179,6 +179,7 @@ const allDataFlow = {
// 票据号码
ticketNumber: '00242986',
'corporateClient': false,
}
// 因为vuex中的数据是缓存在sessionStorage中的,所以重新开始业务需要刷新所有的业务,所以一刷新我们就将这个初始状态替换到vuex中去。
@ -267,7 +268,7 @@ const myInitState = {
dataFlow: {
peopleNumber,
userName,//用户名字
idType: 83,
idType: '83',
idNumber,//证件号码
sex,//性别
birthday,//出生日期
@ -370,6 +371,9 @@ const myInitState = {
capital, // 不知道是多少
withdrawType: 124, // 支取类别
withdrawWay: 125, // 支取方式
transMoney: 8000,
oldDepositNumber: '568812090',
newDepositNumber: '568812136',
}
},
'业务五': {
@ -413,7 +417,8 @@ const myInitState = {
capital, // 不知道是多少
withdrawType: 124, // 支取类别
withdrawWay: 126, // 支取方式
oldDepositNumber: '568812136',
newDepositNumber: '568812136',
}
},
'业务六': {
@ -726,7 +731,8 @@ const myInitState = {
'business/deposit': false
},
dataFlow: {
transMoney: 800000
transMoney: 800000,
interestRate: 0.00
}
},
'业务十三': { // 公司现金支票取款
@ -1335,7 +1341,9 @@ const myInitState = {
collectingCompany: '开卷教育有限公司',
transMoney: 200000,
assignDate: '2022-12-29',
ticketNumber: '00242966'
ticketNumber: '00242966',
drawDate: '2022-06-30', // 出票日期
expireDate: '2022-12-29', // 到期日期
}
},
// 577, 银行承兑汇票签发
@ -1372,7 +1380,12 @@ export default {
voucherTypeSelectList: [],
accountTypeSelectList: [],
chargeWayList: [],
idTypeList: [] // 身份证选项
billTypeSelect: [],
isTranslate: [], // 是否转让
idTypeList: [], // 身份证选项
accountManagementList: [],
outAccountWayList: [],
calculateWayList: []
},
// (要保存的业务数据):
@ -1411,8 +1424,6 @@ export default {
},
// dataFlowGo: 0,
dataFlow: {
// 这里后面会通过Object.assign(allDataFlow, 这个dataFlow)的方式,用来将当前业务信息和其他业务信息覆盖掉。这样当前信息就是该业务独有的信息。
// 后面如果业务案例有变化,直接在这里改就行了。其他许多依赖的组件的数据都是从这里拿的。
// peopleNumber,
// userName,//用户名字
// idType: '身份证',
@ -1462,7 +1473,7 @@ export default {
dataFlow: {
peopleNumber,
userName,//用户名字
idType: 83,
idType: '83',
idNumber,//证件号码
sex,//性别
birthday,//出生日期
@ -1565,6 +1576,9 @@ export default {
capital, // 不知道是多少
withdrawType: 124, // 支取类别
withdrawWay: 125, // 支取方式
transMoney: 8000,
oldDepositNumber: '568812090',
newDepositNumber: '568812136',
}
},
'业务五': {
@ -1608,7 +1622,8 @@ export default {
capital, // 不知道是多少
withdrawType: 124, // 支取类别
withdrawWay: 126, // 支取方式
oldDepositNumber: '568812136',
newDepositNumber: '568812136',
}
},
'业务六': {
@ -1921,7 +1936,8 @@ export default {
'business/deposit': false
},
dataFlow: {
transMoney: 800000
transMoney: 800000,
interestRate: '0.00'
}
},
'业务十三': { // 公司现金支票取款
@ -2530,10 +2546,14 @@ export default {
collectingCompany: '开卷教育有限公司',
transMoney: 200000,
assignDate: '2022-12-29',
ticketNumber: '00242966'
ticketNumber: '00242966',
drawDate: '2022-06-30', // 出票日期
expireDate: '2022-12-29', // 到期日期
}
},
// 577, 银行承兑汇票签发
},
// 初始化公共数据
allDataFlow: { ...allDataFlow },
goods:[// 物品栏的物品
{
@ -2573,67 +2593,37 @@ export default {
startPlay(state) {
// 开始时调用,获取下拉框的东西。
getSubjectInfo({
subject_id:19
}).then((data)=>{
if(data.status == 200){
state.selectList.idTypeList = data.data.items;
}
}).catch((error)=>{})
// 38
// accountManagementList
for(let item=8;item<14;item++){
let params= {
subject_id:item
}
const mapObj = {
38: 'accountManagementList',
19: 'idTypeList',
8: 'currencySelectList',
9:'goldLogoSelectList',
10: 'accountQualitySelectList',
11: 'voucherTypeSelectList',
12: 'accountTypeSelectList',
13: 'chargeWayList',
57: 'billTypeSelect',
76: 'isTranslate',
40: 'outAccountWayList',
39: 'calculateWayList',
if (item == '8'){
getSubjectInfo(params).then((data)=>{
if(data.status == 200){
state.selectList.currencySelectList = data.data.items;
}
}).catch((error)=>{})
}else if (item == '9'){
getSubjectInfo(params).then((data)=>{
if(data.status == 200){
state.selectList.goldLogoSelectList = data.data.items;
for(const key in mapObj) {
getSubjectInfo({
subject_id:key
}).then((data)=>{
const name = mapObj[key]
if(data.status == 200 && state.selectList[name].length===0){
state.selectList[name].push(...data.data.items);
}
}).catch((error)=>{})
}else if (item == '10'){
getSubjectInfo(params).then((data)=>{
if(data.status == 200){
state.selectList.accountQualitySelectList = data.data.items;
}
}).catch((error)=>{})
}else if (item == '11'){
getSubjectInfo(params).then((data)=>{
if(data.status == 200){
state.selectList.voucherTypeSelectList = data.data.items;
}
}).catch((error)=>{})
}else if (item == '12'){
getSubjectInfo(params).then((data)=>{
if(data.status == 200){
state.selectList.accountTypeSelectList = data.data.items;
}
}).catch((error)=>{})
}else if (item == '13'){
getSubjectInfo(params).then((data)=>{
if(data.status == 200){
state.selectList.chargeWayList = data.data.items;
}
}).catch((error)=>{})
}
}
getSubjectInfo({
subject_id: 57
}).then((data) => {
if(data.status == 200){
state.selectList.billTypeSelect = data.data.items;
}
})
},
setPopId(state, id) {
state.id = id
@ -2872,6 +2862,12 @@ export default {
judgeDelete = false
stampSuccess = '456'
}
if(id === 584) {
state.businessSelect[state.businessKey].data.push(582,581,580,583)
judgeDelete = false
stampSuccess = '584'
}
// 584
}else if(seal === '私章转讫章') {
if(id === 412) {
state.businessSelect[state.businessKey].data.push(476, 474)
@ -3043,7 +3039,7 @@ export default {
dataFlow(state) {
return Object.assign(state.allDataFlow, state.businessSelect[state.businessKey].dataFlow)
},
//
// 拿到物品栏中的物品
goods2(state) {
// 调试容错采用if-else
const arr = []
@ -3051,8 +3047,10 @@ export default {
for(const item of state.businessSelect[state.businessKey].data) {
arr.push(allGoods[item])
}
// 找到银行卡item
const item = arr.find(item => item.id === 16)
if(item) {
// 如果是业务一,则物品栏中的银行卡名字为一类银行卡
if(state.businessKey === '业务一') {
item.name = '一类银行卡'
}else {

@ -98,7 +98,6 @@ const inputListen2 = function(val, row, prop) {
return;
}
if(Number(val) || Number(val)===0) {
console.log(val)
row[prop] = val
}
}
@ -211,8 +210,6 @@ const autoPlay = (parentId, form, myTable2, myTable, cards=[]) => {
// projectId:+projectId,
startTime:startTime,
}
// console.log('---提交的addOperation')
// console.log(params)
addOperation(params).then((data)=>{
// Message.success({
// center: true,
@ -235,17 +232,21 @@ const autoPlay2 = (parentId=11, form, myTable2, myTable, cardArr, callback) =>
parentId
}
getOperation(param).then((data)=>{
console.log('---拿到的data')
console.log(data)
if(data.status == 200) {
var list = data.data.judgmentRuleReqs
// const tmpObj = Object.assign(myTable, myTable2) ...巨坑,把后面的属性给到前面了
const tmpObj = {...myTable, ...myTable2}
for (var i = 0; i < list.length; i++) {
const { answerId, emptyTwo } = list[i]
if(!cardArr) {
if(Number(emptyTwo)) {
const tmpNumber = (+emptyTwo).toFixed(2)
// console.log('kao000')
// console.log(tmpNumber)
form[tmpObj[answerId].prop] = tmpNumber
}else {
form[tmpObj[answerId].prop] = emptyTwo
}
} else {
if(cardArr[answerId]) {
try{
@ -257,6 +258,7 @@ const autoPlay2 = (parentId=11, form, myTable2, myTable, cardArr, callback) =>
}else {
if(Number(emptyTwo)) {
form[tmpObj[answerId].prop] = +emptyTwo
}else {
form[tmpObj[answerId].prop] = emptyTwo

Loading…
Cancel
Save