<template>
    <div class="order-wraper">
        <div class="search-confirm-wrap">
            <div class="search-wrap">
                <div class="search-item">
                    <div class="search-label">仓库</div>
                    <div class="filter_input_wraper">
                        <el-select v-model="value1" filterable clearable placeholder="请选择">
                          <el-option
                              v-for="item in options1"
                              :key="item.device_code"
                              :label="item.device_name"
                              :value="item.device_code">
                          </el-option>
                        </el-select>
                    </div>
                </div>
                <div class="search-item">
                    <div class="search-label">日期</div>
                    <div class="filter_input_wraper">
                        <el-date-picker
                        v-model="value1"
                        type="daterange"
                        range-separator="-"
                        start-placeholder="开始日期"
                        end-placeholder="结束日期">
                      </el-date-picker>
                    </div>
                </div>
                <div class="search-item">
                    <div class="search-label">业务类型</div>
                    <div class="filter_input_wraper">
                        <el-select v-model="value2" filterable clearable placeholder="请选择">
                          <el-option
                              v-for="item in options2"
                              :key="item.device_code"
                              :label="item.device_name"
                              :value="item.device_code">
                          </el-option>
                        </el-select>
                    </div>
                </div>
                <div class="search-item">
                    <div class="search-label">物料</div>
                    <div class="filter_input_wraper">
                        <input type="text" class="filter-input">
                    </div>
                </div>
                <div class="search-item">
                    <div class="search-label">载具号</div>
                    <div class="filter_input_wraper">
                        <input type="text" class="filter-input">
                    </div>
                </div>
                <div class="search-item flexend">
                    <button class="button button--primary">查询</button>
                    <button class="button button--primary">强制确认</button>
                </div>
            </div>
        </div>
        <div class="grid_wraper">
            <table class="filter-table">
                <thead>
                    <tr>
                        <th>序号</th>
                        <th>单据号</th>
                        <th>状态</th>
                        <th>类型</th>
                        <th>物料编号</th>
                        <th>物料规格</th>
                        <th>数量(个)</th>
                        <th>单重(g)</th>
                        <th>重量(kg)</th>
                        <th>载具号</th>
                        <th>入库点</th>
                        <th>货位</th>
                        <th>创建时间</th>
                        <th>创建人</th>
                    </tr>
                </thead>
                <tbody>
                    <tr v-for="(e, i) in [1, 2, 3, 4, 5, 6, 7, 1, 2, 3, 4, 5, 6, 7, 1, 2, 3, 4, 5, 6, 7]" :key="i">
                        <td>序号</td>
                        <td>单据号</td>
                        <td>状态</td>
                        <td>类型</td>
                        <td>物料编号</td>
                        <td>物料规格</td>
                        <td>数量(个)</td>
                        <td>单重(g)</td>
                        <td>重量(kg)</td>
                        <td>载具号</td>
                        <td>入库点</td>
                        <td>货位</td>
                        <td>创建时间</td>
                        <td>创建人ldjlfjlfjl劳动纪律放假了</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
</template>

<script>
export default {
  data () {
    return {
      options1: [],
      value1: '',
      options2: [],
      value2: '',
      options3: [],
      value3: ''
    }
  }
}
</script>

<style lang="stylus" scoped>
.grid_wraper
    height calc(100% - 95px)
</style>
