xujing 5 anni fa
parent
commit
4c1ab60481
1 ha cambiato i file con 4 aggiunte e 3 eliminazioni
  1. 4
    3
      src/onlineSelling/pages/addHouse/index.js

+ 4
- 3
src/onlineSelling/pages/addHouse/index.js Vedi File

28
       const { id: salesBatchId } = this.$router.params
28
       const { id: salesBatchId } = this.$router.params
29
 
29
 
30
       this.props.dispatchGetMySelection({
30
       this.props.dispatchGetMySelection({
31
+        source: 'raiseChoose',
31
         salesBatchId,
32
         salesBatchId,
32
         personId: userInfo.person.personId,
33
         personId: userInfo.person.personId,
33
       })
34
       })
44
     const chooseList = (house.mySelectHouses || []).filter(x => houseIdList.indexOf(x.houseId) > -1).map(x => ({
45
     const chooseList = (house.mySelectHouses || []).filter(x => houseIdList.indexOf(x.houseId) > -1).map(x => ({
45
       ...x.housingInfo,
46
       ...x.housingInfo,
46
       buildingImgList: x.buildingImgList,
47
       buildingImgList: x.buildingImgList,
47
-      displayHousePrice:x.displayHousePrice,
48
+      displayHousePrice: x.displayHousePrice,
48
       displayHousePrice: x.displayHousePrice
49
       displayHousePrice: x.displayHousePrice
49
     }))
50
     }))
50
 
51
 
70
       })
71
       })
71
     } else {
72
     } else {
72
       const notInPreSelect = house.raiseCart.filter(x => !chooseList.filter(it => it.houseId == x.houseId)[0])
73
       const notInPreSelect = house.raiseCart.filter(x => !chooseList.filter(it => it.houseId == x.houseId)[0])
73
-      
74
+
74
       this.props.dispatchFlush2Cart(notInPreSelect.concat(chooseList))
75
       this.props.dispatchFlush2Cart(notInPreSelect.concat(chooseList))
75
       Taro.navigateBack({ delta: 1 })
76
       Taro.navigateBack({ delta: 1 })
76
     }
77
     }
90
     const houseList = (house.mySelectHouses || []).map(x => ({
91
     const houseList = (house.mySelectHouses || []).map(x => ({
91
       ...x.housingInfo,
92
       ...x.housingInfo,
92
       buildingImgList: x.buildingImgList,
93
       buildingImgList: x.buildingImgList,
93
-      displayHousePrice:x.displayHousePrice,
94
+      displayHousePrice: x.displayHousePrice,
94
       displayHousePrice: x.displayHousePrice
95
       displayHousePrice: x.displayHousePrice
95
     })).filter(x => x.status == 1)
96
     })).filter(x => x.status == 1)
96
 
97