|
@@ -8,44 +8,39 @@
|
|
|
@submit.native.prevent
|
|
@submit.native.prevent
|
|
|
>
|
|
>
|
|
|
<el-row :gutter="10">
|
|
<el-row :gutter="10">
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<el-col v-bind="styleResponsive ? { md: 6 } : { span: 6 }">
|
|
<el-col v-bind="styleResponsive ? { md: 6 } : { span: 6 }">
|
|
|
- <el-form-item label="关键词">
|
|
|
|
|
|
|
+ <el-form-item label="编码">
|
|
|
<el-input
|
|
<el-input
|
|
|
clearable
|
|
clearable
|
|
|
size="small"
|
|
size="small"
|
|
|
- v-model="where.keyWord"
|
|
|
|
|
- placeholder="型号、牌号"
|
|
|
|
|
|
|
+ v-model="where.code"
|
|
|
|
|
+ placeholder="请输入"
|
|
|
/>
|
|
/>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
<el-col v-bind="styleResponsive ? { md: 6 } : { span: 6 }">
|
|
<el-col v-bind="styleResponsive ? { md: 6 } : { span: 6 }">
|
|
|
- <el-form-item label="编码">
|
|
|
|
|
|
|
+ <el-form-item label="名称">
|
|
|
<el-input
|
|
<el-input
|
|
|
clearable
|
|
clearable
|
|
|
size="small"
|
|
size="small"
|
|
|
- v-model="where.code"
|
|
|
|
|
|
|
+ v-model="where.name"
|
|
|
placeholder="请输入"
|
|
placeholder="请输入"
|
|
|
/>
|
|
/>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
+
|
|
|
<el-col v-bind="styleResponsive ? { md: 6 } : { span: 6 }">
|
|
<el-col v-bind="styleResponsive ? { md: 6 } : { span: 6 }">
|
|
|
- <el-form-item label="名称">
|
|
|
|
|
|
|
+ <el-form-item label="型号">
|
|
|
<el-input
|
|
<el-input
|
|
|
clearable
|
|
clearable
|
|
|
size="small"
|
|
size="small"
|
|
|
- v-model="where.name"
|
|
|
|
|
|
|
+ v-model="where.modelType"
|
|
|
placeholder="请输入"
|
|
placeholder="请输入"
|
|
|
/>
|
|
/>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<el-col v-bind="styleResponsive ? { md: 6 } : { span: 4 }">
|
|
<el-col v-bind="styleResponsive ? { md: 6 } : { span: 4 }">
|
|
|
<el-form-item>
|
|
<el-form-item>
|
|
|
<el-button
|
|
<el-button
|
|
@@ -57,7 +52,7 @@
|
|
|
>
|
|
>
|
|
|
查询
|
|
查询
|
|
|
</el-button>
|
|
</el-button>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<el-button
|
|
<el-button
|
|
|
@click="reset"
|
|
@click="reset"
|
|
|
icon="el-icon-refresh"
|
|
icon="el-icon-refresh"
|
|
@@ -65,14 +60,25 @@
|
|
|
size="medium"
|
|
size="medium"
|
|
|
>重置</el-button
|
|
>重置</el-button
|
|
|
>
|
|
>
|
|
|
-
|
|
|
|
|
<slot></slot>
|
|
<slot></slot>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
+ <el-row :gutter="10">
|
|
|
|
|
+ <el-col v-bind="styleResponsive ? { md: 6 } : { span: 6 }">
|
|
|
|
|
+ <el-form-item label="牌号">
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ clearable
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ v-model="where.brandNum"
|
|
|
|
|
+ placeholder="请输入"
|
|
|
|
|
+ />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
</template>
|
|
</template>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<script>
|
|
<script>
|
|
|
export default {
|
|
export default {
|
|
|
data() {
|
|
data() {
|
|
@@ -80,6 +86,7 @@
|
|
|
const defaultWhere = {
|
|
const defaultWhere = {
|
|
|
name: '',
|
|
name: '',
|
|
|
code: '',
|
|
code: '',
|
|
|
|
|
+ brandNum: '',
|
|
|
modelType: ''
|
|
modelType: ''
|
|
|
};
|
|
};
|
|
|
return {
|
|
return {
|
|
@@ -105,8 +112,7 @@
|
|
|
this.where = { ...this.defaultWhere };
|
|
this.where = { ...this.defaultWhere };
|
|
|
this.search();
|
|
this.search();
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
</script>
|
|
</script>
|
|
|
-
|
|
|