BUG优化

行车三检 状态调整
机务档案 的到期日期显示不正确
dev
xiepeng 2024-05-11 18:00:41 +08:00
parent 7c9aa8603d
commit aacd9b0881
3 changed files with 7 additions and 7 deletions

View File

@ -19,6 +19,7 @@
<span v-if="data.info.WAYBILLSTATUS === '0'"></span> <span v-if="data.info.WAYBILLSTATUS === '0'"></span>
<span v-else-if="data.info.WAYBILLSTATUS === '1'">已出发</span> <span v-else-if="data.info.WAYBILLSTATUS === '1'">已出发</span>
<span v-else-if="data.info.WAYBILLSTATUS === '2'">已完成</span> <span v-else-if="data.info.WAYBILLSTATUS === '2'">已完成</span>
<span v-else-if="data.info.WAYBILLSTATUS === '3'">未承诺</span>
</td> </td>
</tr> </tr>
<tr> <tr>

View File

@ -35,7 +35,7 @@
{{ data.info.ENTRUSTPERSON }} {{ data.info.ENTRUSTPERSON }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="联系电话"> <el-descriptions-item label="联系电话">
{{ data.info.CLIENTCONTACTPHONE }} {{ data.info.ENTRUST_PHONE }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="确认方"> <el-descriptions-item label="确认方">
{{ data.info.CONFIRMER_NAME }} {{ data.info.CONFIRMER_NAME }}
@ -44,7 +44,7 @@
{{ data.info.CONFIRMPERSON }} {{ data.info.CONFIRMPERSON }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="联系电话"> <el-descriptions-item label="联系电话">
{{ data.info.CONFIRMINGPHONE }} {{ data.info.CONFIRM_PHONE }}
</el-descriptions-item> </el-descriptions-item>
</el-descriptions> </el-descriptions>
<el-divider content-position="left">地点信息</el-divider> <el-divider content-position="left">地点信息</el-divider>
@ -56,7 +56,7 @@
{{ data.info.SHIPPING_ADDR}} {{ data.info.SHIPPING_ADDR}}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="行政区域"> <el-descriptions-item label="行政区域">
{{ data.info.STARTADMINISTRATIVEAREA }} {{ data.info.DEPARTURE_ADDR }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="目的地点"> <el-descriptions-item label="目的地点">
{{ data.info.DESTINATION_NAME }} {{ data.info.DESTINATION_NAME }}
@ -65,14 +65,13 @@
{{ data.info.DESTINATION_ADDR }} {{ data.info.DESTINATION_ADDR }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="行政区域"> <el-descriptions-item label="行政区域">
{{ data.info.ENDDMINISTRATIVEAREA }} {{ data.info.GOAL_ADDR }}
</el-descriptions-item> </el-descriptions-item>
</el-descriptions> </el-descriptions>
</table> </table>
</div> </div>
</layout-card> </layout-card>
</template> </template>
<script setup> <script setup>
import { reactive } from "vue"; import { reactive } from "vue";
import { useRoute } from "vue-router"; import { useRoute } from "vue-router";

View File

@ -26,7 +26,7 @@
<el-col :span="6"> <el-col :span="6">
<el-form-item label="有效状态" prop="VALIDSTATUS"> <el-form-item label="有效状态" prop="VALIDSTATUS">
<el-select v-model="searchForm.VALIDSTATUS"> <el-select v-model="searchForm.VALIDSTATUS">
<el-option label="正常" :value="1" /> <el-option label="有效" :value="1" />
<el-option label="未生效" :value="0" /> <el-option label="未生效" :value="0" />
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -64,7 +64,7 @@
</el-table-column> </el-table-column>
<el-table-column label="有效状态" prop="VALIDSTATUS" width="80"> <el-table-column label="有效状态" prop="VALIDSTATUS" width="80">
<template #default="{ row }"> <template #default="{ row }">
<el-tag v-if="row.VALIDSTATUS === '1'" type="success"></el-tag> <el-tag v-if="row.VALIDSTATUS === '1'" type="success"></el-tag>
<el-tag v-else-if="row.VALIDSTATUS === '0'" type="error" <el-tag v-else-if="row.VALIDSTATUS === '0'" type="error"
>未生效</el-tag >未生效</el-tag
> >