浏览代码

外籍商户订单页面修改

linbl 1 年之前
父节点
当前提交
962fffa2c0
共有 1 个文件被更改,包括 9 次插入10 次删除
  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="goodsList">
 			<view class="item" v-for="(item, index) in list" :key="index" @click="detail(item)">
 			<view class="item" v-for="(item, index) in list" :key="index" @click="detail(item)">
 				<view class="title">{{item.enterpriseName}}</view>
 				<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 class="icon">&#xe830;</text>
 					<text>待确认</text>
 					<text>待确认</text>
 				</view>
 				</view>
 				<view class="state" v-if="item.enterpriseConfirm == 1">
 				<view class="state" v-if="item.enterpriseConfirm == 1">
 					<text class="icon" style="color: #13ce66">&#xe830;</text>
 					<text class="icon" style="color: #13ce66">&#xe830;</text>
 					<text>已确认</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 class="icon" style="color: #f44336">&#xe622;</text>
 					<text>已拒绝</text>
 					<text>已拒绝</text>
 				</view>
 				</view>
 				<view class="state" v-if="item.enterpriseConfirm == 3">
 				<view class="state" v-if="item.enterpriseConfirm == 3">
 					<text class="icon" style="color: #00BFFF">&#xe622;</text>
 					<text class="icon" style="color: #00BFFF">&#xe622;</text>
 					<text>等待司机确认</text>
 					<text>等待司机确认</text>
-				</view>
+				</view> -->
 				<image src="../../../../../static/news.jpg" mode="aspectFill" class="pic"></image>
 				<image src="../../../../../static/news.jpg" mode="aspectFill" class="pic"></image>
 				<view class="con">
 				<view class="con">
 					<view class="productName omit">{{ item.goodsNames }}</view>
 					<view class="productName omit">{{ item.goodsNames }}</view>
@@ -33,8 +33,8 @@
 				</view>
 				</view>
 				<view class="clear"></view>
 				<view class="clear"></view>
 				<view class="op">
 				<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"
 						<view class="an" style="color: #f44336"
 							@click.stop="confirm(item.id, item.goodsId, 2, '确认拒绝?')">拒绝订单</view>
 							@click.stop="confirm(item.id, item.goodsId, 2, '确认拒绝?')">拒绝订单</view>
 						<view class="an" style="color: #4581fb"
 						<view class="an" style="color: #4581fb"
@@ -45,7 +45,7 @@
 					</template>
 					</template>
 					<template v-if="item.enterpriseConfirm == 4">
 					<template v-if="item.enterpriseConfirm == 4">
 						<view class="an" style="color: #4581fb">物流信息</view>
 						<view class="an" style="color: #4581fb">物流信息</view>
-					</template>
+					</template> -->
 				</view>
 				</view>
 			</view>
 			</view>
 			<view class="loading" v-if="loadMore"><u-loadmore :status="loadMore ? 'loading' : 'nomore'" /></view>
 			<view class="loading" v-if="loadMore"><u-loadmore :status="loadMore ? 'loading' : 'nomore'" /></view>
@@ -58,10 +58,10 @@
 	export default {
 	export default {
 		data() {
 		data() {
 			return {
 			return {
-				tab: [{ name: '全部', enterpriseConfirm: '', isOrders: '' },
+				tab: [{ name: '全部', enterpriseConfirm: '', isOrders: '' }/* ,
 					  { name: '待确认', enterpriseConfirm: 0, isOrders: 1 },
 					  { name: '待确认', enterpriseConfirm: 0, isOrders: 1 },
 					  { name: '已确认', enterpriseConfirm: 1, isOrders: 1 },
 					  { name: '已确认', enterpriseConfirm: 1, isOrders: 1 },
-					  { name: '已拒绝', enterpriseConfirm: 2, isOrders: 0 }
+					  { name: '已拒绝', enterpriseConfirm: 2, isOrders: 0 } */
 				],
 				],
 				param: {
 				param: {
 					pageNo: 1,
 					pageNo: 1,
@@ -76,7 +76,6 @@
 		onLoad() {
 		onLoad() {
 			this.getData();
 			this.getData();
 			uni.$on("refreshPage", res => {
 			uni.$on("refreshPage", res => {
-				console.log("zzzzz");
 				this.refresh();
 				this.refresh();
 			})
 			})
 		},
 		},