| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <template>
- <fieldset>
- <legend>
- <el-tag type="info">条件筛选</el-tag>
- </legend>
- <el-form class="lv-form-inline" ref="searchForm" :model="searchKey" label-position="right" label-width="100px">
- <div class="search-form">
- <div class="form-left">
- <el-row :gutter="10">
- <el-col :span="this.$store.state.global.ismobile?12:4">
- <el-input v-model="searchKey.orderid" placeholder="订单编号" clearable :style="{ width: '100%' }" @keyup.enter="searchForm()">
- <template #prepend>订单编号</template>
- </el-input>
- </el-col>
- <el-col :span="this.$store.state.global.ismobile?12:4">
- <el-input v-model="searchKey.product" placeholder="商品ID" clearable :style="{ width: '100%' }" @keyup.enter="searchForm()">
- <template #prepend>商品ID</template>
- </el-input>
- </el-col>
- <el-col :span="this.$store.state.global.ismobile?12:4">
- <el-input v-model="searchKey.name" placeholder="商品标题" clearable :style="{ width: '100%' }" @keyup.enter="searchForm()">
- <template #prepend>商品标题</template>
- </el-input>
- </el-col>
- <el-col :span="this.$store.state.global.ismobile?12:4">
- <el-date-picker v-model="searchKey.create" :style="{width: '100%'}" placeholder="请选择创建时间" start-placeholder="开始时间" end-placeholder="结束时间" type="daterange" range-separator="至" @change="searchForm" />
- </el-col>
- </el-row>
- </div>
- <div class="form-line"></div>
- <div class="form-right">
- <el-button type="primary" icon="el-icon-search" @click="searchForm">搜索</el-button>
- </div>
- </div>
- </el-form>
- </fieldset>
- </template>
- <script>
- export default {
- data(){
- return {
- searchKey:{
- ex_status:1
- }
- }
- },
- methods: {
- searchForm(){
- this.$emit("success",this.searchKey);
- }
- }
- }
- </script>
|