|
|
@ -75,7 +75,7 @@ |
|
|
|
<div slot="content"> |
|
|
|
<div slot="content"> |
|
|
|
<div class="businessClass">展示业务列表</div> |
|
|
|
<div class="businessClass">展示业务列表</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<img class="sth employee" v-lazy="lazyImg[21]" @click="selectBusiness(true)" alt="" /> |
|
|
|
<img class="sth employee" v-lazy="lazyImg[21]" @click="showBusinessSelect(true)" alt="" /> |
|
|
|
</el-tooltip> |
|
|
|
</el-tooltip> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -103,7 +103,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<!-- 物品栏 --> |
|
|
|
<!-- 物品栏 --> |
|
|
|
<div ref="goods" class="goods-dia" :class="{ active: showGoods }"> |
|
|
|
<div ref="goods" class="goods-dia" :class="{ active: showGoods }"> |
|
|
|
<!-- goodsShelfTotalData --> |
|
|
|
<!-- goodsShelfTotalData goods2 --> |
|
|
|
<div :id="item.name" v-for="(item, index) in goodsShelfTotalData" :key="index" class=" justify-center" :class="{ checked: checkList.includes(item.id),file:true }" @click="dblClickFn(item,'goods')"> |
|
|
|
<div :id="item.name" v-for="(item, index) in goodsShelfTotalData" :key="index" class=" justify-center" :class="{ checked: checkList.includes(item.id),file:true }" @click="dblClickFn(item,'goods')"> |
|
|
|
<img :style="item.name==='开户申请书'?'margin-top:10px;':''" :src="item.src" alt="" /> |
|
|
|
<img :style="item.name==='开户申请书'?'margin-top:10px;':''" :src="item.src" alt="" /> |
|
|
|
<p>{{item.name}}</p> |
|
|
|
<p>{{item.name}}</p> |
|
|
@ -198,19 +198,19 @@ |
|
|
|
<el-dialog :visible.sync="showBusiness" style="width: 100%" @close="closeData" :close-on-click-modal="false" :show-close="false" custom-class="data-dia"> |
|
|
|
<el-dialog :visible.sync="showBusiness" style="width: 100%" @close="closeData" :close-on-click-modal="false" :show-close="false" custom-class="data-dia"> |
|
|
|
<div slot="title" class="dia-header2"> |
|
|
|
<div slot="title" class="dia-header2"> |
|
|
|
<div class="data-title2">请选择系统</div> |
|
|
|
<div class="data-title2">请选择系统</div> |
|
|
|
<div class="close"><img v-lazy="lazyImg[28]" alt="" @click="selectBusiness(false)" /></div> |
|
|
|
<div class="close"><img v-lazy="lazyImg[28]" alt="" @click="showBusinessSelect(false)" /></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<p class="tips2">python程序设计 | 请选择您要做的项目实验</p> |
|
|
|
<p class="tips2">python程序设计 | 请选择您要做的项目实验</p> |
|
|
|
<ul class="take-list2"> |
|
|
|
<ul class="take-list2"> |
|
|
|
<li v-for="(item, index) in businessArr" :class="{checked: takeCheck == index}" :key="index" @click="checkTake(index)"> |
|
|
|
<li v-for="(item) in businessArr" :class="{checked: takeCheck == item.myKey}" :key="item.myKey" @click="checkTake(item.myKey)"> |
|
|
|
<img v-lazy="item.img" alt=""> |
|
|
|
<img v-lazy="item.img" alt=""> |
|
|
|
<p>{{ item.text}}</p> |
|
|
|
<p>{{ item.myKey + item.text}}</p> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
<div class="dia-footer2"> |
|
|
|
<div class="dia-footer2"> |
|
|
|
<div class='busyButtonBox'> |
|
|
|
<div class='busyButtonBox'> |
|
|
|
<el-button @click="selectBusiness(false)">取消</el-button> |
|
|
|
<el-button @click="showBusinessSelect(false)">取消</el-button> |
|
|
|
<el-button type="primary" @click="selectBusiness(false)">确定</el-button> |
|
|
|
<el-button type="primary" @click="selectBusiness(takeCheck)">确定</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-dialog> |
|
|
|
</el-dialog> |
|
|
@ -218,7 +218,7 @@ |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import { mapState, mapMutations } from 'vuex'; |
|
|
|
import { mapState, mapMutations, mapGetters } from 'vuex'; |
|
|
|
import Sortable from 'sortablejs' |
|
|
|
import Sortable from 'sortablejs' |
|
|
|
import manage from '../../manage/index'; |
|
|
|
import manage from '../../manage/index'; |
|
|
|
import { addOperation, getOperation } from '@/api/http'; |
|
|
|
import { addOperation, getOperation } from '@/api/http'; |
|
|
@ -256,12 +256,143 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
return { |
|
|
|
return { |
|
|
|
takeCheck: -1, // 选择业务逻辑 |
|
|
|
takeCheck: '', // 选择业务逻辑 myKey用来确定选择哪个项目 |
|
|
|
businessArr: [ |
|
|
|
businessArr: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
text: '第一个' |
|
|
|
myKey: '项目一', |
|
|
|
|
|
|
|
text: ': 个人活期开户、存款' |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
|
|
|
myKey: '项目二', |
|
|
|
|
|
|
|
text: ': 个人活期转账、取款、销户' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
|
|
|
myKey: '项目三', |
|
|
|
|
|
|
|
text: ': 整存整取开户存款' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
|
|
|
myKey: '项目四', |
|
|
|
|
|
|
|
text: ': 整存整取部分提前支取' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
|
|
|
myKey: '项目五', |
|
|
|
|
|
|
|
text: ': 整存整取全部提前支取' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
|
|
|
myKey: '项目六', |
|
|
|
|
|
|
|
text: ': 零存整取开户' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
|
|
|
myKey: '项目七', |
|
|
|
|
|
|
|
text: ': 零存整取续存' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
|
|
|
myKey: '项目八', |
|
|
|
|
|
|
|
text: ': 零存整取销户' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
|
|
|
myKey: '项目九', |
|
|
|
|
|
|
|
text: ': 通知存款开户' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
|
|
|
myKey: '项目十', |
|
|
|
|
|
|
|
text: ': 通知存款销户' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
|
|
|
myKey: '项目十一', |
|
|
|
|
|
|
|
text: ': 公司基本户和开立' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
|
|
|
myKey: '项目十二', |
|
|
|
|
|
|
|
text: ': 公司存款' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
|
|
|
myKey: '项目十三', |
|
|
|
|
|
|
|
text: ': 公司现金支票取款' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
|
|
|
myKey: '项目十四', |
|
|
|
|
|
|
|
text: ': 公司现金支票转账' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
|
|
|
myKey: '项目十五', |
|
|
|
|
|
|
|
text: ': 密码修改' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
|
|
|
myKey: '项目十六', |
|
|
|
|
|
|
|
text: ': 密码挂失' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
|
|
|
myKey: '项目十七', |
|
|
|
|
|
|
|
text: ': 挂失解挂' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
|
|
|
myKey: '项目十八', |
|
|
|
|
|
|
|
text: ': 支票出售' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
|
|
|
myKey: '项目十九', |
|
|
|
|
|
|
|
text: ': 现金领用' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
|
|
|
myKey: '项目二十', |
|
|
|
|
|
|
|
text: ': 现金上缴' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
|
|
|
myKey: '项目二十一', |
|
|
|
|
|
|
|
text: ': 现金领用' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
|
|
|
myKey: '项目二十二', |
|
|
|
|
|
|
|
text: ': 现金调出' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
|
|
|
myKey: '项目二十三', |
|
|
|
|
|
|
|
text: ': 凭证调入' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
|
|
|
myKey: '项目二十四', |
|
|
|
|
|
|
|
text: ': 凭证调出' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
|
|
|
myKey: '项目二十五', |
|
|
|
|
|
|
|
text: ': 凭证上缴' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
|
|
|
myKey: '项目二十六', |
|
|
|
|
|
|
|
text: ': 柜员日中轧账' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
|
|
|
myKey: '项目二十七', |
|
|
|
|
|
|
|
text: ': 网点日中轧账' |
|
|
|
|
|
|
|
} |
|
|
|
], // 选择业务逻辑 |
|
|
|
], // 选择业务逻辑 |
|
|
|
showBusiness: false, |
|
|
|
showBusiness: false, |
|
|
|
manageVisible: false, // 显示系统录入 |
|
|
|
manageVisible: false, // 显示系统录入 |
|
|
@ -783,6 +914,9 @@ export default { |
|
|
|
goodsOpen:function () {/* 物品栏的物品 */ |
|
|
|
goodsOpen:function () {/* 物品栏的物品 */ |
|
|
|
return this.$store.state.system.goodsOpen |
|
|
|
return this.$store.state.system.goodsOpen |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
...mapGetters({ |
|
|
|
|
|
|
|
goods2: 'system/goods2', |
|
|
|
|
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
watch: { |
|
|
|
'$route.path': function (val) { |
|
|
|
'$route.path': function (val) { |
|
|
@ -940,12 +1074,24 @@ export default { |
|
|
|
setGoodsOpen: 'system/setGoodsOpen', |
|
|
|
setGoodsOpen: 'system/setGoodsOpen', |
|
|
|
removeGoodsOpen: 'system/removeGoodsOpen', |
|
|
|
removeGoodsOpen: 'system/removeGoodsOpen', |
|
|
|
addGoodsOpen: 'system/addGoodsOpen', |
|
|
|
addGoodsOpen: 'system/addGoodsOpen', |
|
|
|
|
|
|
|
setBusinessKey: 'system/setBusinessKey', |
|
|
|
|
|
|
|
addGoods: 'system/addGoods', |
|
|
|
|
|
|
|
deleteGoods: 'system/deleteGoods' |
|
|
|
}), |
|
|
|
}), |
|
|
|
checkTake(index){ |
|
|
|
checkTake(myKey){ |
|
|
|
this.takeCheck = index |
|
|
|
if(this.takeCheck === myKey) { |
|
|
|
|
|
|
|
this.takeCheck = '' |
|
|
|
|
|
|
|
}else { |
|
|
|
|
|
|
|
this.takeCheck = myKey |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
selectBusiness(turn) { |
|
|
|
selectBusiness(myKey) { |
|
|
|
this.showBusiness = turn; |
|
|
|
this.setBusinessKey(myKey) |
|
|
|
|
|
|
|
console.log(this.goods2) |
|
|
|
|
|
|
|
this.showBusiness = false; |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
showBusinessSelect (judge) { |
|
|
|
|
|
|
|
this.showBusiness = judge; |
|
|
|
}, |
|
|
|
}, |
|
|
|
dislodgeItem(index){ |
|
|
|
dislodgeItem(index){ |
|
|
|
this.receptionList.splice(index,1); |
|
|
|
this.receptionList.splice(index,1); |
|
|
@ -1106,16 +1252,19 @@ export default { |
|
|
|
this.popText==='重要空白凭证箱'?(goods=this.importanceArr,clickList=this.importantChecked):(goods=this.commonArr ,clickList = this.commonChecked) |
|
|
|
this.popText==='重要空白凭证箱'?(goods=this.importanceArr,clickList=this.importantChecked):(goods=this.commonArr ,clickList = this.commonChecked) |
|
|
|
if(clickList.length===0) return this.$message.warning(`请选择物品后再确定!`) |
|
|
|
if(clickList.length===0) return this.$message.warning(`请选择物品后再确定!`) |
|
|
|
// 把确定的数据传输进物品栏 |
|
|
|
// 把确定的数据传输进物品栏 |
|
|
|
goods.map(e=>{ |
|
|
|
// goods.map(e=>{ |
|
|
|
clickList.map(el=>{ |
|
|
|
// clickList.map(el=>{ |
|
|
|
if(el===e.id){ |
|
|
|
// if(el===e.id){ |
|
|
|
arr.push(e) |
|
|
|
// arr.push(e) |
|
|
|
} |
|
|
|
// } |
|
|
|
}) |
|
|
|
// }) |
|
|
|
}) |
|
|
|
// }) |
|
|
|
this.$store.commit('system/changeGoods',{push:arr}) |
|
|
|
|
|
|
|
// 加东西 |
|
|
|
console.log(clickList) |
|
|
|
this.auditGoodsShelf.push({name:'银行卡', src:require('@/assets/img/goods/bankCard.png'), id:16}) // |
|
|
|
|
|
|
|
|
|
|
|
// this.$store.commit('system/changeGoods',{push:arr}) |
|
|
|
|
|
|
|
// // 加东西 |
|
|
|
|
|
|
|
// this.auditGoodsShelf.push({name:'银行卡', src:require('@/assets/img/goods/bankCard.png'), id:16}) // |
|
|
|
this.closePop() |
|
|
|
this.closePop() |
|
|
|
// this.changeShowGoods(false) |
|
|
|
// this.changeShowGoods(false) |
|
|
|
clickList = [] |
|
|
|
clickList = [] |
|
|
@ -1139,318 +1288,320 @@ export default { |
|
|
|
this.$message.error('请输入密码和确认密码'); |
|
|
|
this.$message.error('请输入密码和确认密码'); |
|
|
|
} |
|
|
|
} |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
|
|
|
|
console.log('...') |
|
|
|
|
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
|
|
|
if (this.$store.state.system.id == '33'){ |
|
|
|
|
|
|
|
this.nbm = 33 |
|
|
|
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
|
|
|
sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList)) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (this.$store.state.system.id == '34'){ |
|
|
|
|
|
|
|
this.nbm = 34 |
|
|
|
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
|
|
|
sessionStorage.setItem('firmClientIdentity', JSON.stringify(this.receptionList)) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (this.$store.state.system.id == '63'){ |
|
|
|
|
|
|
|
this.nbm = 63 |
|
|
|
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
|
|
|
sessionStorage.setItem('nomBusinessDepositCard', JSON.stringify(this.receptionList)) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (this.$store.state.system.id == '64'){ |
|
|
|
|
|
|
|
this.nbm = 64 |
|
|
|
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
let formList = [] |
|
|
|
sessionStorage.setItem('nomCurrentWithdrawalCard', JSON.stringify(this.receptionList)) |
|
|
|
this.toggleGoods() |
|
|
|
} |
|
|
|
this.$message.success(`${this.popText}操作成功!`) |
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
this.$store.commit('system/changePop',{show:false,text:''}) // 关闭弹窗 |
|
|
|
let accountPassword = ''; |
|
|
|
console.log('---关闭弹窗') |
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
if (this.nbm == 0){ //用户 |
|
|
|
sessionStorage.setItem('nomCurrentWithdrawalPassword', accountPassword) |
|
|
|
}else if (this.nbm == 1){ //传票箱 |
|
|
|
} |
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
}else if (this.$store.state.system.id == '65'){ |
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
this.nbm = 65 |
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id,"emptyOne": "", "emptyTwo": "", "operationIds": "287,4,"+this.receptionList[i].id,"type": ""})} |
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
let params= { |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
parentId:'287,4', |
|
|
|
sessionStorage.setItem('nomCurrentTransferCard', JSON.stringify(this.receptionList)) |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
} |
|
|
|
projectId:+projectId, |
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
startTime:startTime, |
|
|
|
let accountPassword = ''; |
|
|
|
} |
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
sessionStorage.setItem('nomCurrentTransferPassword', accountPassword) |
|
|
|
this.$message({ |
|
|
|
} |
|
|
|
message: '提交成功', |
|
|
|
}else if (this.$store.state.system.id == '66'){ |
|
|
|
type: 'success' |
|
|
|
this.nbm = 66 |
|
|
|
}); |
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
}).catch((error)=>{ |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
}) |
|
|
|
sessionStorage.setItem('nomCurrentSettleCard', JSON.stringify(this.receptionList)) |
|
|
|
}else if (this.nbm == 2){ //普通凭证箱 |
|
|
|
} |
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
let accountPassword = ''; |
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({ "answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,3,"+this.receptionList[i].id, "type": "" })} |
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
let params= { |
|
|
|
sessionStorage.setItem('nomCurrentSettlePassword', accountPassword) |
|
|
|
parentId:'287,3', |
|
|
|
} |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
}else if (this.$store.state.system.id == '67,1'){ |
|
|
|
projectId:+projectId, |
|
|
|
this.nbm = 67 |
|
|
|
startTime:startTime, |
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
} |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
sessionStorage.setItem('nomCurrentCancellCard1', JSON.stringify(this.receptionList)) |
|
|
|
this.$message({ |
|
|
|
} |
|
|
|
message: '提交成功', |
|
|
|
}else if (this.$store.state.system.id == '67,2'){ |
|
|
|
type: 'success' |
|
|
|
this.nbm = 67 |
|
|
|
}); |
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
}).catch((error)=>{ |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
}) |
|
|
|
sessionStorage.setItem('nomCurrentCancellCard2', JSON.stringify(this.receptionList)) |
|
|
|
}else if (this.nbm == 3){ //重要空白凭证箱 |
|
|
|
} |
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
}else if (myConfig[this.$store.state.system.id]){ // myConfig[this.$store.state.system.id] |
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({ "answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,2,"+this.receptionList[i].id, "type": "" })} |
|
|
|
|
|
|
|
let params= { |
|
|
|
const { nbm, name, isPassword } = myConfig[this.$store.state.system.id] |
|
|
|
parentId:'287,2', |
|
|
|
this.nbm = nbm |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
if(!isPassword) { |
|
|
|
projectId:+projectId, |
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
startTime:startTime, |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
} |
|
|
|
sessionStorage.setItem(name, JSON.stringify(this.receptionList)) |
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
} |
|
|
|
this.$message({ |
|
|
|
}else { |
|
|
|
message: '提交成功', |
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
type: 'success' |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}else if (this.nbm == 4){ //钱箱 |
|
|
|
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
|
|
|
let formList = []; |
|
|
|
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({ |
|
|
|
|
|
|
|
"answerId":this.receptionList[i].id, |
|
|
|
|
|
|
|
"emptyOne": "", |
|
|
|
|
|
|
|
"emptyTwo": "", |
|
|
|
|
|
|
|
"operationIds": "287,1,"+this.receptionList[i].id, |
|
|
|
|
|
|
|
"type": "" })} |
|
|
|
|
|
|
|
let params= { |
|
|
|
|
|
|
|
parentId:'287,1', |
|
|
|
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
|
|
|
projectId:+projectId, |
|
|
|
|
|
|
|
startTime:startTime, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
this.$message({ |
|
|
|
|
|
|
|
message: '提交成功', |
|
|
|
|
|
|
|
type: 'success' |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}else if (this.nbm == 5){ //印章盒 |
|
|
|
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,8,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
|
|
|
let params= { |
|
|
|
|
|
|
|
parentId:'287,8', |
|
|
|
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
|
|
|
projectId:+projectId, |
|
|
|
|
|
|
|
startTime:startTime, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
this.$message({ |
|
|
|
|
|
|
|
message: '提交成功', |
|
|
|
|
|
|
|
type: 'success' |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}else if (this.nbm == 6){ //验钞机 |
|
|
|
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,9,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
|
|
|
let params= { |
|
|
|
|
|
|
|
parentId:'287,9', |
|
|
|
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
|
|
|
projectId:+projectId, |
|
|
|
|
|
|
|
startTime:startTime, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
this.$message({ |
|
|
|
|
|
|
|
message: '提交成功', |
|
|
|
|
|
|
|
type: 'success' |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}else if (this.nbm == 7){ //打印机 |
|
|
|
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,10,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
|
|
|
let params= { |
|
|
|
|
|
|
|
parentId:'0,10', |
|
|
|
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
|
|
|
projectId:+projectId, |
|
|
|
|
|
|
|
startTime:startTime, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
this.$message({ |
|
|
|
|
|
|
|
message: '提交成功', |
|
|
|
|
|
|
|
type: 'success' |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}else if (this.nbm == 9){//资料 |
|
|
|
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "0,11,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
|
|
|
let params= { |
|
|
|
|
|
|
|
parentId:'0,11', |
|
|
|
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
|
|
|
projectId:+projectId, |
|
|
|
|
|
|
|
startTime:startTime, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
this.$message({ |
|
|
|
|
|
|
|
message: '提交成功', |
|
|
|
|
|
|
|
type: 'success' |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}else if (this.nbm == 10){ //刷卡器 |
|
|
|
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "0,6,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
|
|
|
let params= { |
|
|
|
|
|
|
|
parentId:'0,6', |
|
|
|
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
|
|
|
projectId:+projectId, |
|
|
|
|
|
|
|
startTime:startTime, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
this.$message({ |
|
|
|
|
|
|
|
message: '提交成功', |
|
|
|
|
|
|
|
type: 'success' |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}else if (this.nbm == 11){ //身份证扫描仪 |
|
|
|
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "0,7,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
|
|
|
let params= { |
|
|
|
|
|
|
|
parentId:'0,7', |
|
|
|
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
|
|
|
projectId:+projectId, |
|
|
|
|
|
|
|
startTime:startTime, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
this.$message({ |
|
|
|
|
|
|
|
message: '提交成功', |
|
|
|
|
|
|
|
type: 'success' |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
|
|
|
if (this.$store.state.system.id == '33'){ |
|
|
|
|
|
|
|
this.nbm = 33 |
|
|
|
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
|
|
|
sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList)) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (this.$store.state.system.id == '34'){ |
|
|
|
|
|
|
|
this.nbm = 34 |
|
|
|
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
|
|
|
sessionStorage.setItem('firmClientIdentity', JSON.stringify(this.receptionList)) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (this.$store.state.system.id == '63'){ |
|
|
|
|
|
|
|
this.nbm = 63 |
|
|
|
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
|
|
|
sessionStorage.setItem('nomBusinessDepositCard', JSON.stringify(this.receptionList)) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (this.$store.state.system.id == '64'){ |
|
|
|
|
|
|
|
this.nbm = 64 |
|
|
|
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
|
|
|
sessionStorage.setItem('nomCurrentWithdrawalCard', JSON.stringify(this.receptionList)) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
|
|
|
let accountPassword = ''; |
|
|
|
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
|
|
|
sessionStorage.setItem('nomCurrentWithdrawalPassword', accountPassword) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}else if (this.$store.state.system.id == '65'){ |
|
|
|
|
|
|
|
this.nbm = 65 |
|
|
|
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
|
|
|
sessionStorage.setItem('nomCurrentTransferCard', JSON.stringify(this.receptionList)) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
|
|
|
let accountPassword = ''; |
|
|
|
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
|
|
|
sessionStorage.setItem('nomCurrentTransferPassword', accountPassword) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}else if (this.$store.state.system.id == '66'){ |
|
|
|
|
|
|
|
this.nbm = 66 |
|
|
|
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
|
|
|
sessionStorage.setItem('nomCurrentSettleCard', JSON.stringify(this.receptionList)) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
|
|
|
let accountPassword = ''; |
|
|
|
let accountPassword = ''; |
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
sessionStorage.setItem('nomCurrentSettlePassword', accountPassword) |
|
|
|
sessionStorage.setItem(name, accountPassword) |
|
|
|
} |
|
|
|
|
|
|
|
}else if (this.$store.state.system.id == '67,1'){ |
|
|
|
|
|
|
|
this.nbm = 67 |
|
|
|
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
|
|
|
sessionStorage.setItem('nomCurrentCancellCard1', JSON.stringify(this.receptionList)) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}else if (this.$store.state.system.id == '67,2'){ |
|
|
|
|
|
|
|
this.nbm = 67 |
|
|
|
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
|
|
|
sessionStorage.setItem('nomCurrentCancellCard2', JSON.stringify(this.receptionList)) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
}else if (myConfig[this.$store.state.system.id]){ // myConfig[this.$store.state.system.id] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const { nbm, name, isPassword } = myConfig[this.$store.state.system.id] |
|
|
|
}else if (this.$store.state.system.id == '67,3'){ |
|
|
|
this.nbm = nbm |
|
|
|
this.nbm = 67 |
|
|
|
if(!isPassword) { |
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
let accountPassword = ''; |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
sessionStorage.setItem(name, JSON.stringify(this.receptionList)) |
|
|
|
sessionStorage.setItem('nomCurrentCancellPassword', accountPassword) |
|
|
|
} |
|
|
|
} |
|
|
|
}else { |
|
|
|
}else if (this.$store.state.system.id == '62,1'){ |
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
this.nbm = 62 |
|
|
|
let accountPassword = ''; |
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
sessionStorage.setItem(name, accountPassword) |
|
|
|
sessionStorage.setItem('accountVoucher', JSON.stringify(this.receptionList)) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
|
|
|
let accountPassword = ''; |
|
|
|
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
|
|
|
sessionStorage.setItem('accountPassword', accountPassword) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}else if (this.$store.state.system.id == '62,2'){ |
|
|
|
|
|
|
|
this.nbm = 62 |
|
|
|
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
|
|
|
sessionStorage.setItem('accountVoucherTwo', JSON.stringify(this.receptionList)) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
|
|
|
let accountPasswordTwo = '' |
|
|
|
|
|
|
|
accountPasswordTwo = this.passwordForm.passwordAgain |
|
|
|
|
|
|
|
sessionStorage.setItem('accountPasswordTwo', accountPasswordTwo) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}else if (this.$store.state.system.id == '62,3'){ |
|
|
|
|
|
|
|
this.nbm = 62 |
|
|
|
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
|
|
|
sessionStorage.setItem('accountVoucherThree', JSON.stringify(this.receptionList)) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
|
|
|
let accountPasswordThree = '' |
|
|
|
|
|
|
|
accountPasswordThree = this.passwordForm.passwordAgain |
|
|
|
|
|
|
|
sessionStorage.setItem('accountPasswordThree', accountPasswordThree) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}else if (this.$store.state.system.id == '67,3'){ |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
this.nbm = 67 |
|
|
|
let formList = [] |
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
this.toggleGoods() |
|
|
|
let accountPassword = ''; |
|
|
|
this.$message.success(`${this.popText}操作成功!`) |
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
this.$store.commit('system/changePop',{show:false,text:''}) // 关闭弹窗 |
|
|
|
sessionStorage.setItem('nomCurrentCancellPassword', accountPassword) |
|
|
|
console.log('---关闭弹窗') |
|
|
|
} |
|
|
|
if (this.nbm == 0){ //用户 |
|
|
|
}else if (this.$store.state.system.id == '62,1'){ |
|
|
|
}else if (this.nbm == 1){ //传票箱 |
|
|
|
this.nbm = 62 |
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id,"emptyOne": "", "emptyTwo": "", "operationIds": "287,4,"+this.receptionList[i].id,"type": ""})} |
|
|
|
sessionStorage.setItem('accountVoucher', JSON.stringify(this.receptionList)) |
|
|
|
let params= { |
|
|
|
} |
|
|
|
parentId:'287,4', |
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
let accountPassword = ''; |
|
|
|
projectId:+projectId, |
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
startTime:startTime, |
|
|
|
sessionStorage.setItem('accountPassword', accountPassword) |
|
|
|
} |
|
|
|
} |
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
}else if (this.$store.state.system.id == '62,2'){ |
|
|
|
this.$message({ |
|
|
|
this.nbm = 62 |
|
|
|
message: '提交成功', |
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
type: 'success' |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
}); |
|
|
|
sessionStorage.setItem('accountVoucherTwo', JSON.stringify(this.receptionList)) |
|
|
|
}).catch((error)=>{ |
|
|
|
} |
|
|
|
}) |
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
}else if (this.nbm == 2){ //普通凭证箱 |
|
|
|
let accountPasswordTwo = '' |
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
accountPasswordTwo = this.passwordForm.passwordAgain |
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
sessionStorage.setItem('accountPasswordTwo', accountPasswordTwo) |
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({ "answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,3,"+this.receptionList[i].id, "type": "" })} |
|
|
|
} |
|
|
|
let params= { |
|
|
|
}else if (this.$store.state.system.id == '62,3'){ |
|
|
|
parentId:'287,3', |
|
|
|
this.nbm = 62 |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
projectId:+projectId, |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
startTime:startTime, |
|
|
|
sessionStorage.setItem('accountVoucherThree', JSON.stringify(this.receptionList)) |
|
|
|
} |
|
|
|
} |
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
this.$message({ |
|
|
|
let accountPasswordThree = '' |
|
|
|
message: '提交成功', |
|
|
|
accountPasswordThree = this.passwordForm.passwordAgain |
|
|
|
type: 'success' |
|
|
|
sessionStorage.setItem('accountPasswordThree', accountPasswordThree) |
|
|
|
}); |
|
|
|
} |
|
|
|
}).catch((error)=>{ |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}else if (this.nbm == 3){ //重要空白凭证箱 |
|
|
|
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({ "answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,2,"+this.receptionList[i].id, "type": "" })} |
|
|
|
|
|
|
|
let params= { |
|
|
|
|
|
|
|
parentId:'287,2', |
|
|
|
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
|
|
|
projectId:+projectId, |
|
|
|
|
|
|
|
startTime:startTime, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
this.$message({ |
|
|
|
|
|
|
|
message: '提交成功', |
|
|
|
|
|
|
|
type: 'success' |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}else if (this.nbm == 4){ //钱箱 |
|
|
|
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
|
|
|
let formList = []; |
|
|
|
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({ |
|
|
|
|
|
|
|
"answerId":this.receptionList[i].id, |
|
|
|
|
|
|
|
"emptyOne": "", |
|
|
|
|
|
|
|
"emptyTwo": "", |
|
|
|
|
|
|
|
"operationIds": "287,1,"+this.receptionList[i].id, |
|
|
|
|
|
|
|
"type": "" })} |
|
|
|
|
|
|
|
let params= { |
|
|
|
|
|
|
|
parentId:'287,1', |
|
|
|
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
|
|
|
projectId:+projectId, |
|
|
|
|
|
|
|
startTime:startTime, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
this.$message({ |
|
|
|
|
|
|
|
message: '提交成功', |
|
|
|
|
|
|
|
type: 'success' |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}else if (this.nbm == 5){ //印章盒 |
|
|
|
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,8,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
|
|
|
let params= { |
|
|
|
|
|
|
|
parentId:'287,8', |
|
|
|
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
|
|
|
projectId:+projectId, |
|
|
|
|
|
|
|
startTime:startTime, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
this.$message({ |
|
|
|
|
|
|
|
message: '提交成功', |
|
|
|
|
|
|
|
type: 'success' |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}else if (this.nbm == 6){ //验钞机 |
|
|
|
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,9,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
|
|
|
let params= { |
|
|
|
|
|
|
|
parentId:'287,9', |
|
|
|
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
|
|
|
projectId:+projectId, |
|
|
|
|
|
|
|
startTime:startTime, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
this.$message({ |
|
|
|
|
|
|
|
message: '提交成功', |
|
|
|
|
|
|
|
type: 'success' |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}else if (this.nbm == 7){ //打印机 |
|
|
|
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,10,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
|
|
|
let params= { |
|
|
|
|
|
|
|
parentId:'0,10', |
|
|
|
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
|
|
|
projectId:+projectId, |
|
|
|
|
|
|
|
startTime:startTime, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
this.$message({ |
|
|
|
|
|
|
|
message: '提交成功', |
|
|
|
|
|
|
|
type: 'success' |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}else if (this.nbm == 9){//资料 |
|
|
|
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "0,11,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
|
|
|
let params= { |
|
|
|
|
|
|
|
parentId:'0,11', |
|
|
|
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
|
|
|
projectId:+projectId, |
|
|
|
|
|
|
|
startTime:startTime, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
this.$message({ |
|
|
|
|
|
|
|
message: '提交成功', |
|
|
|
|
|
|
|
type: 'success' |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}else if (this.nbm == 10){ //刷卡器 |
|
|
|
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "0,6,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
|
|
|
let params= { |
|
|
|
|
|
|
|
parentId:'0,6', |
|
|
|
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
|
|
|
projectId:+projectId, |
|
|
|
|
|
|
|
startTime:startTime, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
this.$message({ |
|
|
|
|
|
|
|
message: '提交成功', |
|
|
|
|
|
|
|
type: 'success' |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}else if (this.nbm == 11){ //身份证扫描仪 |
|
|
|
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "0,7,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
|
|
|
let params= { |
|
|
|
|
|
|
|
parentId:'0,7', |
|
|
|
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
|
|
|
projectId:+projectId, |
|
|
|
|
|
|
|
startTime:startTime, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
this.$message({ |
|
|
|
|
|
|
|
message: '提交成功', |
|
|
|
|
|
|
|
type: 'success' |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
// this.toggleGoods() |
|
|
|
// this.toggleGoods() |
|
|
@ -2562,6 +2713,7 @@ export default { |
|
|
|
align-items: center; |
|
|
|
align-items: center; |
|
|
|
width: 30%; |
|
|
|
width: 30%; |
|
|
|
height: 10vh; |
|
|
|
height: 10vh; |
|
|
|
|
|
|
|
margin: 1vh 0; |
|
|
|
border: 4px solid #DBDBDB; |
|
|
|
border: 4px solid #DBDBDB; |
|
|
|
border-radius: 20px; |
|
|
|
border-radius: 20px; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|