<template>
  <div>
    <!-- <div>
      <p-card title="货主库存转换">
        <p-grid-form
          ref="formTarget"
          :items="gridItems"
          @submit="
            ($event, form) => {
              handleSubmit($event, form, 'formTarget')
            }
          "
        />
        <p-table
          ref="logTable"
          style="margin-top: 10px"
          :columns="tableColumns"
          rowKey="rcvHeaderId"
          :expandRowByClick="false"
          :rowSelectFixed="true"
          :rowSelectType="false"
          :remoteUrl="remoteUrl"
          :remoteParams="remoteUrl.params"
          :dataSource.sync="dataSource"
          :loading="tabLoding"
          dragle
          auto-width
          bordered
        >
          <div slot="action" href="javascript:;" slot-scope="text">
            <a slot="action" @click.stop="edit(text)">查看</a>
            <a-divider type="vertical" />
            <a slot="action" @click.stop="add(text)">添加明细</a>
          </div>
        </p-table>
        <div slot="extra">
          <p-button type="primary" icon="to-top" @click="extractFun"> 提取 </p-button>
        </div>
      </p-card>
    </div>
    <extrace ref="extractTable" /> -->
  </div>
</template>
<script>
// import { formItems, tableColumns } from './js/config'
// import { taskSplit, addItems, rejectLotNo } from './api/index'
// import extrace from './modules/extrace.vue'

// export default {
//   components: {
//     extrace
//   },
//   data() {
//     return {
//       
//       dataSource: [],
//       tabLoding: false,
//       gridItems: formItems(this),
//       tableColumns: tableColumns
//     }
//   },
//   created() {},
//   methods: {
//     edit(text) {},
//     add(text) {},
//     extractFun() {
//       // 提取
//       this.$refs.extractTable.logVisible = true
//     }
//   }
// }
//
</script>
//
<style lang="less" scoped>
// /deep/.ant-card-body {
//   padding: 12px 18px 18px 18px;
// }
//
</style>
