Browse Source

Merge remote-tracking branch 'origin/ecp' into ecp

纪新园 2 weeks ago
parent
commit
5a1cd4bf3e
2 changed files with 8 additions and 3 deletions
  1. 8 2
      src/views/claimSettlement/detailsPage.vue
  2. 0 1
      src/views/store/detailsPage.vue

+ 8 - 2
src/views/claimSettlement/detailsPage.vue

@@ -438,7 +438,10 @@ export default {
         this.$refs.form.validate((valid, done) => {
           done();
           if (valid) {
-            if (this.form.claimAttachmentList.length != 4) return this.$message.error("请上传4张图片");
+            if (this.form.claimAttachmentList.length == 0) return this.$message.error("请上传车辆整体照片");
+            if (this.form.claimAttachmentList.length == 1) return this.$message.error("请上传轮胎DOT");
+            if (this.form.claimAttachmentList.length == 2) return this.$message.error("请上传花纹深度");
+            if (this.form.claimAttachmentList.length == 3) return this.$message.error("请上传鼓包处照片");
             this.$confirm("是否提交审批?", "提示", {
               confirmButtonText: "确定",
               cancelButtonText: "取消",
@@ -481,7 +484,10 @@ export default {
       this.$refs.form.validate((valid, done) => {
         done();
         if (valid) {
-          if (this.form.claimAttachmentList.length != 4) return this.$message.error("请上传4张图片");
+          if (this.form.claimAttachmentList.length == 0) return this.$message.error("请上传车辆整体照片");
+          if (this.form.claimAttachmentList.length == 1) return this.$message.error("请上传轮胎DOT");
+          if (this.form.claimAttachmentList.length == 2) return this.$message.error("请上传花纹深度");
+          if (this.form.claimAttachmentList.length == 3) return this.$message.error("请上传鼓包处照片");
           const loading = this.$loading({
             lock: true,
             text: "加载中",

+ 0 - 1
src/views/store/detailsPage.vue

@@ -769,7 +769,6 @@ export default {
       };
       this.form.businessLicense = JSON.stringify(obj);
       done();
-      this.$message.success("上传后的方法");
     },
     getFileExtension(filename) {
       return filename.slice(((filename.lastIndexOf(".") - 1) >>> 0) + 2);