快乐的昕的电脑
2025-10-31 6bc782bdc612428785b537b0c1e0e970bca5beea
不合格重新送检改为包含匹配
已修改1个文件
11 ■■■■ 文件已修改
components/machine.vue 11 ●●●● 补丁 | 查看 | 原始文档 | 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() {
            // 组件创建时自动加载工单数据