|
@@ -1,8 +1,8 @@
|
|
|
<template>
|
|
|
<view class="productPricing-content">
|
|
|
<view class="checkbox-price">
|
|
|
- <u-checkbox-group placement="row">
|
|
|
- <u-checkbox v-model="item.checked" activeColor="rgb(4, 133, 246)" v-for="(item,index) in tabList" :key="index" :name="item.val">{{item.name}}</u-checkbox>
|
|
|
+ <u-checkbox-group placement="row" :size="28">
|
|
|
+ <u-checkbox :label-size="26" v-model="item.checked" activeColor="rgb(4, 133, 246)" v-for="(item,index) in tabList" :key="index" :name="item.val">{{item.name}}</u-checkbox>
|
|
|
</u-checkbox-group>
|
|
|
</view>
|
|
|
<scroll-view class="product-list" scroll-y @scrolltolower="onreachBottom">
|
|
@@ -27,32 +27,30 @@
|
|
|
<view class="padding_3">产品编码:{{item.code}} <copyText :text="item.code" label="产品编码"></copyText></view>
|
|
|
<view class="padding_3">原厂编码:{{(item.origCode&&item.origCode!=' ')?item.origCode:'--'}} </view>
|
|
|
<view class="padding_3">品牌:{{item.productBrandName || '--'}} </view>
|
|
|
- <view class="flex align_center justify_between">
|
|
|
- <view class="font_13">
|
|
|
- 库存数:<text>{{toThousands(item.stockQty|| 0)}} 个</text>
|
|
|
- </view>
|
|
|
- <view class="font_13">
|
|
|
- 车主价:<text class="red">¥{{toThousands(item.carOwnersPrice|| 0,2)}} </text>
|
|
|
- </view>
|
|
|
+ <view class="font_13">
|
|
|
+ 库存数:<text>{{toThousands(item.stockQty|| 0)}} 个</text>
|
|
|
+ </view>
|
|
|
+ <view class="font_13">
|
|
|
+ 车主价/自定义车主价:<text class="red">¥{{toThousands(item.carOwnersPrice|| 0,2)}}/{{item.dealerProductPrice&&(item.dealerProductPrice.carOwnersPrice||item.dealerProductPrice.carOwnersPrice==0)?toThousands(item.dealerProductPrice.carOwnersPrice,2):'--'}} </text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="price-all flex" v-if="selPriceShow">
|
|
|
- <view class="price-item" v-if="priceList[0].checked">
|
|
|
+ <view class="price-item1" v-if="priceList[0].checked">
|
|
|
<text>{{toThousands(item.offerCost|| 0,2)}} </text>
|
|
|
<view>成本价</view>
|
|
|
</view>
|
|
|
- <view class="price-item" v-if="priceList[1].checked">
|
|
|
+ <view class="price-item1" v-if="priceList[1].checked">
|
|
|
<text>{{toThousands(item.cityPrice|| 0,2)}} </text>
|
|
|
<view>市级价</view>
|
|
|
</view>
|
|
|
- <view class="price-item" v-if="priceList[2].checked">
|
|
|
+ <view class="price-item1" v-if="priceList[2].checked">
|
|
|
<text>{{toThousands(item.specialPrice|| 0,2)}} </text>
|
|
|
<view>特约价</view>
|
|
|
</view>
|
|
|
- <view class="price-item" v-if="priceList[3].checked">
|
|
|
- <text>{{toThousands(item.terminalPrice|| 0,2)}} </text>
|
|
|
- <view>终端会员价</view>
|
|
|
+ <view class="price-item2" v-if="priceList[3].checked">
|
|
|
+ <text>{{toThousands(item.terminalPrice|| 0,2)}}/{{item.dealerProductPrice&&(item.dealerProductPrice.terminalPrice||item.dealerProductPrice.terminalPrice==0)?toThousands(item.dealerProductPrice.terminalPrice,2):'--'}} </text>
|
|
|
+ <view>终端价/自定义终端价</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -83,7 +81,7 @@
|
|
|
{ name: '成本价', checked: false, val: 'offerCost' },
|
|
|
{ name: '市级价', checked: false, val: 'cityPrice' },
|
|
|
{ name: '特约价', checked: false, val: 'specialPrice' },
|
|
|
- { name: '终端会员价', checked: false, val: 'terminalPrice' },
|
|
|
+ { name: '终端价/自定义终端价', checked: false, val: 'terminalPrice' },
|
|
|
],
|
|
|
pageNo:1,
|
|
|
pageSize:15,
|
|
@@ -242,16 +240,21 @@
|
|
|
.price-all{
|
|
|
border-top: 1px solid #e4e7ed;
|
|
|
padding: 20upx 20upx 0;
|
|
|
- .price-item{
|
|
|
- width: 25%;
|
|
|
+ .price-item1{
|
|
|
+ width: 18%;
|
|
|
border-right: 1px solid #e4e7ed;
|
|
|
text-align: center;
|
|
|
>view{
|
|
|
color:#999;
|
|
|
}
|
|
|
}
|
|
|
- .price-item:last-child{
|
|
|
+ .price-item2{
|
|
|
+ width: 46%;
|
|
|
border-right: none;
|
|
|
+ text-align: center;
|
|
|
+ >view{
|
|
|
+ color:#999;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|