物流管理问题修改

dev-scheduling
zhangdi 7 days ago
parent 503e5b24db
commit e4dd01f778
  1. 7
      src/views/logisticsManagement/logisticsDistribution.vue
  2. 9
      src/views/logisticsManagement/siteBasic.vue

@ -150,6 +150,13 @@ export default {
label: 'wcName',
value: 'id',
},
},
{
label: '区域',
prop: 'stationRegion',
search: false,
sortable: true,
span: 12,
},
{
label: '状态',

@ -23,7 +23,7 @@
</template>
<template #menu-right> </template>
<template #menu="scope">
<el-button v-if="scope.row.stationStatus == '0'" type="text" @click="handleEdit(scope.row)"
<el-button v-if="scope.row.stationStatus == '0'||scope.row.stationStatus == '2'" type="text" @click="handleEdit(scope.row)"
>占用</el-button
>
<el-button v-if="scope.row.stationStatus == '1'" type="text" @click="handleEdit(scope.row)"
@ -38,6 +38,9 @@
<el-tag v-if="scope.row.stationStatus == '1'" type="danger" @click="handleEdit(row)"
>占用</el-tag
>
<el-tag v-if="scope.row.stationStatus == '2'" type="danger" @click="handleEdit(row)"
>预占用</el-tag
>
</template>
<template #stationPosition="scope"> {{ scope.row.stationPosition }} </template>
</avue-crud>
@ -177,6 +180,10 @@ export default {
label: '闲置',
value: 0,
},
{
label: '预占用',
value: 2,
},
],
},
{

Loading…
Cancel
Save