|
@@ -914,6 +914,7 @@ export default {
|
|
|
|
|
|
// ---------
|
|
// ---------
|
|
txselnum: 0,
|
|
txselnum: 0,
|
|
|
|
+ txselnumTwo: 0,
|
|
|
|
|
|
approverList: [],
|
|
approverList: [],
|
|
isSyncData: 0,
|
|
isSyncData: 0,
|
|
@@ -1895,6 +1896,7 @@ export default {
|
|
}else{
|
|
}else{
|
|
this.txselnum = res.data.toFixed(1)
|
|
this.txselnum = res.data.toFixed(1)
|
|
}
|
|
}
|
|
|
|
+ this.txselnumTwo = res.data
|
|
} else {
|
|
} else {
|
|
this.$message({
|
|
this.$message({
|
|
message: res.msg,
|
|
message: res.msg,
|
|
@@ -1926,6 +1928,7 @@ export default {
|
|
this.addForm.timeType = '0'
|
|
this.addForm.timeType = '0'
|
|
this.addForm.timeDays = '1'
|
|
this.addForm.timeDays = '1'
|
|
this.addForm.timeHours = '8'
|
|
this.addForm.timeHours = '8'
|
|
|
|
+ this.txselnum = this.txselnumTwo > 0.5 ? this.txselnumTwo.toFixed(1) : 0
|
|
} else {
|
|
} else {
|
|
this.flg = false
|
|
this.flg = false
|
|
this.addForm.startDate = this.getCurrentTime()
|
|
this.addForm.startDate = this.getCurrentTime()
|
|
@@ -1933,6 +1936,7 @@ export default {
|
|
this.addForm.timeType = '1'
|
|
this.addForm.timeType = '1'
|
|
this.addForm.timeHours = 1,
|
|
this.addForm.timeHours = 1,
|
|
this.addForm.timeDays = 1
|
|
this.addForm.timeDays = 1
|
|
|
|
+ this.txselnum = this.txselnumTwo.toFixed(1)
|
|
}
|
|
}
|
|
},
|
|
},
|
|
// 计算日期
|
|
// 计算日期
|