绿满眶商城微信小程序-uniapp
zxl
11 小时以前 f7804b711a09eae4822a70063c63da54b04279d8
pages/order/orderDetail.vue
@@ -141,15 +141,15 @@
          <view class="title">服务</view>
        </view>
        <view class="customer-list">
          <view class="customer-service"
<!--       <view class="customer-service"
            v-if="orderDetail.allowOperationVO && orderDetail.allowOperationVO.cancel == true"
            @click="onCancel(order.sn)">取消订单</view>
            @click="onCancel(order.sn)">取消订单</view> -->
          <view class="customer-service" v-if="order.orderStatus == 'DELIVERED'" @click="onLogistics(order)">查看物流</view>
          <view class="customer-service" v-if="order.orderStatus != 'UNPAID' && order.orderPromotionType == 'PINTUAN'"
            @click="ByUserMessage(order)">查看拼团信息</view>
            <view class="customer-service"
            @click="contact(order.storeId)">联系客服</view>
         <view class="customer-service" v-if="order.orderStatus==='COMPLETED'"
         <view class="customer-service" v-if="order.orderStatus==='COMPLETED' && order.orderType !=='VIRTUAL'"
         @click="buyBack"
         >再来一单</view>
        </view>
@@ -263,11 +263,11 @@
</template>
<script>
import '@/components/uview-components/uview-ui'
import '@/pages/subComponents/uview-components/uview-ui'
import { getExpress, getPackage ,buyBack} from "@/api/trade.js";
import { cancelOrder, confirmReceipt, getOrderDetail } from "@/api/order.js";
import shares from "@/components/m-share/index"; //分享
import shares from "@/pages/order/m-share/index.vue"; //分享
import { getClearReason } from "@/api/after-sale.js";
@@ -374,9 +374,9 @@
    },
    // 获取物流信息
    loadLogistics(sn) {
      getExpress(sn).then((res) => {
        this.logisticsList = res.data.result;
      });
      // getExpress(sn).then((res) => {
      //   this.logisticsList = res.data.result;
      // });
    },
    // 分享当前拼团信息