Explorar el Código

fix(维护管理): 修复验收结果显示逻辑,改为基于orderStatus判断

yusheng hace 4 meses
padre
commit
786e2ebf1f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/maintenance/repair/components/RepairNotesTab.vue

+ 1 - 1
src/views/maintenance/repair/components/RepairNotesTab.vue

@@ -21,7 +21,7 @@
           <span>验收人:{{ item.content.userName }}</span>
           <span
             >验收结果:{{
-              item.content.acceptanceResult ? '通过' : '驳回'
+              item.content.orderStatus==4 ? '通过' : '驳回'
             }}</span
           >
           <span>验收说明:{{ item.content.acceptanceInstructions }}</span>