Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 779b38f8
authored
Aug 18, 2026
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
refactor(storeDailyReport): 调整接口调用时机
将获取月度待办数量的接口调用移到空值判断分支内,避免不必要的请求
1 parent
89aa9f62
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
pages/common/dailyNewspaper/StoreDailyReport/edit.vue
pages/common/dailyNewspaper/StoreDailyReport/edit.vue
View file @
779b38f
...
...
@@ -246,15 +246,15 @@ export default {
async
getMonthlyPendingCount
()
{
let
{
reportDate
,
userInfo
,
list
,
sceneType
}
=
this
,
{
shopMerchantId
}
=
userInfo
const
res
=
await
uni
.
$api
.
dailyTemplateApi
.
getMonthlyPendingCount
({
merchantId
:
shopMerchantId
,
sceneType
,
reportDate
})
let
index
=
list
.
findIndex
(
i
=>
i
.
key
==
'F2-102'
)
if
(
index
==
-
1
)
return
let
item
=
list
[
index
]
if
(
item
.
value
==
null
||
item
.
value
==
''
||
item
.
value
==
undefined
)
{
const
res
=
await
uni
.
$api
.
dailyTemplateApi
.
getMonthlyPendingCount
({
merchantId
:
shopMerchantId
,
sceneType
,
reportDate
})
if
(
res
)
this
.
$set
(
item
,
'value'
,
res
.
pendingCount
)
}
},
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment