|
|
|
@ -1,7 +1,7 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<el-dialog title="详情" append-to-body :modelValue="openShow" width="70%" @close="closeDialog" :loading="detailsLoading"> |
|
|
|
<el-dialog title="详情" append-to-body :modelValue="openShow" width="70%" @close="closeDialog" :loading="detailsLoading"> |
|
|
|
<el-descriptions title="物料记录"></el-descriptions> |
|
|
|
<el-descriptions title="物料记录"></el-descriptions> |
|
|
|
<el-table :data="yieldOrderList|| []" style="width: 100%"> |
|
|
|
<el-table :data="yieldOrderList" style="width: 100%"> |
|
|
|
<el-table-column type="index" width="50" label="序号"> </el-table-column> |
|
|
|
<el-table-column type="index" width="50" label="序号"> </el-table-column> |
|
|
|
<el-table-column prop="cardNo" label="流程卡号" show-overflow-tooltip> </el-table-column> |
|
|
|
<el-table-column prop="cardNo" label="流程卡号" show-overflow-tooltip> </el-table-column> |
|
|
|
<el-table-column prop="yoCode" label="生产单号" show-overflow-tooltip> </el-table-column> |
|
|
|
<el-table-column prop="yoCode" label="生产单号" show-overflow-tooltip> </el-table-column> |
|
|
|
@ -12,7 +12,7 @@ |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-table> |
|
|
|
<el-descriptions title="执行记录" style="margin-top: 10px;"></el-descriptions> |
|
|
|
<el-descriptions title="执行记录" style="margin-top: 10px;"></el-descriptions> |
|
|
|
<el-table :data="detailsInfo.taskExecuteRecordList|| []" style="width: 100%"> |
|
|
|
<el-table :data="taskExecuteRecordList" style="width: 100%"> |
|
|
|
<el-table-column type="index" width="50" label="序号"> </el-table-column> |
|
|
|
<el-table-column type="index" width="50" label="序号"> </el-table-column> |
|
|
|
<el-table-column prop="startPos" label="开始位置" show-overflow-tooltip> </el-table-column> |
|
|
|
<el-table-column prop="startPos" label="开始位置" show-overflow-tooltip> </el-table-column> |
|
|
|
<el-table-column prop="endPos" label="结束位置" show-overflow-tooltip> </el-table-column> |
|
|
|
<el-table-column prop="endPos" label="结束位置" show-overflow-tooltip> </el-table-column> |
|
|
|
@ -45,6 +45,7 @@ export default { |
|
|
|
openShow: false, |
|
|
|
openShow: false, |
|
|
|
detailsInfo: {}, |
|
|
|
detailsInfo: {}, |
|
|
|
yieldOrderList:[], |
|
|
|
yieldOrderList:[], |
|
|
|
|
|
|
|
taskExecuteRecordList:[], |
|
|
|
detailsLoading:true |
|
|
|
detailsLoading:true |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
@ -58,7 +59,8 @@ export default { |
|
|
|
await taskDetails({ boxBarcode: this.rowItem.boxBarcode, taskId: this.rowItem.id }).then( |
|
|
|
await taskDetails({ boxBarcode: this.rowItem.boxBarcode, taskId: this.rowItem.id }).then( |
|
|
|
res => { |
|
|
|
res => { |
|
|
|
this.detailsLoading = false |
|
|
|
this.detailsLoading = false |
|
|
|
this.yieldOrderList = res.data.data.boxbarcodeDetailsVO.yieldOrderList; |
|
|
|
this.yieldOrderList = res.data.data.boxbarcodeDetailsVO!=null?res.data.data.boxbarcodeDetailsVO.yieldOrderList:[] |
|
|
|
|
|
|
|
this.taskExecuteRecordList = res.data.data.taskExecuteRecordList!=null?res.data.data.taskExecuteRecordList:[] |
|
|
|
this.detailsInfo = res.data.data; |
|
|
|
this.detailsInfo = res.data.data; |
|
|
|
} |
|
|
|
} |
|
|
|
).catch(err => { |
|
|
|
).catch(err => { |
|
|
|
|