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-28 12:07:07 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b776446696705b81c7e5fc25fd0b7dbf7e808436
b7764466
1 parent
50950da4
✨ feat: 物资申领-【添加更多】页选择物资后,直接返回到编辑模式
李琛优化需求
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
src/views/material_pre_request.vue
src/views/material_pre_request.vue
View file @
b776446
<!--
* @Date: 2024-07-23 12:53:15
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-07-28
00:55:37
* @LastEditTime: 2024-07-28
12:06:16
* @FilePath: /temple_material_request/src/views/material_pre_request.vue
* @Description: 待申领物资页面
-->
...
...
@@ -53,7 +53,7 @@
<template #left-icon></template>
</van-field> <span style="font-size: 0.9rem; color: #666;">个</span>
</van-col>
<van-col v-else span="8" style="display: flex; align-items: center; justify-content: end;">
<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;">个</span>
</van-col>
</van-row>
...
...
@@ -439,10 +439,19 @@ const onDialogCancel = () => {
}
const show_choose_material = ref(false);
const onCloseChoose = () => { // 关闭选择物资弹窗回调
const onCloseChoose =
async
() => { // 关闭选择物资弹窗回调
show_choose_material.value = false;
// 刷新购物车列表
getCartList();
const { data, code } = await getCartListAPI({ activity_id });
if (code) {
list.value = data;
list.value.forEach(item => {
item.checked = false;
});
sum_num.value = list.value.length; // 品项数量
onClickEdit(); // 打开编辑模式
}
//
}
const show_material_detail = ref(false);
...
...
Please
register
or
login
to post a comment