|
|
@@ -120,28 +120,20 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item prop="isHaveReport" :rules="[
|
|
|
+ <el-form-item label="有无报告" prop="isHaveReport" :rules="[
|
|
|
{ required: true, message: '有无报告不能为空', trigger: 'blur' }
|
|
|
]">
|
|
|
- <template #label>
|
|
|
- <el-tooltip placement="top">
|
|
|
- <!-- 使用插槽自定义内容 -->
|
|
|
- <template #content>
|
|
|
- <div>
|
|
|
- 注:<br>
|
|
|
- 选择“有报告”则开票时仅可通过报告进行开票。<br>
|
|
|
- 选择“无报告”则开票时仅可通过项目进行开票,且该项目无法创建报告信息
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <span style="color: #F56C6C">有无报告</span>
|
|
|
- </el-tooltip>
|
|
|
- </template>
|
|
|
-
|
|
|
<el-radio @change="preInvoice()" :disabled="status === 'audit' || status === 'taskFormDetail' || isReport" v-model="inputForm.isHaveReport"
|
|
|
v-for="item in $dictUtils.getDictList('is_have_report')" :label="item.value"
|
|
|
style="margin-right: 20px">
|
|
|
{{ item.label }}
|
|
|
</el-radio>
|
|
|
+ <div v-if="inputForm.isHaveReport === '1'" style="color: #E6A23C; font-size: 12px; line-height: 1.4; margin-top: 4px;">
|
|
|
+ 注:选择"有报告"则开票时仅可通过报告进行开票
|
|
|
+ </div>
|
|
|
+ <div v-if="inputForm.isHaveReport === '0'" style="color: #F56C6C; font-size: 12px; line-height: 1.4; margin-top: 4px;">
|
|
|
+ 注:选择"无报告"则开票时仅可通过项目进行开票,且该项目无法创建报告信息
|
|
|
+ </div>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|