Zhou.xiaoning 4 лет назад
Родитель
Сommit
b1ca1844a2

+ 3 - 2
src/views/order/pre_sale_warehouse_receipt/components/pre_sale_warehouse_receipt_order_summary/index.vue

@@ -13,11 +13,12 @@
              rowKey="key"
              :data-source="tableList">
       <!-- 额外的展开行 -->
-      <template #expandedRowRender="{ record }">
+      <template #expandedRowRender="{ record }" >
         <BtnList :btnList="btnList"
                  class="btn-list-sticky"
                  :record="record"
-                 @click="openComponent" />
+                 @click="openComponent" 
+                 v-if="record.enalbeqty > 0"/>
       </template>
     </a-table>
     <component :is="componentId"