linwenxin преди 5 месеца
родител
ревизия
8b0ddf4701
променени са 2 файла, в които са добавени 22 реда и са изтрити 0 реда
  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>