src/views/productManage/product/AddProductDialog.vue
@@ -40,6 +40,7 @@ :add-product="addProduct" @inOutBoundClick="inOutBoundClick" :show-procure="showProcure" :countObject="statisticsMap" :show-sale="showSale" /> <div class="bottom"> @@ -524,7 +525,10 @@ { name: "辅料", id: "辅料" }, { name: "耗材", id: "耗材" }, { name: "其他", id: "其他" } ] ], statisticsMap: { inLibrary: 0 // 在库 } } }, created() { @@ -532,6 +536,7 @@ this.getProductList() this.setTableForm() this.setBottonView() this.statisticsMap.inLibrary = this.editConfig?.infomation?.amount ?? 0 }, methods: { // 获取产品类别