<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-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">
                        <el-select v-model="value3" filterable clearable placeholder="请选择">
                          <el-option
                              v-for="item in options3"
                              :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_2 flexend">
                    <button class="button button--primary">确认入库</button>
                    <button class="button button--primary">作业查询</button>
                    <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>客户</th>
                    </tr>
                </thead>
                <tbody>
                    <tr v-for="(e, i) in [1, 2, 3]" :key="i">
                        <td>1</td>
                        <td>030301010031</td>
                        <td>碳化钨粉ZW300</td>
                        <td>1000</td>
                        <td>个</td>
                        <td>xno01</td>
                        <td>RT20210616001</td>
                        <td>供应商甲</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)
.filter_input_wraper_1
    width calc(100% - 45px)
.search-label_1
    width 45px
</style>
