回车键刷新问题

yanshishuju
yewj 7 months ago
parent 4061a36d18
commit dce1da43cf

@ -12,6 +12,7 @@
<el-form v-if="queryList && queryList.length > 0 " :model="filterQuery" class="query-form" <el-form v-if="queryList && queryList.length > 0 " :model="filterQuery" class="query-form"
@submit.native.prevent
size="mini" label-width="100px"> size="mini" label-width="100px">
<el-row style=" display:flex; flex-wrap: wrap; "> <el-row style=" display:flex; flex-wrap: wrap; ">

@ -1220,6 +1220,7 @@ export default {
this.valiCodes.push(item.code); this.valiCodes.push(item.code);
} }
}); });
this.printMutiCodeResult(list)
if (this.valiCodes != null && this.valiCodes.length > 0) { if (this.valiCodes != null && this.valiCodes.length > 0) {
// //
let params2 = { let params2 = {

@ -1871,6 +1871,7 @@ export default {
this.valiCodes.push(item.code); this.valiCodes.push(item.code);
} }
}); });
this.printMutiCodeResult(list)
if (this.valiCodes != null && this.valiCodes.length > 0) { if (this.valiCodes != null && this.valiCodes.length > 0) {
this.orderFormData.codeList = this.valiCodes this.orderFormData.codeList = this.valiCodes
batchAddCode(this.orderFormData).then((res) => { batchAddCode(this.orderFormData).then((res) => {

@ -2,6 +2,7 @@
<div> <div>
<el-card class="el-card"> <el-card class="el-card">
<el-form v-if="queryList && queryList.length > 0 " :model="filterQuery" class="query-form" <el-form v-if="queryList && queryList.length > 0 " :model="filterQuery" class="query-form"
@submit.native.prevent
size="mini" label-width="100px"> size="mini" label-width="100px">
<el-row style=" display:flex; flex-wrap: wrap; "> <el-row style=" display:flex; flex-wrap: wrap; ">
<template v-for="(item, index) in queryList"> <template v-for="(item, index) in queryList">

@ -2,6 +2,7 @@
<div> <div>
<el-card> <el-card>
<el-form v-if="queryList && queryList.length > 0 " :model="filterQuery" class="query-form" <el-form v-if="queryList && queryList.length > 0 " :model="filterQuery" class="query-form"
@submit.native.prevent
size="mini" label-width="100px"> size="mini" label-width="100px">
<el-row style=" display:flex; flex-wrap: wrap; "> <el-row style=" display:flex; flex-wrap: wrap; ">
<!-- <el-col :span="20">--> <!-- <el-col :span="20">-->

@ -2,6 +2,7 @@
<div> <div>
<el-card> <el-card>
<el-form v-if="queryList && queryList.length > 0 " :model="filterQuery" class="query-form" <el-form v-if="queryList && queryList.length > 0 " :model="filterQuery" class="query-form"
@submit.native.prevent
size="mini" label-width="100px"> size="mini" label-width="100px">
<el-row style=" display:flex; flex-wrap: wrap; "> <el-row style=" display:flex; flex-wrap: wrap; ">
<template v-for="(item, index) in queryList"> <template v-for="(item, index) in queryList">

@ -2,6 +2,7 @@
<div> <div>
<el-card> <el-card>
<el-form v-if="queryList && queryList.length > 0 " :model="filterQuery" class="query-form" <el-form v-if="queryList && queryList.length > 0 " :model="filterQuery" class="query-form"
@submit.native.prevent
size="mini" label-width="100px" size="mini" label-width="100px"
> >
<el-row style=" display:flex; flex-wrap: wrap; "> <el-row style=" display:flex; flex-wrap: wrap; ">

@ -2,6 +2,7 @@
<div> <div>
<el-card> <el-card>
<el-form v-if="queryList && queryList.length > 0 " :model="filterQuery" class="query-form" <el-form v-if="queryList && queryList.length > 0 " :model="filterQuery" class="query-form"
@submit.native.prevent
size="mini" label-width="100px"> size="mini" label-width="100px">
<el-row style=" display:flex; flex-wrap: wrap; "> <el-row style=" display:flex; flex-wrap: wrap; ">
<template v-for="(item, index) in queryList"> <template v-for="(item, index) in queryList">

Loading…
Cancel
Save