Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wangxiaolu-sfa-ui
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
sfa
wangxiaolu-sfa-ui
Commits
dbcefc6f
提交
dbcefc6f
authored
9月 05, 2025
作者:
lidongxu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(categoryinformation): 修复:勤策移动端_售点稽查_品类信息回显失效问题解决
上级
c9c9c92b
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
24 行增加
和
20 行删除
+24
-20
user.js
src/store/modules/user.js
+1
-1
index.vue
...y/sales_point_inspection/examine/inspectionTask/index.vue
+2
-2
categoryInformation.vue
...ction/examine/inspectionTask/tabs/categoryInformation.vue
+14
-10
conventionalDisplay.vue
...ction/examine/inspectionTask/tabs/conventionalDisplay.vue
+2
-2
scheduleAdjustment.vue
...ection/examine/inspectionTask/tabs/scheduleAdjustment.vue
+2
-2
scheduleDisplay.vue
...nspection/examine/inspectionTask/tabs/scheduleDisplay.vue
+2
-2
newTerminal.vue
...t_activity/sales_point_inspection/examine/newTerminal.vue
+1
-1
没有找到文件。
src/store/modules/user.js
浏览文件 @
dbcefc6f
...
@@ -109,7 +109,7 @@ export default defineStore(
...
@@ -109,7 +109,7 @@ export default defineStore(
},
},
getters
:
{
getters
:
{
/**
/**
* 获取促销系统身份 (
0 null
为职能角色,1 为城市经理)
* 获取促销系统身份 (
null 2
为职能角色,1 为城市经理)
* @param {*} state
* @param {*} state
* @returns (true 城市经理)(false 职能角色)
* @returns (true 城市经理)(false 职能角色)
*/
*/
...
...
src/views/mobile/pages/audit_activity/sales_point_inspection/examine/inspectionTask/index.vue
浏览文件 @
dbcefc6f
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
capture=
"camera"
capture=
"camera"
:model-value=
"form.commitStorePicture"
:model-value=
"form.commitStorePicture"
:after-read=
"commitStorePhotosRead"
:after-read=
"commitStorePhotosRead"
preview-size=
"
78
"
preview-size=
"
2.13333rem
"
@
delete=
"deleteCommitStorePhotos"
>
@
delete=
"deleteCommitStorePhotos"
>
</van-uploader>
</van-uploader>
</
template
>
</
template
>
...
@@ -150,7 +150,7 @@
...
@@ -150,7 +150,7 @@
capture=
"camera"
capture=
"camera"
:model-value=
"form.longTimePictureArr"
:model-value=
"form.longTimePictureArr"
:after-read=
"longTimePictureArrRead"
:after-read=
"longTimePictureArrRead"
preview-size=
"
78
"
preview-size=
"
2.13333rem
"
@
delete=
"deleteLongTimePictureArr"
>
@
delete=
"deleteLongTimePictureArr"
>
</van-uploader>
</van-uploader>
</
template
>
</
template
>
...
...
src/views/mobile/pages/audit_activity/sales_point_inspection/examine/inspectionTask/tabs/categoryInformation.vue
浏览文件 @
dbcefc6f
...
@@ -311,12 +311,13 @@ const selectedTypeObj = ref(typeOptions.value[0])
...
@@ -311,12 +311,13 @@ const selectedTypeObj = ref(typeOptions.value[0])
// 价格改变
// 价格改变
const
handlePriceChange
=
async
()
=>
{
const
handlePriceChange
=
async
()
=>
{
const
prop
=
typeMap
[
selectedTypeObj
.
value
.
label
].
priceKey
const
res
=
await
createInspectionTaskDetailAPI
({
const
res
=
await
createInspectionTaskDetailAPI
({
taskDetail
:
{
taskDetail
:
{
rstId
:
props
.
form
.
rstId
,
rstId
:
props
.
form
.
rstId
,
rstdId
:
nowRstdId
.
value
,
rstdId
:
nowRstdId
.
value
,
detailName
:
'品类信息'
,
detailName
:
'品类信息'
,
priceHp210
:
selectedTypeObj
.
value
.
price
*
1
[
prop
]
:
selectedTypeObj
.
value
.
price
*
1
}
}
})
})
...
@@ -344,15 +345,18 @@ const init = () => {
...
@@ -344,15 +345,18 @@ const init = () => {
if
(
props
.
form
.
detailMap
[
'品类信息'
])
{
if
(
props
.
form
.
detailMap
[
'品类信息'
])
{
// 回显
// 回显
nowRstdId
.
value
=
props
.
form
.
detailMap
[
'品类信息'
][
0
].
rstdId
// 详情ID
nowRstdId
.
value
=
props
.
form
.
detailMap
[
'品类信息'
][
0
].
rstdId
// 详情ID
const
priceProp
=
typeMap
[
selectedTypeObj
.
value
.
label
].
priceKey
// 设置价格
// 循环设置
selectedTypeObj
.
value
.
price
=
props
.
form
.
detailMap
[
'品类信息'
][
0
][
priceProp
]
typeOptions
.
value
.
forEach
(
item
=>
{
const
tasteProp
=
typeMap
[
selectedTypeObj
.
value
.
label
].
tasteDateKey
// 设置口味日期
const
priceProp
=
typeMap
[
item
.
label
].
priceKey
// 设置价格
const
targetTasteObj
=
props
.
form
.
detailMap
[
'品类信息'
][
0
][
tasteProp
]
item
.
price
=
props
.
form
.
detailMap
[
'品类信息'
][
0
][
priceProp
]
if
(
targetTasteObj
)
{
const
tasteProp
=
typeMap
[
item
.
label
].
tasteDateKey
// 设置口味日期
selectedTypeObj
.
value
.
taste
.
forEach
(
item
=>
{
const
targetTasteObj
=
props
.
form
.
detailMap
[
'品类信息'
][
0
][
tasteProp
]
item
.
value
=
targetTasteObj
[
item
.
name
]
// 取出日期
if
(
targetTasteObj
)
{
})
item
.
taste
.
forEach
(
item
=>
{
}
item
.
value
=
targetTasteObj
[
item
.
name
]
// 取出日期
})
}
})
return
return
}
}
}
}
...
...
src/views/mobile/pages/audit_activity/sales_point_inspection/examine/inspectionTask/tabs/conventionalDisplay.vue
浏览文件 @
dbcefc6f
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
:model-value=
"obj.photoArr"
:model-value=
"obj.photoArr"
:name=
"index"
:name=
"index"
:after-read=
"displayPhotosRead"
:after-read=
"displayPhotosRead"
preview-size=
"
78
"
preview-size=
"
2.13333rem
"
@
delete=
"deletedisplayPhotos"
>
@
delete=
"deletedisplayPhotos"
>
</van-uploader>
</van-uploader>
</
template
>
</
template
>
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
<!-- 新增按钮 -->
<!-- 新增按钮 -->
<van-button
class=
"add-item"
<van-button
class=
"add-item"
type=
"primary"
type=
"primary"
@
click=
"createTask"
>
新增一组
陈列
</van-button>
@
click=
"createTask"
>
新增一组
</van-button>
<!-- 总体判定 -->
<!-- 总体判定 -->
<div
class=
"overall"
>
<div
class=
"overall"
>
<p
class=
"title"
>
常规陈列总体判定结果:
</p>
<p
class=
"title"
>
常规陈列总体判定结果:
</p>
...
...
src/views/mobile/pages/audit_activity/sales_point_inspection/examine/inspectionTask/tabs/scheduleAdjustment.vue
浏览文件 @
dbcefc6f
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
:model-value=
"obj.photoArr"
:model-value=
"obj.photoArr"
:name=
"index"
:name=
"index"
:after-read=
"displayPhotosRead"
:after-read=
"displayPhotosRead"
preview-size=
"
78
"
preview-size=
"
2.13333rem
"
@
delete=
"deletedisplayPhotos"
>
@
delete=
"deletedisplayPhotos"
>
</van-uploader>
</van-uploader>
</
template
>
</
template
>
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
<!-- 新增按钮 -->
<!-- 新增按钮 -->
<van-button
class=
"add-item"
<van-button
class=
"add-item"
type=
"primary"
type=
"primary"
@
click=
"createTask"
>
新增一组
陈列
</van-button>
@
click=
"createTask"
>
新增一组
</van-button>
<!-- 总体判定 -->
<!-- 总体判定 -->
<!-- <div class="overall">
<!-- <div class="overall">
<p class="title">档期陈列总体判定结果:</p>
<p class="title">档期陈列总体判定结果:</p>
...
...
src/views/mobile/pages/audit_activity/sales_point_inspection/examine/inspectionTask/tabs/scheduleDisplay.vue
浏览文件 @
dbcefc6f
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
:model-value=
"obj.photoArr"
:model-value=
"obj.photoArr"
:name=
"index"
:name=
"index"
:after-read=
"displayPhotosRead"
:after-read=
"displayPhotosRead"
preview-size=
"
78
"
preview-size=
"
2.13333rem
"
@
delete=
"deletedisplayPhotos"
>
@
delete=
"deletedisplayPhotos"
>
</van-uploader>
</van-uploader>
</
template
>
</
template
>
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
<!-- 新增按钮 -->
<!-- 新增按钮 -->
<van-button
class=
"add-item"
<van-button
class=
"add-item"
type=
"primary"
type=
"primary"
@
click=
"createTask"
>
新增一组
陈列
</van-button>
@
click=
"createTask"
>
新增一组
</van-button>
<!-- 总体判定 -->
<!-- 总体判定 -->
<div
class=
"overall"
>
<div
class=
"overall"
>
<p
class=
"title"
>
档期陈列总体判定结果:
</p>
<p
class=
"title"
>
档期陈列总体判定结果:
</p>
...
...
src/views/mobile/pages/audit_activity/sales_point_inspection/examine/newTerminal.vue
浏览文件 @
dbcefc6f
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
capture=
"camera"
capture=
"camera"
:model-value=
"form.storePicture"
:model-value=
"form.storePicture"
:after-read=
"posPhotosRead"
:after-read=
"posPhotosRead"
preview-size=
"
78
"
preview-size=
"
2.13333rem
"
@
delete=
"deletePosPhotos"
>
@
delete=
"deletePosPhotos"
>
</van-uploader>
</van-uploader>
</
template
>
</
template
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论