Ver código fonte

商品预览页

xiaodai2022 1 ano atrás
pai
commit
f095c0534d
1 arquivos alterados com 7 adições e 1 exclusões
  1. 7 1
      src/views/goodStore/goodsCost/detail.vue

+ 7 - 1
src/views/goodStore/goodsCost/detail.vue

@@ -285,7 +285,13 @@
         <el-tab-pane label="流程图" name="4" v-if="queryType !== 'add'">
           <flow-chart process_id="15" type="SPCB" :orderCode="queryId" />
         </el-tab-pane>
-        <el-tab-pane label="商品预览" name="5" v-if="queryType !== 'add'">
+        <el-tab-pane
+          label="商品预览"
+          name="5"
+          v-if="
+            queryType !== 'add' && (status === '1' || status === '2' || status === '3')
+          "
+        >
           <div class="good-preview-box">
             <good-preview
               style="margin: 0 auto"