This commit is contained in:
caoxinyu
2019-09-24 08:22:02 +08:00
parent 0758701e5e
commit ac47b69ea3
24 changed files with 241 additions and 136 deletions

View File

@@ -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
}
},