|
@@ -526,7 +526,7 @@
|
|
<vxe-table-column field="userName" title="报销人" :edit-render="{}" show-overflow="title"
|
|
<vxe-table-column field="userName" title="报销人" :edit-render="{}" show-overflow="title"
|
|
:rules="[{ required: true, message: '请选择报销人', trigger: 'blur' }]">
|
|
:rules="[{ required: true, message: '请选择报销人', trigger: 'blur' }]">
|
|
<template #edit="scope">
|
|
<template #edit="scope">
|
|
- <el-input v-model="scope.row.userName" @focus="userPullListForm4(scope.$rowIndex)"></el-input>
|
|
|
|
|
|
+ <el-input v-model="scope.row.userName" @focus="userPullListForm8(scope.$rowIndex)"></el-input>
|
|
<!-- <UserSelectV2 :limit='1' :userName="scope.row.userName" @getValue='(value, label) => {scope.row.userName = label}'></UserSelectV2>-->
|
|
<!-- <UserSelectV2 :limit='1' :userName="scope.row.userName" @getValue='(value, label) => {scope.row.userName = label}'></UserSelectV2>-->
|
|
</template>
|
|
</template>
|
|
</vxe-table-column>
|
|
</vxe-table-column>
|
|
@@ -777,6 +777,7 @@
|
|
<UserPullForm ref="userPullForm3" @getProgramForUser="getProgramForUser3"></UserPullForm>
|
|
<UserPullForm ref="userPullForm3" @getProgramForUser="getProgramForUser3"></UserPullForm>
|
|
<UserPullForm ref="userPullForm4" @getProgramForUser="getProgramForUser4"></UserPullForm>
|
|
<UserPullForm ref="userPullForm4" @getProgramForUser="getProgramForUser4"></UserPullForm>
|
|
<UserPullForm ref="userPullForm5" @getProgramForUser="getProgramForUser5"></UserPullForm>
|
|
<UserPullForm ref="userPullForm5" @getProgramForUser="getProgramForUser5"></UserPullForm>
|
|
|
|
+ <UserPullForm ref="userPullForm8" @getProgramForUser="getProgramForUser8"></UserPullForm>
|
|
|
|
|
|
</el-form>
|
|
</el-form>
|
|
<!-- 附件 -->
|
|
<!-- 附件 -->
|
|
@@ -2007,6 +2008,10 @@ export default {
|
|
this.indexRow = rowIndex
|
|
this.indexRow = rowIndex
|
|
this.$refs.userPullForm4.init()
|
|
this.$refs.userPullForm4.init()
|
|
},
|
|
},
|
|
|
|
+ userPullListForm8(rowIndex) {
|
|
|
|
+ this.indexRow = rowIndex
|
|
|
|
+ this.$refs.userPullForm8.init()
|
|
|
|
+ },
|
|
userPullListForm5(rowIndex) {
|
|
userPullListForm5(rowIndex) {
|
|
this.indexRow = rowIndex
|
|
this.indexRow = rowIndex
|
|
this.$refs.userPullForm5.init()
|
|
this.$refs.userPullForm5.init()
|
|
@@ -2051,6 +2056,16 @@ export default {
|
|
this.indexRow = ''
|
|
this.indexRow = ''
|
|
this.$forceUpdate()
|
|
this.$forceUpdate()
|
|
},
|
|
},
|
|
|
|
+ getProgramForUser8(rows) {
|
|
|
|
+ console.log(13123123);
|
|
|
|
+
|
|
|
|
+ this.inputForm.detailInfoProject[this.indexRow].userId = rows[0].id
|
|
|
|
+ this.inputForm.detailInfoProject[this.indexRow].userName = rows[0].name
|
|
|
|
+ this.inputForm.detailInfoProject[this.indexRow].deptId = rows[0].parentId
|
|
|
|
+ this.inputForm.detailInfoProject[this.indexRow].deptName = rows[0].officeName
|
|
|
|
+ this.indexRow = ''
|
|
|
|
+ this.$forceUpdate()
|
|
|
|
+ },
|
|
getWorkClientChoose2(list) {
|
|
getWorkClientChoose2(list) {
|
|
this.inputForm.detailInfoReports[this.indexRow].reportNumber = list.reportNo
|
|
this.inputForm.detailInfoReports[this.indexRow].reportNumber = list.reportNo
|
|
this.indexRow = ''
|
|
this.indexRow = ''
|