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-08-12 12:57:31 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e1e452d03d17e7295f75f14db7510012cce8fca5
e1e452d0
1 parent
13972b51
🐞 fix: 待申领物资页面,如果没有组别就不能操作
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
src/views/material_pre_request.vue
src/views/material_pre_request.vue
View file @
e1e452d
<!--
* @Date: 2024-07-23 12:53:15
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-08-
02 23:04:47
* @LastEditTime: 2024-08-
12 12:55:41
* @FilePath: /temple_material_request/src/views/material_pre_request.vue
* @Description: 待申领物资页面
-->
...
...
@@ -18,7 +18,7 @@
</span>
<span v-else :style="{ color: styleColor.baseColor }">品项数: {{ sum_num }}</span>
</van-col>
<van-col span="16" :style="{ textAlign: 'right', fontSize: '0.85rem', color: styleColor.baseColor }">
<van-col
v-if="status"
span="16" :style="{ textAlign: 'right', fontSize: '0.85rem', color: styleColor.baseColor }">
<span v-if="model !== 'edit'" @click="onClickEdit"><van-icon name="records-o" /> 编辑</span>
<span v-else>
<span @click="onClickDel"><van-icon name="delete-o" /> 删除</span>
...
...
@@ -149,6 +149,7 @@ const form_id = $route.query.form_id ? $route.query.form_id : '';
const client_id = $route.query.client_id ? $route.query.client_id : '';
const disabled_btn = ref(false);
const status = ref(true);
/**
* 获取我的组别列表
...
...
@@ -164,6 +165,7 @@ const getDeptsList = async () => {
if (!data.length) {
showToast('您暂无组别无法申领物资');
disabled_btn.value = true;
status.value = false; // 不能操作状态
}
}
}
...
...
Please
register
or
login
to post a comment