|
@@ -630,7 +630,9 @@
|
|
|
:key="memberKey"
|
|
|
:data="inputForm.members"
|
|
|
style="margin-left: 5em"
|
|
|
+ @cell-click=""
|
|
|
:edit-rules="validRulesMember"
|
|
|
+ @edit-closed=""
|
|
|
highlight-current-row
|
|
|
:edit-config="{trigger: 'click', mode: 'row', showStatus: false, autoClear: status === 'audit' || status === 'taskFormDetail' ? true : false, icon: '#'}"
|
|
|
>
|
|
@@ -643,7 +645,15 @@
|
|
|
<!-- </vxe-input>-->
|
|
|
<!-- </template>-->
|
|
|
<template v-slot:edit="scope">
|
|
|
- <el-input v-model="scope.row.name" ></el-input>
|
|
|
+ <vxe-input v-model="scope.row.name" :disabled="commonJS.isNotEmpty(scope.row.userId) || status === 'audit' || status === 'taskFormDetail'" style="width: 100%">
|
|
|
+<!-- <template #suffix>-->
|
|
|
+<!-- <vxe-button :disabled="status === 'audit' || status === 'taskFormDetail'" @click="openUserSearch(scope.$rowIndex)" type="text" content="" icon="el-icon-search" ></vxe-button>-->
|
|
|
+<!-- </template>-->
|
|
|
+ <template #suffix>
|
|
|
+<!-- <i class="el-icon-search" @click="openUserSearch(scope.$rowIndex)"></i>-->
|
|
|
+ <el-button :disabled="status === 'audit' || status === 'taskFormDetail'" @click="openUserSearch(scope.$rowIndex)" type="text" content="" icon="el-icon-search" ></el-button>
|
|
|
+ </template>
|
|
|
+ </vxe-input>
|
|
|
</template>
|
|
|
</vxe-table-column>
|
|
|
<vxe-table-column field="workHours" title="预计工时(时)" :edit-render="{name: '$input'}" align="center">
|
|
@@ -1202,9 +1212,7 @@
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
- console.log('this.inputForm.members', this.inputForm.members)
|
|
|
this.inputForm.members.forEach((item, index) => {
|
|
|
- console.log('item', item)
|
|
|
if (this.commonJS.isEmpty(item.name)) {
|
|
|
this.loading = false
|
|
|
this.$message.error('项目组成员姓名不允许为空')
|
|
@@ -1338,7 +1346,6 @@
|
|
|
this.$forceUpdate()
|
|
|
},
|
|
|
openContactForm (deputy) {
|
|
|
- console.log(1231231231)
|
|
|
if (deputy === '0') {
|
|
|
if (this.commonJS.isEmpty(this.inputForm.client) && this.commonJS.isEmpty(this.inputForm.propertyHolder)) {
|
|
|
this.$message.error('请先填写合同委托方或委托人')
|