wyq 3 lat temu
rodzic
commit
dc310c9046
2 zmienionych plików z 3 dodań i 3 usunięć
  1. 2 2
      src/components/PreviewBody/index.less
  2. 1 1
      src/utils/tools.js

+ 2 - 2
src/components/PreviewBody/index.less

@@ -175,13 +175,13 @@ table{
     left: -10px;
   }
 }
-
 .checkAssist {
   font-size: 14px;
   word-break: break-all;
-  display: flex;
+  display: flex;  
   flex-flow: column;
   width: 100%;
+  
 }
 .font14 {
   font-size: 14px;

+ 1 - 1
src/utils/tools.js

@@ -1930,7 +1930,7 @@ function getAllString(checkedListImport, assistLabel, flg) {
     tmpArr.push(obj)
     // tmpString += (tempArr[i].name + (tmpVal ? (':' + tmpVal) + ', ' : ':') + (tempArr[i].time ? '报告日期:' + tempArr[i].time : '') + '^;')
     tmpString +=
-      `<div style="font-size:12px">`
+      (i % 2 != 0 ? `<div style="font-size:12px">` : `<div style="font-size:12px;background: #F2F2F2;">`)
       + `<div style="display:flex;justify-content: space-between;">`
       + `<span style="font-size:12px">` + tempArr[i].name + `</span>`
       + `<div style="display:flex;font-size:12px"><img style='margin:0 3px;width:16px;height:18px' title="开单时间" src='${billing}'/>`