소스 검색

no message

Moss 1 년 전
부모
커밋
2266503cbd
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      src/views/mallManagement/order/offline_order_list/index.vue

+ 5 - 1
src/views/mallManagement/order/offline_order_list/index.vue

@@ -412,7 +412,11 @@
               {{scope.row.num * scope.row.price * 100 / 100}}
             </template>
           </el-table-column>
-          <el-table-column align="center" label="库存数量" prop="goodsMaterialStock" min-width="120"></el-table-column>
+          <el-table-column align="center" label="库存数量" prop="goodsMaterialStock" min-width="120">
+            <template slot-scope="scope">
+              {{scope.row.flag == 1 ? scope.row.stockQty : scope.row.goodsMaterialStock}}
+            </template>
+          </el-table-column>
         </el-table>
 
         <div v-if="activeKey == 'examine'">