<!-- @desc:入库办理  @auth:常皓宁  @time:2024/2/18 12:59 -->
<template>
  <div class="main-div" ref="mainDiv">
    <loading :loading="loading" v-if="!modalVisible"></loading>
    <!--按钮区-->
    <BaseIndexButtonGroup ref="BaseIndexButtonGroup" id="BaseIndexButtonGroup">
      <template #left>
        <!--    查询    -->
        <BaseIndexButton ref="search" name="search"></BaseIndexButton>
        <!--    清空条件    -->
        <BaseIndexButton ref="clear" name="clear"></BaseIndexButton>
        <!--    编辑    -->
        <BaseIndexButton ref="edit" name="edit"></BaseIndexButton>
        <!--    启用    -->
        <BaseIndexButton ref="enable" name="enable"></BaseIndexButton>
        <!--    停用    -->
        <BaseIndexButton ref="disable" name="disable"></BaseIndexButton>
      </template>
      <template #right>
        <!--   新建     -->
        <BaseIndexButton ref="add" name="add"></BaseIndexButton>
      </template>
    </BaseIndexButtonGroup>

    <!--  查询条件区域  -->
    <div id="search-cond-div" ref="search-cond-div" class="search-cond-class">
      <SearchCond ref="searchCond" v-model="searchCond"
                  @collapse-change="collapseChange" :setFlag="false"
                  :searchContent="searchContent"
      ></SearchCond>
    </div>
    <DkSplit mode="vertical" v-model="split" :height="tableHeight">
      <div  slot="top">
        <DkTabs v-model="tableModel" :options="tabsOptions" @on-click="clickTab"></DkTabs>
        <!--待入库Tbale-->
        <DkTable :id="'table-'+$options.name" ref="table-select" :data="tableData"
                 :page-total="pageInfo.total"
                 :current-page="pageInfo.currentPage"
                 :multiple="false"
                 :height="this.tableHeight * split - 35" primaryKey="entryId"
                 @current-change="currentChangeStandard"
                 :choose-flag="true"
                 @pageChange="pageSizeChange">
          <!-- 所属公司-->
          <DkTableColumn field="sale2Name" :title="$t('ascpId')"></DkTableColumn>
          <!-- 采购入库单号-->
          <!--          <DkTableColumn :type="$libaray.checkButtonHasRight('entryHandle')?'link':''"-->
          <!--                         field="entryNo" width="auto" min-width="220px" @on-link="openform"></DkTableColumn>-->
          <!-- 发货日期-->
          <DkTableColumn field="sale1OutDate" width="auto" :filter=false></DkTableColumn>
          <!-- 入库日期-->
          <DkTableColumn field="entryDate" width="auto" :filter=false
                         :title="$t('WarehousingData')"></DkTableColumn>
          <!-- 入库状态-->
          <DkTableColumn field="entryStatusString" :title="$t('inStatus')" :filter=false></DkTableColumn>
          <!-- 待入库数量-->
          <DkTableColumn field="sumEntryGoingQuantity" :title="'待入库数量'" :filter=false
                         :sum="true" :digits="0"></DkTableColumn>
          <!-- 待入库金额-->
          <DkTableColumn field="sumEntryGoingAmount" :title="'待入库金额'" :filter=false
                         :sum="true" :digits="0"></DkTableColumn>
          <!-- 合计退货数量-->
          <DkTableColumn field="sumRejectQuantity" :title="'合计退货数量'" :filter=false
                         :sum="true" :digits="0"></DkTableColumn>
          <!-- 合计退货金额-->
          <DkTableColumn field="sumRejectAmount" :title="'合计退货金额'"  :filter=false :sum="true" :digits="0"></DkTableColumn>
          <!-- 仓库-->
          <DkTableColumn field="whName" :filter=false></DkTableColumn>
          <!-- 供应商-->
          <DkTableColumn field="supplierName" :filter=false></DkTableColumn>
          <!-- 收货人-->
          <DkTableColumn field="receiverName" :filter=false :title="$t('consignee')"></DkTableColumn>
          <!-- 收货电话-->
          <DkTableColumn field="receiverPhone" :filter=false :title="$t('consigneePhone')"></DkTableColumn>
          <!-- 收货地址-->
          <DkTableColumn field="receiverAddress" :filter=false :title="$t('takeOverAddress')"></DkTableColumn>
          <!--制单人-->
          <DkTableColumn field="makingUserName" :title="$t('makingUser')" :filter="false"></DkTableColumn>
          <!--入库办理人-->
          <DkTableColumn field="doneUserName" :title="$t('entryHandleUser')"></DkTableColumn>
          <!-- 备注-->
          <DkTableColumn field="remarks" :filter="false"></DkTableColumn>
        </DkTable>
      </div>
      <!-- 货物明细-->
      <div slot="bottom">
        <DkTable ref="standardGoodsFlag"
                 primaryKey="itemId"
                 :id="'table-'+$options.name"
                 name="table2" :data="goodsDetailData"
                 :height="this.tableHeight * (1-split)"
                 :select-flag="false"
                 :choose-flag="false"
                 :pageFlag="false"
                 :pageTotalFlag="false"
                 show-footer>
          <!-- 采购订单号-->
          <DkTableColumn field="procureOrderNo" width="150" :filter="false"
                         :title="$t('procureOrderNo1')"></DkTableColumn>
          <!-- 商品型号-->
          <DkTableColumn field="skuModel" :filter="false"></DkTableColumn>
          <!-- 商品名称-->
          <DkTableColumn field="skuName" :filter="false"></DkTableColumn>
          <!-- 唯一编码-->
          <DkTableColumn field="skuCode" :filter="false"></DkTableColumn>
          <!-- 品牌-->
          <DkTableColumn field="brandName" :filter="false" :title="$t('skuBrand')"></DkTableColumn>
          <!-- 待入库数量-->
          <DkTableColumn field="entryGoingQuantity" :title="'待入库数量'" :filter=false :sum="true" :digits="0"></DkTableColumn>
          <!-- 退货数量-->
          <DkTableColumn field="rejectQuantity" :title="'退货数量'" :filter=false :sum="true" :digits="0"></DkTableColumn>
          <!-- 退货金额-->
          <DkTableColumn field="rejectAmount" :title="'退货金额'" :filter=false :sum="true"></DkTableColumn>
          <!-- 仓库-->
          <DkTableColumn field="whName" :filter="false"></DkTableColumn>
          <!--型号分类-->
          <DkTableColumn field="skuTypeName" :filter="false"></DkTableColumn>
          <!--非标号-->
          <DkTableColumn field="nonStandardCode" :filter="false"></DkTableColumn>
          <DkTableColumn field="remarks" :filter=false></DkTableColumn>
        </DkTable>
      </div>
    </DkSplit>
  </div>
</template>

<script>
import {indexMixin} from "@/mixins";

export default {
  name: 'entry-handle',
  mixins: [indexMixin],
  data() {
    let self = this
    return {
      tableModel: '待入库',
      tableData: [],
      goodsDetailData: [],
      tabsOptions: [
        {
          label: '待入库',
          name: '待入库'
        },
        {
          label: '已入库',
          name: '已入库'
        }
      ],
      searchContent:
        [
          {
            itemCode: '入库类型',
          },
          {
            itemCode: '入库原因',
          },
          {
            itemCode: '收货人',
          },
          {
            itemCode: '收货电话',
          },
          {
            itemCode: '收货地址',
          },
          {
            itemCode: '供应商',
          },
          {
            itemCode: '发货日期',
            itemName: '发货日期',
            valueFormat: {
              code: '发货日期',
              default: [new Date().addMonths(-1).format('yyyy-MM-dd'), new Date().format('yyyy-MM-dd')]
            },
            valueKind: 'DATE_RANGE'
          },
          {
            itemCode: '入库日期',
            itemName: '入库日期',
            valueFormat: {
              code: '入库日期',
              default: [new Date().addMonths(-1).format('yyyy-MM-dd'), new Date().format('yyyy-MM-dd')]
            },
            valueKind: 'DATE_RANGE'
          },
          {
            itemCode: '查看冲正单据',
            itemName: '查看冲正单据',
            valueFormat: {code: 'showItem', default: false},
            valueKind: 'SWITCH'
          },
        ],
    }
  },
  methods: {
    /**
     * @desc   : 新建
     * @author : 常皓宁
     * @date   : 2024/2/19 9:21
     */
    add() {
      this.$router.push('/inventory-manage/entry-handle/add');
    },
    /**
     * @desc   : 查询
     * @author : 常皓宁
     * @date   : 2024/2/18 13:16
     */
    // initData(currentPage) {
    //   this.$nextTick(() => {
    //     //查询条件
    //     // this.searchCondOk(this.searchCond)
    //     this.loading = true
    //     this.tableData = []
    //     if (currentPage) {
    //       this.pageInfo.currentPage = currentPage
    //     }
    //     this.getData()
    //   })
    // },

    /**
     * @desc   : 获取数据
     * @author : 常皓宁
     * @date   : 2024/2/18 13:29
     */
    getData() {
      this.loading = true
      //参数设置
      let params = {...this.setSearchParams()}
      this.tableData = [
        {
          "entryId": 523,
          "customerId": 1022,
          "customerName": "怀化辰溪恒洁卫浴",
          "customerPhone": "15096295820",
          "contactName": "营养快线",
          "contactPhones": "17642008208",
          "salesChannel": null,
          "orgId": 30883,
          "entryNo": "WE-0726-726-202310270KDB",
          "supplierId": 114,
          "orderId": 8680,
          "orderNo": "PA-0726-726-202310270KD9",
          "entryStatus": 2,
          "sumEntryGoingQuantity": 300,
          "sumEntryGoingAmount": 500000,
          "sumEntryQuantity": 0,
          "sumEntryAmount": 0,
          "remarks": "AAAA",
          "flgValid": true,
          "cpId": 20834,
          "opCreateTime": "2023-10-27 15:22:15",
          "opCreateUserId": 254,
          "opUpdateTime": "2023-11-14 16:42:55",
          "opUpdateUserId": 74,
          "sale1Id": 20834,
          "sale2Id": 29039,
          "ascpId": 29039,
          "entryKind": "入库类型-采购",
          "entryReason": null,
          "sale1OutId": 1263,
          "staffId": 634,
          "rejectId": null,
          "rejectNo": null,
          "orgName": "辰溪县金海店",
          "entryReasonName": null,
          "responsibleName": null,
          "entryDate": null,
          "sale1OutDate": "2023-10-27",
          "entryWhId": 585,
          "addressArea": null,
          "addressName": null,
          "addressGcj02": null,
          "addressFull": "辽宁省沈阳市浑南区辽宁心选网络科技有限公司1111B🙄",
          "sale2IvtType": null,
          "whName": "1",
          "makingUser": 74,
          "salesChannelCode": null,
          "doneUser": 74,
          "doneTime": "2023-11-14 16:41:19",
          "orderEntryItemList": null,
          "entryStatusName": "入库中",
          "entryObjectName": "怀化辰溪恒洁卫浴",
          "erpOutNo": "CSSAYYY23102700002",
          "categoryQuantity": null,
          "staffName": "姜宁",
          "sale1ErpOutDoneNo": "CSIDYYY23102700002",
          "flgAllowTodone": null,
          "flgAllowReverse": true,
          "entryObjectId": 1022,
          "entryObjectType": 1,
          "sale2Name": null,
          "procureOrderNo": null,
          "invoiceDate": null,
          "entryKindName": "采购入库",
          "supplierName": "怀化辰溪恒洁卫浴-供应商",
          "statusName": null,
          "inOutStatus": null,
          "inOutDate": null,
          "sumQuantity": null,
          "sumAmount": null,
          "consignee": null,
          "consigneePhone": null,
          "takeOverAddress": null,
          "makingUserName": "常皓宁",
          "doneUserName": null,
          "makingTime": "2023/11/14 16:41:19",
          "totalRemarks": null,
          "entryStatusString": null,
          "nonStandardCode": null,
          "annexPaths": [
            {
              "url": "https://hgscrm-dev.oss-cn-shenzhen.aliyuncs.com/test/t_order_entry/annex_paths/2023-11-02/6042cfcb-323e-4d35-8ca7-2cc0634f115a.jpg"
            },
            {
              "url": "https://hgscrm-dev.oss-cn-shenzhen.aliyuncs.com/test/t_order_entry/annex_paths/2023-11-02/a363d70b-ef4d-4fef-a69d-5f2d2b3c831d.png"
            },
            {
              "url": "https://hgscrm-dev.oss-cn-shenzhen.aliyuncs.com/test/t_order_entry/annex_paths/2023-11-02/e4e40703-68a3-414a-926f-dd52475955b6.jpg"
            }
          ],
          "supplierContactName": null,
          "supplierContactPhone": null,
          "supplierAddressFull": null,
          "outNo": null,
          "outId": null,
          "outTime": null,
          "receiverName": null,
          "receiverPhone": null,
          "receiverAddress": null,
          "editTime": null,
          "saveAscpId": null,
          "addressNo": null,
          "contractNo": null,
          "customerFrom": null,
          "toiletCount": null,
          "toiletCountName": null,
          "houseType": null,
          "houseTypeName": null,
          "fitupType": null,
          "fitupTypeName": null,
          "fitupStyle": null,
          "fitupStyleName": null,
          "ageComposition": null,
          "ageCompositionName": null,
          "decisionMaker": null,
          "decisionMakerName": null,
          "deliveryTypeName": null,
          "fromName": null,
          "sumRejectQuantity": -2,
          "sumRejectAmount": -5000,
          "docCode": null,
          "sale2OpeMode": null,
          "sentryId": null
        },
        {
          "entryId": 486,
          "customerId": null,
          "customerName": '王软',
          "customerPhone": '13900138000',
          "contactName": null,
          "contactPhones": null,
          "salesChannel": null,
          "orgId": 30883,
          "entryNo": "WE-0726-555-202310260K7I",
          "supplierId": null,
          "orderId": null,
          "orderNo": null,
          "entryStatus": 2,
          "sumEntryGoingQuantity": 1,
          "sumEntryGoingAmount": 0,
          "sumEntryQuantity": 0,
          "sumEntryAmount": 0,
          "remarks": null,
          "flgValid": true,
          "cpId": 20834,
          "opCreateTime": "2023-10-26 15:20:31",
          "opCreateUserId": 937,
          "opUpdateTime": "2023-10-26 15:20:31",
          "opUpdateUserId": 937,
          "sale1Id": 20834,
          "sale2Id": 29039,
          "ascpId": 29039,
          "entryKind": "入库类型-其他",
          "entryReason": 193,
          "sale1OutId": null,
          "staffId": 937,
          "rejectId": null,
          "rejectNo": null,
          "orgName": "辰溪县金海店",
          "entryReasonName": "库存盘盈",
          "responsibleName": null,
          "entryDate": "2023-10-26",
          "sale1OutDate": null,
          "entryWhId": null,
          "addressArea": null,
          "addressName": null,
          "addressGcj02": null,
          "addressFull": '沈阳市国际软件园F9-102',
          "sale2IvtType": null,
          "whName": null,
          "makingUser": 937,
          "salesChannelCode": null,
          "doneUser": 937,
          "doneTime": "2023-10-26 15:20:31",
          "orderEntryItemList": null,
          "entryStatusName": "入库中",
          "entryObjectName": null,
          "erpOutNo": null,
          "categoryQuantity": 1,
          "staffName": "张德亮",
          "sale1ErpOutDoneNo": null,
          "flgAllowTodone": null,
          "flgAllowReverse": null,
          "entryObjectId": null,
          "entryObjectType": null,
          "sale2Name": null,
          "procureOrderNo": null,
          "invoiceDate": null,
          "entryKindName": "退货回库",
          "supplierName": null,
          "statusName": null,
          "inOutStatus": null,
          "inOutDate": null,
          "sumQuantity": null,
          "sumAmount": null,
          "consignee": null,
          "consigneePhone": null,
          "takeOverAddress": null,
          "makingUserName": "张德亮",
          "doneUserName": null,
          "makingTime": "2023/10/26 15:20:31",
          "totalRemarks": null,
          "entryStatusString": null,
          "nonStandardCode": null,
          "annexPaths": [],
          "supplierContactName": null,
          "supplierContactPhone": null,
          "supplierAddressFull": null,
          "outNo": null,
          "outId": null,
          "outTime": null,
          "receiverName": null,
          "receiverPhone": null,
          "receiverAddress": null,
          "editTime": null,
          "saveAscpId": null,
          "addressNo": null,
          "contractNo": null,
          "customerFrom": null,
          "toiletCount": null,
          "toiletCountName": null,
          "houseType": null,
          "houseTypeName": null,
          "fitupType": null,
          "fitupTypeName": null,
          "fitupStyle": null,
          "fitupStyleName": null,
          "ageComposition": null,
          "ageCompositionName": null,
          "decisionMaker": null,
          "decisionMakerName": null,
          "deliveryTypeName": null,
          "fromName": null,
          "sumRejectQuantity": 0,
          "sumRejectAmount": 0,
          "docCode": null,
          "sale2OpeMode": null,
          "sentryId": null
        },
        {
          "entryId": 418,
          "customerId": null,
          "customerName": null,
          "customerPhone": null,
          "contactName": null,
          "contactPhones": null,
          "salesChannel": null,
          "orgId": 30883,
          "entryNo": "WE-0726-555-202310180JT6",
          "supplierId": null,
          "orderId": null,
          "orderNo": null,
          "entryStatus": 2,
          "sumEntryGoingQuantity": 1,
          "sumEntryGoingAmount": 0,
          "sumEntryQuantity": 0,
          "sumEntryAmount": 0,
          "remarks": null,
          "flgValid": true,
          "cpId": 20834,
          "opCreateTime": "2023-10-18 10:58:31",
          "opCreateUserId": 643,
          "opUpdateTime": "2023-10-18 10:58:31",
          "opUpdateUserId": 643,
          "sale1Id": 20834,
          "sale2Id": 29039,
          "ascpId": 29039,
          "entryKind": "入库类型-其他",
          "entryReason": 192,
          "sale1OutId": null,
          "staffId": 643,
          "rejectId": null,
          "rejectNo": null,
          "orgName": "辰溪县金海店",
          "entryReasonName": "其他采购",
          "responsibleName": null,
          "entryDate": "2023-10-18",
          "sale1OutDate": null,
          "entryWhId": null,
          "addressArea": null,
          "addressName": null,
          "addressGcj02": null,
          "addressFull": null,
          "sale2IvtType": null,
          "whName": null,
          "makingUser": 643,
          "salesChannelCode": null,
          "doneUser": 643,
          "doneTime": "2023-10-18 10:58:30",
          "orderEntryItemList": null,
          "entryStatusName": "入库中",
          "entryObjectName": null,
          "erpOutNo": null,
          "categoryQuantity": 1,
          "staffName": "王英杰",
          "sale1ErpOutDoneNo": null,
          "flgAllowTodone": null,
          "flgAllowReverse": null,
          "entryObjectId": null,
          "entryObjectType": null,
          "sale2Name": null,
          "procureOrderNo": null,
          "invoiceDate": null,
          "entryKindName": "其他入库",
          "supplierName": null,
          "statusName": null,
          "inOutStatus": null,
          "inOutDate": null,
          "sumQuantity": null,
          "sumAmount": null,
          "consignee": null,
          "consigneePhone": null,
          "takeOverAddress": null,
          "makingUserName": "王英杰",
          "doneUserName": null,
          "makingTime": "2023/10/18 10:58:30",
          "totalRemarks": null,
          "entryStatusString": null,
          "nonStandardCode": null,
          "annexPaths": [],
          "supplierContactName": null,
          "supplierContactPhone": null,
          "supplierAddressFull": null,
          "outNo": null,
          "outId": null,
          "outTime": null,
          "receiverName": null,
          "receiverPhone": null,
          "receiverAddress": null,
          "editTime": null,
          "saveAscpId": null,
          "addressNo": null,
          "contractNo": null,
          "customerFrom": null,
          "toiletCount": null,
          "toiletCountName": null,
          "houseType": null,
          "houseTypeName": null,
          "fitupType": null,
          "fitupTypeName": null,
          "fitupStyle": null,
          "fitupStyleName": null,
          "ageComposition": null,
          "ageCompositionName": null,
          "decisionMaker": null,
          "decisionMakerName": null,
          "deliveryTypeName": null,
          "fromName": null,
          "sumRejectQuantity": 0,
          "sumRejectAmount": 0,
          "docCode": null,
          "sale2OpeMode": null,
          "sentryId": null
        },
        {
          "entryId": 416,
          "customerId": null,
          "customerName": null,
          "customerPhone": null,
          "contactName": null,
          "contactPhones": null,
          "salesChannel": null,
          "orgId": 30883,
          "entryNo": "WE-0726-555-202310170JSR",
          "supplierId": null,
          "orderId": null,
          "orderNo": null,
          "entryStatus": 2,
          "sumEntryGoingQuantity": 1,
          "sumEntryGoingAmount": 0,
          "sumEntryQuantity": 0,
          "sumEntryAmount": 0,
          "remarks": null,
          "flgValid": true,
          "cpId": 20834,
          "opCreateTime": "2023-10-17 17:21:13",
          "opCreateUserId": 643,
          "opUpdateTime": "2023-10-17 17:21:13",
          "opUpdateUserId": 643,
          "sale1Id": 20834,
          "sale2Id": 29039,
          "ascpId": 29039,
          "entryKind": "入库类型-其他",
          "entryReason": 193,
          "sale1OutId": null,
          "staffId": 643,
          "rejectId": null,
          "rejectNo": null,
          "orgName": "辰溪县金海店",
          "entryReasonName": "库存盘盈",
          "responsibleName": null,
          "entryDate": "2023-10-17",
          "sale1OutDate": null,
          "entryWhId": null,
          "addressArea": null,
          "addressName": null,
          "addressGcj02": null,
          "addressFull": null,
          "sale2IvtType": null,
          "whName": null,
          "makingUser": 643,
          "salesChannelCode": null,
          "doneUser": 643,
          "doneTime": "2023-10-17 17:21:12",
          "orderEntryItemList": null,
          "entryStatusName": "入库中",
          "entryObjectName": null,
          "erpOutNo": null,
          "categoryQuantity": 1,
          "staffName": "王英杰",
          "sale1ErpOutDoneNo": null,
          "flgAllowTodone": null,
          "flgAllowReverse": null,
          "entryObjectId": null,
          "entryObjectType": null,
          "sale2Name": null,
          "procureOrderNo": null,
          "invoiceDate": null,
          "entryKindName": "其他入库",
          "supplierName": null,
          "statusName": null,
          "inOutStatus": null,
          "inOutDate": null,
          "sumQuantity": null,
          "sumAmount": null,
          "consignee": null,
          "consigneePhone": null,
          "takeOverAddress": null,
          "makingUserName": "王英杰",
          "doneUserName": null,
          "makingTime": "2023/10/17 17:21:12",
          "totalRemarks": null,
          "entryStatusString": null,
          "nonStandardCode": null,
          "annexPaths": [],
          "supplierContactName": null,
          "supplierContactPhone": null,
          "supplierAddressFull": null,
          "outNo": null,
          "outId": null,
          "outTime": null,
          "receiverName": null,
          "receiverPhone": null,
          "receiverAddress": null,
          "editTime": null,
          "saveAscpId": null,
          "addressNo": null,
          "contractNo": null,
          "customerFrom": null,
          "toiletCount": null,
          "toiletCountName": null,
          "houseType": null,
          "houseTypeName": null,
          "fitupType": null,
          "fitupTypeName": null,
          "fitupStyle": null,
          "fitupStyleName": null,
          "ageComposition": null,
          "ageCompositionName": null,
          "decisionMaker": null,
          "decisionMakerName": null,
          "deliveryTypeName": null,
          "fromName": null,
          "sumRejectQuantity": 0,
          "sumRejectAmount": 0,
          "docCode": null,
          "sale2OpeMode": null,
          "sentryId": null
        },
      ]
      console.log('this.tableData', this.tableData)
    },

    /**
     * @desc   : 列表行变化事件
     * @author : 常皓宁
     * @date   : 2024/2/18 13:16
     */
    currentChangeStandard({row}) {
      if (row) {
        this.goodsDetailData = [
          {
            "entryId": 523,
            "customerId": 1022,
            "customerName": "怀化辰溪恒洁卫浴",
            "customerPhone": "15096295820",
            "contactName": "营养快线",
            "contactPhones": "17642008208",
            "salesChannel": null,
            "orgId": 30883,
            "entryNo": "WE-0726-726-202310270KDB",
            "supplierId": 114,
            "orderId": 8680,
            "orderNo": "PA-0726-726-202310270KD9",
            "entryStatus": 2,
            "sumEntryGoingQuantity": 300,
            "sumEntryGoingAmount": 500000,
            "sumEntryQuantity": 0,
            "sumEntryAmount": 0,
            "remarks": "AAAA",
            "flgValid": true,
            "cpId": 20834,
            "opCreateTime": "2023-10-27 15:22:15",
            "opCreateUserId": 254,
            "opUpdateTime": "2023-11-14 16:42:55",
            "opUpdateUserId": 74,
            "sale1Id": 20834,
            "sale2Id": 29039,
            "ascpId": 29039,
            "entryKind": "入库类型-采购",
            "entryReason": null,
            "sale1OutId": 1263,
            "staffId": 634,
            "rejectId": null,
            "rejectNo": null,
            "orgName": "辰溪县金海店",
            "entryReasonName": null,
            "responsibleName": null,
            "entryDate": null,
            "sale1OutDate": "2023-10-27",
            "entryWhId": 585,
            "addressArea": null,
            "addressName": null,
            "addressGcj02": null,
            "addressFull": "辽宁省沈阳市浑南区辽宁心选网络科技有限公司1111B🙄",
            "sale2IvtType": null,
            "whName": "1",
            "makingUser": 74,
            "salesChannelCode": null,
            "doneUser": 74,
            "doneTime": "2023-11-14 16:41:19",
            "orderEntryItemList": null,
            "entryStatusName": "入库中",
            "entryObjectName": "怀化辰溪恒洁卫浴",
            "erpOutNo": "CSSAYYY23102700002",
            "categoryQuantity": null,
            "staffName": "姜宁",
            "sale1ErpOutDoneNo": "CSIDYYY23102700002",
            "flgAllowTodone": null,
            "flgAllowReverse": true,
            "entryObjectId": 1022,
            "entryObjectType": 1,
            "sale2Name": null,
            "procureOrderNo": null,
            "invoiceDate": null,
            "entryKindName": "采购入库",
            "supplierName": "怀化辰溪恒洁卫浴-供应商",
            "statusName": null,
            "inOutStatus": null,
            "inOutDate": null,
            "sumQuantity": null,
            "sumAmount": null,
            "consignee": null,
            "consigneePhone": null,
            "takeOverAddress": null,
            "makingUserName": "常皓宁",
            "doneUserName": null,
            "makingTime": "2023/11/14 16:41:19",
            "totalRemarks": null,
            "entryStatusString": null,
            "nonStandardCode": null,
            "annexPaths": [
              {
                "url": "https://hgscrm-dev.oss-cn-shenzhen.aliyuncs.com/test/t_order_entry/annex_paths/2023-11-02/6042cfcb-323e-4d35-8ca7-2cc0634f115a.jpg"
              },
              {
                "url": "https://hgscrm-dev.oss-cn-shenzhen.aliyuncs.com/test/t_order_entry/annex_paths/2023-11-02/a363d70b-ef4d-4fef-a69d-5f2d2b3c831d.png"
              },
              {
                "url": "https://hgscrm-dev.oss-cn-shenzhen.aliyuncs.com/test/t_order_entry/annex_paths/2023-11-02/e4e40703-68a3-414a-926f-dd52475955b6.jpg"
              }
            ],
            "supplierContactName": null,
            "supplierContactPhone": null,
            "supplierAddressFull": null,
            "outNo": null,
            "outId": null,
            "outTime": null,
            "receiverName": null,
            "receiverPhone": null,
            "receiverAddress": null,
            "editTime": null,
            "saveAscpId": null,
            "addressNo": null,
            "contractNo": null,
            "customerFrom": null,
            "toiletCount": null,
            "toiletCountName": null,
            "houseType": null,
            "houseTypeName": null,
            "fitupType": null,
            "fitupTypeName": null,
            "fitupStyle": null,
            "fitupStyleName": null,
            "ageComposition": null,
            "ageCompositionName": null,
            "decisionMaker": null,
            "decisionMakerName": null,
            "deliveryTypeName": null,
            "fromName": null,
            "sumRejectQuantity": -2,
            "sumRejectAmount": -5000,
            "docCode": null,
            "sale2OpeMode": null,
            "sentryId": null
          },
          {
            "entryId": 486,
            "customerId": null,
            "customerName": '王软',
            "customerPhone": '13900138000',
            "contactName": null,
            "contactPhones": null,
            "salesChannel": null,
            "orgId": 30883,
            "entryNo": "WE-0726-555-202310260K7I",
            "supplierId": null,
            "orderId": null,
            "orderNo": null,
            "entryStatus": 2,
            "sumEntryGoingQuantity": 1,
            "sumEntryGoingAmount": 0,
            "sumEntryQuantity": 0,
            "sumEntryAmount": 0,
            "remarks": null,
            "flgValid": true,
            "cpId": 20834,
            "opCreateTime": "2023-10-26 15:20:31",
            "opCreateUserId": 937,
            "opUpdateTime": "2023-10-26 15:20:31",
            "opUpdateUserId": 937,
            "sale1Id": 20834,
            "sale2Id": 29039,
            "ascpId": 29039,
            "entryKind": "入库类型-其他",
            "entryReason": 193,
            "sale1OutId": null,
            "staffId": 937,
            "rejectId": null,
            "rejectNo": null,
            "orgName": "辰溪县金海店",
            "entryReasonName": "库存盘盈",
            "responsibleName": null,
            "entryDate": "2023-10-26",
            "sale1OutDate": null,
            "entryWhId": null,
            "addressArea": null,
            "addressName": null,
            "addressGcj02": null,
            "addressFull": '沈阳市国际软件园F9-102',
            "sale2IvtType": null,
            "whName": null,
            "makingUser": 937,
            "salesChannelCode": null,
            "doneUser": 937,
            "doneTime": "2023-10-26 15:20:31",
            "orderEntryItemList": null,
            "entryStatusName": "入库中",
            "entryObjectName": null,
            "erpOutNo": null,
            "categoryQuantity": 1,
            "staffName": "张德亮",
            "sale1ErpOutDoneNo": null,
            "flgAllowTodone": null,
            "flgAllowReverse": null,
            "entryObjectId": null,
            "entryObjectType": null,
            "sale2Name": null,
            "procureOrderNo": null,
            "invoiceDate": null,
            "entryKindName": "退货回库",
            "supplierName": null,
            "statusName": null,
            "inOutStatus": null,
            "inOutDate": null,
            "sumQuantity": null,
            "sumAmount": null,
            "consignee": null,
            "consigneePhone": null,
            "takeOverAddress": null,
            "makingUserName": "张德亮",
            "doneUserName": null,
            "makingTime": "2023/10/26 15:20:31",
            "totalRemarks": null,
            "entryStatusString": null,
            "nonStandardCode": null,
            "annexPaths": [],
            "supplierContactName": null,
            "supplierContactPhone": null,
            "supplierAddressFull": null,
            "outNo": null,
            "outId": null,
            "outTime": null,
            "receiverName": null,
            "receiverPhone": null,
            "receiverAddress": null,
            "editTime": null,
            "saveAscpId": null,
            "addressNo": null,
            "contractNo": null,
            "customerFrom": null,
            "toiletCount": null,
            "toiletCountName": null,
            "houseType": null,
            "houseTypeName": null,
            "fitupType": null,
            "fitupTypeName": null,
            "fitupStyle": null,
            "fitupStyleName": null,
            "ageComposition": null,
            "ageCompositionName": null,
            "decisionMaker": null,
            "decisionMakerName": null,
            "deliveryTypeName": null,
            "fromName": null,
            "sumRejectQuantity": 0,
            "sumRejectAmount": 0,
            "docCode": null,
            "sale2OpeMode": null,
            "sentryId": null
          },
          {
            "entryId": 418,
            "customerId": null,
            "customerName": null,
            "customerPhone": null,
            "contactName": null,
            "contactPhones": null,
            "salesChannel": null,
            "orgId": 30883,
            "entryNo": "WE-0726-555-202310180JT6",
            "supplierId": null,
            "orderId": null,
            "orderNo": null,
            "entryStatus": 2,
            "sumEntryGoingQuantity": 1,
            "sumEntryGoingAmount": 0,
            "sumEntryQuantity": 0,
            "sumEntryAmount": 0,
            "remarks": null,
            "flgValid": true,
            "cpId": 20834,
            "opCreateTime": "2023-10-18 10:58:31",
            "opCreateUserId": 643,
            "opUpdateTime": "2023-10-18 10:58:31",
            "opUpdateUserId": 643,
            "sale1Id": 20834,
            "sale2Id": 29039,
            "ascpId": 29039,
            "entryKind": "入库类型-其他",
            "entryReason": 192,
            "sale1OutId": null,
            "staffId": 643,
            "rejectId": null,
            "rejectNo": null,
            "orgName": "辰溪县金海店",
            "entryReasonName": "其他采购",
            "responsibleName": null,
            "entryDate": "2023-10-18",
            "sale1OutDate": null,
            "entryWhId": null,
            "addressArea": null,
            "addressName": null,
            "addressGcj02": null,
            "addressFull": null,
            "sale2IvtType": null,
            "whName": null,
            "makingUser": 643,
            "salesChannelCode": null,
            "doneUser": 643,
            "doneTime": "2023-10-18 10:58:30",
            "orderEntryItemList": null,
            "entryStatusName": "入库中",
            "entryObjectName": null,
            "erpOutNo": null,
            "categoryQuantity": 1,
            "staffName": "王英杰",
            "sale1ErpOutDoneNo": null,
            "flgAllowTodone": null,
            "flgAllowReverse": null,
            "entryObjectId": null,
            "entryObjectType": null,
            "sale2Name": null,
            "procureOrderNo": null,
            "invoiceDate": null,
            "entryKindName": "其他入库",
            "supplierName": null,
            "statusName": null,
            "inOutStatus": null,
            "inOutDate": null,
            "sumQuantity": null,
            "sumAmount": null,
            "consignee": null,
            "consigneePhone": null,
            "takeOverAddress": null,
            "makingUserName": "王英杰",
            "doneUserName": null,
            "makingTime": "2023/10/18 10:58:30",
            "totalRemarks": null,
            "entryStatusString": null,
            "nonStandardCode": null,
            "annexPaths": [],
            "supplierContactName": null,
            "supplierContactPhone": null,
            "supplierAddressFull": null,
            "outNo": null,
            "outId": null,
            "outTime": null,
            "receiverName": null,
            "receiverPhone": null,
            "receiverAddress": null,
            "editTime": null,
            "saveAscpId": null,
            "addressNo": null,
            "contractNo": null,
            "customerFrom": null,
            "toiletCount": null,
            "toiletCountName": null,
            "houseType": null,
            "houseTypeName": null,
            "fitupType": null,
            "fitupTypeName": null,
            "fitupStyle": null,
            "fitupStyleName": null,
            "ageComposition": null,
            "ageCompositionName": null,
            "decisionMaker": null,
            "decisionMakerName": null,
            "deliveryTypeName": null,
            "fromName": null,
            "sumRejectQuantity": 0,
            "sumRejectAmount": 0,
            "docCode": null,
            "sale2OpeMode": null,
            "sentryId": null
          },
          {
            "entryId": 416,
            "customerId": null,
            "customerName": null,
            "customerPhone": null,
            "contactName": null,
            "contactPhones": null,
            "salesChannel": null,
            "orgId": 30883,
            "entryNo": "WE-0726-555-202310170JSR",
            "supplierId": null,
            "orderId": null,
            "orderNo": null,
            "entryStatus": 2,
            "sumEntryGoingQuantity": 1,
            "sumEntryGoingAmount": 0,
            "sumEntryQuantity": 0,
            "sumEntryAmount": 0,
            "remarks": null,
            "flgValid": true,
            "cpId": 20834,
            "opCreateTime": "2023-10-17 17:21:13",
            "opCreateUserId": 643,
            "opUpdateTime": "2023-10-17 17:21:13",
            "opUpdateUserId": 643,
            "sale1Id": 20834,
            "sale2Id": 29039,
            "ascpId": 29039,
            "entryKind": "入库类型-其他",
            "entryReason": 193,
            "sale1OutId": null,
            "staffId": 643,
            "rejectId": null,
            "rejectNo": null,
            "orgName": "辰溪县金海店",
            "entryReasonName": "库存盘盈",
            "responsibleName": null,
            "entryDate": "2023-10-17",
            "sale1OutDate": null,
            "entryWhId": null,
            "addressArea": null,
            "addressName": null,
            "addressGcj02": null,
            "addressFull": null,
            "sale2IvtType": null,
            "whName": null,
            "makingUser": 643,
            "salesChannelCode": null,
            "doneUser": 643,
            "doneTime": "2023-10-17 17:21:12",
            "orderEntryItemList": null,
            "entryStatusName": "入库中",
            "entryObjectName": null,
            "erpOutNo": null,
            "categoryQuantity": 1,
            "staffName": "王英杰",
            "sale1ErpOutDoneNo": null,
            "flgAllowTodone": null,
            "flgAllowReverse": null,
            "entryObjectId": null,
            "entryObjectType": null,
            "sale2Name": null,
            "procureOrderNo": null,
            "invoiceDate": null,
            "entryKindName": "其他入库",
            "supplierName": null,
            "statusName": null,
            "inOutStatus": null,
            "inOutDate": null,
            "sumQuantity": null,
            "sumAmount": null,
            "consignee": null,
            "consigneePhone": null,
            "takeOverAddress": null,
            "makingUserName": "王英杰",
            "doneUserName": null,
            "makingTime": "2023/10/17 17:21:12",
            "totalRemarks": null,
            "entryStatusString": null,
            "nonStandardCode": null,
            "annexPaths": [],
            "supplierContactName": null,
            "supplierContactPhone": null,
            "supplierAddressFull": null,
            "outNo": null,
            "outId": null,
            "outTime": null,
            "receiverName": null,
            "receiverPhone": null,
            "receiverAddress": null,
            "editTime": null,
            "saveAscpId": null,
            "addressNo": null,
            "contractNo": null,
            "customerFrom": null,
            "toiletCount": null,
            "toiletCountName": null,
            "houseType": null,
            "houseTypeName": null,
            "fitupType": null,
            "fitupTypeName": null,
            "fitupStyle": null,
            "fitupStyleName": null,
            "ageComposition": null,
            "ageCompositionName": null,
            "decisionMaker": null,
            "decisionMakerName": null,
            "deliveryTypeName": null,
            "fromName": null,
            "sumRejectQuantity": 0,
            "sumRejectAmount": 0,
            "docCode": null,
            "sale2OpeMode": null,
            "sentryId": null
          },
        ]
      }
    },

    clickTab() {
      this.tableData = [
        {
          "entryId": 523,
          "customerId": 1022,
          "customerName": "怀化辰溪恒洁卫浴",
          "customerPhone": "15096295820",
          "contactName": "营养快线",
          "contactPhones": "17642008208",
          "salesChannel": null,
          "orgId": 30883,
          "entryNo": "WE-0726-726-202310270KDB",
          "supplierId": 114,
          "orderId": 8680,
          "orderNo": "PA-0726-726-202310270KD9",
          "entryStatus": 2,
          "sumEntryGoingQuantity": 300,
          "sumEntryGoingAmount": 500000,
          "sumEntryQuantity": 0,
          "sumEntryAmount": 0,
          "remarks": "AAAA",
          "flgValid": true,
          "cpId": 20834,
          "opCreateTime": "2023-10-27 15:22:15",
          "opCreateUserId": 254,
          "opUpdateTime": "2023-11-14 16:42:55",
          "opUpdateUserId": 74,
          "sale1Id": 20834,
          "sale2Id": 29039,
          "ascpId": 29039,
          "entryKind": "入库类型-采购",
          "entryReason": null,
          "sale1OutId": 1263,
          "staffId": 634,
          "rejectId": null,
          "rejectNo": null,
          "orgName": "辰溪县金海店",
          "entryReasonName": null,
          "responsibleName": null,
          "entryDate": null,
          "sale1OutDate": "2023-10-27",
          "entryWhId": 585,
          "addressArea": null,
          "addressName": null,
          "addressGcj02": null,
          "addressFull": "辽宁省沈阳市浑南区辽宁心选网络科技有限公司1111B🙄",
          "sale2IvtType": null,
          "whName": "1",
          "makingUser": 74,
          "salesChannelCode": null,
          "doneUser": 74,
          "doneTime": "2023-11-14 16:41:19",
          "orderEntryItemList": null,
          "entryStatusName": "入库中",
          "entryObjectName": "怀化辰溪恒洁卫浴",
          "erpOutNo": "CSSAYYY23102700002",
          "categoryQuantity": null,
          "staffName": "姜宁",
          "sale1ErpOutDoneNo": "CSIDYYY23102700002",
          "flgAllowTodone": null,
          "flgAllowReverse": true,
          "entryObjectId": 1022,
          "entryObjectType": 1,
          "sale2Name": null,
          "procureOrderNo": null,
          "invoiceDate": null,
          "entryKindName": "采购入库",
          "supplierName": "怀化辰溪恒洁卫浴-供应商",
          "statusName": null,
          "inOutStatus": null,
          "inOutDate": null,
          "sumQuantity": null,
          "sumAmount": null,
          "consignee": null,
          "consigneePhone": null,
          "takeOverAddress": null,
          "makingUserName": "常皓宁",
          "doneUserName": null,
          "makingTime": "2023/11/14 16:41:19",
          "totalRemarks": null,
          "entryStatusString": null,
          "nonStandardCode": null,
          "annexPaths": [
            {
              "url": "https://hgscrm-dev.oss-cn-shenzhen.aliyuncs.com/test/t_order_entry/annex_paths/2023-11-02/6042cfcb-323e-4d35-8ca7-2cc0634f115a.jpg"
            },
            {
              "url": "https://hgscrm-dev.oss-cn-shenzhen.aliyuncs.com/test/t_order_entry/annex_paths/2023-11-02/a363d70b-ef4d-4fef-a69d-5f2d2b3c831d.png"
            },
            {
              "url": "https://hgscrm-dev.oss-cn-shenzhen.aliyuncs.com/test/t_order_entry/annex_paths/2023-11-02/e4e40703-68a3-414a-926f-dd52475955b6.jpg"
            }
          ],
          "supplierContactName": null,
          "supplierContactPhone": null,
          "supplierAddressFull": null,
          "outNo": null,
          "outId": null,
          "outTime": null,
          "receiverName": null,
          "receiverPhone": null,
          "receiverAddress": null,
          "editTime": null,
          "saveAscpId": null,
          "addressNo": null,
          "contractNo": null,
          "customerFrom": null,
          "toiletCount": null,
          "toiletCountName": null,
          "houseType": null,
          "houseTypeName": null,
          "fitupType": null,
          "fitupTypeName": null,
          "fitupStyle": null,
          "fitupStyleName": null,
          "ageComposition": null,
          "ageCompositionName": null,
          "decisionMaker": null,
          "decisionMakerName": null,
          "deliveryTypeName": null,
          "fromName": null,
          "sumRejectQuantity": -2,
          "sumRejectAmount": -5000,
          "docCode": null,
          "sale2OpeMode": null,
          "sentryId": null
        },
        {
          "entryId": 486,
          "customerId": null,
          "customerName": '王软',
          "customerPhone": '13900138000',
          "contactName": null,
          "contactPhones": null,
          "salesChannel": null,
          "orgId": 30883,
          "entryNo": "WE-0726-555-202310260K7I",
          "supplierId": null,
          "orderId": null,
          "orderNo": null,
          "entryStatus": 2,
          "sumEntryGoingQuantity": 1,
          "sumEntryGoingAmount": 0,
          "sumEntryQuantity": 0,
          "sumEntryAmount": 0,
          "remarks": null,
          "flgValid": true,
          "cpId": 20834,
          "opCreateTime": "2023-10-26 15:20:31",
          "opCreateUserId": 937,
          "opUpdateTime": "2023-10-26 15:20:31",
          "opUpdateUserId": 937,
          "sale1Id": 20834,
          "sale2Id": 29039,
          "ascpId": 29039,
          "entryKind": "入库类型-其他",
          "entryReason": 193,
          "sale1OutId": null,
          "staffId": 937,
          "rejectId": null,
          "rejectNo": null,
          "orgName": "辰溪县金海店",
          "entryReasonName": "库存盘盈",
          "responsibleName": null,
          "entryDate": "2023-10-26",
          "sale1OutDate": null,
          "entryWhId": null,
          "addressArea": null,
          "addressName": null,
          "addressGcj02": null,
          "addressFull": '沈阳市国际软件园F9-102',
          "sale2IvtType": null,
          "whName": null,
          "makingUser": 937,
          "salesChannelCode": null,
          "doneUser": 937,
          "doneTime": "2023-10-26 15:20:31",
          "orderEntryItemList": null,
          "entryStatusName": "入库中",
          "entryObjectName": null,
          "erpOutNo": null,
          "categoryQuantity": 1,
          "staffName": "张德亮",
          "sale1ErpOutDoneNo": null,
          "flgAllowTodone": null,
          "flgAllowReverse": null,
          "entryObjectId": null,
          "entryObjectType": null,
          "sale2Name": null,
          "procureOrderNo": null,
          "invoiceDate": null,
          "entryKindName": "退货回库",
          "supplierName": null,
          "statusName": null,
          "inOutStatus": null,
          "inOutDate": null,
          "sumQuantity": null,
          "sumAmount": null,
          "consignee": null,
          "consigneePhone": null,
          "takeOverAddress": null,
          "makingUserName": "张德亮",
          "doneUserName": null,
          "makingTime": "2023/10/26 15:20:31",
          "totalRemarks": null,
          "entryStatusString": null,
          "nonStandardCode": null,
          "annexPaths": [],
          "supplierContactName": null,
          "supplierContactPhone": null,
          "supplierAddressFull": null,
          "outNo": null,
          "outId": null,
          "outTime": null,
          "receiverName": null,
          "receiverPhone": null,
          "receiverAddress": null,
          "editTime": null,
          "saveAscpId": null,
          "addressNo": null,
          "contractNo": null,
          "customerFrom": null,
          "toiletCount": null,
          "toiletCountName": null,
          "houseType": null,
          "houseTypeName": null,
          "fitupType": null,
          "fitupTypeName": null,
          "fitupStyle": null,
          "fitupStyleName": null,
          "ageComposition": null,
          "ageCompositionName": null,
          "decisionMaker": null,
          "decisionMakerName": null,
          "deliveryTypeName": null,
          "fromName": null,
          "sumRejectQuantity": 0,
          "sumRejectAmount": 0,
          "docCode": null,
          "sale2OpeMode": null,
          "sentryId": null
        },
        {
          "entryId": 418,
          "customerId": null,
          "customerName": null,
          "customerPhone": null,
          "contactName": null,
          "contactPhones": null,
          "salesChannel": null,
          "orgId": 30883,
          "entryNo": "WE-0726-555-202310180JT6",
          "supplierId": null,
          "orderId": null,
          "orderNo": null,
          "entryStatus": 2,
          "sumEntryGoingQuantity": 1,
          "sumEntryGoingAmount": 0,
          "sumEntryQuantity": 0,
          "sumEntryAmount": 0,
          "remarks": null,
          "flgValid": true,
          "cpId": 20834,
          "opCreateTime": "2023-10-18 10:58:31",
          "opCreateUserId": 643,
          "opUpdateTime": "2023-10-18 10:58:31",
          "opUpdateUserId": 643,
          "sale1Id": 20834,
          "sale2Id": 29039,
          "ascpId": 29039,
          "entryKind": "入库类型-其他",
          "entryReason": 192,
          "sale1OutId": null,
          "staffId": 643,
          "rejectId": null,
          "rejectNo": null,
          "orgName": "辰溪县金海店",
          "entryReasonName": "其他采购",
          "responsibleName": null,
          "entryDate": "2023-10-18",
          "sale1OutDate": null,
          "entryWhId": null,
          "addressArea": null,
          "addressName": null,
          "addressGcj02": null,
          "addressFull": null,
          "sale2IvtType": null,
          "whName": null,
          "makingUser": 643,
          "salesChannelCode": null,
          "doneUser": 643,
          "doneTime": "2023-10-18 10:58:30",
          "orderEntryItemList": null,
          "entryStatusName": "入库中",
          "entryObjectName": null,
          "erpOutNo": null,
          "categoryQuantity": 1,
          "staffName": "王英杰",
          "sale1ErpOutDoneNo": null,
          "flgAllowTodone": null,
          "flgAllowReverse": null,
          "entryObjectId": null,
          "entryObjectType": null,
          "sale2Name": null,
          "procureOrderNo": null,
          "invoiceDate": null,
          "entryKindName": "其他入库",
          "supplierName": null,
          "statusName": null,
          "inOutStatus": null,
          "inOutDate": null,
          "sumQuantity": null,
          "sumAmount": null,
          "consignee": null,
          "consigneePhone": null,
          "takeOverAddress": null,
          "makingUserName": "王英杰",
          "doneUserName": null,
          "makingTime": "2023/10/18 10:58:30",
          "totalRemarks": null,
          "entryStatusString": null,
          "nonStandardCode": null,
          "annexPaths": [],
          "supplierContactName": null,
          "supplierContactPhone": null,
          "supplierAddressFull": null,
          "outNo": null,
          "outId": null,
          "outTime": null,
          "receiverName": null,
          "receiverPhone": null,
          "receiverAddress": null,
          "editTime": null,
          "saveAscpId": null,
          "addressNo": null,
          "contractNo": null,
          "customerFrom": null,
          "toiletCount": null,
          "toiletCountName": null,
          "houseType": null,
          "houseTypeName": null,
          "fitupType": null,
          "fitupTypeName": null,
          "fitupStyle": null,
          "fitupStyleName": null,
          "ageComposition": null,
          "ageCompositionName": null,
          "decisionMaker": null,
          "decisionMakerName": null,
          "deliveryTypeName": null,
          "fromName": null,
          "sumRejectQuantity": 0,
          "sumRejectAmount": 0,
          "docCode": null,
          "sale2OpeMode": null,
          "sentryId": null
        },
        {
          "entryId": 416,
          "customerId": null,
          "customerName": null,
          "customerPhone": null,
          "contactName": null,
          "contactPhones": null,
          "salesChannel": null,
          "orgId": 30883,
          "entryNo": "WE-0726-555-202310170JSR",
          "supplierId": null,
          "orderId": null,
          "orderNo": null,
          "entryStatus": 2,
          "sumEntryGoingQuantity": 1,
          "sumEntryGoingAmount": 0,
          "sumEntryQuantity": 0,
          "sumEntryAmount": 0,
          "remarks": null,
          "flgValid": true,
          "cpId": 20834,
          "opCreateTime": "2023-10-17 17:21:13",
          "opCreateUserId": 643,
          "opUpdateTime": "2023-10-17 17:21:13",
          "opUpdateUserId": 643,
          "sale1Id": 20834,
          "sale2Id": 29039,
          "ascpId": 29039,
          "entryKind": "入库类型-其他",
          "entryReason": 193,
          "sale1OutId": null,
          "staffId": 643,
          "rejectId": null,
          "rejectNo": null,
          "orgName": "辰溪县金海店",
          "entryReasonName": "库存盘盈",
          "responsibleName": null,
          "entryDate": "2023-10-17",
          "sale1OutDate": null,
          "entryWhId": null,
          "addressArea": null,
          "addressName": null,
          "addressGcj02": null,
          "addressFull": null,
          "sale2IvtType": null,
          "whName": null,
          "makingUser": 643,
          "salesChannelCode": null,
          "doneUser": 643,
          "doneTime": "2023-10-17 17:21:12",
          "orderEntryItemList": null,
          "entryStatusName": "入库中",
          "entryObjectName": null,
          "erpOutNo": null,
          "categoryQuantity": 1,
          "staffName": "王英杰",
          "sale1ErpOutDoneNo": null,
          "flgAllowTodone": null,
          "flgAllowReverse": null,
          "entryObjectId": null,
          "entryObjectType": null,
          "sale2Name": null,
          "procureOrderNo": null,
          "invoiceDate": null,
          "entryKindName": "其他入库",
          "supplierName": null,
          "statusName": null,
          "inOutStatus": null,
          "inOutDate": null,
          "sumQuantity": null,
          "sumAmount": null,
          "consignee": null,
          "consigneePhone": null,
          "takeOverAddress": null,
          "makingUserName": "王英杰",
          "doneUserName": null,
          "makingTime": "2023/10/17 17:21:12",
          "totalRemarks": null,
          "entryStatusString": null,
          "nonStandardCode": null,
          "annexPaths": [],
          "supplierContactName": null,
          "supplierContactPhone": null,
          "supplierAddressFull": null,
          "outNo": null,
          "outId": null,
          "outTime": null,
          "receiverName": null,
          "receiverPhone": null,
          "receiverAddress": null,
          "editTime": null,
          "saveAscpId": null,
          "addressNo": null,
          "contractNo": null,
          "customerFrom": null,
          "toiletCount": null,
          "toiletCountName": null,
          "houseType": null,
          "houseTypeName": null,
          "fitupType": null,
          "fitupTypeName": null,
          "fitupStyle": null,
          "fitupStyleName": null,
          "ageComposition": null,
          "ageCompositionName": null,
          "decisionMaker": null,
          "decisionMakerName": null,
          "deliveryTypeName": null,
          "fromName": null,
          "sumRejectQuantity": 0,
          "sumRejectAmount": 0,
          "docCode": null,
          "sale2OpeMode": null,
          "sentryId": null
        },
      ]
      console.log('this.tableData', this.tableData)
    }

  },
  created() {
    this.primaryKey = 'entryHandleId'  // 设置主键Id
    this.routeObjName = 'entryHandle'  // 设置路由名称
  }
}
</script>

<style scoped>

</style>
