Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhengke
jz_Travel
Commits
5daea98f
Commit
5daea98f
authored
Jul 22, 2025
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上传图片无法删除功能修复
parent
e73b5eb3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
12 deletions
+9
-12
productInfor2.vue
pages/teamLeader/components/report/productInfor2.vue
+3
-4
productInfor3.vue
pages/teamLeader/components/report/productInfor3.vue
+3
-4
productInfor4.vue
pages/teamLeader/components/report/productInfor4.vue
+3
-4
No files found.
pages/teamLeader/components/report/productInfor2.vue
View file @
5daea98f
...
@@ -169,9 +169,8 @@
...
@@ -169,9 +169,8 @@
<text
class=
"tisp"
>
(可上传多张图片)
</text>
<text
class=
"tisp"
>
(可上传多张图片)
</text>
</view>
</view>
<view
class=
"PX30 PB30 row InforImgBox"
>
<view
class=
"PX30 PB30 row InforImgBox"
>
<view
class=
"InforImg"
v-for=
"(item,index) in datas.HotelOrderList[datas.hotelIndex].ReimburseList.VoucherPicList"
<view
class=
"InforImg"
v-for=
"(item,index) in datas.HotelOrderList[datas.hotelIndex].ReimburseList.VoucherPicList"
>
@
click=
"previewImage(item.url)"
>
<image
:src=
"item.url"
mode=
"aspectFill"
@
click=
"previewImage(item.url)"
></image>
<image
:src=
"item.url"
mode=
"aspectFill"
></image>
<u-icon
@
click=
"delImg(index)"
class=
"InforImgDel"
name=
"clear"
color=
"#FA6967"
size=
"36"
/>
<u-icon
@
click=
"delImg(index)"
class=
"InforImgDel"
name=
"clear"
color=
"#FA6967"
size=
"36"
/>
</view>
</view>
<upload
class=
"addUp"
@
onSuccess=
"onSuccess"
></upload>
<upload
class=
"addUp"
@
onSuccess=
"onSuccess"
></upload>
...
@@ -261,7 +260,7 @@ export default {
...
@@ -261,7 +260,7 @@ export default {
this
.
datas
.
HotelOrderList
[
this
.
datas
.
hotelIndex
].
ReimburseList
.
ReimburseDetailsList
.
splice
(
index
,
1
)
this
.
datas
.
HotelOrderList
[
this
.
datas
.
hotelIndex
].
ReimburseList
.
ReimburseDetailsList
.
splice
(
index
,
1
)
},
},
delImg
(
index
){
delImg
(
index
){
this
.
datas
.
HotelOrderList
[
this
.
datas
.
hotelIndex
].
VoucherPicList
.
splice
(
index
,
1
)
this
.
datas
.
HotelOrderList
[
this
.
datas
.
hotelIndex
].
ReimburseList
.
VoucherPicList
.
splice
(
index
,
1
)
},
},
getSettlementType
(
item
){
getSettlementType
(
item
){
this
.
datas
.
HotelOrderList
[
this
.
datas
.
hotelIndex
].
ReimburseList
.
SettlementType
=
item
.
id
this
.
datas
.
HotelOrderList
[
this
.
datas
.
hotelIndex
].
ReimburseList
.
SettlementType
=
item
.
id
...
...
pages/teamLeader/components/report/productInfor3.vue
View file @
5daea98f
...
@@ -169,9 +169,8 @@
...
@@ -169,9 +169,8 @@
<text
class=
"tisp"
>
(可上传多张图片)
</text>
<text
class=
"tisp"
>
(可上传多张图片)
</text>
</view>
</view>
<view
class=
"PX30 PB30 row InforImgBox"
>
<view
class=
"PX30 PB30 row InforImgBox"
>
<view
class=
"InforImg"
v-for=
"(item,index) in datas.DiningSummaryList[datas.diningIndex].ReimburseList.VoucherPicList"
<view
class=
"InforImg"
v-for=
"(item,index) in datas.DiningSummaryList[datas.diningIndex].ReimburseList.VoucherPicList"
>
@
click=
"previewImage(item.url)"
>
<image
:src=
"item.url"
mode=
"aspectFill"
@
click=
"previewImage(item.url)"
></image>
<image
:src=
"item.url"
mode=
"aspectFill"
></image>
<u-icon
@
click=
"delImg(index)"
class=
"InforImgDel"
name=
"clear"
color=
"#FA6967"
size=
"36"
/>
<u-icon
@
click=
"delImg(index)"
class=
"InforImgDel"
name=
"clear"
color=
"#FA6967"
size=
"36"
/>
</view>
</view>
<upload
class=
"addUp"
@
onSuccess=
"onSuccess"
></upload>
<upload
class=
"addUp"
@
onSuccess=
"onSuccess"
></upload>
...
@@ -261,7 +260,7 @@ export default {
...
@@ -261,7 +260,7 @@ export default {
this
.
datas
.
DiningSummaryList
[
this
.
datas
.
diningIndex
].
ReimburseList
.
ReimburseDetailsList
.
splice
(
index
,
1
)
this
.
datas
.
DiningSummaryList
[
this
.
datas
.
diningIndex
].
ReimburseList
.
ReimburseDetailsList
.
splice
(
index
,
1
)
},
},
delImg
(
index
){
delImg
(
index
){
this
.
datas
.
DiningSummaryList
[
this
.
datas
.
diningIndex
].
VoucherPicList
.
splice
(
index
,
1
)
this
.
datas
.
DiningSummaryList
[
this
.
datas
.
diningIndex
].
ReimburseList
.
VoucherPicList
.
splice
(
index
,
1
)
},
},
getSettlementType
(
item
){
getSettlementType
(
item
){
this
.
datas
.
DiningSummaryList
[
this
.
datas
.
diningIndex
].
ReimburseList
.
SettlementType
=
item
.
id
this
.
datas
.
DiningSummaryList
[
this
.
datas
.
diningIndex
].
ReimburseList
.
SettlementType
=
item
.
id
...
...
pages/teamLeader/components/report/productInfor4.vue
View file @
5daea98f
...
@@ -169,9 +169,8 @@
...
@@ -169,9 +169,8 @@
<text
class=
"tisp"
>
(可上传多张图片)
</text>
<text
class=
"tisp"
>
(可上传多张图片)
</text>
</view>
</view>
<view
class=
"PX30 PB30 row InforImgBox"
>
<view
class=
"PX30 PB30 row InforImgBox"
>
<view
class=
"InforImg"
v-for=
"(item,index) in datas.ScenicStatisticsList[datas.scenicIndex].ReimburseList.VoucherPicList"
<view
class=
"InforImg"
v-for=
"(item,index) in datas.ScenicStatisticsList[datas.scenicIndex].ReimburseList.VoucherPicList"
>
@
click=
"previewImage(item.url)"
>
<image
:src=
"item.url"
mode=
"aspectFill"
@
click=
"previewImage(item.url)"
></image>
<image
:src=
"item.url"
mode=
"aspectFill"
></image>
<u-icon
@
click=
"delImg(index)"
class=
"InforImgDel"
name=
"clear"
color=
"#FA6967"
size=
"36"
/>
<u-icon
@
click=
"delImg(index)"
class=
"InforImgDel"
name=
"clear"
color=
"#FA6967"
size=
"36"
/>
</view>
</view>
<upload
class=
"addUp"
@
onSuccess=
"onSuccess"
></upload>
<upload
class=
"addUp"
@
onSuccess=
"onSuccess"
></upload>
...
@@ -261,7 +260,7 @@ export default {
...
@@ -261,7 +260,7 @@ export default {
this
.
datas
.
ScenicStatisticsList
[
this
.
datas
.
scenicIndex
].
ReimburseList
.
ReimburseDetailsList
.
splice
(
index
,
1
)
this
.
datas
.
ScenicStatisticsList
[
this
.
datas
.
scenicIndex
].
ReimburseList
.
ReimburseDetailsList
.
splice
(
index
,
1
)
},
},
delImg
(
index
){
delImg
(
index
){
this
.
datas
.
ScenicStatisticsList
[
this
.
datas
.
scenicIndex
].
VoucherPicList
.
splice
(
index
,
1
)
this
.
datas
.
ScenicStatisticsList
[
this
.
datas
.
scenicIndex
].
ReimburseList
.
VoucherPicList
.
splice
(
index
,
1
)
},
},
getSettlementType
(
item
){
getSettlementType
(
item
){
this
.
datas
.
ScenicStatisticsList
[
this
.
datas
.
scenicIndex
].
ReimburseList
.
SettlementType
=
item
.
id
this
.
datas
.
ScenicStatisticsList
[
this
.
datas
.
scenicIndex
].
ReimburseList
.
SettlementType
=
item
.
id
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment