story#,补充结算单页面,提交按钮显示添加逻辑判断
This commit is contained in:
@ -101,7 +101,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed:{
|
computed:{
|
||||||
taskCostShow() {
|
taskCostShow() {
|
||||||
return this.form.auditStatus && !([3, 4, 6].includes(this.form.auditStatus))
|
return this.form.auditStatus?.code && !([3, 4, 6].includes(this.form.auditStatus.code))
|
||||||
},
|
},
|
||||||
finishLt7(){
|
finishLt7(){
|
||||||
return !this.form.finishTime || (this.form.finishTime && new Date().getTime() - new Date(this.form.finishTime).getTime() <= 7 * 24 * 60 * 60 * 1000)
|
return !this.form.finishTime || (this.form.finishTime && new Date().getTime() - new Date(this.form.finishTime).getTime() <= 7 * 24 * 60 * 60 * 1000)
|
||||||
|
Reference in New Issue
Block a user