Sfoglia il codice sorgente

外籍商户订单页面修改

linbl 1 anno fa
parent
commit
962fffa2c0
1 ha cambiato i file con 9 aggiunte e 10 eliminazioni
  1. 9 10
      pages/market/one/merchant/order/list.vue

+ 9 - 10
pages/market/one/merchant/order/list.vue

@@ -6,22 +6,22 @@
 		<view class="goodsList">
 			<view class="item" v-for="(item, index) in list" :key="index" @click="detail(item)">
 				<view class="title">{{item.enterpriseName}}</view>
-				<view class="state" v-if="item.enterpriseConfirm == 0">
+				<!-- <view class="state" v-if="item.enterpriseConfirm == 0">
 					<text class="icon">&#xe830;</text>
 					<text>待确认</text>
 				</view>
 				<view class="state" v-if="item.enterpriseConfirm == 1">
 					<text class="icon" style="color: #13ce66">&#xe830;</text>
 					<text>已确认</text>
-				</view>
-				<view class="state" v-if="item.enterpriseConfirm == 2">
+				</view> -->
+				<!-- <view class="state" v-if="item.enterpriseConfirm == 2">
 					<text class="icon" style="color: #f44336">&#xe622;</text>
 					<text>已拒绝</text>
 				</view>
 				<view class="state" v-if="item.enterpriseConfirm == 3">
 					<text class="icon" style="color: #00BFFF">&#xe622;</text>
 					<text>等待司机确认</text>
-				</view>
+				</view> -->
 				<image src="../../../../../static/news.jpg" mode="aspectFill" class="pic"></image>
 				<view class="con">
 					<view class="productName omit">{{ item.goodsNames }}</view>
@@ -33,8 +33,8 @@
 				</view>
 				<view class="clear"></view>
 				<view class="op">
-					<view class="date">2022-12-12:12:12</view>
-					<template v-if="item.enterpriseConfirm == 0">
+					<view class="date">{{ item.createTime }}</view>
+					<!-- <template v-if="item.enterpriseConfirm == 0">
 						<view class="an" style="color: #f44336"
 							@click.stop="confirm(item.id, item.goodsId, 2, '确认拒绝?')">拒绝订单</view>
 						<view class="an" style="color: #4581fb"
@@ -45,7 +45,7 @@
 					</template>
 					<template v-if="item.enterpriseConfirm == 4">
 						<view class="an" style="color: #4581fb">物流信息</view>
-					</template>
+					</template> -->
 				</view>
 			</view>
 			<view class="loading" v-if="loadMore"><u-loadmore :status="loadMore ? 'loading' : 'nomore'" /></view>
@@ -58,10 +58,10 @@
 	export default {
 		data() {
 			return {
-				tab: [{ name: '全部', enterpriseConfirm: '', isOrders: '' },
+				tab: [{ name: '全部', enterpriseConfirm: '', isOrders: '' }/* ,
 					  { name: '待确认', enterpriseConfirm: 0, isOrders: 1 },
 					  { name: '已确认', enterpriseConfirm: 1, isOrders: 1 },
-					  { name: '已拒绝', enterpriseConfirm: 2, isOrders: 0 }
+					  { name: '已拒绝', enterpriseConfirm: 2, isOrders: 0 } */
 				],
 				param: {
 					pageNo: 1,
@@ -76,7 +76,6 @@
 		onLoad() {
 			this.getData();
 			uni.$on("refreshPage", res => {
-				console.log("zzzzz");
 				this.refresh();
 			})
 		},