liuying
2024-04-23 bd7884c3ec972c367bbb360d4e02460b5997706a
iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsMaterial/index.vue
@@ -177,6 +177,8 @@
            导出
          </a-button>
         <a-button type="primary" v-if="hasPerm('WmsMaterial:add')" icon="plus" @click="$refs.addForm.add()">新增物料信息表</a-button>
         <!-- 自定义 -->
         <a-button type="primary" v-if="hasPerm('WmsMaterial:add')" icon="plus" @click="$refs.tabForm.add()">新增tab</a-button>
      </div>
      </template>
        <span slot="isDisabledscopedSlots" slot-scope="text">
@@ -200,6 +202,9 @@
      <add-form ref="addForm" @ok="handleOk" />
      <edit-form ref="editForm" @ok="handleOk" />
     <excel-form ref="excelForm" @ok="handleOk" />
     <!-- 自定义 -->
     <tab-form ref="tabForm" @ok="handleOk" />
    </a-card>
  </div>
</template>
@@ -210,6 +215,9 @@
   //自定义table高度
   import setTableHtMixin from '@/mixins/handleTableHt.js'
   import addForm from './addForm.vue'
//自定义
   import tabForm from './tabForm.vue'
   import { exportExcel } from '@/utils/exportToExcel'
   import { downloadFile } from '@/utils/util'
   import editForm from './editForm.vue'
@@ -220,7 +228,8 @@
   STable,
   addForm,
   editForm,
   excelForm
   excelForm,
   tabForm //自定义
   },
   data () {
   return {