|
|
@@ -5,7 +5,8 @@
|
|
|
</view>
|
|
|
|
|
|
|
|
|
- <view class="material " v-for="(it, idx) in list" :key="idx">
|
|
|
+ <view :class="['material', it.extInfo.reportWeight && it.extInfo.reportWeight && 'materialBor']"
|
|
|
+ v-for="(it, idx) in list" :key="idx">
|
|
|
|
|
|
|
|
|
<view class="content_table">
|
|
|
@@ -21,7 +22,7 @@
|
|
|
</view>
|
|
|
<view class="content rx-bc">
|
|
|
<view>{{it.code}} </view>
|
|
|
- <view
|
|
|
+ <view class="tag_box"
|
|
|
v-if="Object.prototype.hasOwnProperty.call(it, 'extInfo') && Object.prototype.hasOwnProperty.call(it.extInfo, 'productionTimes') && Object.prototype.hasOwnProperty.call(it.extInfo.productionTimes,item.currentTaskDiagram.taskId) ">
|
|
|
{{ it.extInfo.productionTimes[item.currentTaskDiagram.taskId]}}
|
|
|
</view>
|
|
|
@@ -34,12 +35,14 @@
|
|
|
<view class="item rx-sc">
|
|
|
<view class="rx">
|
|
|
<view class="lable lable150 rx-cc ">名称</view>
|
|
|
- <view class="content rx-sc">
|
|
|
+ <view class="content rx-bc">
|
|
|
|
|
|
<view>{{it.name}} <text v-if="[2, 23,9,28].includes(Number(it.rootCategoryLevelId))">
|
|
|
|
|
|
({{it.rootCategoryLevelId == 2 ? '在制品' : it.rootCategoryLevelId == 23 ? '半成品' : it.rootCategoryLevelId == 9 ? '产品' : it.rootCategoryLevelId == 28 ? '废品' : '' }})
|
|
|
</text> </view>
|
|
|
+
|
|
|
+ <view class="tag_box " v-if="it.isCache" style="margin-right: -36rpx;">缓</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -652,14 +655,17 @@
|
|
|
}
|
|
|
|
|
|
|
|
|
- .material {
|
|
|
- margin-top: 10rpx;
|
|
|
|
|
|
|
|
|
+ .material {
|
|
|
+ margin-top: 16rpx;
|
|
|
+ border: 1rpx solid transparent;
|
|
|
+
|
|
|
|
|
|
.content_table {
|
|
|
width: 100%;
|
|
|
border: 2rpx solid $border-color;
|
|
|
+ box-sizing: border-box;
|
|
|
|
|
|
.item {
|
|
|
display: flex;
|
|
|
@@ -747,17 +753,28 @@
|
|
|
.ww45 {
|
|
|
width: 45%;
|
|
|
}
|
|
|
+
|
|
|
+ .tag_box {
|
|
|
+ padding: 2rpx 10rpx;
|
|
|
+ margin-right: 12rpx;
|
|
|
+ background: #E6A23C;
|
|
|
+ font-size: 22rpx;
|
|
|
+ color: #fff;
|
|
|
+ border-radius: 4rpx;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
+ .materialBor {
|
|
|
+ border: 1rpx solid #157A2C
|
|
|
+ }
|
|
|
|
|
|
|
|
|
.content_table2 {
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
|
-
|
|
|
.row {
|
|
|
width: 100%;
|
|
|
|
|
|
@@ -805,8 +822,9 @@
|
|
|
.head {
|
|
|
height: 64rpx;
|
|
|
background: #F7F9FA;
|
|
|
- border-top: 2rpx solid #E3E5E5;
|
|
|
+ // border-top: 2rpx solid #E3E5E5;
|
|
|
border-left: 2rpx solid #E3E5E5;
|
|
|
+ box-sizing: border-box;
|
|
|
|
|
|
.item {
|
|
|
height: 64rpx;
|