fix:交接记录调整
This commit is contained in:
parent
333fbfaf84
commit
718660faaf
|
@ -72,7 +72,7 @@
|
||||||
<div style="padding-left: 50px">
|
<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>
|
<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">
|
<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="批次">
|
<el-descriptions-item label="批次">
|
||||||
{{item.batch}}
|
{{item.batch}}
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
|
@ -83,9 +83,7 @@
|
||||||
{{item.defect_name}}
|
{{item.defect_name}}
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
<!-- {{ item }} -->
|
<div v-if="item.handoverbw&&item.handoverbw.length>0" style="margin-top: -10px;">
|
||||||
<!-- {{ item.handoverbw }} -->
|
|
||||||
<div v-if="item.handoverbw&&item.handoverbw.length>0">
|
|
||||||
板段号:<span v-for="bwItem in item.handoverbw" :key="bwItem.id">{{ bwItem.number }}、</span>
|
板段号:<span v-for="bwItem in item.handoverbw" :key="bwItem.id">{{ bwItem.number }}、</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -833,7 +833,9 @@ export default {
|
||||||
let indexs = 0,arr =[];
|
let indexs = 0,arr =[];
|
||||||
if( that.form.handoverb&&that.form.handoverb.length>0){
|
if( that.form.handoverb&&that.form.handoverb.length>0){
|
||||||
arr = that.form.handoverb.filter((item,index) => {
|
arr = that.form.handoverb.filter((item,index) => {
|
||||||
indexs = index;
|
if(item.wm == res[0].wm){
|
||||||
|
indexs = index;
|
||||||
|
}
|
||||||
return item.wm == res[0].wm;
|
return item.wm == res[0].wm;
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue