|
@@ -4,7 +4,7 @@
|
|
|
:title="title"
|
|
|
:close-on-click-modal="false"
|
|
|
v-dialogDrag
|
|
|
- width="1200px"
|
|
|
+ width="1400px"
|
|
|
height="500px"
|
|
|
@close="close"
|
|
|
@keyup.enter.native=""
|
|
@@ -70,13 +70,27 @@
|
|
|
<el-input :disabled="true" v-model="inputForm.projectMasterName" placeholder="请填写项目经理" clearable></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
-
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="盖章类型" prop="signatureType"
|
|
|
+ :rules="[
|
|
|
+ ]">
|
|
|
+ <!-- <el-input v-model="inputForm.signatureType" placeholder="请填写盖章类型" clearable></el-input>-->
|
|
|
+ <el-select v-model="inputForm.signatureType" placeholder="请选择盖章类型" clearable style="width: 100%;">
|
|
|
+ <el-option
|
|
|
+ v-for="item in $dictUtils.getDictList('cw_signature_type')"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
<el-col v-if="inputForm.signatureType === '1' || commonJS.isEmpty(inputForm.signatureType)" :span="12">
|
|
|
<el-form-item label="签字注师1" prop="signatureAnnotator1"
|
|
|
:rules="[
|
|
|
]">
|
|
|
<!-- <el-input v-model="inputForm.signatureAnnotator1" placeholder="请填写签字注师1" clearable></el-input>-->
|
|
|
- <UserSelect size="medium" ref="userSelect1" :disabled="formReadOnly" :readonly="true" :limit='10' :value="inputForm.signatureAnnotator1" @getValue='(value) => {changeSignatory1(value)}'></UserSelect>
|
|
|
+ <UserSelect size="medium" ref="userSelect1" :disabled="method === 'view'" :readonly="true" :limit='10' :value="inputForm.signatureAnnotator1" @getValue='(value) => {changeSignatory1(value)}'></UserSelect>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
@@ -85,7 +99,7 @@
|
|
|
:rules="[
|
|
|
]">
|
|
|
<!-- <el-input v-model="inputForm.signatureAnnotator2" placeholder="请填写签字注师2" clearable></el-input>-->
|
|
|
- <UserSelect size="medium" ref="userSelect2" :disabled="formReadOnly" :readonly="true" :limit='10' :value="inputForm.signatureAnnotator2" @getValue='(value) => {changeSignatory2(value)}'></UserSelect>
|
|
|
+ <UserSelect size="medium" ref="userSelect2" :disabled="method === 'view'" :readonly="true" :limit='10' :value="inputForm.signatureAnnotator2" @getValue='(value) => {changeSignatory2(value)}'></UserSelect>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
@@ -95,7 +109,7 @@
|
|
|
{required: true, message:'签字注师1不能为空', trigger:'blur'}
|
|
|
]">
|
|
|
<!-- <el-input v-model="inputForm.signatureAnnotator1" placeholder="请填写签字注师1" clearable></el-input>-->
|
|
|
- <UserSelect size="medium" ref="userSelect1" :disabled="formReadOnly" :readonly="true" :limit='10' :value="inputForm.signatureAnnotator1" @getValue='(value) => {changeSignatory1(value)}'></UserSelect>
|
|
|
+ <UserSelect size="medium" ref="userSelect1" :disabled="method === 'view'" :readonly="true" :limit='10' :value="inputForm.signatureAnnotator1" @getValue='(value) => {changeSignatory1(value)}'></UserSelect>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
@@ -105,23 +119,14 @@
|
|
|
{required: true, message:'签字注师2不能为空', trigger:'blur'}
|
|
|
]">
|
|
|
<!-- <el-input v-model="inputForm.signatureAnnotator2" placeholder="请填写签字注师2" clearable></el-input>-->
|
|
|
- <UserSelect size="medium" ref="userSelect2" :disabled="formReadOnly" :readonly="true" :limit='10' :value="inputForm.signatureAnnotator2" @getValue='(value) => {changeSignatory2(value)}'></UserSelect>
|
|
|
+ <UserSelect size="medium" ref="userSelect2" :disabled="method === 'view'" :readonly="true" :limit='10' :value="inputForm.signatureAnnotator2" @getValue='(value) => {changeSignatory2(value)}'></UserSelect>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
-
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="盖章类型" prop="signatureType"
|
|
|
+ <el-form-item label="报告实际制作人" prop="realCreate"
|
|
|
:rules="[
|
|
|
]">
|
|
|
- <!-- <el-input v-model="inputForm.signatureType" placeholder="请填写盖章类型" clearable></el-input>-->
|
|
|
- <el-select v-model="inputForm.signatureType" placeholder="请选择盖章类型" clearable style="width: 100%;">
|
|
|
- <el-option
|
|
|
- v-for="item in $dictUtils.getDictList('cw_signature_type')"
|
|
|
- :key="item.value"
|
|
|
- :label="item.label"
|
|
|
- :value="item.value">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
+ <UserSelect size="medium" :readonly="true" :disabled="method === 'view'" :limit='1' :value="inputForm.realCreate" @getValue='(value) => {inputForm.realCreate = value}'></UserSelect>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
@@ -144,7 +149,7 @@
|
|
|
</el-button>
|
|
|
<!-- <el-button v-if="hasPermission('cw:reportManagement:del')" type="text" size="small" @click="del()">删除</el-button>-->
|
|
|
<el-row :gutter="15">
|
|
|
- <el-form :disabled="formReadOnly">
|
|
|
+ <el-form :disabled="method === 'view'">
|
|
|
<vxe-table
|
|
|
border
|
|
|
show-overflow
|
|
@@ -382,7 +387,8 @@
|
|
|
cwProjectInfoList: [],
|
|
|
cwWorkClientContactDTOList: [],
|
|
|
cwFileInfoList: [],
|
|
|
- projectInfoId: ''
|
|
|
+ projectInfoId: '',
|
|
|
+ realCreate: ''
|
|
|
},
|
|
|
keyWatch: '',
|
|
|
activeName: 'newRow',
|
|
@@ -503,7 +509,8 @@
|
|
|
cwProjectInfoList: [],
|
|
|
cwWorkClientContactDTOList: [],
|
|
|
cwFileInfoList: [],
|
|
|
- projectInfoId: ''
|
|
|
+ projectInfoId: '',
|
|
|
+ realCreate: ''
|
|
|
}
|
|
|
this.inputForm.id = id
|
|
|
this.loading = false
|
|
@@ -666,7 +673,8 @@
|
|
|
contractNum: '',
|
|
|
payerSubject: '',
|
|
|
paymentMethod: '',
|
|
|
- contractId: ''
|
|
|
+ contractId: '',
|
|
|
+ realCreate: ''
|
|
|
}
|
|
|
// this.$refs.uploadComponent.clearUpload()
|
|
|
this.$refs.inputForm.resetFields()
|