Просмотр исходного кода

批次id传数组;去掉物料明细;

yijing 1 год назад
Родитель
Сommit
30dd3c6f7e

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

@@ -395,7 +395,7 @@ export default {
       } else if (this.dimension == 2) {
         data = await storageApi.getHierarchyFifo({
           type: this.dimension,
-          ids: this.selectionList.map((item) => item.id).join(','),
+          ids: this.selectionList.map((item) => item.id),
           builders: this.selectionList.map((item) => {
             return {
               categoryId: item.categoryId,

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

@@ -190,7 +190,7 @@
             </el-table>
           </div>
         </div>
-        <div class="mt20">
+        <!-- <div class="mt20">
           <header-title class="mt20" title="物料明细"></header-title>
           <el-table ref="multipleTable" :data="showMaterialList" tooltip-effect="dark" :max-height="300"
             :row-class-name="tableRowClassName" :header-cell-style="rowClass" border style="width: 100%" stripe
@@ -224,7 +224,7 @@
               </template>
             </el-table-column>
           </el-table>
-        </div>
+        </div> -->
       </div>
       <div class="center mt20">
         <el-button type="primary" @click="handleSave" :loading="saveLoading">保存</el-button>