Bladeren bron

no message

linwenxin 5 maanden geleden
bovenliggende
commit
8b0ddf4701
2 gewijzigde bestanden met toevoegingen van 22 en 0 verwijderingen
  1. 11 0
      src/packageMaterial/pages/newSale/orderDetail.vue
  2. 11 0
      src/packageMaterial/pages/sale/orderDetail.vue

+ 11 - 0
src/packageMaterial/pages/newSale/orderDetail.vue

@@ -74,6 +74,17 @@
           <view class="left"></view>
           <view class="right">
             <u-button text="取消订单" @click="cancelOrder"></u-button>
+            <u-button
+              text="去收款"
+              type="primary"
+              @click="
+                () => {
+                  $navToPage({
+                    url: `/packageMaterial/pages/newSale/pay?handleOrderId=${id}`
+                  })
+                }
+              "
+            ></u-button>
           </view>
         </view>
       </template>

+ 11 - 0
src/packageMaterial/pages/sale/orderDetail.vue

@@ -73,6 +73,17 @@
           <view class="left"></view>
           <view class="right">
             <u-button text="取消订单" @click="cancelOrder"></u-button>
+            <u-button
+              text="去收款"
+              type="primary"
+              @click="
+                () => {
+                  $navToPage({
+                    url: `/packageMaterial/pages/sale/pay?handleOrderId=${id}`
+                  })
+                }
+              "
+            ></u-button>
           </view>
         </view>
       </template>