Commit 75905423 authored by Damon's avatar Damon

拍照数量异常问题

parent 2b134078
......@@ -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张
......
......@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment