<!-- 搜索表单 -->
<template>
  <seekPage :seekList="seekList" :formLength="3" @search="search"></seekPage>
</template>
<script>
  import { reviewStatusSelect,saleOrderProgressStatusEnum,activity_type } from '@/enum/dict';
  export default {
    data() {
      return {};
    },
    computed: {
      // 表格列配置
      seekList() {
        return [
        {
            label: '关键字：',
            value: 'searchName',
            type: 'input',
            placeholder: '项目名称/销售订单编码/托盘名称/'
          },
        {
            label: '项目名称：',
            value: 'projectName',
            type: 'input',
            placeholder: '请输入'
          },
          {
            label: '销售订单编码：',
            value: 'orderNo',
            type: 'input',
            placeholder: '请输入'
          },
          {
            label: '托盘名称：',
            value: 'productName',
            width: 380,
            type: 'input',
            placeholder: '请输入'
          },
          {
            label: '托盘数量：',
            value: 'totalCount',
            width: 380,
             type: 'input',
            placeholder: '请输入'
          },
          {
            label: '已回收数量：',
            value: 'resviceNum',
            width: 370,
            labelWidth: 130,
            type: 'input',
            placeholder: '请输入'
          },
          {
            label: '未回收数量：',
            value: 'noResviceNum',
            width: 370,
            labelWidth: 130,
            type: 'input',
            placeholder: '请输入'
          },
        ];
      }
    },
    methods: {
      /* 搜索 */
      search(e) {
        this.$emit('search', {
          ...e
        });
      }
    }
  };
</script>
