瀏覽代碼

优化产品打印样式

lph 1 年之前
父節點
當前提交
8dfae8b0d7
共有 2 個文件被更改,包括 3 次插入4 次删除
  1. 3 3
      zkqy-ui/src/utils/print/printUtils.js
  2. 0 1
      zkqy-ui/src/utils/request.js

+ 3 - 3
zkqy-ui/src/utils/print/printUtils.js

@@ -37,7 +37,7 @@ function printEN(printRow) {
   })
   res.push({
     key1: 'COLOR NO.:',
-    key2: productColor + '       ' + lotNum,
+    key2: productColor + '    ' + lotNum,
   })
   res.push({
     key1: 'CONE NO.:',
@@ -106,13 +106,13 @@ function printCN(printRow) {
   })
   res.push({
     key1: '筒数',
-    key2: canisterNum + '       ' + tubeColor,
+    key2: canisterNum + '    ' + tubeColor,
     key3: '捻向',
     key4: directionOfTwistLabel
   })
   res.push({
     key1: '班次',
-    key2: workShifts + '       ' + machineTool,
+    key2: workShifts + '    ' + machineTool,
     key3: '日期',
     key4: moment(new Date(productionDate)).format('YYYY-MM-DD')
   })

+ 0 - 1
zkqy-ui/src/utils/request.js

@@ -69,7 +69,6 @@ service.interceptors.request.use(config => {
 
 // 响应拦截器
 service.interceptors.response.use(res => {
-  console.log('响应数据', res);
   // 未设置状态码则默认成功状态
   const code = res.data.code || 200;
   // 获取错误信息