From eba2da3c2d26fa669283cf36da561e2090a8a225 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 19 Sep 2024 13:57:53 +0800 Subject: [PATCH] fix --- src/pages/counter/list/index.vue | 9 ++++++++- src/pages/manage/list/personalLoans/detail.vue | 4 ++-- src/store/modules/system.js | 7 ++++--- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/pages/counter/list/index.vue b/src/pages/counter/list/index.vue index 53f6de1..60bda34 100644 --- a/src/pages/counter/list/index.vue +++ b/src/pages/counter/list/index.vue @@ -1092,6 +1092,7 @@ export default { if (that.myMap) { const id = that.goodsShelfTotalData[evt.oldIndex].id // 将物品从物品栏中取出 + console.log('拖拽-物品栏移除了下列物品:', that.goodsShelfTotalData[evt.oldIndex]) that.outThingsGoods([id]) // 将物品放入物品栏 that.pushThings({ idArr: [id], name: that.myMap }) @@ -1120,6 +1121,7 @@ export default { else if (that.$refs.popUpSeal) { const id = that.goodsShelfTotalData[evt.oldIndex].id + console.log('印章的拖拽移除了下列物品:', that.goodsShelfTotalData[evt.oldIndex]) that.outThingsGoods([id]) that.pushThings({ idArr: [id], name: that.myMap }) @@ -1212,6 +1214,7 @@ export default { if (data.status == 200 && data.data.judgmentRuleReqs) { const list = data.data.judgmentRuleReqs.map(item => item.answerId) if (list.length) { + console.log('获取桌面上物品的缓存的时候移除了下列物品:', list) this.outThingsGoods([...list]) this.pushThings({ idArr: [...list], name: 'cultureIn' }) } @@ -1293,6 +1296,7 @@ export default { if (list.length) { for (let i = 0; i < list.length; i++) { if (allKeys.includes(list[i])) { + console.log('印章盒操作移除了下列物品:', stampJudge[list[i]]) this.outThingsGoods([...stampJudge[list[i]].delete]) this.pushThingsGoods([...stampJudge[list[i]].add]) } else { @@ -1318,6 +1322,7 @@ export default { this.pushThingsGoods([...list]) this.outThings2({ name: 'moneyBox', index: 0 }) } else { + console.log('钱箱操作移除了下列物品:', list) this.outThingsGoods([...list]) this.pushThings({ idArr: [...list], name: 'moneyBox' }) } @@ -1335,6 +1340,7 @@ export default { if (data.status == 200 && data.data.judgmentRuleReqs) { const list = data.data.judgmentRuleReqs.map(item => item.answerId) if (list.length) { + console.log('返还资料操作移除了下列物品:', list) this.outThingsGoods([...list]) this.pushThings({ idArr: [...list], name: 'backPeople' }) } @@ -1512,6 +1518,7 @@ export default { } else { this.controlGoodsDblClickFn = setTimeout(() => { if (this.myMap) { + console.log('物品栏双击操作移除了下列物品:', item) this.outThingsGoods([item.id]) this.pushThings({ idArr: [item.id], name: this.myMap }) } else { @@ -1812,7 +1819,7 @@ export default { if (this.nbm == 0) { let projectId = sessionStorage.getItem('projectId') let startTime = sessionStorage.getItem('startTime') - + // debugger // 如果是在签字,返还资料。 if (this.peopleDo === 1) { if (this.goodState.length === 0) { diff --git a/src/pages/manage/list/personalLoans/detail.vue b/src/pages/manage/list/personalLoans/detail.vue index 2cf245b..3793716 100644 --- a/src/pages/manage/list/personalLoans/detail.vue +++ b/src/pages/manage/list/personalLoans/detail.vue @@ -444,7 +444,7 @@ export default { this.basicForm = { idType: 83, idNumber: '220602199202281229', - customerName: '丛小风', + customerName: '丛小凤', gender: 2, birthDate: '1992-02-28', phoneNumber: '15890317718', @@ -452,7 +452,7 @@ export default { salary: '80', currentWorkYears: '5年', totalWorkYears: '12年', - propertyOwner: '丛小风', + propertyOwner: '丛小凤', propertyCertificateNo: '不动产权第012000号', coOwnership: '单独所有', location: '前海新区深圳湾一号1612', diff --git a/src/store/modules/system.js b/src/store/modules/system.js index c83ef14..98989b2 100644 --- a/src/store/modules/system.js +++ b/src/store/modules/system.js @@ -3353,13 +3353,14 @@ export default { // 调试容错采用if-else const arr = [] if (state.businessKey !== '') { - for (const item of state.businessSelect[state.businessKey].data) { + let { data } = state.businessSelect[state.businessKey] + // if (!data.length) data = myInitState[state.businessKey].data // 物品栏为空则取默认的物品栏 + console.log('当前物品栏:', state, myInitState[state.businessKey].data, data) + for (const item of data) { if (state.businessKey == '业务七') { if (item !== 23) { arr.push(allGoods[item]) } - } else if (state.businessKey == '业务十一') { - arr.push(allGoods[item]) } else { arr.push(allGoods[item]) }