Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
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
李俊赕
self-support
Commits
75905423
Commit
75905423
authored
May 10, 2021
by
Damon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拍照数量异常问题
parent
2b134078
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
preview.vue
src/components/photo/preview.vue
+2
-2
complete.vue
src/pages/order/complete.vue
+2
-5
No files found.
src/components/photo/preview.vue
View file @
75905423
...
...
@@ -125,7 +125,7 @@
photo
.
currentItemLength
=
10
this
.
continuePhoto
()
// 完成本项
this
.
$emit
(
'finish'
)
//
this.$emit('finish')
},
// 确认图片
continuePhoto
()
{
...
...
@@ -139,7 +139,7 @@
},
submitFile
()
{
const
photo
=
getApp
().
globalData
.
photo
photo
.
currentItemLength
=
photo
.
currentItemLength
+
1
if
(
photo
.
currentItemLength
<
10
)
photo
.
currentItemLength
=
photo
.
currentItemLength
+
1
uni
.
hideLoading
()
// 当前项的图片显示
// 拍照项张数目增加 等于10张
...
...
src/pages/order/complete.vue
View file @
75905423
...
...
@@ -124,6 +124,7 @@
inGuaranteePeriod
:
''
,
list
:
[],
tabIndex
:
0
,
show200
:
true
,
// 基础信息显示金额输入框
scrollTop
:
0
,
//tab标题的滚动条位置
oldScrollTop
:
0
,
current
:
0
,
// 预设当前项的值
...
...
@@ -238,9 +239,6 @@
'font-size'
:
'32rpx'
,
}
},
show200
()
{
/// 基础信息显示金额输入框
return
this
.
form
.
paymentMethodsType
!=
'03'
}
},
methods
:
{
getCompleteData
()
{
//获取工单配置的完工项目
...
...
@@ -387,12 +385,11 @@
if
(
innerItem
.
fieldsType
===
'multiInput'
){
// 多个输入框的值触发
let
key
=
Object
.
keys
(
data
.
value
)[
0
]
debugger
this
.
form
[
key
]
=
data
.
value
[
key
]
}
else
{
this
.
$set
(
this
.
form
,
innerItem
.
fieldsName
,
data
.
value
)
}
this
.
show200
=
innerItem
.
fieldsId
!=
199
||
data
.
value
!=
'03'
console
.
log
(
this
.
form
)
},
nextStep
()
{
...
...
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