|
|
|
@ -390,9 +390,9 @@ |
|
|
|
<div style="margin: 15px 0;"> |
|
|
|
<el-table :data="palletMaintenanceRecords" border style="width: 100%; margin-bottom: 15px;" class="zxClass" |
|
|
|
max-height="200" v-if="palletMaintenanceRecords.length > 0"> |
|
|
|
<el-table-column label="栈板" min-width="100"> |
|
|
|
<el-table-column label="栈板类型" min-width="100"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input v-model="scope.row.pallet" disabled style="width: 100%;"></el-input> |
|
|
|
<el-input v-model="scope.row.palletType" disabled style="width: 100%;"></el-input> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column width="120"> |
|
|
|
@ -2307,6 +2307,7 @@ |
|
|
|
// 为每个栈板创建一条记录 |
|
|
|
this.palletMaintenanceRecords = pallets.map(pallet => ({ |
|
|
|
pallet: pallet.palletNo, |
|
|
|
palletType: pallet.palletType, |
|
|
|
palletQty: '', // 默认为空,用户需要输入 |
|
|
|
height: '' // 使用栈板的默认高度 |
|
|
|
})) |
|
|
|
@ -2316,6 +2317,7 @@ |
|
|
|
// 如果加载失败,至少添加一行空记录 |
|
|
|
this.palletMaintenanceRecords = [{ |
|
|
|
pallet: '', |
|
|
|
palletType: '', |
|
|
|
palletQty: '', |
|
|
|
height: '' |
|
|
|
}] |
|
|
|
|