diff --git a/src/components/checkPhoto/index.vue b/src/components/checkPhoto/index.vue
index 6d91b92..400220f 100644
--- a/src/components/checkPhoto/index.vue
+++ b/src/components/checkPhoto/index.vue
@@ -1,5 +1,5 @@
-
+
@@ -30,30 +30,49 @@
NO.: {{ dataFlow.idNumber }}
-
- 12802851701099
- 袋鼠互联网科技有限公司
-
No: {{ dataFlow.voucherNumber }}
: {{ dataFlow.userName }}
-
00242986
商业银行
12802851701099
- 袋鼠互联网科技有限公司
- {{ transMoney(dataFlow.getMoney) }}
- {{ ('' + dataFlow.getMoney).padStart(8, 0).padEnd(10, 0) }}
+ {{ dataFlow.collectingCompany }}
+ {{ transMoney(dataFlow.transMoney) }}
+ {{ ('' + dataFlow.transMoney).padStart(8, 0).padEnd(10, 0) }}
工资性支出
{{ mapNumber(getNowYear(0)) }}
- {{ mapNumber(getNowYear(1)) }}
- {{ mapNumber(getNowYear(2)) }}
+ {{ mapNumber(getNowYear(1)) }}
+ {{ mapNumber(getNowYear(2)) }}
{{ getNowYear(0) }}
{{ getNowYear(1) }}
{{ getNowYear(2) }}
+
+
+ 00246862
+ {{ dataFlow.collectingCompany }}
+ 六品居股份有限公司
+ 62270072009899
+ 12802851701099
+ {{ transMoney(dataFlow.transMoney) }}
+ {{ ('' + dataFlow.transMoney).padStart(8, 0).padEnd(10, 0) }}
+ {{ mapNumber(getNowYear(0)) }}
+ {{ mapNumber(getNowYear(1)) }}
+ {{ mapNumber(getNowYear(2)) }}
+ {{ getNowYear(0) }}
+ {{ getNowYear(1) }}
+ {{ getNowYear(2) }}
+
+
+
+ :913403005685450862
+ :{{ dataFlow.collectingCompany }}
+
+
+ 12802851701099
+
@@ -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))
+ }
}
}
diff --git a/src/components/dialogTwo/index.vue b/src/components/dialogTwo/index.vue
index 8eaa028..316b908 100644
--- a/src/components/dialogTwo/index.vue
+++ b/src/components/dialogTwo/index.vue
@@ -55,108 +55,7 @@
确 定
-
-
-
-
-
-
-
-
-
diff --git a/src/pages/manage/list/ImportantCash/controlCash/cashPaid.vue b/src/pages/manage/list/ImportantCash/controlCash/cashPaid.vue
index 47dc86b..903dd0f 100644
--- a/src/pages/manage/list/ImportantCash/controlCash/cashPaid.vue
+++ b/src/pages/manage/list/ImportantCash/controlCash/cashPaid.vue
@@ -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) === '') {
-
- }else {
- this.isNeedBefore = true
- this.needBefore = 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.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'
+ }),
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)=>{
})
diff --git a/src/pages/manage/list/ImportantCash/controlCash/cashRecipients.vue b/src/pages/manage/list/ImportantCash/controlCash/cashRecipients.vue
index dc8e0b9..92227eb 100644
--- a/src/pages/manage/list/ImportantCash/controlCash/cashRecipients.vue
+++ b/src/pages/manage/list/ImportantCash/controlCash/cashRecipients.vue
@@ -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() {
diff --git a/src/pages/manage/list/ImportantCash/controlCash2/cashOut.vue b/src/pages/manage/list/ImportantCash/controlCash2/cashOut.vue
index 90ebc9c..dec61b5 100644
--- a/src/pages/manage/list/ImportantCash/controlCash2/cashOut.vue
+++ b/src/pages/manage/list/ImportantCash/controlCash2/cashOut.vue
@@ -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
diff --git a/src/pages/manage/list/ImportantCash/controlCash2/cashTransferInto.vue b/src/pages/manage/list/ImportantCash/controlCash2/cashTransferInto.vue
index 00e8582..95885d8 100644
--- a/src/pages/manage/list/ImportantCash/controlCash2/cashTransferInto.vue
+++ b/src/pages/manage/list/ImportantCash/controlCash2/cashTransferInto.vue
@@ -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
diff --git a/src/pages/manage/list/ImportantCash/controlCash3/index.vue b/src/pages/manage/list/ImportantCash/controlCash3/index.vue
index d407059..b1f5aac 100644
--- a/src/pages/manage/list/ImportantCash/controlCash3/index.vue
+++ b/src/pages/manage/list/ImportantCash/controlCash3/index.vue
@@ -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
diff --git a/src/pages/manage/list/cityWide/cityWideOut.vue b/src/pages/manage/list/cityWide/cityWideOut.vue
index badb637..5b1b023 100644
--- a/src/pages/manage/list/cityWide/cityWideOut.vue
+++ b/src/pages/manage/list/cityWide/cityWideOut.vue
@@ -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,
diff --git a/src/pages/manage/list/dayEnd/tellerCertificate.vue b/src/pages/manage/list/dayEnd/tellerCertificate.vue
index 0c937c1..d544da4 100644
--- a/src/pages/manage/list/dayEnd/tellerCertificate.vue
+++ b/src/pages/manage/list/dayEnd/tellerCertificate.vue
@@ -6,7 +6,7 @@
-
+
@@ -14,7 +14,7 @@
-
+
checkHanzi(val, form, 'counterNumber')">
@@ -24,9 +24,10 @@
+ style="width: 95%"
+ :rules="rules">
- inputListen(val, scope.row)" min="0" :value="scope.row.cashBoxNum" class='numrule'>
-
+
+ inputListen(val, scope.row)" min="0" :value="scope.row.cashBoxNum" class='numrule'>
+
+
- 提交
+ 提交
@@ -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));
},
diff --git a/src/pages/manage/navbar/index.vue b/src/pages/manage/navbar/index.vue
index 14f6ead..4c51307 100644
--- a/src/pages/manage/navbar/index.vue
+++ b/src/pages/manage/navbar/index.vue
@@ -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:'网点日终轧帐'
}
]
},
diff --git a/src/store/modules/system.js b/src/store/modules/system.js
index 91d8c9a..4bc2ca4 100644
--- a/src/store/modules/system.js
+++ b/src/store/modules/system.js
@@ -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,
}
},
}
@@ -1280,10 +1257,10 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
importanceArr: [ 16 ], // 重要空白凭证箱
commonArr: [ 17 ], // 普通凭证箱
-
+
// 以下为数据流:
needsModule: {
'consumerClient': false,
@@ -1292,7 +1269,6 @@ export default {
},
// dataFlowGo: 0,
dataFlow: {
- ...allDataFlow,
peopleNumber,
userName,//用户名字
idType: '身份证',
@@ -1301,9 +1277,7 @@ export default {
birthday,//出生日期
// nationality:'汉',//民族
mailbox:'广东省深圳市阳光村',//通讯地址
-
voucherNumber
-
}
},
'业务二': {
@@ -1327,10 +1301,10 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
importanceArr: [], // 重要空白凭证箱
commonArr: [ 425, 427 ], // 普通凭证箱
-
+
// 以下为数据流:
needsModule: {
// 'consumerClient': false,
@@ -1341,7 +1315,6 @@ export default {
},
// dataFlowGo: 0,
dataFlow: {
- ...allDataFlow,
peopleNumber,
userName,//用户名字
idType: 83,
@@ -1351,7 +1324,7 @@ export default {
// nationality:'汉',//民族
mailbox:'广东省深圳市阳光村',//通讯地址
phone:'13222223122',//联系电话
-
+
// cardNumber: '', // 卡号
voucherNumber,
currency:12,
@@ -1382,10 +1355,10 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
importanceArr: [ 428 ], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
-
+
// 以下为数据流:
needsModule: {
@@ -1393,7 +1366,6 @@ export default {
'timeDeposit/deposit': false
},
dataFlow: {
- ...allDataFlow,
idNumber,
userName,
currency:12,
@@ -1426,16 +1398,15 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
importanceArr: [ 429 ], // 重要空白凭证箱
commonArr: [ 425, 17, 427 ], // 普通凭证箱
-
+
// 以下为数据流:
needsModule: {
'timeDeposit/withdrawal': false
},
dataFlow: {
- ...allDataFlow,
// 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码)
voucherNumber,
userName,
@@ -1446,7 +1417,6 @@ export default {
capital, // 不知道是多少
withdrawType: 124, // 支取类别
withdrawWay: 125, // 支取方式
-
}
},
'业务五': {
@@ -1470,16 +1440,15 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
-
+
// 以下为数据流:
needsModule: {
'timeDeposit/withdrawal': false
},
dataFlow: {
- ...allDataFlow,
// 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码)
userName,
voucherNumber,
@@ -1490,7 +1459,7 @@ export default {
capital, // 不知道是多少
withdrawType: 124, // 支取类别
withdrawWay: 126, // 支取方式
-
+
}
},
'业务六': {
@@ -1514,7 +1483,7 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
@@ -1523,7 +1492,6 @@ export default {
'usefulPhrases/openAccount': false
},
dataFlow: {
- ...allDataFlow,
// 身份证号码、客户号、客户姓名、币种(人民币)、钞汇标识(钞户)
currency:12,
goldLogo:13,
@@ -1552,17 +1520,16 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
-
+
// 以下为数据流:
needsModule: {
'usefulPhrases/continueDeposit': false
},
dataFlow: {
- ...allDataFlow,
// 客户姓名、定存编号(0816)、币种、钞汇标识、存期(显示上一业务选中的存期)、月存金额
userName,
depositNumber: '0816',
@@ -1593,16 +1560,15 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
-
+
// 以下为数据流:
needsModule: {
'usefulPhrases/accoumtClosed': false
},
dataFlow: {
- ...allDataFlow,
idNumber,
userName,
depositNumber: '0816',
@@ -1638,16 +1604,15 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
-
+
// 以下为数据流:
needsModule: {
'callDeposits/openAccount': false
},
dataFlow: {
- ...allDataFlow,
// 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户)
idNumber,
peopleNumber,
@@ -1688,15 +1653,14 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
-
+
needsModule: {
'callDeposits/accountClosed': false
},
dataFlow: {
- ...allDataFlow,
// 凭证类型(存单)、客户号(根据案例展示)、客户姓名、币种(CNY人民币)、钞汇标识(钞户)、通知类型(根据案例展示)、定存编号(根据开户时的定存编号展示)、本金(开户时存的金额)、利息(2.8)、、总金额(利息+本金)、支取类别(现金)、支取金额(等于总金额)证件类型(身份证)
// 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户)
voucherType: 123,
@@ -1745,21 +1709,20 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
-
+
needsModule: {
'corporateClient': false,
'business/openAccount': false
},
dataFlow: {
- ...allDataFlow,
idNumber,
userName,
peopleNumber,
- 'corporateClient': false
- },
+ collectingCompany,
+ }
// dataFlow: {
// // 凭证类型(存单)、客户号(根据案例展示)、客户姓名、币种(CNY人民币)、钞汇标识(钞户)、通知类型(根据案例展示)、定存编号(根据开户时的定存编号展示)、本金(开户时存的金额)、利息(2.8)、、总金额(利息+本金)、支取类别(现金)、支取金额(等于总金额)证件类型(身份证)
// // 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户)
@@ -1794,15 +1757,14 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
-
+
needsModule: {
'business/deposit': false
},
dataFlow: {
- ...allDataFlow,
idNumber,
userName,
peopleNumber
@@ -1827,16 +1789,19 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
-
+
needsModule: {
'business/withdrawal': false,
},
+ test: { oo: 'oo' },
dataFlow: {
- ...allDataFlow,
+ transMoney: 60000,
+ xx: 'xxx'
+ // voucherNumber: '00242986',
// idNumber,
// userName,
// peopleNumber,
@@ -1863,17 +1828,17 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
-
+
needsModule: {
'business/transfer': false
},
dataFlow: {
- ...allDataFlow,
idNumber,
- voucherNumber
+ // voucherNumber: '00246862',
+ transMoney: 20000
}
},
'业务十五': { // 密码修改
@@ -1895,15 +1860,14 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
-
+
needsModule: {
'servicesAccount/passwordChange': false
},
dataFlow: {
- ...allDataFlow,
idNumber,
voucherNumber,
userName
@@ -1928,14 +1892,13 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
needsModule: {
'servicesAccount/passwordLost': false
},
dataFlow: {
- ...allDataFlow,
voucherNumber,
userName,
idNumber
@@ -1960,16 +1923,15 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱,
-
+
needsModule: {
// 这个业务没出
'servicesAccount/relieveLost': false
},
dataFlow: {
- ...allDataFlow,
voucherNumber,
idNumber,
userName
@@ -1988,7 +1950,7 @@ export default {
// backPeople: [],
// backPeople: [ 13, 480, 411, 481 ], // 少了身份证原件、支票领购单回单、现金支票、业务收费凭证回单
// cultureArr: [ 23, 488, 488 ], // 少了复印件、支票领购单凭证联、业务收费凭证凭证联、
-
+
// moneyBox: [ ], // 钱箱
// needBackMoney: false, // 需要钱箱取钱
// peopleSign: [ ], // 客户签字
@@ -1997,10 +1959,10 @@ export default {
// currencyDetector: [], // 验钞机
// printer: [], // 打印机
// resource: [], // 资料
-
+
// importanceArr: [], // 重要空白凭证箱
// commonArr: [], // 普通凭证箱
-
+
// needsModule: {
// 'controlCash/cashRecipients': false
@@ -2024,14 +1986,13 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
needsModule: {
'controlCash/cashRecipients': false
},
dataFlow: {
- ...allDataFlow,
}
},
'业务十九': { // 现金上缴
@@ -2044,7 +2005,7 @@ export default {
backPeople: [],
// backPeople: [ ],
cultureArr: [ 438 ],
-
+
moneyBox: [ ], // 钱箱
needBackMoney: false, // 需要钱箱取钱
peopleSign: [ ], // 客户签字
@@ -2053,16 +2014,15 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
-
+
needsModule: {
'controlCash/cashTransferInto': false
-
+
},
dataFlow: {
- ...allDataFlow,
}
},
'业务二十': { // 现金调入
@@ -2075,7 +2035,7 @@ export default {
backPeople: [],
// backPeople: [ ],
cultureArr: [ 438 ],
-
+
moneyBox: [ ], // 钱箱
needBackMoney: false, // 需要钱箱取钱
peopleSign: [ ], // 客户签字
@@ -2084,15 +2044,14 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
-
+
needsModule: {
'controlCash/cashPaid': false
},
dataFlow: {
- ...allDataFlow,
}
},
'业务二十一': { // 现金调出
@@ -2105,7 +2064,7 @@ export default {
backPeople: [],
// backPeople: [ ],
cultureArr: [ 438 ],
-
+
moneyBox: [ ], // 钱箱
needBackMoney: false, // 需要钱箱取钱
peopleSign: [ ], // 客户签字
@@ -2114,15 +2073,14 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
-
+
needsModule: {
'controlCash/cashOut': false
},
dataFlow: {
- ...allDataFlow,
}
},
'业务二十二': { // 凭证领用
@@ -2135,7 +2093,7 @@ export default {
backPeople: [],
// backPeople: [ ],
cultureArr: [ 438 ],
-
+
moneyBox: [ ], // 钱箱
needBackMoney: false, // 需要钱箱取钱
peopleSign: [ ], // 客户签字
@@ -2144,15 +2102,14 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
-
+
needsModule: {
'controlCash2/cashRecipients' : false
},
dataFlow: {
- ...allDataFlow,
}
},
'业务二十三': { // 凭证上缴
@@ -2165,7 +2122,7 @@ export default {
backPeople: [],
// backPeople: [ ],
cultureArr: [ 438 ],
-
+
moneyBox: [ ], // 钱箱
needBackMoney: false, // 需要钱箱取钱
peopleSign: [ ], // 客户签字
@@ -2174,14 +2131,13 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
needsModule: {
'controlCash2/cashTransferInto' : false
},
dataFlow: {
- ...allDataFlow,
}
},
'业务二十四': { // 凭证调入
@@ -2194,7 +2150,7 @@ export default {
backPeople: [],
// backPeople: [ ],
cultureArr: [ 438 ],
-
+
moneyBox: [ ], // 钱箱
needBackMoney: false, // 需要钱箱取钱
peopleSign: [ ], // 客户签字
@@ -2203,15 +2159,14 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
-
+
needsModule: {
'controlCash2/cashPaid' : false
},
dataFlow: {
- ...allDataFlow,
}
},
'业务二十五': { // 凭证调出
@@ -2224,7 +2179,7 @@ export default {
backPeople: [],
// backPeople: [ ],
cultureArr: [ 438 ],
-
+
moneyBox: [ ], // 钱箱
needBackMoney: false, // 需要钱箱取钱
peopleSign: [ ], // 客户签字
@@ -2233,14 +2188,13 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
needsModule: {
'controlCash2/cashOut' : false
},
dataFlow: {
- ...allDataFlow,
}
},
'业务二十六': { // 支票出售
@@ -2254,7 +2208,7 @@ export default {
backPeople: [],
// backPeople: [ 13, 480, 411, 481 ], // 少了身份证原件、支票领购单回单、现金支票、业务收费凭证回单
cultureArr: [ 23, 488, 488 ], // 少了复印件、支票领购单凭证联、业务收费凭证凭证联、
-
+
moneyBox: [ ], // 钱箱
needBackMoney: false, // 需要钱箱取钱
peopleSign: [ ], // 客户签字
@@ -2263,15 +2217,14 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
-
+
needsModule: {
'controlCash3/index': false
},
dataFlow: {
- ...allDataFlow,
}
},
'业务二十七': { // 柜员日终扎帐
@@ -2284,7 +2237,7 @@ export default {
backPeople: [],
// backPeople: [ ],
cultureArr: [ 438 ],
-
+
moneyBox: [ ], // 钱箱
needBackMoney: false, // 需要钱箱取钱
peopleSign: [ ], // 客户签字
@@ -2293,11 +2246,10 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
dataFlow: {
- ...allDataFlow,
}
},
'业务二十八': { // 网点日中扎帐
@@ -2310,7 +2262,7 @@ export default {
backPeople: [],
// backPeople: [ ],
cultureArr: [ 438 ],
-
+
moneyBox: [ ], // 钱箱
needBackMoney: false, // 需要钱箱取钱
peopleSign: [ ], // 客户签字
@@ -2319,11 +2271,10 @@ export default {
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
-
+
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 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