Explorar el Código

1、解决韵达打印重复问题

huangmp hace 2 años
padre
commit
5df8eaaac6
Se han modificado 1 ficheros con 5 adiciones y 3 borrados
  1. 5 3
      src/views/modules/print/print-scan-delivery.vue

+ 5 - 3
src/views/modules/print/print-scan-delivery.vue

@@ -177,9 +177,11 @@ export default {
           if(data){
             this.getLogisticsInfo(this.scanOrderNo);
             if(this.logistics === 'YUNDA'){
-              //打印韵达面单
-              this.printOrder = data;
-              this.printWallbill(this.printOrder.orderLogistics)
+              if(!data.hadPrint){
+                //打印韵达面单
+                this.printOrder = data;
+                this.printWallbill(this.printOrder.orderLogistics)
+              }
             }
         }
           this.lastInputStr = substr;