shish 1 yıl önce
ebeveyn
işleme
5caf55b776

+ 7 - 0
mallApp/src/pages/home/recent.vue

@@ -31,6 +31,9 @@
                     <view class="popup-item" @click="getRechargeList(item)">
                       <text>充值记录</text>
                     </view>
+                    <view class="popup-item" @click="toPay(item)">
+                      <text>付款</text>
+                    </view>
                     <view class="popup-item" @click="hideMoreOptions()">
                       <text>取消</text>
                     </view>
@@ -209,6 +212,10 @@ export default {
     hideMoreOptions() {
       this.activePopupIndex = -1;
     },
+    toPay(item){
+      this.hideMoreOptions()
+      this.pageTo({ url:'/pages/pay/index?account='+item.shopId+'&hdId='+item.id+'&hdName='+item.name+'&store=0&fromType=3'})
+    },
     getRechargeList(item){
       this.hideMoreOptions()
       this.pageTo({ url:'/pages/recharge/list?account='+item.shopId+'&hdId='+item.id+'&hdName='+item.name})

+ 2 - 1
mallApp/src/pages/pay/index.vue

@@ -172,7 +172,8 @@
 					needSend: this.tabIndex == 0 ? '0' : '1',
 					prePrice: this.amount,
 					payWay: this.form.payWay,
-					payPassword:this.modalForm.payPassword
+					payPassword:this.modalForm.payPassword,
+					repeat:1
 				}
 				if (this.tabIndex == 1) {
 					let deliveryForm = this.$refs.appDelivery.form ? this.$refs.appDelivery.form : {}