Ver código fonte

【修改】bug

howie 2 anos atrás
pai
commit
00ef364540
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/mixin/print.js

+ 2 - 2
src/mixin/print.js

@@ -276,6 +276,7 @@ export default {
       let salesOrderId, invoiceId; //出库单号,发货单号 默认数据中的第一个
       salesOrderId = data.invoicePickBeans[0].salesOrderId;
       invoiceId = data.invoicePickBeans[0].invoiceId;
+      let tuiHuoRen = data.createBy
       // 初始化打印次数
       let printNum = 0;
       //避免数据发生改变
@@ -311,7 +312,6 @@ export default {
             });
           }
         }
-
         // 添加print输出数据
         this.outputData.push({
           pageNumber: `${len}-${index + 1}`,
@@ -333,7 +333,7 @@ export default {
           nowDate: this.nowDate(),
           takerName:
             data.type === 2
-              ? `退货人:${data.createBy || ""}`
+              ? `退货人:${tuiHuoRen|| ""}`
               : `提货人:${data.takerName || ""}`,
           customerName: data.customerName || "",
           correspondName: data.correspondName,