<template>
    <div class="page-box" v-loading="Loading.appMainLoading">
      <tablePagination
        :currenButtonData="currenButtonData"
        :tableData="tableData"
        :tableLoading="Loading.tableLoading"
        :tableColumns="tableColumns"
        @rowDrop="rowDrop"
        :totalCount="totalCount"
        :multipleSelection="multipleSelection"
        :MaxResultCount="PageListParams.MaxResultCount"
        @topbutton="topbutton"
        @inlineDialog="inlineDialog"
        @sortChange="sortChange"
        @alertoldSkipCount="alertoldSkipCount"
        @alterResultCount="alterResultCount"
        @handleSelectionChange="handleSelectionChange"
        :currentPageProps="oldSkipCount"
        :quicklySearchOption="quicklySearchOption"
        @quicklySearchClick="quicklySearchClick"
        @quicklySearchClear="quicklySearchClear"
        :primarySearchOption="primarySearchOption"
        @overallSearchFormClick="overallSearchFormClick"
        :httpOverallSearchData="httpOverallSearchData"
      >
      </tablePagination>
      <curren-Drawer
        :title="tableColumns"
        :DrawerLoading="Loading.DrawerLoading"
        :drawer="displayDialog.detailsDialog"
        :propsData="propsData"
        :tabsDesTions="tabsDesTions"
        :Butttondata="DrawerButtonData"
        :dropdownTabsData="dropdownTabsData"
        @drawerShut="(val) => (displayDialog.detailsDialog = val)"
        @drawerbutton="drawerbutton"
        @close-value="closeValue"
        :currenButtonData="currenButtonData"
        :tableColumns="detailsTableColumns"
        :totalCount="totalCountDetails"
        :MaxResultCount="MaxResultCountDetails"
        @alterResultCountDetails="alterResultCountDetails"
        @alertoldSkipCountDetails="alertoldSkipCountDetails"
      ></curren-Drawer>
    </div>
  </template>
  <script>
  import { getDetailed } from "@/api/wms-api"
  import { close } from "@/api/wms-job"
  import { tableMixins } from "@/mixins/TableMixins"
  import { LoadingMixins } from "@/mixins/LoadingMixins"
  import { drawerMixins } from "@/mixins/drawerMixins"
  import { TableHeaderMixins } from "@/mixins/TableHeaderMixins"
  import { mixins } from "@/mixins/mixins"
  export default {
    name: "KittingPackagingNote",
    mixins: [
      tableMixins,
      LoadingMixins,
      drawerMixins,
      TableHeaderMixins,
      mixins,
    ],
    data () {
      let _this = this;
      return {
        URL: 'wms/store/KittingPackagingNote',
        //常用按钮数据
        currenButtonData: [
          // this.defaultImportBtn(),//导入
          this.defaultExportBtn(),//导出
          this.defaultFieldSettingBtn(),//字段设置
          this.defaultFreshBtn(),//刷新
          this.defaultFilterBtn(),//筛选
        ],
        // 自定义详情明细汇总等table页
        dropdownTabsData: [
            {
            label: "详情",
            name: 'xq'
            },
            {
            label: "明细",
            name: 'mx'
            },
            {
            label: "扫描明细",
            name: 'depDetails',
            tableColumns: 'KittingPackagingDepDetails',
            functionName: 'otherDetailTab'
            },
        ],
        DrawerButtonData: [],
      };
    },
    mounted () {
      this.paging()
    },
    methods: {
      
    }
  };
  </script>
  <style lang="scss" scoped>
  @import "@/styles/mainbasicData.scss";
  </style>