采购单

This commit is contained in:
Teo
2025-08-15 00:22:03 +08:00
parent 802fd82d02
commit ae979b47c0
4 changed files with 23 additions and 10 deletions

View File

@ -54,9 +54,9 @@ const onNewsClick = (item: any) => {
//并且写入pinia
noticeStore.state.value.notices = newsList.value;
//如果有formPath就前往
console.log('🚀 ~ onNewsClick ~ item.formPath:', item.formPath, newsList.value);
if (newsList.value[item].formPath) {
proxy?.$tab.openPage('/' + newsList.value[item].formPath, '', { id: newsList.value[item].businessId, type: 'view' });
console.log('🚀 ~ onNewsClick ~ item.formPath:', newsList.value);
if (newsList.value[item].route) {
proxy?.$tab.openPage('/' + newsList.value[item].route, '', { id: newsList.value[item].detailId, type: 'view' });
}
};