|
@@ -376,6 +376,16 @@ export default {
|
|
|
return
|
|
|
}
|
|
|
// 日期处理
|
|
|
+ if (this.repairFileList.length === 0) {
|
|
|
+ this.$message.error('请上传相关图片')
|
|
|
+ this.confirmLoading = false
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if (this.fileList.length === 0) {
|
|
|
+ this.$message.error('请上传相关文件')
|
|
|
+ this.confirmLoading = false
|
|
|
+ return
|
|
|
+ }
|
|
|
values.imageList = this.repairFileList
|
|
|
values.fileList = this.fileList // 维修文件
|
|
|
values.applyTime = this.BaseTool.Date.formatter(values.applyTime, this.BaseTool.Date.PICKER_NORM_DATETIME_PATTERN)
|