Browse Source

订单模块 协销确认订单 商品赠品标签

zhengjinyi 3 years ago
parent
commit
2b61a39d48
1 changed files with 3 additions and 3 deletions
  1. 3 3
      components/cm-module/creatOrder/sellerGoodsList.vue

+ 3 - 3
components/cm-module/creatOrder/sellerGoodsList.vue

@@ -13,7 +13,7 @@
 					<view class="goods-pros-t">
 						<view class="pros-img">
 							<image :src="pros.image" alt="" />
-							<text class="tips" v-if="pros.giftType == 2 || pros.giftType == 1">赠品</text>
+							<text class="tips" v-if="pros.productType == 2 || pros.productType == 1">赠品</text>
 						</view>
 						<view class="pros-product">
 							<view class="producttitle">{{ pros.name }}</view>
@@ -63,7 +63,7 @@
 
 <script>
 	export default{
-		name:"goods",
+		name:'goods',
 		props:{
 			goodsData:{
 				type:Array
@@ -79,7 +79,7 @@
 		},
 		filters:{
 			NumFormat(value) {//处理金额
-				return Number(value).toFixed(2);
+				return Number(value).toFixed(2)
 			},
 		},	
 		watch: {