|
@@ -277,7 +277,7 @@
|
|
|
|
|
|
<el-col :span="24" style="padding: 15px 15px 16px 15px">
|
|
<el-col :span="24" style="padding: 15px 15px 16px 15px">
|
|
<div class="details-btns-container">
|
|
<div class="details-btns-container">
|
|
- <el-form-item label="报表文件" prop="reportFile" required>
|
|
|
|
|
|
+ <el-form-item label="报表文件" prop="reportFile" >
|
|
<el-upload
|
|
<el-upload
|
|
v-if="!isView"
|
|
v-if="!isView"
|
|
action="#"
|
|
action="#"
|
|
@@ -556,10 +556,7 @@ function handleSave() {
|
|
proxy.$message.error("请上传凭证");
|
|
proxy.$message.error("请上传凭证");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- if (!emptyForm.value.reportFiles.length > 0) {
|
|
|
|
- proxy.$message.error("请上传报表");
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
emptyForm.value.files = files.value;
|
|
emptyForm.value.files = files.value;
|
|
emptyForm.value.year = year.value;
|
|
emptyForm.value.year = year.value;
|
|
emptyForm.value.month = month.value;
|
|
emptyForm.value.month = month.value;
|