yusheng 1 год назад
Родитель
Сommit
826b3a75eb

+ 1 - 1
src/views/warehouseManagement/components/AssetsDialog.vue

@@ -562,7 +562,7 @@
               this.$set(item, 'outboundNum', matchedProduct.measureQuantity);
             }
             const isSelection = this.selectionList.find(
-              (product) => product.categoryId === item.id
+              (product) => product.id === item.id
             );
             if(isSelection){
               this.$set(item, 'outboundNum', isSelection.outboundNum);

+ 2 - 2
src/views/warehouseManagement/stockManagement/add.vue

@@ -78,9 +78,9 @@
         </header-title>
         <div class="form_table">
           <el-form ref="productListRef" :model="{ productList: productList }" :show-message="false">
-            <!-- <el-button v-if="productList.length != 0" type="success" plain
+            <el-button v-if="productList.length != 0" type="success" plain
               style="margin-bottom: 20px; float: right; margin-right: 20px" size="mini"
-              @click="batchSave">批量保存</el-button> -->
+              @click="batchSave">批量保存</el-button>
             <el-button v-if="productList.length != 0" type="success" plain
               style="margin-bottom: 20px; float: right; margin-right: 20px" size="mini"
               @click="handleWareHouse(productList, '', 'batch')">批量选择仓库</el-button>