Browse Source

增加域

master
liuchen864 6 months ago
parent
commit
bfc4706ddf
  1. 31
      src/views/excel/index.vue

31
src/views/excel/index.vue

@ -15,6 +15,16 @@
@keyup.enter="handleQuery" @keyup.enter="handleQuery"
/> />
</el-form-item> </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-form-item>
<el-button <el-button
type="primary" type="primary"
@ -52,6 +62,7 @@ const data = reactive({
queryParams: { queryParams: {
orderNo: null, orderNo: null,
type: "changchun", type: "changchun",
orderDomain:'ccjv'
}, },
rules: { rules: {
orderNo: [ orderNo: [
@ -65,12 +76,30 @@ const data = reactive({
message: "字符长度不得超于50", message: "字符长度不得超于50",
trigger: "blur", trigger: "blur",
} }
] ],
orderDomain:[{
required: true,
message: "域不能为空",
trigger: "blur",
}]
} }
}); });
const { queryParams, rules } = toRefs(data); 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() { function handleQuery() {
handleExport(); handleExport();

Loading…
Cancel
Save