<!-- 钻石搜索-成批裸钻 -->
<template>
    <app-view>
        <el-form label-width="80px">
            <el-form-item label="形状">
                <app-multiple :data-list="enums.shapeTypeList" checkbox />
            </el-form-item>
            <el-form-item label="颜色">
                <app-multiple :data-list="enums.colorTypeList" checkbox />
            </el-form-item>
            <el-form-item label="净度">
                <app-multiple :data-list="enums.clarityTypeList" checkbox />
            </el-form-item>
            <el-form-item label="切工">
                <app-multiple :data-list="enums.cutTypeList" checkbox />
            </el-form-item>
            <el-form-item label="对称">
                <app-multiple :data-list="enums.symmetryTypeList" checkbox />
            </el-form-item>
            <el-form-item label="抛光">
                <app-multiple :data-list="enums.polishTypeList" checkbox />
            </el-form-item>
            <el-form-item label="荧光">
                <app-multiple :data-list="enums.fluorescenceTypeList" checkbox />
            </el-form-item>
            <!-- <el-form-item label="仓库">
                <el-select placeholder="请选择">
                    <el-option label="Zone one" value="shanghai" />
                    <el-option label="Zone two" value="beijing" />
                </el-select>
            </el-form-item> -->
            <el-form-item label="货币">
                <app-multiple :data-list="enums.currencyTypeList" checkbox />
            </el-form-item>
            <el-form-item label="总重量">
                <div class="el-form-item--col">
                    <el-input placeholder="从" style="width:160px" />
                    <span>-</span>
                    <el-input placeholder="至" style="width:160px" />
                </div>
            </el-form-item>
            <el-form-item label="单颗重量">
                <div class="el-form-item--col">
                    <el-input placeholder="从" style="width:160px" />
                    <span>-</span>
                    <el-input placeholder="至" style="width:160px" />
                </div>
            </el-form-item>
            <el-form-item>
                <el-button type="primary">搜索</el-button>
                <el-button>重置</el-button>
            </el-form-item>
        </el-form>
    </app-view>
</template>

<script lang="ts" setup>
import { useSearch } from '@/business/search'
import { Category } from '@/constants/diamond'
import AppMultiple from '@pc/components/base/multiple/index.vue'

const { enums } = useSearch(Category.Diamonds)
</script>