Browse Source

Merge branch 'developer' of http://git.caimei365.com/caimei-repository/caimei-applets-caimei into developerX

xiebaomin 2 years ago
parent
commit
2878389301

+ 72 - 61
pages/seller/order/components/details/cm-goods-temp.vue

@@ -2,23 +2,23 @@
 	<view class="goods-template">
 		<!-- 商品列表 -->
 		<view class="goods-list clearfix">
-			<view v-for="(item, index) in dataList" :key="index" class="goods-item clearfix">
+			<view class="goods-item clearfix">
 				<view class="shoptitle">
-					<view v-if="item.shopPromotion" class="floor-item-act">
-						<view class="floor-tags" @click.stop="clickPopupShow(item.shopPromotion)">{{
-							item.shopPromotion.name
+					<view v-if="orderInfo.shopPromotion" class="floor-item-act">
+						<view class="floor-tags" @click.stop="clickPopupShow(orderInfo.shopPromotion)">{{
+							orderInfo.shopPromotion.name
 						}}</view>
 					</view>
 					<view class="title-text" v-if="orderInfo.secondHandOrderFlag == 1"
-						>{{ item.shopName }}
+						>{{ orderInfo.shopName }}
 						<label class="paymenttext" v-if="orderInfo.affirmPaymentFlag == 1">已确认打款供应商</label>
 					</view>
-					<view class="title-text" v-else @click="goShophome(item)">
-						{{ item.shopName }} <label class="iconfont icon-jinrudianpu"></label>
+					<view class="title-text" v-else @click="goShophome(orderInfo)">
+						{{ orderInfo.shopName }} <label class="iconfont icon-jinrudianpu"></label>
 					</view>
 				</view>
 				<view class="productlist">
-					<view class="goods-pros-t " @click="details(item)">
+					<view class="goods-pros-t"  v-for="(item, index) in dataList" :key="index" @click="details(item)">
 						<view class="pros-left">
 							<view class="pros-img">
 								<image :src="item.image" alt="" />
@@ -72,28 +72,36 @@
 							</view>
 						</view>
 					</view>
-					<view class=" product-info clearfix"> 
-						<view class="product-view" v-if="item.returnedNum > 0 || item.actualCancelNum > 0">
-							<view class="view-num">已退货/已取消:<text class="text">{{ item.returnedNum }}/{{ item.actualCancelNum }}</text></view>
+					<!-- <view class=" product-info clearfix">
+						<view class="product-view" v-if="orderInfo.returnedNum > 0 || orderInfo.actualCancelNum > 0">
+							<view class="view-num"
+								>已退货/已取消:<text class="text"
+									>{{ orderInfo.returnedNum }}/{{ orderInfo.actualCancelNum }}</text
+								></view
+							>
 						</view>
-<!-- 						<view class="product-view" v-if="item.svipPriceType != 1">
+						<view class="product-view" v-if="item.svipPriceType != 1">
 							<view class="view-num">折扣:<text class="text">{{ item.discount == null ? '0' : item.discount }}%</text></view>
-						</view> -->
+						</view>
 						<view class="product-view">
-							<view class="view-num">税率:<text class="text">{{ item.taxRate }}%</text></view>
+							<view class="view-num"
+								>税率:<text class="text">{{ orderInfo.taxRate }}%</text></view
+							>
 						</view>
-						<!-- <view class="product-view">
+						<view class="product-view">
 							<view class="view-num">折后单价:<text class="text">¥{{ item.discountPrice | NumFormat }}</text></view>
-						</view> -->
+						</view>
 						<view class="product-view allPrice">
-							<view class="view-num">合计:<text class="text">¥{{ item.totalFee | NumFormat }}</text></view>
+							<view class="view-num"
+								>合计:<text class="text">¥{{ orderInfo.totalFee | NumFormat }}</text></view
+							>
 						</view>
-					</view>
+					</view> -->
 				</view>
-				<view class="goods-pros-m" v-if="item.note">
+				<view class="goods-pros-m" v-if="orderInfo.note">
 					<view class="m-text">留言:</view>
 					<view class="m-input">
-						<view class="text">{{ item.note ? item.note : '' }}</view>
+						<view class="text">{{ orderInfo.note ? orderInfo.note : '' }}</view>
 					</view>
 				</view>
 			</view>
@@ -101,14 +109,14 @@
 				<view class="goods-pros-b clearfix">
 					<view class="pros-price-view">
 						<view class="price-view-le">商品总额:</view>
-						<view class="price-view-ri">¥{{ orderInfo.totalAmount | NumFormat }}</view>
+						<view class="price-view-ri">¥{{ orderInfo.productAmount | NumFormat }}</view>
 					</view>
 					<view class="pros-price-view">
 						<view class="price-view-le">运费:</view>
 						<view class="price-view-ri">{{ orderInfo.postageInfo }}</view>
 					</view>
-					<view class="pros-price-view"v-if="orderInfo.eachDiscount > 0">>
-						<view class="price-view-le">优惠:</view>
+					<view class="pros-price-view" v-if="orderInfo.eachDiscount > 0"
+						>> <view class="price-view-le">优惠:</view>
 						<view class="price-view-ri">¥{{ orderInfo.eachDiscount | NumFormat }}</view>
 					</view>
 					<view class="pros-price-view">
@@ -119,7 +127,9 @@
 						<view class="price-view-le">已付金额:</view>
 						<view class="price-view-ri">
 							¥{{ orderInfo.receiptAmount | NumFormat }}
-							<text v-if="orderInfo.accountAmount > 0">(余额抵扣:¥{{ orderInfo.accountAmount | NumFormat }})</text>
+							<text v-if="orderInfo.accountAmount > 0"
+								>(余额抵扣:¥{{ orderInfo.accountAmount | NumFormat }})</text
+							>
 						</view>
 					</view>
 					<view class="pros-price-view">
@@ -136,7 +146,6 @@
 export default {
 	name: 'goods',
 	props: {
-		
 		list: {
 			type: Array
 		},
@@ -146,9 +155,9 @@ export default {
 	},
 	data() {
 		return {
-			dataList: [], 
-			isHandelShow:false,
-			vipFlag: 0,
+			dataList: [],
+			isHandelShow: false,
+			vipFlag: 0
 		}
 	},
 	created() {
@@ -176,11 +185,11 @@ export default {
 			this.vipFlag = userInfo.vipFlag ? userInfo.vipFlag : 0
 			this.dataList = list
 		},
-		handelShowDetails(){
+		handelShowDetails() {
 			this.isHandelShow = !this.isHandelShow
 		},
 		goShophome(shop) {
-			if(shop.shopType === 2){
+			if (shop.shopType === 2) {
 				return
 			}
 			this.$api.navigateTo(`/pages/supplier/user/my-shop?shopId=${shop.shopId}`)
@@ -227,7 +236,7 @@ export default {
 			padding: 24rpx;
 			height: auto;
 			background: #ffffff;
-			border-bottom: 1px solid #E1E1E1;
+			border-bottom: 1px solid #e1e1e1;
 			float: left;
 			&:last-child {
 				border-bottom: none;
@@ -239,27 +248,27 @@ export default {
 			height: 56rpx;
 			line-height: 56rpx;
 			margin-bottom: 12rpx;
-            .floor-item-act{
-                height: 56rpx;
-                text-align: center;
-                box-sizing: border-box;
-                float: left;
-                padding: 10rpx 0;
-                margin-right: 12rpx;
-                .floor-tags{
-                    height: 28rpx;
-                    border-radius: 6rpx;
-                    background-color: #FFFFFF;
-                    line-height: 28rpx;
-                    color: $color-system;
-                    text-align: center;
-                    display: inline-block;
-                    padding:0 6rpx;
-                    font-size: $font-size-20;
-                    border: 1px solid #FF5B00;
-                    float: left;
-                }
-            }
+			.floor-item-act {
+				height: 56rpx;
+				text-align: center;
+				box-sizing: border-box;
+				float: left;
+				padding: 10rpx 0;
+				margin-right: 12rpx;
+				.floor-tags {
+					height: 28rpx;
+					border-radius: 6rpx;
+					background-color: #ffffff;
+					line-height: 28rpx;
+					color: $color-system;
+					text-align: center;
+					display: inline-block;
+					padding: 0 6rpx;
+					font-size: $font-size-20;
+					border: 1px solid #ff5b00;
+					float: left;
+				}
+			}
 			.title-text {
 				width: 400rpx;
 				overflow: hidden;
@@ -294,6 +303,9 @@ export default {
 			width: 100%;
 			height: auto;
 			margin: 20rpx 0;
+			&:last-child{
+				margin-bottom: 0;
+			}
 			.pros-left {
 				width: 210rpx;
 				height: 100%;
@@ -338,7 +350,7 @@ export default {
 				width: 50%;
 				.view-num {
 					float: left;
-					.text{
+					.text {
 						color: #333333;
 					}
 				}
@@ -480,29 +492,29 @@ export default {
 		.goods-pros-b {
 			width: 100%;
 			float: left;
-			.pros-price-view{
+			.pros-price-view {
 				width: 100%;
 				height: 44rpx;
 				font-size: 24rpx;
 				line-height: 44rpx;
-				.price-view-le{
+				.price-view-le {
 					float: left;
 					color: #999999;
 					text-align: left;
 				}
-				.price-view-ri{
+				.price-view-ri {
 					float: right;
 					color: #333333;
 					text-align: right;
-					&.red{
-						color: #F94B4B;
+					&.red {
+						color: #f94b4b;
 					}
 				}
 			}
-			.pros-price-btn{
+			.pros-price-btn {
 				width: 100%;
 				height: 48rpx;
-				.btn{
+				.btn {
 					width: 168rpx;
 					height: 48rpx;
 					line-height: 46rpx;
@@ -514,7 +526,6 @@ export default {
 					margin: 0 auto;
 					font-size: $font-size-24;
 					.iconfont {
-						
 					}
 				}
 			}

+ 1 - 1
pages/seller/order/components/details/cm-order-temp.vue

@@ -9,7 +9,7 @@
 					</view>
 				</view>
 			</view>
-			<view class="information-view same">
+			<view class="information-view same" v-if="orderData.presentNum > 0">
 				<view class="view-man">
 					赠品总数:<label class="label">{{
 						orderData.presentNum

+ 0 - 31
pages/seller/order/order-list.vue

@@ -585,37 +585,6 @@ export default {
 			}
 			return false
 		},
-		//订单状态文字和颜色
-		StateExpFormat(state) {
-			let stateText = '',
-				stateTextObject = {
-					0: '待确认',
-					2: '交易完成',
-					4: '已关闭',
-					5: '交易全退',
-					6: '交易全退',
-					11: '待付款待发货',
-					12: '待付款部分发货',
-					13: '待付款已发货',
-					21: '部分付款待发货',
-					22: '部分付款部分发货',
-					23: '部分付款已发货',
-					31: '已付款待发货',
-					32: '已付款部分发货',
-					33: '已付款已发货'
-				}
-			Object.keys(stateTextObject).forEach(key => {
-				if (key == state) {
-					stateText = stateTextObject[key]
-				}
-			})
-			return stateText
-		},
-		orderPriceToFixed(n) {
-			let price = ''
-			price = n.toFixed(2)
-			return price
-		},
 		getHeaderTopHeight() {
 			// 状态栏高度
 			let self = this

+ 1 - 0
pages/seller/order/search-order.vue

@@ -290,6 +290,7 @@ export default {
 			isCenceModal: false, //控制取消订单弹窗
 			isShowDelModal: false, //控制删除订单弹窗
 			isModalLayer: false,
+			isShareType: 2,
 			loadding: false,
 			pullUpOn: true,
 			hasNextPage: false,

+ 69 - 58
pages/user/order/components/details/cm-goods-temp.vue

@@ -2,23 +2,23 @@
 	<view class="goods-template">
 		<!-- 商品列表 -->
 		<view class="goods-list clearfix">
-			<view v-for="(item, index) in dataList" :key="index" class="goods-item clearfix">
+			<view class="goods-item clearfix">
 				<view class="shoptitle">
-					<view v-if="item.shopPromotion" class="floor-item-act">
-						<view class="floor-tags" @click.stop="clickPopupShow(item.shopPromotion)">{{
-							item.shopPromotion.name
+					<view v-if="orderInfo.shopPromotion" class="floor-item-act">
+						<view class="floor-tags" @click.stop="clickPopupShow(orderInfo.shopPromotion)">{{
+							orderInfo.shopPromotion.name
 						}}</view>
 					</view>
 					<view class="title-text" v-if="orderInfo.secondHandOrderFlag == 1"
-						>{{ item.shopName }}
+						>{{ orderInfo.shopName }}
 						<label class="paymenttext" v-if="orderInfo.affirmPaymentFlag == 1">已确认打款供应商</label>
 					</view>
-					<view class="title-text" v-else @click="goShophome(item)">
-						{{ item.shopName }} <label class="iconfont icon-jinrudianpu"></label>
+					<view class="title-text" v-else @click="goShophome(orderInfo)">
+						{{ orderInfo.shopName }} <label class="iconfont icon-jinrudianpu"></label>
 					</view>
 				</view>
-				<view class="productlist">
-					<view class="goods-pros-t " @click="details(item)">
+				<view class="productlist" v-for="(item, index) in dataList" :key="index"  @click="details(item)">
+					<view class="goods-pros-t">
 						<view class="pros-left">
 							<view class="pros-img">
 								<image :src="item.image" alt="" />
@@ -72,28 +72,36 @@
 							</view>
 						</view>
 					</view>
-					<view class=" product-info clearfix"> 
+<!-- 					<view class=" product-info clearfix">
 						<view class="product-view" v-if="item.returnedNum > 0 || item.actualCancelNum > 0">
-							<view class="view-num">已退货/已取消:<text class="text">{{ item.returnedNum }}/{{ item.actualCancelNum }}</text></view>
+							<view class="view-num"
+								>已退货/已取消:<text class="text"
+									>{{ item.returnedNum }}/{{ item.actualCancelNum }}</text
+								></view
+							>
 						</view>
-<!-- 						<view class="product-view" v-if="item.svipPriceType != 1">
+						<view class="product-view" v-if="item.svipPriceType != 1">
 							<view class="view-num">折扣:<text class="text">{{ item.discount == null ? '0' : item.discount }}%</text></view>
-						</view> -->
+						</view>
 						<view class="product-view">
-							<view class="view-num">税率:<text class="text">{{ item.taxRate }}%</text></view>
+							<view class="view-num"
+								>税率:<text class="text">{{ item.taxRate }}%</text></view
+							>
 						</view>
-<!-- 						<view class="product-view">
+						<view class="product-view">
 							<view class="view-num">折后单价:<text class="text">¥{{ item.discountPrice | NumFormat }}</text></view>
-						</view> -->
+						</view>
 						<view class="product-view allPrice">
-							<view class="view-num">合计:<text class="text">¥{{ item.totalFee | NumFormat }}</text></view>
+							<view class="view-num"
+								>合计:<text class="text">¥{{ item.totalFee | NumFormat }}</text></view
+							>
 						</view>
-					</view>
+					</view> -->
 				</view>
-				<view class="goods-pros-m" v-if="item.note">
+				<view class="goods-pros-m" v-if="orderInfo.note">
 					<view class="m-text">留言:</view>
 					<view class="m-input">
-						<view class="text">{{ item.note ? item.note : '' }}</view>
+						<view class="text">{{ orderInfo.note ? orderInfo.note : '' }}</view>
 					</view>
 				</view>
 			</view>
@@ -119,7 +127,9 @@
 						<view class="price-view-le">已付金额:</view>
 						<view class="price-view-ri">
 							¥{{ orderInfo.receiptAmount | NumFormat }}
-							<text v-if="orderInfo.accountAmount > 0">(余额抵扣:¥{{ orderInfo.accountAmount | NumFormat }})</text>
+							<text v-if="orderInfo.accountAmount > 0"
+								>(余额抵扣:¥{{ orderInfo.accountAmount | NumFormat }})</text
+							>
 						</view>
 					</view>
 					<view class="pros-price-view">
@@ -136,7 +146,6 @@
 export default {
 	name: 'goods',
 	props: {
-		
 		list: {
 			type: Array
 		},
@@ -146,9 +155,9 @@ export default {
 	},
 	data() {
 		return {
-			dataList: [], 
-			isHandelShow:false,
-			vipFlag: 0,
+			dataList: [],
+			isHandelShow: false,
+			vipFlag: 0
 		}
 	},
 	created() {
@@ -176,11 +185,11 @@ export default {
 			this.vipFlag = userInfo.vipFlag ? userInfo.vipFlag : 0
 			this.dataList = list
 		},
-		handelShowDetails(){
+		handelShowDetails() {
 			this.isHandelShow = !this.isHandelShow
 		},
 		goShophome(shop) {
-			if(shop.shopType === 2){
+			if (shop.shopType === 2) {
 				return
 			}
 			this.$api.navigateTo(`/pages/supplier/user/my-shop?shopId=${shop.shopId}`)
@@ -227,7 +236,7 @@ export default {
 			padding: 24rpx;
 			height: auto;
 			background: #ffffff;
-			border-bottom: 1px solid #E1E1E1;
+			border-bottom: 1px solid #e1e1e1;
 			float: left;
 			&:last-child {
 				border-bottom: none;
@@ -239,27 +248,27 @@ export default {
 			height: 56rpx;
 			line-height: 56rpx;
 			margin-bottom: 12rpx;
-            .floor-item-act{
-                height: 56rpx;
-                text-align: center;
-                box-sizing: border-box;
-                float: left;
-                padding: 10rpx 0;
-                margin-right: 12rpx;
-                .floor-tags{
-                    height: 28rpx;
-                    border-radius: 6rpx;
-                    background-color: #FFFFFF;
-                    line-height: 28rpx;
-                    color: $color-system;
-                    text-align: center;
-                    display: inline-block;
-                    padding:0 6rpx;
-                    font-size: $font-size-20;
-                    border: 1px solid #FF5B00;
-                    float: left;
-                }
-            }
+			.floor-item-act {
+				height: 56rpx;
+				text-align: center;
+				box-sizing: border-box;
+				float: left;
+				padding: 10rpx 0;
+				margin-right: 12rpx;
+				.floor-tags {
+					height: 28rpx;
+					border-radius: 6rpx;
+					background-color: #ffffff;
+					line-height: 28rpx;
+					color: $color-system;
+					text-align: center;
+					display: inline-block;
+					padding: 0 6rpx;
+					font-size: $font-size-20;
+					border: 1px solid #ff5b00;
+					float: left;
+				}
+			}
 			.title-text {
 				width: 400rpx;
 				overflow: hidden;
@@ -294,6 +303,9 @@ export default {
 			width: 100%;
 			height: auto;
 			margin: 20rpx 0;
+			&:last-child{
+				margin-bottom: 0;
+			}
 			.pros-left {
 				width: 210rpx;
 				height: 100%;
@@ -338,7 +350,7 @@ export default {
 				width: 50%;
 				.view-num {
 					float: left;
-					.text{
+					.text {
 						color: #333333;
 					}
 				}
@@ -480,29 +492,29 @@ export default {
 		.goods-pros-b {
 			width: 100%;
 			float: left;
-			.pros-price-view{
+			.pros-price-view {
 				width: 100%;
 				height: 44rpx;
 				font-size: 24rpx;
 				line-height: 44rpx;
-				.price-view-le{
+				.price-view-le {
 					float: left;
 					color: #999999;
 					text-align: left;
 				}
-				.price-view-ri{
+				.price-view-ri {
 					float: right;
 					color: #333333;
 					text-align: right;
-					&.red{
-						color: #F94B4B;
+					&.red {
+						color: #f94b4b;
 					}
 				}
 			}
-			.pros-price-btn{
+			.pros-price-btn {
 				width: 100%;
 				height: 48rpx;
-				.btn{
+				.btn {
 					width: 168rpx;
 					height: 48rpx;
 					line-height: 46rpx;
@@ -514,7 +526,6 @@ export default {
 					margin: 0 auto;
 					font-size: $font-size-24;
 					.iconfont {
-						
 					}
 				}
 			}

+ 1 - 1
pages/user/order/components/details/cm-order-temp.vue

@@ -9,7 +9,7 @@
 					</view>
 				</view>
 			</view>
-			<view class="information-view same">
+			<view class="information-view same" v-if="orderData.presentNum > 0">
 				<view class="view-man">
 					赠品总数:<label class="label">{{
 						orderData.presentNum

+ 1 - 1
pages/user/order/order-sharedetails.vue

@@ -84,7 +84,7 @@ export default {
 			this.OrderService.QueryOrderDetails({ shopOrderId: this.shopOrderId, userId: this.userId })
 				.then(response => {
 					let data = response.data
-					this.status = data.order.status
+					this.status = data.shopOrder.status
 					this.addressData = data.userInfo
 					this.orderInfo = data.shopOrder
 					this.shopOrderData = data.shopOrderList

+ 103 - 134
pages/user/order/search-order.vue

@@ -57,17 +57,20 @@
 							class="tui-order-item"
 							v-for="(order, orderIndex) in orderList"
 							:key="orderIndex"
-							@click.stop="detail(order.orderId)"
+							@click.stop="detail(order.shopOrderId)"
 						>
 							<view class="order-title">
 								<view class="order-title-t">
+									<view class="order-title-tip tui-skeleton-fillet">
+										{{ order.status | statusFilters }}
+									</view>
 									<text
-										class="bage-buss tui-skeleton-fillet"
+										class="bage buss tui-skeleton-fillet"
 										v-if="order.orderSubmitType == 3 || order.orderSubmitType == 4"
 										>协销</text
 									>
 									<text
-										class="bage-auto tui-skeleton-fillet"
+										class="bage auto tui-skeleton-fillet"
 										v-if="
 											order.orderSubmitType == 0 ||
 												order.orderSubmitType == 1 ||
@@ -75,7 +78,6 @@
 										"
 										>自主</text
 									>
-									<text class="bage-text tui-skeleton-fillet">订单编号:{{ order.orderNo }}</text>
 									<image
 										class="bage-icon"
 										src="https://static.caimei365.com/app/img/icon/icon-type@3x.png"
@@ -83,102 +85,91 @@
 										v-if="order.secondHandOrderFlag == 1"
 									></image>
 								</view>
-								<view class="order-title-b">
-									<view class="order-title-btxt tui-skeleton-fillet"
-										>下单时间:{{ order.orderTime }}</view
-									>
-									<view class="order-title-tip tui-skeleton-fillet">{{
-										order.status | StateExpFormat
-									}}</view>
-								</view>
 							</view>
-							<block v-for="(shop, index) in order.shopOrderList" :key="index">
+							<view
+								class="goods-item"
+								v-for="(pros, prosIndex) in order.orderProductList"
+								:key="prosIndex"
+							>
 								<view class="goods-title">
-									<view v-if="shop.shopPromotion" class="floor-item-act">
-										<view class="floor-tags">{{ shop.shopPromotion.name }}</view>
+									<view v-if="pros.shopPromotion" class="floor-item-act">
+										<view class="floor-tags">{{ pros.shopPromotion.name }}</view>
+									</view>
+									<view class="title-text tui-skeleton-fillet">
+										{{ pros.shopName }}
 									</view>
-									<view class="title-text tui-skeleton-fillet">{{ shop.shopName }}</view>
 								</view>
-								<view
-									class="goods-item"
-									v-for="(pros, prosIndex) in shop.orderProductList"
-									:key="prosIndex"
-								>
-									<view class="goods-pros-t">
-										<view class="pros-img tui-skeleton-fillet">
-											<image :src="pros.image" alt="" />
-											<text class="tips" v-if="pros.giftType == 2 || pros.giftType == 1"
-												>赠品</text
-											>
-										</view>
-										<view class="pros-product">
-											<view class="producttitle tui-skeleton-fillet">{{ pros.name }}</view>
+								<view class="goods-pros-t">
+									<view class="pros-img tui-skeleton-fillet">
+										<image :src="pros.image" alt="" />
+										<text class="tips" v-if="pros.giftType == 2 || pros.giftType == 1"
+											>赠品</text
+										>
+									</view>
+									<view class="pros-product clearfix">
+										<view class="producttitle tui-skeleton-fillet">{{ pros.name }}</view>
+										<view
+											class="productspec tui-skeleton-fillet"
+											v-if="pros.productCategory != 2"
+											>规格:{{ pros.productUnit }}</view
+										>
+										<view class="productprice">
 											<view
-												class="productspec tui-skeleton-fillet"
-												v-if="pros.productCategory != 2"
-												>规格:{{ pros.productUnit }}</view
+												class="price tui-skeleton-fillet"
+												:class="
+													pros.svipPriceFlag == 1 ||
+													PromotionsFormat(pros.productPromotion)
+														? 'none'
+														: ''
+												"
 											>
-											<view class="productprice">
+												<text>¥{{ pros.price | NumFormat }}</text>
+											</view>
+											<view class="count tui-skeleton-fillet">
+												<text class="small">x</text>{{ pros.num }}
+											</view>
+										</view>
+										<view class="floor-item-act">
+											<template v-if="pros.productPromotion">
 												<view
-													class="price tui-skeleton-fillet"
-													:class="
-														pros.svipPriceFlag == 1 ||
-														PromotionsFormat(pros.productPromotion)
-															? 'none'
-															: ''
-													"
+													v-if="PromotionsFormat(pros.productPromotion)"
+													class="floor-tags"
+													@click.stop="clickPopupShow(pros.productPromotion)"
 												>
-													<text>¥{{ pros.price | NumFormat }}</text>
+													{{ pros.productPromotion.name }}
+													<text
+														v-if="
+															pros.productPromotion != null &&
+																pros.productPromotion.type != 3
+														"
+													>
+														:¥{{
+															pros.productPromotion == null
+																? '0.00'
+																: pros.productPromotion.touchPrice | NumFormat
+														}}
+													</text>
 												</view>
-												<view class="count tui-skeleton-fillet">
-													<text class="small">x</text>{{ pros.num }}
+												<view
+													v-else-if="pros.productPromotion.type != 3"
+													class="floor-tags"
+													@click.stop="clickPopupShow(pros.productPromotion)"
+													>{{ pros.productPromotion.name }}</view
+												>
+											</template>
+											<template v-if="pros.svipPriceFlag == 1">
+												<view class="svip-tags">
+													<view class="tags">SVIP</view>
+													<view class="price">{{ pros.svipPriceTag }}</view>
 												</view>
-											</view>
-											<view class="floor-item-act">
-												<template v-if="pros.productPromotion">
-													<view
-														v-if="PromotionsFormat(pros.productPromotion)"
-														class="floor-tags"
-														@click.stop="clickPopupShow(pros.productPromotion)"
-													>
-														{{ pros.productPromotion.name }}
-														<text
-															v-if="
-																pros.productPromotion != null &&
-																	pros.productPromotion.type != 3
-															"
-														>
-															:¥{{
-																pros.productPromotion == null
-																	? '0.00'
-																	: pros.productPromotion.touchPrice | NumFormat
-															}}
-														</text>
-													</view>
-													<view
-														v-else-if="pros.productPromotion.type != 3"
-														class="floor-tags"
-														@click.stop="clickPopupShow(pros.productPromotion)"
-														>{{ pros.productPromotion.name }}</view
-													>
-												</template>
-												<template v-if="pros.svipPriceFlag == 1">
-													<view class="svip-tags">
-														<view class="tags">SVIP</view>
-														<view class="price">{{ pros.svipPriceTag }}</view>
-													</view>
-												</template>
-											</view>
+											</template>
 										</view>
 									</view>
 								</view>
-							</block>
+							</view>
 							<view class="order-footer">
-								<view class="order-footer-top" v-if="order.discountFee != 0"
-									>经理折扣:¥{{ order.discountFee | NumFormat }}</view
-								>
 								<view class="order-footer-bot">
-									<view class="count tui-skeleton-fillet">共{{ order.productCount }}件商品</view>
+									<view class="count tui-skeleton-fillet">共{{ order.itemCount }}件商品</view>
 									<view
 										class="money tui-skeleton-fillet"
 										v-if="order.status == 31 || order.status == 32 || order.status == 33"
@@ -189,7 +180,7 @@
 									</view>
 									<view class="money tui-skeleton-fillet" v-else>
 										待付总额:<label style="color:#f94b4b ;"
-											>¥{{ order.pendingPayments | NumFormat }}</label
+											>¥{{ order.obligation | NumFormat }}</label
 										>
 									</view>
 								</view>
@@ -204,8 +195,8 @@
 							/>
 						</view>
 						<!--加载loadding-->
-						<tui-loadmore :visible="loadding" :index="3" type="black"></tui-loadmore>
-						<tui-nomore :visible="!pullUpOn" :backgroundColor="'#ffffff'" :text="nomoreText"></tui-nomore>
+						<tui-loadmore :visible="loadding" :index="3" type="black" />
+						<tui-nomore :visible="!pullUpOn" :backgroundColor="'#ffffff'" :text="nomoreText" />
 						<!--加载loadding-->
 					</view>
 				</view>
@@ -220,7 +211,7 @@
 			@paymentConfirm="hanldPaymentConfirm"
 		/>
 		<!-- 分享弹窗 -->
-		<cm-share-popup :orderId="btnoRderID" v-if="isShareModal" @shareConfirm="onShareAppMessage" />
+		<cm-share-popup :shopOrderId="handleShopOrderId" v-if="isShareModal" @shareConfirm="onShareAppMessage" />
 		<!-- 采美豆提示弹窗 -->
 		<activityBean
 			v-if="isActivityBean"
@@ -331,8 +322,8 @@ export default {
 			//处理金额
 			return Number(value).toFixed(2)
 		},
-		StateExpFormat(state) {
-			//订单状态文字和颜色
+		statusFilters(value) {
+			//处理订单状态显示
 			const map = {
 				0: '待确认',
 				2: '交易完成',
@@ -349,8 +340,8 @@ export default {
 				32: '已付款部分发货',
 				33: '已付款已发货'
 			}
-			return map[state]
-		},
+			return map[value]
+		}
 	},
 	methods: {
 		subMitSearch() {
@@ -654,7 +645,7 @@ export default {
 			}
 			return {
 				title: '您有新的分享订单,快来查看吧~',
-				path: `/pages/user/order/order-sharelogin?orderID=${this.btnoRderID}&userId=${this.listQuery.userId}`,
+				path: `/pages/user/order/order-sharelogin?shopOrderId=${this.handleShopOrderId}&userId=${this.listQuery.userId}`,
 				imageUrl: 'https://static.caimei365.com/app/img/bg/min-banner.jpg'
 			}
 		},
@@ -927,56 +918,34 @@ page {
 			height: 50rpx;
 			display: block;
 			position: absolute;
-			right: 0;
-			top: 9rpx;
+			right: 110rpx;
+			top: 12rpx;
 		}
-		.bage-buss {
+		.bage{
 			display: inline-block;
 			width: 72rpx;
-			height: 30rpx;
-			background: radial-gradient(circle, rgba(255, 39, 180, 1) 0%, rgba(193, 77, 245, 1) 100%);
+			height: 32rpx;
+			margin: 19rpx 10rpx 0 10rpx;
 			border-radius: 4rpx;
-			line-height: 30rpx;
+			line-height: 32rpx;
 			font-size: $font-size-22;
 			text-align: center;
 			color: #ffffff;
-		}
-		.bage-auto {
-			display: inline-block;
-			width: 72rpx;
-			height: 30rpx;
-			background: radial-gradient(circle, rgba(255, 180, 39, 1) 0%, rgba(245, 142, 77, 1) 100%);
-			border-radius: 4rpx;
-			line-height: 30rpx;
-			font-size: $font-size-22;
-			text-align: center;
-			color: #ffffff;
-		}
-		.bage-text {
-			display: inline-block;
-			font-size: $font-size-28;
-			line-height: 68rpx;
-			text-align: left;
-			color: $color-system;
-			margin-left: 10rpx;
-		}
-	}
-	.order-title-b {
-		width: 100%;
-		height: 40rpx;
-		float: left;
-		margin-top: 8rpx;
-		.order-title-btxt {
-			float: left;
-			font-size: $font-size-28;
-			line-height: 40rpx;
-			color: #999999;
-			text-align: lef;
+			float: right;
+			&.buss{
+				background: radial-gradient(circle, rgba(255, 39, 180, 1) 0%, rgba(193, 77, 245, 1) 100%);
+			}
+			&.auto{
+				background: radial-gradient(circle, rgba(255, 180, 39, 1) 0%, rgba(245, 142, 77, 1) 100%);
+			}
+			&.ebate{
+				background: #ff7a51;
+			}
 		}
 		.order-title-tip {
-			float: right;
+			float: left;
 			font-size: $font-size-28;
-			line-height: 40rpx;
+			line-height: 68rpx;
 			text-align: right;
 			color: #ff2a2a;
 		}