|
|
@ -16,7 +16,7 @@ |
|
|
|
:right-options="item.scaned?scanOptions:detailOptions"> |
|
|
|
<recommend :detail="item" :record="item.record" :isShowPack="isShowPack" |
|
|
|
:isShowBatch="isShowBatch" :isShowLocation="isShowLocation"></recommend> |
|
|
|
<view :class="item.scaned?'scan_view':''" style="font-size: 32rpx;padding-left: 3rpx;"> |
|
|
|
<view v-if="item.failedQty>0||item.crackQty>0" :class="item.scaned?'scan_view':''" style="font-size: 32rpx;padding-left: 3rpx;"> |
|
|
|
<view class="" > |
|
|
|
不合格数量 :{{item.failedQty}} |
|
|
|
</view> |
|
|
@ -149,6 +149,7 @@ |
|
|
|
item.notPassedQty = 0; |
|
|
|
item.inspectResult ="" |
|
|
|
item.failedReason ="" |
|
|
|
item.photos ="" |
|
|
|
this.$forceUpdate() |
|
|
|
this.$emit('remove', item) |
|
|
|
} |
|
|
@ -159,6 +160,11 @@ |
|
|
|
}, |
|
|
|
getInspectResult(result){ |
|
|
|
this.dataContent.details[this.editIndex]= result; |
|
|
|
if (this.$refs.collapse1 != undefined) { |
|
|
|
this.$nextTick(res => { |
|
|
|
this.$refs.collapse1.resize() |
|
|
|
}) |
|
|
|
} |
|
|
|
this.$emit('updateData',) |
|
|
|
} |
|
|
|
|
|
|
|