|
@@ -191,6 +191,7 @@ export default {
|
|
|
leaveFil: false,
|
|
|
active: 0,
|
|
|
txselnum: 0,
|
|
|
+ txselnumTwo: 0,
|
|
|
editForm: {
|
|
|
leaveType: 0,
|
|
|
ownerId: '',
|
|
@@ -320,12 +321,14 @@ export default {
|
|
|
}else{
|
|
|
this.formshowText.dateTitle = ''
|
|
|
}
|
|
|
+ this.txselnum = this.txselnumTwo > 0.5 ? this.txselnumTwo.toFixed(1) : 0
|
|
|
}else{
|
|
|
if(this.editForm.startDate){
|
|
|
this.formshowText.dateTitle = this.editForm.startDate
|
|
|
}else{
|
|
|
this.formshowText.dateTitle = ''
|
|
|
}
|
|
|
+ this.txselnum = this.txselnumTwo.toFixed(1)
|
|
|
}
|
|
|
|
|
|
},
|
|
@@ -545,6 +548,7 @@ export default {
|
|
|
}else{
|
|
|
this.txselnum = res.data.toFixed(1)
|
|
|
}
|
|
|
+ this.txselnumTwo = res.data
|
|
|
} else {
|
|
|
this.$toast.fail('获取失败');
|
|
|
}
|