|
@@ -3601,7 +3601,9 @@
|
|
time: this.report.time
|
|
time: this.report.time
|
|
}
|
|
}
|
|
if(this.user.timeType.type == 1) {
|
|
if(this.user.timeType.type == 1) {
|
|
- this.workForm.domains[0].workingTime = (this.user.timeType.allday.length > 1 ? this.user.timeType.allday : this.user.timeType.allday+'.0')
|
|
|
|
|
|
+ var shuzhi = this.user.timeType.allday + ''
|
|
|
|
+ console.log('执行一次', shuzhi.indexOf('.'))
|
|
|
|
+ this.workForm.domains[0].workingTime = shuzhi.indexOf('.') == '-1' ? shuzhi + '.0' : shuzhi
|
|
}
|
|
}
|
|
if (this.timeBasecostList && this.timeBasecostList.length > 0) {
|
|
if (this.timeBasecostList && this.timeBasecostList.length > 0) {
|
|
//默认给第一个,必填字段
|
|
//默认给第一个,必填字段
|
|
@@ -3685,7 +3687,9 @@
|
|
}],
|
|
}],
|
|
}
|
|
}
|
|
if(this.user.timeType.type == 1) {
|
|
if(this.user.timeType.type == 1) {
|
|
- this.workForm.domains[0].workingTime = (this.user.timeType.allday.length > 1 ? this.user.timeType.allday : this.user.timeType.allday+'.0')
|
|
|
|
|
|
+ var shuzhi = this.user.timeType.allday + ''
|
|
|
|
+ console.log('执行二次')
|
|
|
|
+ this.workForm.domains[0].workingTime = shuzhi.indexOf('.') == '-1' ? shuzhi + '.0' : shuzhi
|
|
}
|
|
}
|
|
// console.log(this.workForm)
|
|
// console.log(this.workForm)
|
|
if (this.timeBasecostList&&this.timeBasecostList.length>0) {
|
|
if (this.timeBasecostList&&this.timeBasecostList.length>0) {
|