소스 검색

Finish Hotfix-zh-283

howie 2 년 전
부모
커밋
c26e587c9f
2개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 2 2
      src/mixin/print.js
  2. 3 3
      src/utils/panel.js

+ 2 - 2
src/mixin/print.js

@@ -278,8 +278,8 @@ export default {
       salesOrderId = data.invoicePickBeans[0].salesOrderId;
       invoiceId = data.invoicePickBeans[0].invoiceId;
       let refUseUnit,refEnginRecordNo
-      refUseUnit=data.refUseUnit||''
-      refEnginRecordNo=data.refEnginRecordNo||''
+      refUseUnit=data.refUseUnit|| data.invoicePickBeans[0].refUseUnit || ''
+      refEnginRecordNo=data.refEnginRecordNo|| data.invoicePickBeans[0].refEnginRecordNo || ''
       let tuiHuoRen = data.createBy
       // 数量合计
       let total = 0

+ 3 - 3
src/utils/panel.js

@@ -76,7 +76,7 @@ export default {
             top: 35,
             height: 13,
             lineHeight: 13,
-            width: 250,
+            width: 280,
             fontSize: 12.5,
             title: "经销商",
             fontFamily: "黑体,宋体,微软雅黑",
@@ -90,7 +90,7 @@ export default {
         ,
         {
           options: {
-            left: 300,
+            left: 320,
             top: 35,
             height: 13,
             lineHeight: 13,
@@ -156,7 +156,7 @@ export default {
         },
         {
           options: {
-            left: 300,
+            left: 320,
             top: 55,
             height: 13,
             lineHeight: 13,