Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
temple_material_request
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-07-29 17:40:41 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5cb0e610e9db843b418b042ebf5dbb25625f4647
5cb0e610
1 parent
810cf0ed
fix 物资单位字段调整
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
src/views/material_list.vue
src/views/material_pre_request.vue
src/views/material_request.vue
src/views/material_list.vue
View file @
5cb0e61
<!--
* @Date: 2024-07-23 10:50:38
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-07-29 1
5:19:17
* @LastEditTime: 2024-07-29 1
7: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 }} {{ item.spec }}</div>
<div class="item-num van-ellipsis">{{ item.total_apply_number }} {{ item.spec
ification
}}</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 }} {{ item.spec }}</div>
<div v-if="item.total_number" class="item-num van-ellipsis">{{ item.total_number }} {{ item.spec
ification
}}</div>
</van-col>
</van-row>
</div>
...
...
src/views/material_pre_request.vue
View file @
5cb0e61
<!--
* @Date: 2024-07-23 12:53:15
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-07-29 1
4:07:12
* @LastEditTime: 2024-07-29 1
7: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> <span style="font-size: 0.9rem; color: #666;">{{ item.spec }}</span>
</van-field> <span style="font-size: 0.9rem; color: #666;">{{ item.spec
ification
}}</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> <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> <span style="font-size: 0.9rem; color: #666; display: inline-block; width: 1.25rem; text-align: right;">{{ item.spec
ification
}}</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>
...
...
src/views/material_request.vue
View file @
5cb0e61
<!--
* @Date: 2024-07-23 12:53:15
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-07-29 1
0:26:06
* @LastEditTime: 2024-07-29 1
7: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> <span style="font-size: 0.9rem; color: #666;">{{ item.spec }}</span>
</van-field> <span style="font-size: 0.9rem; color: #666;">{{ item.spec
ification
}}</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>
...
...
Please
register
or
login
to post a comment