Showing
1 changed file
with
4 additions
and
19 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2024-07-23 10:50:38 | 2 | * @Date: 2024-07-23 10:50:38 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-07-29 09:52:00 | 4 | + * @LastEditTime: 2024-07-29 10:58:37 |
| 5 | * @FilePath: /temple_material_request/src/views/material_list.vue | 5 | * @FilePath: /temple_material_request/src/views/material_list.vue |
| 6 | * @Description: 物资情况页面 | 6 | * @Description: 物资情况页面 |
| 7 | --> | 7 | --> |
| ... | @@ -77,25 +77,10 @@ onMounted(async () => { | ... | @@ -77,25 +77,10 @@ onMounted(async () => { |
| 77 | tabList.value = data; | 77 | tabList.value = data; |
| 78 | if (tabList.value.length) { // 默认选中组别ID | 78 | if (tabList.value.length) { // 默认选中组别ID |
| 79 | dept_id.value = tabList.value[0]['dept_id']; | 79 | dept_id.value = tabList.value[0]['dept_id']; |
| 80 | - } else { // 组别为空时跳转到购物车页面 | 80 | + } else { // 组别为空时跳转到申领物资页面 |
| 81 | - // showDialog({ | 81 | + // 跳转申领物资页面 |
| 82 | - // title: '温馨提示', | ||
| 83 | - // message: '物资列表为空,将前往添加!', | ||
| 84 | - // confirmButtonColor: styleColor.baseColor | ||
| 85 | - // }).then(() => { | ||
| 86 | - // // 跳转购物车页面 | ||
| 87 | - // $router.push({ | ||
| 88 | - // path: '/material_pre_request', | ||
| 89 | - // query: { | ||
| 90 | - // activity_id, | ||
| 91 | - // form_id, | ||
| 92 | - // client_id | ||
| 93 | - // } | ||
| 94 | - // }) | ||
| 95 | - // }); | ||
| 96 | - // 跳转购物车页面 | ||
| 97 | $router.push({ | 82 | $router.push({ |
| 98 | - path: '/material_pre_request', | 83 | + path: '/material_request', |
| 99 | query: { | 84 | query: { |
| 100 | activity_id, | 85 | activity_id, |
| 101 | form_id, | 86 | form_id, | ... | ... |
-
Please register or login to post a comment