20240205
wangchenguang 2 years ago
parent 261fa8cfb3
commit 2cf63091a1
  1. 11
      src/pages/counter/list/index.vue
  2. 5
      src/store/modules/system.js

@ -2137,7 +2137,16 @@ export default {
} }
let projectId = sessionStorage.getItem('projectId') let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
for (var i=0;i<this.goodState.length;i++){formList.push({"answerId":this.goodState[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,10,"+this.goodState[i].id,"type": ""})} console.log('this.goodState=>',this.goodState)
let id
for (var i=0;i<this.goodState.length;i++){
if(this.goodState[i].id == 432) {
id = 443
}else {
id = this.goodState[i].id
}
formList.push({"answerId":id , "emptyOne": "", "emptyTwo": "", "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,10,"+id,"type": ""})
}
let params= { let params= {
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,10', parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,10',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq:formList,

@ -2714,13 +2714,11 @@ export default {
stampJudge(state, { sealArr, cb }) { stampJudge(state, { sealArr, cb }) {
// const needStamp = state.businessSelect[state.businessKey].isStamp // const needStamp = state.businessSelect[state.businessKey].isStamp
const id = state.businessSelect[state.businessKey].sealBox[0] const id = state.businessSelect[state.businessKey].sealBox[0]
console.log('id=>?',id)
let judgeDelete = true // 盖完章是否变化 为false的会删掉。。。 let judgeDelete = true // 盖完章是否变化 为false的会删掉。。。
let stampSuccess = '' // 盖章成功 let stampSuccess = '' // 盖章成功
// 以为要特定的章盖特定的物品,盖完后结果还不一样。有些东西盖了会消失,有些不会。 // 以为要特定的章盖特定的物品,盖完后结果还不一样。有些东西盖了会消失,有些不会。
// 有些东西还要盖两个章。当时选择了最直接的if-else判断。其实用map结构也不是不行。 // 有些东西还要盖两个章。当时选择了最直接的if-else判断。其实用map结构也不是不行。
if(sealArr.length === 1) { if(sealArr.length === 1) {
console.log('只有一个')
const seal = sealArr[0] const seal = sealArr[0]
if(seal === '业务专用章') { if(seal === '业务专用章') {
if(id === 14) { if(id === 14) {
@ -3011,12 +3009,9 @@ export default {
// 拿到物品栏中的物品 // 拿到物品栏中的物品
goods2(state) { goods2(state) {
// 调试容错采用if-else // 调试容错采用if-else
console.log('state=>>>',state)
console.log('state.businessSelect=>>>',state.businessSelect)
const arr = [] const arr = []
if(state.businessKey !== '') { if(state.businessKey !== '') {
for(const item of state.businessSelect[state.businessKey].data) { for(const item of state.businessSelect[state.businessKey].data) {
console.log('item=>',item)
if (state.businessKey == '业务七') { if (state.businessKey == '业务七') {
if(item !==23) { if(item !==23) {
arr.push(allGoods[item]) arr.push(allGoods[item])

Loading…
Cancel
Save