提交 d76fb678 authored 作者: lidongxu's avatar lidongxu

fix(inspectiontask/*): 修改:勤策移动端_售点稽查_几个陈列传递整个数组时图片要单独处理格式

上级 e47fa8a1
......@@ -161,7 +161,9 @@ const handleModalityChange = async (index) => {
await createInspectionTaskDetailAPI({
taskDetail: {
rstId: props.form.rstId,
...displayGroup.value[index]
...displayGroup.value[index],
// 照片单独处理
photoArr: displayGroup.value[index].photoArr.map(o => o.url)
}
})
......@@ -173,7 +175,9 @@ const handleCostChange = async (index) => {
await createInspectionTaskDetailAPI({
taskDetail: {
rstId: props.form.rstId,
...displayGroup.value[index]
...displayGroup.value[index],
// 照片单独处理
photoArr: displayGroup.value[index].photoArr.map(o => o.url)
}
})
......
......@@ -159,7 +159,9 @@ const handleModalityChange = async (index) => {
await createInspectionTaskDetailAPI({
taskDetail: {
rstId: props.form.rstId,
...displayGroup.value[index]
...displayGroup.value[index],
// 照片单独处理
photoArr: displayGroup.value[index].photoArr.map(o => o.url)
}
})
......@@ -171,7 +173,9 @@ const handleCostChange = async (index) => {
await createInspectionTaskDetailAPI({
taskDetail: {
rstId: props.form.rstId,
...displayGroup.value[index]
...displayGroup.value[index],
// 照片单独处理
photoArr: displayGroup.value[index].photoArr.map(o => o.url)
}
})
......
......@@ -159,7 +159,9 @@ const handleModalityChange = async (index) => {
await createInspectionTaskDetailAPI({
taskDetail: {
rstId: props.form.rstId,
...displayGroup.value[index]
...displayGroup.value[index],
// 照片单独处理
photoArr: displayGroup.value[index].photoArr.map(o => o.url)
}
})
......@@ -171,7 +173,9 @@ const handleCostChange = async (index) => {
await createInspectionTaskDetailAPI({
taskDetail: {
rstId: props.form.rstId,
...displayGroup.value[index]
...displayGroup.value[index],
// 照片单独处理
photoArr: displayGroup.value[index].photoArr.map(o => o.url)
}
})
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论