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