|
|
@ -15,6 +15,16 @@ |
|
|
|
@keyup.enter="handleQuery" |
|
|
|
/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="域" prop="orderDomain"> |
|
|
|
<el-select v-model="queryParams.orderDomain" placeholder="" > |
|
|
|
<el-option |
|
|
|
v-for="item in domain" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button |
|
|
|
type="primary" |
|
|
@ -52,6 +62,7 @@ const data = reactive({ |
|
|
|
queryParams: { |
|
|
|
orderNo: null, |
|
|
|
type: "changchun", |
|
|
|
orderDomain:'ccjv' |
|
|
|
}, |
|
|
|
rules: { |
|
|
|
orderNo: [ |
|
|
@ -65,12 +76,30 @@ const data = reactive({ |
|
|
|
message: "字符长度不得超于50", |
|
|
|
trigger: "blur", |
|
|
|
} |
|
|
|
] |
|
|
|
], |
|
|
|
orderDomain:[{ |
|
|
|
required: true, |
|
|
|
message: "域不能为空", |
|
|
|
trigger: "blur", |
|
|
|
}] |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
const { queryParams, rules } = toRefs(data); |
|
|
|
|
|
|
|
const domain = ref([{ |
|
|
|
label:'长春', |
|
|
|
value:'ccjv' |
|
|
|
},{ |
|
|
|
label:'青岛', |
|
|
|
value:'6303010' |
|
|
|
},{ |
|
|
|
label:'佛山', |
|
|
|
value:'Foshan' |
|
|
|
}]) |
|
|
|
function change(e){ |
|
|
|
console.log(e) |
|
|
|
} |
|
|
|
/** 搜索按钮操作 */ |
|
|
|
function handleQuery() { |
|
|
|
handleExport(); |
|
|
|