我去
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<el-card>
|
||||
<span>人员名称:</span>
|
||||
<el-input v-model="personnelNumber" placeholder="请双击选择人员名称" class="input-with-select" clearable size="small" style="width:200px;margin:3px;" @dblclick.native="dialogTableVisible"/>
|
||||
<span>人员姓名:</span>
|
||||
<el-input v-model="personnelNumber" placeholder="请双击选择人员姓名" class="input-with-select" clearable size="small" style="width:200px;margin:3px;" @dblclick.native="dialogTableVisible"/>
|
||||
<el-button type="success" class="el-icon-search" size="small" style="margin-left: 10px" @click="pageCurrent=1;pageSize=20;searchTable()">查询</el-button>
|
||||
<el-button type="primary" class="el-icon-circle-plus-outline" size="small" style="margin-left: 10px" @click="editType1('form');param = 0">新增</el-button>
|
||||
</el-card>
|
||||
@@ -454,7 +454,7 @@ export default {
|
||||
// 增加打开
|
||||
editType1(formName) {
|
||||
if (this.personnelNumber === '' || this.personnelNumber === null) {
|
||||
this.$message.error('请输入人员编号')
|
||||
this.$message.error('请选择人员名称')
|
||||
} else {
|
||||
this.form.TechnologyValue = ''
|
||||
this.form.timeNumber = ''
|
||||
@@ -464,7 +464,7 @@ export default {
|
||||
if (this.count1 !== 1) {
|
||||
this.$refs[formName].resetFields()
|
||||
}
|
||||
this.title1 = '新增修补工时'
|
||||
this.title1 = '新增'+this.personnelNumber+'修补工时'
|
||||
this.dialogFormVisible = true
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user