lzhe
2025-08-12 b1bc97edafe1367503a57be94e38070525474593
Merge branch 'master' of http://www.beijingsoft.cn:9090/r/mdmweb
已修改1个文件
24 ■■■■■ 文件已修改
src/views/flowmgr/backImport.vue 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/flowmgr/backImport.vue
@@ -1,17 +1,12 @@
<template>
  <basic-container>
    <avue-crud
      :addBtn="false"
      :option="option"
      :table-loading="loading"
      :data="data"
      ref="crud"
      @selection-change="selectionChange"
    >
    <avue-crud :addBtn="false" :option="option" :table-loading="loading" :data="data" ref="crud"
      @selection-change="selectionChange">
      <template #menu-left>
        <div style="display: flex;">
          <el-button type="primary" size="default" icon="el-icon-circle-plus" @click="importData">导入</el-button>
          <el-button type="primary" size="default" icon="el-icon-circle-plus" plain @click="handleWarehouse" style="margin-left: 12px;">入库</el-button>
          <el-button type="primary" size="default" icon="el-icon-circle-plus" plain @click="handleWarehouse"
            style="margin-left: 12px;">入库</el-button>
        </div>
      </template>
    </avue-crud>
@@ -130,9 +125,11 @@
    uploadError(error,column) {
      
    },
    handleWarehouse(row,index) {
    handleWarehouse() {
      if(this.selection.length == 0) {
        this.$message.error("请选择数据")
        return this.$message.error("请选择数据")
      }
      let selection = [];
        this.selection.forEach(item=> {
          selection.push(item.id);
        })
@@ -160,10 +157,7 @@
        );
      }
    },
  },
};
</script>
<style lang="scss">
</style>
<style lang="scss"></style>