|
@ -1,9 +1,9 @@ |
|
|
<template> |
|
|
<template> |
|
|
<view class="" style="background-color: #fff;"> |
|
|
<view class="" style="background-color: #fff;"> |
|
|
<view class=""> |
|
|
<view class=""> |
|
|
<view class="" > |
|
|
<view class=""> |
|
|
<view class="cell_box uni-flex uni-row"> |
|
|
<view class="cell_box uni-flex uni-row"> |
|
|
<!-- <view class="cell_info"> |
|
|
<!-- <view class="cell_info"> |
|
|
<view class="text_lightblue">类型</view> |
|
|
<view class="text_lightblue">类型</view> |
|
|
<view>{{getInspectType(jobContent.inspectType)}}</view> |
|
|
<view>{{getInspectType(jobContent.inspectType)}}</view> |
|
|
</view> --> |
|
|
</view> --> |
|
@ -19,7 +19,7 @@ |
|
|
<view class="text_lightblue">不合格数</view> |
|
|
<view class="text_lightblue">不合格数</view> |
|
|
<view style="color: #F56C6C;">{{jobContent.failedQty}}{{getUnitInfo(jobContent.uom)}}</view> |
|
|
<view style="color: #F56C6C;">{{jobContent.failedQty}}{{getUnitInfo(jobContent.uom)}}</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="cell_info"> |
|
|
<view class="cell_info"> |
|
|
<view class="text_lightblue">报废数</view> |
|
|
<view class="text_lightblue">报废数</view> |
|
|
<view style="color: #EC9C00">{{jobContent.crackQty}}{{getUnitInfo(jobContent.uom)}}</view> |
|
|
<view style="color: #EC9C00">{{jobContent.crackQty}}{{getUnitInfo(jobContent.uom)}}</view> |
|
@ -32,7 +32,8 @@ |
|
|
<uni-collapse ref="collapse1" @change=""> |
|
|
<uni-collapse ref="collapse1" @change=""> |
|
|
<uni-collapse-item :open="true"> |
|
|
<uni-collapse-item :open="true"> |
|
|
<template v-slot:title> |
|
|
<template v-slot:title> |
|
|
<item-compare-qty :dataContent="dataContent" :handleQty="Number(dataContent.handleQty)" :isShowStdPack="false"> |
|
|
<item-compare-qty :dataContent="dataContent" :handleQty="Number(dataContent.handleQty)" |
|
|
|
|
|
:isShowStdPack="false"> |
|
|
</item-compare-qty> |
|
|
</item-compare-qty> |
|
|
<view class="" style="margin-left: 20rpx; "> |
|
|
<view class="" style="margin-left: 20rpx; "> |
|
|
<batch :batch="jobContent.batch"></batch> |
|
|
<batch :batch="jobContent.batch"></batch> |
|
@ -45,7 +46,8 @@ |
|
|
:right-options="item.scaned?scanOptions:detailOptions"> |
|
|
:right-options="item.scaned?scanOptions:detailOptions"> |
|
|
<recommend :detail="item" :isShowPack="isShowPack" :isShowBatch="isShowBatch" |
|
|
<recommend :detail="item" :isShowPack="isShowPack" :isShowBatch="isShowBatch" |
|
|
:isShowFromLocation="isShowLocation"></recommend> |
|
|
:isShowFromLocation="isShowLocation"></recommend> |
|
|
<view v-if="item.failedQty>0||item.crackQty>0" :class="item.scaned?'scan_view':''" style="font-size: 32rpx;padding-left: 2px;"> |
|
|
<view v-if="item.failedQty>0||item.crackQty>0" :class="item.scaned?'scan_view':''" |
|
|
|
|
|
style="font-size: 32rpx;padding-left: 2px;"> |
|
|
<view class="cell_box uni-flex uni-row"> |
|
|
<view class="cell_box uni-flex uni-row"> |
|
|
<view class="cell_info uni-flex uni-row"> |
|
|
<view class="cell_info uni-flex uni-row"> |
|
|
<view class="text_lightblue"> |
|
|
<view class="text_lightblue"> |
|
@ -203,7 +205,8 @@ |
|
|
item.notPassedQty = 0; |
|
|
item.notPassedQty = 0; |
|
|
item.inspectResult = "" |
|
|
item.inspectResult = "" |
|
|
item.failedReason = "" |
|
|
item.failedReason = "" |
|
|
item.handleQty = 0; |
|
|
// item.handleQty = 0; |
|
|
|
|
|
item.handleQty = null; |
|
|
item.photos = "" |
|
|
item.photos = "" |
|
|
this.$forceUpdate() |
|
|
this.$forceUpdate() |
|
|
this.$emit('remove', item) |
|
|
this.$emit('remove', item) |
|
|