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 11:00:07 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9d8dfd77ec5498c17ce09d328a6bfecb766ed6e9
9d8dfd77
1 parent
713cf5f0
fix 物资情况为空时跳转申领物资页面
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
19 deletions
src/views/material_list.vue
src/views/material_list.vue
View file @
9d8dfd7
<!--
* @Date: 2024-07-23 10:50:38
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-07-29
09:52:00
* @LastEditTime: 2024-07-29
10:58:37
* @FilePath: /temple_material_request/src/views/material_list.vue
* @Description: 物资情况页面
-->
...
...
@@ -77,25 +77,10 @@ onMounted(async () => {
tabList.value = data;
if (tabList.value.length) { // 默认选中组别ID
dept_id.value = tabList.value[0]['dept_id'];
} else { // 组别为空时跳转到购物车页面
// showDialog({
// title: '温馨提示',
// message: '物资列表为空,将前往添加!',
// confirmButtonColor: styleColor.baseColor
// }).then(() => {
// // 跳转购物车页面
// $router.push({
// path: '/material_pre_request',
// query: {
// activity_id,
// form_id,
// client_id
// }
// })
// });
// 跳转购物车页面
} else { // 组别为空时跳转到申领物资页面
// 跳转申领物资页面
$router.push({
path: '/material_
pre_
request',
path: '/material_request',
query: {
activity_id,
form_id,
...
...
Please
register
or
login
to post a comment