Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wangxiaolu-sfa-ui
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
sfa
wangxiaolu-sfa-ui
Commits
ae47d23f
提交
ae47d23f
authored
8月 18, 2025
作者:
lidongxu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat(scm/logistics_receipt): 新增:供应链模块-物流回单菜单:对勤策物流回单数据统一管理查询和修改状态等功能
上级
7c1dcb3e
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
39 行增加
和
13 行删除
+39
-13
index.js
src/api/index.js
+1
-0
logistics_receipt.js
src/api/scm/logistics_receipt.js
+19
-0
Navbar.vue
src/layout/components/Navbar.vue
+4
-2
permission.js
src/permission.js
+10
-9
dict.js
src/utils/dict.js
+1
-0
index.vue
src/views/promotion/task/index.vue
+4
-2
index.vue
src/views/scm/logistics_receipt/index.vue
+0
-0
没有找到文件。
src/api/index.js
浏览文件 @
ae47d23f
...
@@ -25,6 +25,7 @@ export * from './monitor/online'
...
@@ -25,6 +25,7 @@ export * from './monitor/online'
export
*
from
'./monitor/server'
export
*
from
'./monitor/server'
export
*
from
'./promotion/plan'
export
*
from
'./promotion/plan'
export
*
from
'./promotion/task'
export
*
from
'./promotion/task'
export
*
from
'./scm/logistics_receipt'
export
*
from
'./system/dict/data'
export
*
from
'./system/dict/data'
export
*
from
'./system/dict/type'
export
*
from
'./system/dict/type'
export
*
from
'./system/attendance'
export
*
from
'./system/attendance'
...
...
src/api/scm/logistics_receipt.js
0 → 100644
浏览文件 @
ae47d23f
import
request
from
'@/utils/request'
// 勤策发货单列表查询
export
const
getLogisticsReceiptListAPI
=
(
params
)
=>
{
return
request
({
url
:
'/bi/ordersent/query/page'
,
params
})
}
// 勤策发货单-回单照片是否完整&物流状态设置
export
const
setLogisticsReceiptStatusAPI
=
(
data
)
=>
{
return
request
({
url
:
'/bi/ordersent/core/update'
,
method
:
'PUT'
,
data
})
}
src/layout/components/Navbar.vue
浏览文件 @
ae47d23f
...
@@ -105,8 +105,9 @@ const showQuit = !window.h5sdk; // 判断飞书客户端内,则不显示退出
...
@@ -105,8 +105,9 @@ const showQuit = !window.h5sdk; // 判断飞书客户端内,则不显示退出
const
showVersionNoticeVisible
=
ref
(
false
)
// 判断版本通知是否出现
const
showVersionNoticeVisible
=
ref
(
false
)
// 判断版本通知是否出现
const
nowVersion
=
ref
(
''
)
// 当前最新版本
const
nowVersion
=
ref
(
''
)
// 当前最新版本
// 判断是否有新版本出现
// 判断是否有新版本出现(监听 pinia 值的变化)
onMounted
(()
=>
{
watch
(()
=>
versionStore
.
version
,
(
newVal
,
oldVal
)
=>
{
console
.
log
(
'versionStore.version'
,
versionStore
.
version
)
const
oldVersion
=
proxy
.
$cache
.
local
.
get
(
'version'
)
const
oldVersion
=
proxy
.
$cache
.
local
.
get
(
'version'
)
const
versionObj
=
versionStore
.
version
[
0
]
const
versionObj
=
versionStore
.
version
[
0
]
nowVersion
.
value
=
versionObj
.
version
nowVersion
.
value
=
versionObj
.
version
...
@@ -114,6 +115,7 @@ onMounted(() => {
...
@@ -114,6 +115,7 @@ onMounted(() => {
handleVersionList
()
handleVersionList
()
}
}
})
})
// 展示版本通知弹框
// 展示版本通知弹框
const
showVersionFn
=
()
=>
{
const
showVersionFn
=
()
=>
{
handleVersionList
()
handleVersionList
()
...
...
src/permission.js
浏览文件 @
ae47d23f
...
@@ -36,23 +36,24 @@ router.beforeEach((to, from, next) => {
...
@@ -36,23 +36,24 @@ router.beforeEach((to, from, next) => {
useUserStore
().
getInfo
().
then
(()
=>
{
useUserStore
().
getInfo
().
then
(()
=>
{
isRelogin
.
show
=
false
isRelogin
.
show
=
false
usePermissionStore
().
generateRoutes
().
then
(
accessRoutes
=>
{
usePermissionStore
().
generateRoutes
().
then
(
accessRoutes
=>
{
// 生成可访问路由表
// 获取版本信息
accessRoutes
.
forEach
(
route
=>
{
useVersionStore
().
getVersion
().
then
((
res
)
=>
{
if
(
!
isHttp
(
route
.
path
))
{
// 生成可访问路由表
router
.
addRoute
(
route
)
accessRoutes
.
forEach
(
route
=>
{
}
if
(
!
isHttp
(
route
.
path
))
{
router
.
addRoute
(
route
)
}
})
next
({
...
to
,
replace
:
true
})
})
})
next
({
...
to
,
replace
:
true
})
})
})
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
useUserStore
().
logOut
().
then
(()
=>
{
useUserStore
().
logOut
().
then
(()
=>
{
ElMessage
.
error
(
err
)
ElMessage
.
error
(
err
)
next
({
path
:
'/'
})
next
({
path
:
'/'
})
})
})
})
})
// 获取版本信息
useVersionStore
().
getVersion
()
}
else
{
}
else
{
next
()
next
()
}
}
...
...
src/utils/dict.js
浏览文件 @
ae47d23f
...
@@ -14,6 +14,7 @@ export function useDict(...args) {
...
@@ -14,6 +14,7 @@ export function useDict(...args) {
res
.
value
[
dictType
]
=
dicts
;
res
.
value
[
dictType
]
=
dicts
;
}
else
{
}
else
{
getDicts
(
dictType
).
then
(
resp
=>
{
getDicts
(
dictType
).
then
(
resp
=>
{
console
.
log
(
'字典数据'
,
resp
.
data
)
res
.
value
[
dictType
]
=
resp
.
data
.
map
(
p
=>
({
label
:
p
.
dictLabel
,
value
:
p
.
dictValue
,
elTagType
:
p
.
listClass
,
elTagClass
:
p
.
cssClass
}))
res
.
value
[
dictType
]
=
resp
.
data
.
map
(
p
=>
({
label
:
p
.
dictLabel
,
value
:
p
.
dictValue
,
elTagType
:
p
.
listClass
,
elTagClass
:
p
.
cssClass
}))
useDictStore
().
setDict
(
dictType
,
res
.
value
[
dictType
]);
useDictStore
().
setDict
(
dictType
,
res
.
value
[
dictType
]);
})
})
...
...
src/views/promotion/task/index.vue
浏览文件 @
ae47d23f
...
@@ -106,7 +106,8 @@
...
@@ -106,7 +106,8 @@
<el-dialog
:title=
"photoLookInfoObj.storeName"
<el-dialog
:title=
"photoLookInfoObj.storeName"
v-model=
"photoDialogVisible"
v-model=
"photoDialogVisible"
width=
"60%"
width=
"60%"
draggable
overflow
>
draggable
overflow
>
<p>
活动记录 ID :{{ photoLookInfoObj.id }}
</p>
<p>
活动记录 ID :{{ photoLookInfoObj.id }}
</p>
<p>
活动时间 :{{ photoLookInfoObj.createDate }}
</p>
<p>
活动时间 :{{ photoLookInfoObj.createDate }}
</p>
<el-card
v-for=
"obj in photoDialogList"
<el-card
v-for=
"obj in photoDialogList"
...
@@ -115,9 +116,10 @@
...
@@ -115,9 +116,10 @@
<div
class=
"content"
>
<div
class=
"content"
>
<el-result
:title=
"item.time"
<el-result
:title=
"item.time"
:sub-title=
"item.title"
:sub-title=
"item.title"
v-for=
"item in obj.list"
>
v-for=
"item
, index
in obj.list"
>
<
template
#
icon
>
<
template
#
icon
>
<el-image
:src=
"item.photoUrl"
<el-image
:src=
"item.photoUrl"
:initial-index=
"index"
:preview-src-list=
"[...obj.list.map(o => o.photoUrl)]"
/>
:preview-src-list=
"[...obj.list.map(o => o.photoUrl)]"
/>
</
template
>
</
template
>
</el-result>
</el-result>
...
...
src/views/scm/logistics_receipt/index.vue
0 → 100644
浏览文件 @
ae47d23f
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论