chris 3 years ago
parent
commit
b1eec518cd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/modules/warehouse/stock-order-detail.vue

+ 2 - 2
src/views/modules/warehouse/stock-order-detail.vue

@@ -6,8 +6,8 @@
       :visible.sync="visible">
       <div style="margin-left: 20px;margin-right: 20px">
         <!-- 工作流 -->
-        <div v-show="dataForm.workFlowBusinessExt">
-          <el-steps :active="dataForm.workFlowBusinessExt?dataForm.workFlowBusinessExt.workFlowProcessStepList.length + 2:0" align-center style="margin-bottom: 20px">
+        <div v-show="dataForm.workFlowBusinessExt && dataForm.workFlowBusinessExt.workFlowProcessStepList">
+          <el-steps :active="dataForm.workFlowBusinessExt && dataForm.workFlowBusinessExt.workFlowProcessStepList?dataForm.workFlowBusinessExt.workFlowProcessStepList.length + 2:0" align-center style="margin-bottom: 20px">
             <template v-for="(item, i) in stepList">
               <el-step :icon="item.icon" :title="item.title" :description="item.description"></el-step>
             </template>