Kaynağa Gözat

Merge branch 'dev' of http://git.ycjcjy.com/zhiyuxing/miniapp-v3 into dev

xujing 5 yıl önce
ebeveyn
işleme
49425efc1c

+ 1
- 4
src/onlineSelling/pages/raiseMoney/index.js Dosyayı Görüntüle

@@ -73,10 +73,7 @@ export default class raiseMoney extends Component {
73 73
       } = this.$router.params
74 74
 
75 75
       if (!salesBatchId && !raiseRecordId) {
76
-        Taro.showToast({
77
-          title: '错误, 请返回上一步',
78
-          icon: 'none',
79
-        })
76
+        this.setState({ current: 4, failInfo: { title: '认筹失败', desc: '未确定批次或者认筹单记录' } })
80 77
         return;
81 78
       }
82 79
 

+ 2
- 2
src/onlineSelling/pages/records/index.js Dosyayı Görüntüle

@@ -133,7 +133,7 @@ export default class Records extends Component {
133 133
   }
134 134
 
135 135
   handleSubmit = () => {
136
-    const { recordList, chooseList, salesBatchId } = this.state
136
+    const { recordList, chooseList } = this.state
137 137
     if (!chooseList.length) {
138 138
       Taro.showToast({ title: '请选择房源', icon: 'none' })
139 139
       return;
@@ -153,7 +153,7 @@ export default class Records extends Component {
153 153
     this.props.dispatchFlush2Cart(houseList);
154 154
 
155 155
     Taro.navigateTo({
156
-      url: `/onlineSelling/pages/raiseMoney/index?salesBatchId=${salesBatchId}`
156
+      url: `/onlineSelling/pages/raiseMoney/index?salesBatchId=${checkHouse.salesBatchId}`
157 157
     })
158 158
   }
159 159