hookehuyr

fix

<!--
* @Date: 2024-07-23 12:53:15
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-07-28 12:06:16
* @LastEditTime: 2024-07-29 09:34:23
* @FilePath: /temple_material_request/src/views/material_pre_request.vue
* @Description: 待申领物资页面
-->
......@@ -439,7 +439,7 @@ const onDialogCancel = () => {
}
const show_choose_material = ref(false);
const onCloseChoose = async () => { // 关闭选择物资弹窗回调
const onCloseChoose = async (sum) => { // 关闭选择物资弹窗回调
show_choose_material.value = false;
// 刷新购物车列表
const { data, code } = await getCartListAPI({ activity_id });
......@@ -449,8 +449,10 @@ const onCloseChoose = async () => { // 关闭选择物资弹窗回调
item.checked = false;
});
sum_num.value = list.value.length; // 品项数量
if (sum_num.value) {
onClickEdit(); // 打开编辑模式
}
}
//
}
......