hookehuyr

fix 物资单位字段调整

<!--
* @Date: 2024-07-23 10:50:38
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-07-29 15:19:17
* @LastEditTime: 2024-07-29 17:38:42
* @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;{{ item.spec }}</div>
<div class="item-num van-ellipsis">{{ item.total_apply_number }}&nbsp;{{ item.specification }}</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;{{ item.spec }}</div>
<div v-if="item.total_number" class="item-num van-ellipsis">{{ item.total_number }}&nbsp;{{ item.specification }}</div>
</van-col>
</van-row>
</div>
......
<!--
* @Date: 2024-07-23 12:53:15
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-07-29 14:07:12
* @LastEditTime: 2024-07-29 17:40: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;">{{ item.spec }}</span>
</van-field>&nbsp;&nbsp;<span style="font-size: 0.9rem; color: #666;">{{ item.specification }}</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; display: inline-block; width: 1.25rem; text-align: right;">{{ item.spec }}</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.specification }}</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-29 10:26:06
* @LastEditTime: 2024-07-29 17:40:24
* @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;">{{ item.spec }}</span>
</van-field>&nbsp;&nbsp;<span style="font-size: 0.9rem; color: #666;">{{ item.specification }}</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>
......