lilei 3 years ago
parent
commit
63e921fe93

+ 1 - 1
src/views/salesManagement/salesQuery/detail.vue

@@ -90,7 +90,7 @@
           </div>
           <!-- 操作 -->
           <template slot="action" slot-scope="text, record">
-            <a-button size="small" type="link" class="button-primary" @click="handleViewDetail(record)">出库明细</a-button>
+            <a-button size="small" type="link" v-if="record.oosFlag == 0" class="button-primary" @click="handleViewDetail(record)">出库明细</a-button>
           </template>
         </s-table>
         <!-- 出入库明细 -->

+ 1 - 1
src/views/salesManagement/salesQuery/edit.vue

@@ -171,7 +171,7 @@
           </template>
           <!-- 操作 -->
           <template slot="action" slot-scope="text, record">
-            <a-button size="small" type="link" class="button-primary" @click="handleViewDetail(record)">出库明细</a-button>
+            <a-button size="small" v-if="record.oosFlag == 0" type="link" class="button-primary" @click="handleViewDetail(record)">出库明细</a-button>
             <a-button
               size="small"
               type="link"