|
@@ -48,8 +48,8 @@
|
|
|
</view>
|
|
|
<view class="item-detail">
|
|
|
<view class="item-detail-info">
|
|
|
- <view class="flex" v-if="isTire">
|
|
|
- <text class="item-detail-text">原厂编码:</text>
|
|
|
+ <view class="flex" v-if="item.productTypeSn=='543766811373752320'">
|
|
|
+ <text class="item-detail-text" style="width: 4.5rem;">原厂编码:</text>
|
|
|
<u-tag :text="item.origCode" mode="light" borderColor="#ffffff" type="warning" size="large"></u-tag>
|
|
|
</view>
|
|
|
<view class="flex justify_between">
|
|
@@ -108,8 +108,8 @@
|
|
|
</view>
|
|
|
<view class="item-detail">
|
|
|
<view class="item-detail-info">
|
|
|
- <view class="flex" v-if="isTire">
|
|
|
- <text class="item-detail-text">原厂编码:</text>
|
|
|
+ <view class="flex" v-if="item.productTypeSn=='543766811373752320'">
|
|
|
+ <text class="item-detail-text" style="width: 4.5rem;">原厂编码:</text>
|
|
|
<u-tag :text="item.origCode" mode="light" borderColor="#ffffff" type="warning" size="large"></u-tag>
|
|
|
</view>
|
|
|
<view class="flex justify_between">
|
|
@@ -184,8 +184,8 @@
|
|
|
</view>
|
|
|
<view class="item-detail">
|
|
|
<view class="item-detail-info">
|
|
|
- <view class="flex" v-if="isTire" style="padding-bottom: 5px;">
|
|
|
- <text class="item-detail-text">原厂编码:</text>
|
|
|
+ <view class="flex" v-if="item.productTypeSn=='543766811373752320'" style="padding-bottom: 5px;">
|
|
|
+ <text class="item-detail-text" style="width: 4.5rem;">原厂编码:</text>
|
|
|
<u-tag :text="item.origCode" mode="light" borderColor="#ffffff" type="warning" size="large"></u-tag>
|
|
|
</view>
|
|
|
<view class="flex justify_between">
|
|
@@ -224,6 +224,10 @@
|
|
|
<text>产品编码</text>
|
|
|
<text>{{tempData.code||'--'}}</text>
|
|
|
</view>
|
|
|
+ <view v-if="tempData.productTypeSn=='543766811373752320'">
|
|
|
+ <text>原厂编码</text>
|
|
|
+ <text>{{tempData.origCode||'--'}}</text>
|
|
|
+ </view>
|
|
|
<view>
|
|
|
<text>产品名称</text>
|
|
|
<text>{{tempData.name||'--'}}</text>
|
|
@@ -281,10 +285,6 @@
|
|
|
modelLabel(){
|
|
|
return this.carInfo&&this.carInfo.text||''
|
|
|
},
|
|
|
- isTire(){
|
|
|
- const a = this.leve2Data.find(item => item.id == this.curLeve2)
|
|
|
- return a && a.label.indexOf("轮胎")>=0
|
|
|
- },
|
|
|
cartNums(){
|
|
|
let ret = 0
|
|
|
this.partListData.map(item => {
|
|
@@ -535,6 +535,7 @@
|
|
|
code: item.code,
|
|
|
origCode: item.origCode,
|
|
|
qty: item.qty,
|
|
|
+ productTypeSn: item.productTypeSn,
|
|
|
images: item.images,
|
|
|
checked: true,
|
|
|
affiliation: item.affiliation
|
|
@@ -819,6 +820,9 @@
|
|
|
.item-detail{
|
|
|
.item-detail-info{
|
|
|
padding: 10upx 0 4upx;
|
|
|
+ /deep/ .u-tag{
|
|
|
+ word-break: break-all;
|
|
|
+ }
|
|
|
> view{
|
|
|
padding-bottom: 10rpx;
|
|
|
align-items: center;
|
|
@@ -921,6 +925,9 @@
|
|
|
.item-detail{
|
|
|
.item-detail-info{
|
|
|
padding: 10upx 0 4upx;
|
|
|
+ /deep/ .u-tag{
|
|
|
+ word-break: break-all;
|
|
|
+ }
|
|
|
> view{
|
|
|
padding-bottom: 20rpx;
|
|
|
align-items: center;
|