20240205
yujialong 2 months ago
parent d987fef680
commit eba2da3c2d
  1. 9
      src/pages/counter/list/index.vue
  2. 4
      src/pages/manage/list/personalLoans/detail.vue
  3. 7
      src/store/modules/system.js

@ -1092,6 +1092,7 @@ export default {
if (that.myMap) { if (that.myMap) {
const id = that.goodsShelfTotalData[evt.oldIndex].id const id = that.goodsShelfTotalData[evt.oldIndex].id
// //
console.log('拖拽-物品栏移除了下列物品:', that.goodsShelfTotalData[evt.oldIndex])
that.outThingsGoods([id]) that.outThingsGoods([id])
// //
that.pushThings({ idArr: [id], name: that.myMap }) that.pushThings({ idArr: [id], name: that.myMap })
@ -1120,6 +1121,7 @@ export default {
else if (that.$refs.popUpSeal) { else if (that.$refs.popUpSeal) {
const id = that.goodsShelfTotalData[evt.oldIndex].id const id = that.goodsShelfTotalData[evt.oldIndex].id
console.log('印章的拖拽移除了下列物品:', that.goodsShelfTotalData[evt.oldIndex])
that.outThingsGoods([id]) that.outThingsGoods([id])
that.pushThings({ idArr: [id], name: that.myMap }) that.pushThings({ idArr: [id], name: that.myMap })
@ -1212,6 +1214,7 @@ export default {
if (data.status == 200 && data.data.judgmentRuleReqs) { if (data.status == 200 && data.data.judgmentRuleReqs) {
const list = data.data.judgmentRuleReqs.map(item => item.answerId) const list = data.data.judgmentRuleReqs.map(item => item.answerId)
if (list.length) { if (list.length) {
console.log('获取桌面上物品的缓存的时候移除了下列物品:', list)
this.outThingsGoods([...list]) this.outThingsGoods([...list])
this.pushThings({ idArr: [...list], name: 'cultureIn' }) this.pushThings({ idArr: [...list], name: 'cultureIn' })
} }
@ -1293,6 +1296,7 @@ export default {
if (list.length) { if (list.length) {
for (let i = 0; i < list.length; i++) { for (let i = 0; i < list.length; i++) {
if (allKeys.includes(list[i])) { if (allKeys.includes(list[i])) {
console.log('印章盒操作移除了下列物品:', stampJudge[list[i]])
this.outThingsGoods([...stampJudge[list[i]].delete]) this.outThingsGoods([...stampJudge[list[i]].delete])
this.pushThingsGoods([...stampJudge[list[i]].add]) this.pushThingsGoods([...stampJudge[list[i]].add])
} else { } else {
@ -1318,6 +1322,7 @@ export default {
this.pushThingsGoods([...list]) this.pushThingsGoods([...list])
this.outThings2({ name: 'moneyBox', index: 0 }) this.outThings2({ name: 'moneyBox', index: 0 })
} else { } else {
console.log('钱箱操作移除了下列物品:', list)
this.outThingsGoods([...list]) this.outThingsGoods([...list])
this.pushThings({ idArr: [...list], name: 'moneyBox' }) this.pushThings({ idArr: [...list], name: 'moneyBox' })
} }
@ -1335,6 +1340,7 @@ export default {
if (data.status == 200 && data.data.judgmentRuleReqs) { if (data.status == 200 && data.data.judgmentRuleReqs) {
const list = data.data.judgmentRuleReqs.map(item => item.answerId) const list = data.data.judgmentRuleReqs.map(item => item.answerId)
if (list.length) { if (list.length) {
console.log('返还资料操作移除了下列物品:', list)
this.outThingsGoods([...list]) this.outThingsGoods([...list])
this.pushThings({ idArr: [...list], name: 'backPeople' }) this.pushThings({ idArr: [...list], name: 'backPeople' })
} }
@ -1512,6 +1518,7 @@ export default {
} else { } else {
this.controlGoodsDblClickFn = setTimeout(() => { this.controlGoodsDblClickFn = setTimeout(() => {
if (this.myMap) { if (this.myMap) {
console.log('物品栏双击操作移除了下列物品:', item)
this.outThingsGoods([item.id]) this.outThingsGoods([item.id])
this.pushThings({ idArr: [item.id], name: this.myMap }) this.pushThings({ idArr: [item.id], name: this.myMap })
} else { } else {
@ -1812,7 +1819,7 @@ export default {
if (this.nbm == 0) { if (this.nbm == 0) {
let projectId = sessionStorage.getItem('projectId') let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
// debugger
// //
if (this.peopleDo === 1) { if (this.peopleDo === 1) {
if (this.goodState.length === 0) { if (this.goodState.length === 0) {

@ -444,7 +444,7 @@ export default {
this.basicForm = { this.basicForm = {
idType: 83, idType: 83,
idNumber: '220602199202281229', idNumber: '220602199202281229',
customerName: '丛小', customerName: '丛小',
gender: 2, gender: 2,
birthDate: '1992-02-28', birthDate: '1992-02-28',
phoneNumber: '15890317718', phoneNumber: '15890317718',
@ -452,7 +452,7 @@ export default {
salary: '80', salary: '80',
currentWorkYears: '5年', currentWorkYears: '5年',
totalWorkYears: '12年', totalWorkYears: '12年',
propertyOwner: '丛小', propertyOwner: '丛小',
propertyCertificateNo: '不动产权第012000号', propertyCertificateNo: '不动产权第012000号',
coOwnership: '单独所有', coOwnership: '单独所有',
location: '前海新区深圳湾一号1612', location: '前海新区深圳湾一号1612',

@ -3353,13 +3353,14 @@ export default {
// 调试容错采用if-else // 调试容错采用if-else
const arr = [] const arr = []
if (state.businessKey !== '') { 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 (state.businessKey == '业务七') {
if (item !== 23) { if (item !== 23) {
arr.push(allGoods[item]) arr.push(allGoods[item])
} }
} else if (state.businessKey == '业务十一') {
arr.push(allGoods[item])
} else { } else {
arr.push(allGoods[item]) arr.push(allGoods[item])
} }

Loading…
Cancel
Save