Explorar el Código

1、韵达快递对接

huangmp hace 2 años
padre
commit
998217b29e

+ 6 - 1
src/views/modules/print/print-scan-delivery.vue

@@ -178,7 +178,7 @@ export default {
             this.getLogisticsInfo(this.scanOrderNo);
             if(this.logistics === 'YUNDA'){
               //打印韵达面单
-              this.printWallbill(this.printOrder.orderLogistics)
+              this.printWallbill(data)
             }
         }
           this.lastInputStr = substr;
@@ -196,6 +196,7 @@ export default {
       }).then(({data}) => {
         if(data){
           this.printOrder = data;
+          this.printOrder.orderLogistics = data.orderLogistics;
         }
         this.infoVisible = true;
       }).catch((error) => {
@@ -216,6 +217,10 @@ export default {
       }).then(({data}) => {
         if(data){
           this.getLogisticsInfo(this.scanOrderNo);
+          if(this.logistics === 'YUNDA'){
+            //打印韵达面单
+            this.printWallbill(this.printOrder.orderLogistics)
+          }
         }
       }).catch((error) => {
         this.$message.error("打印失败")

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
src/views/modules/print/yunda-template-data.js


Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio