|
|
|
@ -89,6 +89,7 @@ const userName = '小白' |
|
|
|
|
const capital = 100 |
|
|
|
|
const peopleNumber = '111222' |
|
|
|
|
const voucherNumber = '159753' |
|
|
|
|
const sex = 1 // 1为男,2为女。
|
|
|
|
|
|
|
|
|
|
const myInitState = { |
|
|
|
|
'': { |
|
|
|
@ -100,7 +101,7 @@ const myInitState = { |
|
|
|
|
data: [15, 13, 23, 14], |
|
|
|
|
needs: [16, 17], |
|
|
|
|
isStamp: { |
|
|
|
|
'业务专用章': [14], |
|
|
|
|
'业务专用章': [14,19], |
|
|
|
|
'附件章': [23], |
|
|
|
|
'收讫章': [ 17 ] |
|
|
|
|
}, |
|
|
|
@ -130,7 +131,7 @@ const myInitState = { |
|
|
|
|
userName,//用户名字
|
|
|
|
|
idType: 83, |
|
|
|
|
idNumber,//证件号码
|
|
|
|
|
sex:1,//性别
|
|
|
|
|
sex,//性别
|
|
|
|
|
birthday:'2008',//出生日期
|
|
|
|
|
// nationality:'汉',//民族
|
|
|
|
|
mailbox:'广东省深圳市阳光村',//通讯地址
|
|
|
|
@ -176,7 +177,7 @@ const myInitState = { |
|
|
|
|
userName,//用户名字
|
|
|
|
|
idType: 83, |
|
|
|
|
idNumber,//证件号码
|
|
|
|
|
sex:'男',//性别
|
|
|
|
|
sex,//性别
|
|
|
|
|
birthday:'2008',//出生日期
|
|
|
|
|
// nationality:'汉',//民族
|
|
|
|
|
mailbox:'广东省深圳市阳光村',//通讯地址
|
|
|
|
@ -187,7 +188,7 @@ const myInitState = { |
|
|
|
|
currency:12, |
|
|
|
|
goldLogo:13, |
|
|
|
|
serviceCharge:'0.00', |
|
|
|
|
chargeWay:18, |
|
|
|
|
drawWay:18, |
|
|
|
|
interest: '0.1', |
|
|
|
|
balance: 666, |
|
|
|
|
totalMoney: 9999999999, |
|
|
|
@ -310,7 +311,7 @@ const myInitState = { |
|
|
|
|
depositNumber: '0912', |
|
|
|
|
capital, // 不知道是多少
|
|
|
|
|
withdrawType: 124, // 支取类别
|
|
|
|
|
withdrawWay: '全部支取并销户', // 支取方式
|
|
|
|
|
withdrawWay: 126, // 支取方式
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
@ -1032,7 +1033,7 @@ export default { |
|
|
|
|
data: [15, 13, 23, 14], |
|
|
|
|
needs: [16, 17], |
|
|
|
|
isStamp: { |
|
|
|
|
'业务专用章': [14], |
|
|
|
|
'业务专用章': [14,19], |
|
|
|
|
'附件章': [23], |
|
|
|
|
'收讫章': [ 17 ] |
|
|
|
|
}, |
|
|
|
@ -1040,6 +1041,7 @@ export default { |
|
|
|
|
cultureArr: [23, 24, 269], |
|
|
|
|
// 各种物品信息
|
|
|
|
|
moneyBox: [], // 钱箱
|
|
|
|
|
needBackMoney: false, // 需要钱箱取钱
|
|
|
|
|
peopleSign: [], // 客户签字
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
sealBox: [], // 印章盒
|
|
|
|
@ -1062,7 +1064,7 @@ export default { |
|
|
|
|
userName,//用户名字
|
|
|
|
|
idType: '身份证', |
|
|
|
|
idNumber,//证件号码
|
|
|
|
|
sex:'男',//性别
|
|
|
|
|
sex,//性别 1为男,
|
|
|
|
|
birthday:'2008',//出生日期
|
|
|
|
|
// nationality:'汉',//民族
|
|
|
|
|
mailbox:'广东省深圳市阳光村',//通讯地址
|
|
|
|
@ -1084,6 +1086,7 @@ export default { |
|
|
|
|
cultureArr: [13, 420, 419, 424], // 入库
|
|
|
|
|
// 各种物品信息
|
|
|
|
|
moneyBox: [15], // 钱箱
|
|
|
|
|
needBackMoney: true, // 需要钱箱取钱
|
|
|
|
|
peopleSign: [], // 客户签字
|
|
|
|
|
cultureIn: [], // 传票栏传票栏
|
|
|
|
|
sealBox: [], // 印章盒
|
|
|
|
@ -1108,7 +1111,7 @@ export default { |
|
|
|
|
userName,//用户名字
|
|
|
|
|
idType: 83, |
|
|
|
|
idNumber,//证件号码
|
|
|
|
|
sex:'男',//性别
|
|
|
|
|
sex,//性别
|
|
|
|
|
birthday:'2008',//出生日期
|
|
|
|
|
// nationality:'汉',//民族
|
|
|
|
|
mailbox:'广东省深圳市阳光村',//通讯地址
|
|
|
|
@ -1119,7 +1122,7 @@ export default { |
|
|
|
|
currency:12, |
|
|
|
|
goldLogo:13, |
|
|
|
|
serviceCharge:'0.00', |
|
|
|
|
chargeWay:18, |
|
|
|
|
drawWay:18, |
|
|
|
|
interest: '0.1', |
|
|
|
|
balance: 666, |
|
|
|
|
totalMoney: 9999999999, |
|
|
|
@ -1136,6 +1139,7 @@ export default { |
|
|
|
|
cultureArr: [24, 23], // 入库
|
|
|
|
|
// 各种物品信息
|
|
|
|
|
moneyBox: [], // 钱箱
|
|
|
|
|
needBackMoney: false, // 需要钱箱取钱
|
|
|
|
|
peopleSign: [], // 客户签字
|
|
|
|
|
cultureIn: [], // 传票栏传票栏
|
|
|
|
|
sealBox: [], // 印章盒
|
|
|
|
@ -1177,6 +1181,7 @@ export default { |
|
|
|
|
cultureArr: [ 23, 430, 420, 269, 422 ], //
|
|
|
|
|
// 各种物品信息
|
|
|
|
|
moneyBox: [ 15 ], // 钱箱
|
|
|
|
|
needBackMoney: false, // 需要钱箱取钱
|
|
|
|
|
peopleSign: [], // 客户签字
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
sealBox: [], // 印章盒
|
|
|
|
@ -1218,6 +1223,7 @@ export default { |
|
|
|
|
cultureArr: [ 23, 430, 420, 269, 422 ], //
|
|
|
|
|
// 各种物品信息
|
|
|
|
|
moneyBox: [ 15 ], // 钱箱
|
|
|
|
|
needBackMoney: false, // 需要钱箱取钱
|
|
|
|
|
peopleSign: [], // 客户签字
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
sealBox: [], // 印章盒
|
|
|
|
@ -1242,7 +1248,7 @@ export default { |
|
|
|
|
depositNumber: '0912', |
|
|
|
|
capital, // 不知道是多少
|
|
|
|
|
withdrawType: 124, // 支取类别
|
|
|
|
|
withdrawWay: '全部支取并销户', // 支取方式
|
|
|
|
|
withdrawWay: 126, // 支取方式
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
@ -1259,6 +1265,7 @@ export default { |
|
|
|
|
cultureArr: [ 23, 24, 269 ],
|
|
|
|
|
// 各种物品信息
|
|
|
|
|
moneyBox: [ ], // 钱箱
|
|
|
|
|
needBackMoney: false, // 需要钱箱取钱
|
|
|
|
|
peopleSign: [], // 客户签字
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
sealBox: [], // 印章盒
|
|
|
|
@ -1294,6 +1301,7 @@ export default { |
|
|
|
|
cultureArr: [ 269 ],
|
|
|
|
|
// 各种物品信息
|
|
|
|
|
moneyBox: [ ], // 钱箱
|
|
|
|
|
needBackMoney: false, // 需要钱箱取钱
|
|
|
|
|
peopleSign: [ ], // 客户签字
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
sealBox: [], // 印章盒
|
|
|
|
@ -1332,6 +1340,7 @@ export default { |
|
|
|
|
cultureArr: [ 23, 420, 422 ], |
|
|
|
|
// 各种物品信息
|
|
|
|
|
moneyBox: [ 15 ], // 钱箱
|
|
|
|
|
needBackMoney: false, // 需要钱箱取钱
|
|
|
|
|
peopleSign: [ ], // 客户签字
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
sealBox: [], // 印章盒
|
|
|
|
@ -1374,6 +1383,7 @@ export default { |
|
|
|
|
cultureArr: [ 23, 24, 269 ], // 少了身份证复印件、开户申请书凭证联、存款凭条凭证联
|
|
|
|
|
// 各种物品信息
|
|
|
|
|
moneyBox: [ ], // 钱箱
|
|
|
|
|
needBackMoney: false, // 需要钱箱取钱
|
|
|
|
|
peopleSign: [ ], // 客户签字
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
sealBox: [], // 印章盒
|
|
|
|
@ -1421,6 +1431,7 @@ export default { |
|
|
|
|
cultureArr: [ 23, 420, 420, 19 ], // 少了复印件、420、422、定期存单
|
|
|
|
|
// 各种物品信息
|
|
|
|
|
moneyBox: [ 15 ], // 钱箱
|
|
|
|
|
needBackMoney: false, // 需要钱箱取钱
|
|
|
|
|
peopleSign: [ ], // 客户签字
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
sealBox: [], // 印章盒
|
|
|
|
@ -1475,6 +1486,7 @@ export default { |
|
|
|
|
cultureArr: [ 431, 432, 435, 437, 438, 439 ], // 少了法人身份证复印件、开立银行结算账户申请书凭证联、统一社会信用代码证复印件、开户许可证复印件、普通空白凭证、预留印鉴卡二、三
|
|
|
|
|
|
|
|
|
|
moneyBox: [ ], // 钱箱
|
|
|
|
|
needBackMoney: false, // 需要钱箱取钱
|
|
|
|
|
peopleSign: [ ], // 客户签字
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
sealBox: [], // 印章盒
|
|
|
|
@ -1521,6 +1533,7 @@ export default { |
|
|
|
|
backPeople: [ 442, 441 ], |
|
|
|
|
cultureArr: [ 431, 487 ], |
|
|
|
|
moneyBox: [ ], // 钱箱
|
|
|
|
|
needBackMoney: false, // 需要钱箱取钱
|
|
|
|
|
peopleSign: [ ], // 客户签字
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
sealBox: [], // 印章盒
|
|
|
|
@ -1551,6 +1564,7 @@ export default { |
|
|
|
|
backPeople: [ 442, 472, 421, 15 ], |
|
|
|
|
cultureArr: [ 473, 420 ], |
|
|
|
|
moneyBox: [ 15 ], // 钱箱
|
|
|
|
|
needBackMoney: false, // 需要钱箱取钱
|
|
|
|
|
peopleSign: [ ], // 客户签字
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
sealBox: [], // 印章盒
|
|
|
|
@ -1584,6 +1598,7 @@ export default { |
|
|
|
|
backPeople: [ 442, 474, 418 ], |
|
|
|
|
cultureArr: [ 476, 419 ], |
|
|
|
|
moneyBox: [ 15 ], // 钱箱
|
|
|
|
|
needBackMoney: false, // 需要钱箱取钱
|
|
|
|
|
peopleSign: [ ], // 客户签字
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
sealBox: [], // 印章盒
|
|
|
|
@ -1613,6 +1628,7 @@ export default { |
|
|
|
|
backPeople: [ 13, 16, 477 ], // 少了身份证原件、银行卡、特殊业务申请书回单
|
|
|
|
|
cultureArr: [ 23, 478 ], // 少了复印件、特殊业务申请书凭证联
|
|
|
|
|
moneyBox: [ ], // 钱箱
|
|
|
|
|
needBackMoney: false, // 需要钱箱取钱
|
|
|
|
|
peopleSign: [ ], // 客户签字
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
sealBox: [], // 印章盒
|
|
|
|
@ -1643,6 +1659,7 @@ export default { |
|
|
|
|
backPeople: [ 13, 16, 468 ], // 少了身份证原件、银行卡、特殊业务申请书回单
|
|
|
|
|
cultureArr: [ 23, 466, 467 ], // 少了复印件、密码挂失申请书凭证联、密码挂失申请书银行留存联
|
|
|
|
|
moneyBox: [], // 钱箱
|
|
|
|
|
needBackMoney: false, // 需要钱箱取钱
|
|
|
|
|
peopleSign: [ ], // 客户签字
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
sealBox: [], // 印章盒
|
|
|
|
@ -1664,6 +1681,7 @@ export default { |
|
|
|
|
backPeople: [ 13, 16, 468 ], //
|
|
|
|
|
cultureArr: [ 23, 467 ], //
|
|
|
|
|
moneyBox: [ ], // 钱箱
|
|
|
|
|
needBackMoney: false, // 需要钱箱取钱
|
|
|
|
|
peopleSign: [ ], // 客户签字
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
sealBox: [], // 印章盒
|
|
|
|
@ -1691,6 +1709,7 @@ export default { |
|
|
|
|
cultureArr: [ 23, 488, 488 ], // 少了复印件、支票领购单凭证联、业务收费凭证凭证联、
|
|
|
|
|
|
|
|
|
|
moneyBox: [ ], // 钱箱
|
|
|
|
|
needBackMoney: false, // 需要钱箱取钱
|
|
|
|
|
peopleSign: [ ], // 客户签字
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
sealBox: [], // 印章盒
|
|
|
|
@ -1716,6 +1735,7 @@ export default { |
|
|
|
|
cultureArr: [ 438 ], |
|
|
|
|
|
|
|
|
|
moneyBox: [ ], // 钱箱
|
|
|
|
|
needBackMoney: false, // 需要钱箱取钱
|
|
|
|
|
peopleSign: [ ], // 客户签字
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
sealBox: [], // 印章盒
|
|
|
|
@ -1741,6 +1761,7 @@ export default { |
|
|
|
|
cultureArr: [ 438 ], |
|
|
|
|
|
|
|
|
|
moneyBox: [ ], // 钱箱
|
|
|
|
|
needBackMoney: false, // 需要钱箱取钱
|
|
|
|
|
peopleSign: [ ], // 客户签字
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
sealBox: [], // 印章盒
|
|
|
|
@ -1766,6 +1787,7 @@ export default { |
|
|
|
|
cultureArr: [ 438 ], |
|
|
|
|
|
|
|
|
|
moneyBox: [ ], // 钱箱
|
|
|
|
|
needBackMoney: false, // 需要钱箱取钱
|
|
|
|
|
peopleSign: [ ], // 客户签字
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
sealBox: [], // 印章盒
|
|
|
|
@ -1791,6 +1813,7 @@ export default { |
|
|
|
|
cultureArr: [ 438 ], |
|
|
|
|
|
|
|
|
|
moneyBox: [ ], // 钱箱
|
|
|
|
|
needBackMoney: false, // 需要钱箱取钱
|
|
|
|
|
peopleSign: [ ], // 客户签字
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
sealBox: [], // 印章盒
|
|
|
|
@ -1816,6 +1839,7 @@ export default { |
|
|
|
|
cultureArr: [ 438 ], |
|
|
|
|
|
|
|
|
|
moneyBox: [ ], // 钱箱
|
|
|
|
|
needBackMoney: false, // 需要钱箱取钱
|
|
|
|
|
peopleSign: [ ], // 客户签字
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
sealBox: [], // 印章盒
|
|
|
|
@ -1841,6 +1865,7 @@ export default { |
|
|
|
|
cultureArr: [ 438 ], |
|
|
|
|
|
|
|
|
|
moneyBox: [ ], // 钱箱
|
|
|
|
|
needBackMoney: false, // 需要钱箱取钱
|
|
|
|
|
peopleSign: [ ], // 客户签字
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
sealBox: [], // 印章盒
|
|
|
|
@ -1866,6 +1891,7 @@ export default { |
|
|
|
|
cultureArr: [ 438 ], |
|
|
|
|
|
|
|
|
|
moneyBox: [ ], // 钱箱
|
|
|
|
|
needBackMoney: false, // 需要钱箱取钱
|
|
|
|
|
peopleSign: [ ], // 客户签字
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
sealBox: [], // 印章盒
|
|
|
|
@ -1887,6 +1913,7 @@ export default { |
|
|
|
|
cultureArr: [ 438 ], |
|
|
|
|
|
|
|
|
|
moneyBox: [ ], // 钱箱
|
|
|
|
|
needBackMoney: false, // 需要钱箱取钱
|
|
|
|
|
peopleSign: [ ], // 客户签字
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
sealBox: [], // 印章盒
|
|
|
|
@ -1908,6 +1935,7 @@ export default { |
|
|
|
|
cultureArr: [ 438 ], |
|
|
|
|
|
|
|
|
|
moneyBox: [ ], // 钱箱
|
|
|
|
|
needBackMoney: false, // 需要钱箱取钱
|
|
|
|
|
peopleSign: [ ], // 客户签字
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
sealBox: [], // 印章盒
|
|
|
|
@ -2118,6 +2146,7 @@ export default { |
|
|
|
|
const id = state.businessSelect[state.businessKey].sealBox[0] |
|
|
|
|
let judgeDelete = true // 盖完章是否变化
|
|
|
|
|
let stampSuccess = '' // 盖章成功
|
|
|
|
|
console.log(sealArr) |
|
|
|
|
if(sealArr.length === 1) { |
|
|
|
|
const seal = sealArr[0] |
|
|
|
|
if((seal in needStamp) && (needStamp[seal].findIndex(item => item === id) >= 0)) { |
|
|
|
@ -2129,6 +2158,7 @@ export default { |
|
|
|
|
}else if(id === 429) { |
|
|
|
|
stampSuccess = '449' |
|
|
|
|
}else if(id === 19) { |
|
|
|
|
console.log('定期存单呗盖') |
|
|
|
|
stampSuccess = '19' |
|
|
|
|
}else if(id === 432) { |
|
|
|
|
state.businessSelect[state.businessKey].data.push(432, 433) |
|
|
|
@ -2235,9 +2265,20 @@ export default { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if(stampSuccess) { |
|
|
|
|
console.log('---stampSuccess') |
|
|
|
|
console.log(stampSuccess) |
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
let formList = [ {"answerId":stampSuccess, "emptyOne": "", "emptyTwo": "", "operationIds": "285," + state.businessSelect[state.businessKey].id + "287,8,"+stampSuccess,"type": ""} ] |
|
|
|
|
if(!sessionStorage.getItem('stampList')) { |
|
|
|
|
sessionStorage.setItem('stampList', JSON.stringify([])) |
|
|
|
|
} |
|
|
|
|
const formList = JSON.parse(sessionStorage.getItem('stampList')) |
|
|
|
|
const findIt = formList.findIndex(item => item.answerId === stampSuccess) |
|
|
|
|
if(findIt === -1) { |
|
|
|
|
formList.push({"answerId":stampSuccess, "emptyOne": "", "emptyTwo": "", "operationIds": "285," + state.businessSelect[state.businessKey].id + ",287,8,"+stampSuccess,"type": ""}) |
|
|
|
|
sessionStorage.setItem('stampList', JSON.stringify(formList)) |
|
|
|
|
} |
|
|
|
|
// let formList = [ {"answerId":stampSuccess, "emptyOne": "", "emptyTwo": "", "operationIds": "285," + state.businessSelect[state.businessKey].id + ",287,8,"+stampSuccess,"type": ""} ]
|
|
|
|
|
let params= { |
|
|
|
|
parentId:'285,' + state.businessSelect[state.businessKey].id + ',287,8', |
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
@ -2245,15 +2286,12 @@ export default { |
|
|
|
|
startTime:startTime, |
|
|
|
|
} |
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
|
|
if(judgeDelete) { |
|
|
|
|
console.log('???') |
|
|
|
|
console.log([...state.businessSelect[state.businessKey].sealBox]) |
|
|
|
|
this.commit('system/pushThingsGoods', [...state.businessSelect[state.businessKey].sealBox]) |
|
|
|
|
} |
|
|
|
|
const tmp = state.businessSelect[state.businessKey].sealBox.splice(0, 1) |
|
|
|
|
console.log('tmp') |
|
|
|
|
console.log(tmp) |
|
|
|
|
// 盖章会消失的删掉
|
|
|
|
|
state.businessSelect[state.businessKey].sealBox.splice(0, 1) |
|
|
|
|
console.log(formList) |
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
}) |
|
|
|
|
}else { |
|
|
|
@ -2441,6 +2479,10 @@ export default { |
|
|
|
|
} |
|
|
|
|
return arr |
|
|
|
|
}, |
|
|
|
|
// needBackMoney: false, // 需要钱箱取钱
|
|
|
|
|
needBackMoney(state) { |
|
|
|
|
return state.businessSelect[state.businessKey].needBackMoney |
|
|
|
|
}, |
|
|
|
|
inMyWork(state) { |
|
|
|
|
return (moduleName) => { |
|
|
|
|
for(let key in state.businessSelect[state.businessKey].needsModule) { |
|
|
|
|