|
@@ -13,7 +13,8 @@
|
|
|
</view>
|
|
|
<view class="item-info uni-row">
|
|
|
<text class="label">产品描述</text>
|
|
|
- <text class="label right">{{ store.planDetails['productDescription'] ? store.planDetails['productDescription'] : '-' }}</text>
|
|
|
+ <text
|
|
|
+ class="label right">{{ store.planDetails['productDescription'] ? store.planDetails['productDescription'] : '-' }}</text>
|
|
|
</view>
|
|
|
<view class="item-info uni-row">
|
|
|
<text class="label">箱号</text>
|
|
@@ -21,15 +22,17 @@
|
|
|
</view>
|
|
|
<view class="item-info uni-row">
|
|
|
<text class="label">投入数</text>
|
|
|
- <text class="label right">{{lotData['processQualifiedNum'] == 0 ? lotData['productionQuantity'] : lotData['processQualifiedNum']}}</text>
|
|
|
+ <text
|
|
|
+ class="label right">{{lotData['processQualifiedNum'] == 0 ? lotData['productionQuantity'] : lotData['processQualifiedNum']}}</text>
|
|
|
</view>
|
|
|
<view class="item-info uni-row">
|
|
|
- <text class="label">上道工序</text>
|
|
|
+ <text class="label">已完成工序</text>
|
|
|
<text class="label right">{{ lotData.prevProcess ? lotData['prevProcess'].processAlias : '-'}}</text>
|
|
|
</view>
|
|
|
<view class="item-info uni-row">
|
|
|
- <text class="label">当前工序</text>
|
|
|
- <text class="label right">{{ lotData.currentProcess ? lotData['currentProcess'].processAlias : '-'}}</text>
|
|
|
+ <text class="label">待加工工序</text>
|
|
|
+ <text
|
|
|
+ class="label right">{{ lotData.currentProcess ? lotData['currentProcess'].processAlias : '-'}}</text>
|
|
|
</view>
|
|
|
<view class="item-info uni-row">
|
|
|
<text class="label">下道工序</text>
|
|
@@ -37,7 +40,7 @@
|
|
|
</view>
|
|
|
<view class="item-info uni-row">
|
|
|
<text class="label">所在区域</text>
|
|
|
- <text class="label right">{{ lotData['place'] ? lotData['place'] : '-' }}</text>
|
|
|
+ <text class="label right">{{ getPlaceText(lotData)}}</text>
|
|
|
</view>
|
|
|
<view class='middle'>
|
|
|
<view class='segment'></view>
|
|
@@ -47,11 +50,13 @@
|
|
|
</view>
|
|
|
<view class="item-info uni-row">
|
|
|
<text class="label">炉号</text>
|
|
|
- <text id="manufacturer" class="label right">{{ furnaceNoInfo.furnaceNumber ? furnaceNoInfo.furnaceNumber : '-'}}</text>
|
|
|
+ <text id="manufacturer"
|
|
|
+ class="label right">{{ furnaceNoInfo.furnaceNumber ? furnaceNoInfo.furnaceNumber : '-'}}</text>
|
|
|
</view>
|
|
|
<view class="item-info uni-row">
|
|
|
<text class="label">计划单号</text>
|
|
|
- <text id="manufacturer" class="label right">{{ furnaceNoInfo.productionPlanNo ? furnaceNoInfo.productionPlanNo : '-'}}</text>
|
|
|
+ <text id="manufacturer"
|
|
|
+ class="label right">{{ furnaceNoInfo.productionPlanNo ? furnaceNoInfo.productionPlanNo : '-'}}</text>
|
|
|
</view>
|
|
|
<view class="item-info uni-row">
|
|
|
<text class="label">序号</text>
|
|
@@ -79,7 +84,8 @@
|
|
|
</view>
|
|
|
<view class="item-info uni-row">
|
|
|
<text class="label">原料编码</text>
|
|
|
- <text class="label right">{{ furnaceNoInfo.rawMaterialCode ? furnaceNoInfo.rawMaterialCode : '-' }}</text>
|
|
|
+ <text
|
|
|
+ class="label right">{{ furnaceNoInfo.rawMaterialCode ? furnaceNoInfo.rawMaterialCode : '-' }}</text>
|
|
|
</view>
|
|
|
<view class="item-info uni-row">
|
|
|
<text class="label">来料日期</text>
|
|
@@ -87,11 +93,13 @@
|
|
|
</view>
|
|
|
<view class="item-info uni-row">
|
|
|
<text class="label">技术要求1</text>
|
|
|
- <text class="label right">{{ furnaceNoInfo.firstTechnicalRequirement ? furnaceNoInfo.firstTechnicalRequirement : '-' }}</text>
|
|
|
+ <text
|
|
|
+ class="label right">{{ furnaceNoInfo.firstTechnicalRequirement ? furnaceNoInfo.firstTechnicalRequirement : '-' }}</text>
|
|
|
</view>
|
|
|
<view class="item-info uni-row">
|
|
|
<text class="label">技术要求2</text>
|
|
|
- <text class="label right">{{ furnaceNoInfo.secondTechnicalRequirement ? furnaceNoInfo.secondTechnicalRequirement : '-' }}</text>
|
|
|
+ <text
|
|
|
+ class="label right">{{ furnaceNoInfo.secondTechnicalRequirement ? furnaceNoInfo.secondTechnicalRequirement : '-' }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
@@ -131,6 +139,13 @@
|
|
|
})
|
|
|
}
|
|
|
|
|
|
+ function getPlaceText(item) {
|
|
|
+ let place = item.dayworkItemList[0].place == "" ? item.dayworkItemList[0].turnoverArea == "" ?
|
|
|
+ '-' : item.dayworkItemList[0].turnoverArea : item.dayworkItemList[0].place
|
|
|
+ let deptName = item.dayworkItemList[0].deptName
|
|
|
+ return place == "-" ? deptName + "-" : deptName + "-" + place
|
|
|
+ }
|
|
|
+
|
|
|
function close() {
|
|
|
baseDialog.value.close()
|
|
|
}
|
|
@@ -189,20 +204,20 @@
|
|
|
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.middle {
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
align-items: center;
|
|
|
justify-content: center
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.segment {
|
|
|
width: 80rpx;
|
|
|
background-color: rgba(213, 213, 213, 1);
|
|
|
border: 1rpx solid rgba(213, 213, 213, 1);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.lotTitle {
|
|
|
margin: 16rpx 16rpx 16rpx 0;
|
|
|
}
|