Commit 7e122319 authored by 高滢's avatar 高滢

feat(样品): 优化

parent 060f72c0
......@@ -10,7 +10,11 @@
size="small"
:inline="true"
>
<el-form-item label="车辆识别码" prop="enterpriseName">
<el-form-item
v-show="activeName === 'completeSample'"
label="车辆识别码"
prop="enterpriseName"
>
<el-input
v-model="queryParams.identificationCode"
placeholder="请输入车辆识别码"
......@@ -74,6 +78,7 @@
>
<el-table-column type="index" label="序号" width="80"> </el-table-column>
<el-table-column
v-if="activeName === 'completeSample'"
prop="identificationCode"
label="车辆识别码"
show-overflow-tooltip
......@@ -191,7 +196,11 @@
label-width="100px"
:rules="editFormRules"
>
<el-form-item label="车辆识别码" prop="identificationCode">
<el-form-item
v-if="activeName === 'completeSample'"
label="车辆识别码"
prop="identificationCode"
>
<el-input
v-model="editParamsForm.identificationCode"
placeholder="请输入车辆识别码"
......@@ -368,7 +377,7 @@ export default {
this.determineActiveName()
},
cancleSubmit() {
this.tabClick()
this.determineActiveName()
this.editParamsForm = {
id: '',
deleted: 0
......@@ -434,10 +443,11 @@ export default {
this.editParamsForm.flag = '1'
}
},
handleQuery() {},
sortClick(column, prop, order) {
console.log(column, prop, order)
if (order === 'ascending') {
handleQuery() {
this.getList()
},
sortClick(column) {
if (column.order === 'ascending') {
this.queryParams.isAsc = 'asc'
} else {
this.queryParams.isAsc = 'desc'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment