| components/machine.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
components/machine.vue
@@ -103,11 +103,12 @@ }, computed: { // 满足首检不合格重新呼叫条件且当前尚未重新生成送检时间 => 按钮可用 canFailResend() { return this.statusForm && this.statusForm.remark === this.failedRemark && !this.maShoutTime; } canFailResend() { return this.statusForm && this.statusForm.remark && this.statusForm.remark.includes('不合格重新送检') && // 改为包含匹配 !this.maShoutTime; } }, created() { // 组件创建时自动加载工单数据