fix:交接记录调整

This commit is contained in:
shijing 2025-09-10 09:55:31 +08:00
parent 333fbfaf84
commit 718660faaf
2 changed files with 5 additions and 5 deletions

View File

@ -72,7 +72,7 @@
<div style="padding-left: 50px">
<div v-if="props.row.new_batch&&props.row.new_batch!= null" style="font-size: 14px;">新批次号{{ props.row.new_batch }}</div>
<template v-for="item in props.row.handoverb" :key="item.id">
<el-descriptions :column="3">
<el-descriptions :column="3" style="margin-top: 10px;">
<el-descriptions-item label="批次">
{{item.batch}}
</el-descriptions-item>
@ -83,9 +83,7 @@
{{item.defect_name}}
</el-descriptions-item>
</el-descriptions>
<!-- {{ item }} -->
<!-- {{ item.handoverbw }} -->
<div v-if="item.handoverbw&&item.handoverbw.length>0">
<div v-if="item.handoverbw&&item.handoverbw.length>0" style="margin-top: -10px;">
板段号:<span v-for="bwItem in item.handoverbw" :key="bwItem.id">{{ bwItem.number }}</span>
</div>
</template>

View File

@ -833,7 +833,9 @@ export default {
let indexs = 0,arr =[];
if( that.form.handoverb&&that.form.handoverb.length>0){
arr = that.form.handoverb.filter((item,index) => {
if(item.wm == res[0].wm){
indexs = index;
}
return item.wm == res[0].wm;
})
}