|
@@ -50,7 +50,7 @@
|
|
|
<view class="item-detail-info">
|
|
|
<view class="flex justify_between">
|
|
|
<view>
|
|
|
- <text class="item-detail-text flex_1">{{item.code}}</text>
|
|
|
+ <text class="item-detail-text flex_1">{{isTire?item.origCode:item.code}}</text>
|
|
|
<u-tag v-if="commonPartCodeList.includes(item.code)" size="mini" style="margin-left: 5px;" text="通用" mode="light" shape="circle" type="success"></u-tag>
|
|
|
</view>
|
|
|
<text class="item-detail-text" v-if="item.affiliation=='SHELF'">库存:{{item.currentInven?item.currentInven:0}} {{item.unit}}</text>
|
|
@@ -105,7 +105,7 @@
|
|
|
<view class="item-detail">
|
|
|
<view class="item-detail-info">
|
|
|
<view class="flex justify_between">
|
|
|
- <text class="item-detail-text flex_1">{{item.code}}</text>
|
|
|
+ <text class="item-detail-text flex_1">{{isTire?item.origCode:item.code}}</text>
|
|
|
<text class="item-detail-text">库存:{{item.currentInven?item.currentInven:0}} {{item.unit}}</text>
|
|
|
</view>
|
|
|
<view class="flex justify_between">
|
|
@@ -177,7 +177,7 @@
|
|
|
<view class="item-detail">
|
|
|
<view class="item-detail-info">
|
|
|
<view class="flex justify_between">
|
|
|
- <text class="item-detail-text flex_1">{{item.code}}</text>
|
|
|
+ <text class="item-detail-text flex_1">{{isTire?item.origCode:item.code}}</text>
|
|
|
<text class="item-detail-text" v-if="item.affiliation!='SUPER_CATALOGUE'">库存:{{item.currentInven?item.currentInven:0}} {{item.unit}}</text>
|
|
|
</view>
|
|
|
<view class="flex justify_between">
|
|
@@ -269,6 +269,10 @@
|
|
|
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 => {
|