|
@@ -93,7 +93,7 @@
|
|
|
></el-tooltip> -->
|
|
|
<el-input v-model="parmValue[item.prop]" :placeholder="item.label+'编号'">
|
|
|
<template slot="prepend">
|
|
|
- <div style="width: 90px">{{ item.label }}</div>
|
|
|
+ <div style="width: 70px">{{ item.label }}</div>
|
|
|
</template>
|
|
|
</el-input>
|
|
|
|
|
@@ -212,6 +212,17 @@ export default {
|
|
|
methods: {
|
|
|
//搜索
|
|
|
async search() {
|
|
|
+ let index = 0;
|
|
|
+ for(let item of this.schTahead){
|
|
|
+ if((this.parmValue[item.prop] ?? "") != ""){
|
|
|
+ index++
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(index>1){
|
|
|
+ this.$message.warning("只能同时搜索一条编号")
|
|
|
+ this.dialogFormVisible = false;
|
|
|
+ return;
|
|
|
+ }
|
|
|
this.searchList();
|
|
|
this.dialogFormVisible = false;
|
|
|
},
|