代码更新:
1. 修复库位编辑界面库位id不显示的bug
This commit is contained in:
parent
86c65e0b4a
commit
43eab72bc6
|
|
@ -33,7 +33,7 @@
|
||||||
<el-table-column prop="isLock" label="锁定" :formatter="isLockFormat" min-width="120px" />
|
<el-table-column prop="isLock" label="锁定" :formatter="isLockFormat" min-width="120px" />
|
||||||
<el-table-column prop="locationStatus" label="状态" :formatter="locationStatusFormat" min-width="120px" />
|
<el-table-column prop="locationStatus" label="状态" :formatter="locationStatusFormat" min-width="120px" />
|
||||||
<el-table-column prop="vehicleId" label="料箱" min-width="120px" show-overflow-tooltip />
|
<el-table-column prop="vehicleId" label="料箱" min-width="120px" show-overflow-tooltip />
|
||||||
<el-table-column fixed="right" label="操作" width="120px" v-if="selVehicle == null">
|
<el-table-column fixed="right" label="操作" width="120px">
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
<el-button plain type="primary" @click="editCurrentRowLocation(scope.row)">编辑</el-button>
|
<el-button plain type="primary" @click="editCurrentRowLocation(scope.row)">编辑</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -50,8 +50,7 @@
|
||||||
<el-row :gutter="16">
|
<el-row :gutter="16">
|
||||||
<el-col :span="12" :offset="0">
|
<el-col :span="12" :offset="0">
|
||||||
<el-form-item label="库位" prop="locationId">
|
<el-form-item label="库位" prop="locationId">
|
||||||
<el-input v-model="locationFormEntity.locationId" :formatter="locationFormat"
|
<el-input v-model="locationFormEntity.locationId" disabled />
|
||||||
disabled />
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
|
|
@ -145,8 +144,6 @@ import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name: 'locationsTable',
|
name: 'locationsTable',
|
||||||
// props: ['selVehicle'],
|
|
||||||
// emits: ['update:selVehicle'],
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
locations: [],
|
locations: [],
|
||||||
|
|
@ -277,7 +274,6 @@ export default {
|
||||||
},
|
},
|
||||||
getCurrentRow(row) {
|
getCurrentRow(row) {
|
||||||
this.locationId = row.locationId
|
this.locationId = row.locationId
|
||||||
// this.$emit('update:selVehicle', row)
|
|
||||||
},
|
},
|
||||||
exportExcel() {
|
exportExcel() {
|
||||||
const params = {
|
const params = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user