hookehuyr

fix 单位取值修改,样式修改

<!--
* @Date: 2024-07-23 10:50:38
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-07-26 17:27:03
* @LastEditTime: 2024-07-29 09:52:00
* @FilePath: /temple_material_request/src/views/material_list.vue
* @Description: 物资情况页面
-->
......@@ -27,11 +27,11 @@
</van-col>
<van-col span="5">
<div class="item-num-title">申请数量</div>
<div class="item-num van-ellipsis">{{ item.total_apply_number }}&nbsp;</div>
<div class="item-num van-ellipsis">{{ item.total_apply_number }}&nbsp;{{ item.spec }}</div>
</van-col>
<van-col span="5">
<div class="item-num-title">实际领用</div>
<div v-if="item.total_number" class="item-num van-ellipsis">{{ item.total_number }}&nbsp;</div>
<div v-if="item.total_number" class="item-num van-ellipsis">{{ item.total_number }}&nbsp;{{ item.spec }}</div>
</van-col>
</van-row>
</div>
......
<!--
* @Date: 2024-07-23 12:53:15
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-07-29 09:34:23
* @LastEditTime: 2024-07-29 10:30:14
* @FilePath: /temple_material_request/src/views/material_pre_request.vue
* @Description: 待申领物资页面
-->
......@@ -51,10 +51,10 @@
@focus="onFocus(item)"
>
<template #left-icon></template>
</van-field>&nbsp;&nbsp;<span style="font-size: 0.9rem; color: #666;"></span>
</van-field>&nbsp;&nbsp;<span style="font-size: 0.9rem; color: #666;">{{ item.spec }}</span>
</van-col>
<van-col v-else span="8" style="display: flex; align-items: center; justify-content: flex-end;">
<span style="font-size: 0.9rem; color: #666;">{{ item.apply_number }}</span>&nbsp;&nbsp;<span style="font-size: 0.9rem; color: #666;">个</span>
<span style="font-size: 0.9rem; color: #666;">{{ item.apply_number }}</span>&nbsp;&nbsp;<span style="font-size: 0.9rem; color: #666; display: inline-block; width: 1.25rem; text-align: right;">{{ item.spec }}</span>
</van-col>
</van-row>
<div v-if="item.error" style="padding: 0.5rem 2rem 0 0; font-size: 0.85rem; color: red; text-align: right;">输入值有误</div>
......
<!--
* @Date: 2024-07-23 12:53:15
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-07-26 17:54:05
* @LastEditTime: 2024-07-29 10:26:06
* @FilePath: /temple_material_request/src/views/material_request.vue
* @Description: 申领物资页面
-->
......@@ -47,7 +47,7 @@
@blur="onBlur(item)"
>
<template #left-icon></template>
</van-field>&nbsp;&nbsp;<span style="font-size: 0.9rem; color: #666;"></span>
</van-field>&nbsp;&nbsp;<span style="font-size: 0.9rem; color: #666;">{{ item.spec }}</span>
</van-col>
</van-row>
<div v-if="item.error" style="padding: 0.5rem 2rem 0 0; font-size: 0.85rem; color: red; text-align: right;">输入值有误</div>
......