xujing 5 年 前
コミット
4c1ab60481
共有1 個のファイルを変更した4 個の追加3 個の削除を含む
  1. 4
    3
      src/onlineSelling/pages/addHouse/index.js

+ 4
- 3
src/onlineSelling/pages/addHouse/index.js ファイルの表示

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