Commit 0de81e41 authored by Mac's avatar Mac

1

parent 23f98d17
<template>
<view class="corderStyle" :style="{'height':contentHeight}">
<view style="width: 100%;height: 100%;">
<u-tabs :list="list" :is-scroll="false" :current="msg.DistrbutionOrderSelectStatus" @change="change" :active-color='mainColor'></u-tabs>
<u-tabs :list="list" height="100" :is-scroll="false" :current="msg.DistrbutionOrderSelectStatus" @change="change" :active-color='mainColor'></u-tabs>
<u-empty v-if="g.length==0" text="暂无数据" mode="data"></u-empty>
<template v-if="g.length > 0">
<view style="height: calc(100vh - 50px);width: calc(100vw);overflow: hidden;padding: 10px 0;">
......@@ -163,9 +163,14 @@
redirectToDetail(item) {
// OrderClassify 0商品 1司导 2网课
if (item.OrderClassify == 0) {
uni.navigateTo({
url: "/pages/order/order-detail?id=" + item.OrderId + '&NewUserId=' + item.UserId,
});
// uni.navigateTo({
// url: "/pages/order/order-detail?id=" + item.OrderId + '&NewUserId=' + item.UserId,
// });
if(item.ERPLineOrderId && item.ERPLineOrderId>0){
uni.navigateTo({
url: "/pages/jiuzhai/jz_SureOrder?orderId=" + item.ERPLineOrderId,
});
}
} else if (item.OrderClassify == 1) {
uni.navigateTo({
url: "/pages/guidecar/orderDetail?OrderId=" + item.OrderId + '&NewUserId=' + item.UserId,
......
......@@ -320,7 +320,7 @@
</view>
</view>
</view>
<u-tabs :list="list" :is-scroll="false" :current="current" @change="change" :active-color='mainColor'></u-tabs>
<u-tabs height="100" :list="list" :is-scroll="false" :current="current" @change="change" :active-color='mainColor'></u-tabs>
</view>
<view style="background-color: #fff;" :style="{ 'height': `calc(100% - ${scrollHeight})`}">
<scroll-view v-if="current==0" :scroll-y="true" :enable-back-to-top="true" :enable-flex="true" @scrolltolower="lower"
......@@ -574,9 +574,15 @@
redirectToDetail(item) {
// OrderClassify 0商品 1司导 2网课 3线下服务
if (item.OrderClassify == 0) {
uni.navigateTo({
url: "/pages/order/order-detail?id=" + item.OrderId + '&NewUserId=' + item.UserId,
});
// uni.navigateTo({
// url: "/pages/order/order-detail?id=" + item.OrderId + '&NewUserId=' + item.UserId,
// });
if(item.ERPLineOrderId && item.ERPLineOrderId>0){
uni.navigateTo({
url: "/pages/jiuzhai/jz_SureOrder?orderId=" + item.ERPLineOrderId,
});
}
} else if (item.OrderClassify == 1) {
uni.navigateTo({
url: "/pages/guidecar/orderDetail?OrderId=" + item.OrderId + '&NewUserId=' + item.UserId,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment