@dongkboy 3 rokov pred
rodič
commit
4320a62327
1 zmenil súbory, kde vykonal 6 pridanie a 4 odobranie
  1. 6 4
      src/views/Letter/Letter.vue

+ 6 - 4
src/views/Letter/Letter.vue

@@ -3238,10 +3238,7 @@ export default {
         this.$message({ message: "发证日期早于初登日期", type: "error" });
         this.$message({ message: "发证日期早于初登日期", type: "error" });
         return;
         return;
       }
       }
-      if(this.imageList1=[] || this.imageList2==[] || this.imageList3==[] || this.imageList4==[]){
-        this.$message({ message: "手动录单先上传影像", type: "error" });
-        return;
-      }
+
       this.$refs["carInfo"].validate(valid => {
       this.$refs["carInfo"].validate(valid => {
         if (valid) {
         if (valid) {
           var _this = this;
           var _this = this;
@@ -3379,6 +3376,10 @@ export default {
     },
     },
     //订单生成前数据处理事件
     //订单生成前数据处理事件
     OrderStageProcessing() {
     OrderStageProcessing() {
+      if(this.imageList1.length==0 && this.imageList2.length==0 ){
+        this.$message({ message: "手动录单先上传影像", type: "error", });
+        return;
+      }
       if(this.tbczcarShow){ //投保人同车主
       if(this.tbczcarShow){ //投保人同车主
        this.imageList3 = JSON.parse(JSON.stringify(this.imageList2));
        this.imageList3 = JSON.parse(JSON.stringify(this.imageList2));
        if(this.imageList3.length==1){
        if(this.imageList3.length==1){
@@ -5281,6 +5282,7 @@ export default {
           this.$message({ message: responses.msg, type: "error" });
           this.$message({ message: responses.msg, type: "error" });
         }
         }
       });
       });
+      this.imageUploaddialogVisible=false;
     },
     },
     add() {
     add() {
       for (let key in this.ownerInfo) {
       for (let key in this.ownerInfo) {