فهرست منبع

fix:环境监控,入库单,出库单

zhangjingyuan 3 سال پیش
والد
کامیت
e4f3ffcfbe

+ 52 - 58
src/views/huanjingjiankong/huanjingjiankong.vue

@@ -497,7 +497,7 @@ export default {
           data[0].h1,
           data[0].p6,
           5,
-          30
+          9999
         );
 
         this_.newweizhi[1].temp = data[0].t2;
@@ -510,7 +510,7 @@ export default {
           data[0].h2,
           data[0].p7,
           5,
-          30
+          9999
         );
 
         this_.newweizhi[2].temp = data[0].t3;
@@ -523,7 +523,7 @@ export default {
           data[0].h3,
           data[0].p8,
           5,
-          30
+          9999
         );
         this_.newweizhi[3].temp = data[0].t4;
         this_.newweizhi[3].humidness = data[0].h4;
@@ -535,7 +535,7 @@ export default {
           data[0].h4,
           data[0].p9,
           5,
-          30
+          9999
         );
         this_.newweizhi[14].airPressure = data[0].p1; //; 1更
         this_.newweizhi[14].ifshow = this_.returnifShow(
@@ -543,7 +543,7 @@ export default {
           999,
           data[0].p1,
           10,
-          30
+          9999
         );
         this_.newweizhi[14].run = data[0].run;
 
@@ -552,8 +552,8 @@ export default {
           999,
           999,
           data[0].p3,
-          5,
-          30
+          10,
+          9999
         );
         this_.newweizhi[15].run = data[0].run;
         this_.newweizhi[16].airPressure = data[0].p4; //退更缓冲
@@ -562,7 +562,7 @@ export default {
           999,
           data[0].p4,
           5,
-          30
+          9999
         );
         this_.newweizhi[16].run = data[0].run;
 
@@ -571,8 +571,8 @@ export default {
           999,
           999,
           data[0].p5,
-          5,
-          30
+          10,
+          9999
         );
         this_.newweizhi[17].run = data[0].run;
         this_.newweizhi[18].airPressure = data[0].p1; //万级洁净走廊
@@ -581,7 +581,7 @@ export default {
           999,
           data[0].p1,
           5,
-          30
+          9999
         );
         this_.newweizhi[18].run = data[0].run;
       });
@@ -597,8 +597,8 @@ export default {
           data[0].t1,
           data[0].h1,
           data[0].p1,
-          5,
-          30
+          -15,
+          -35
         );
         this_.newweizhi[5].temp = data[0].t2; //分练区2
         this_.newweizhi[5].humidness = data[0].h2;
@@ -609,8 +609,8 @@ export default {
           data[0].t2,
           data[0].h2,
           data[0].p2,
-          5,
-          30
+          -15,
+          -35
         );
 
         this_.newweizhi[19].airPressure = data[0].p3;
@@ -620,7 +620,7 @@ export default {
           999,
           data[0].p3,
           10,
-          30
+          999
         );
         this_.newweizhi[19].run = data[0].run;
 
@@ -630,7 +630,7 @@ export default {
           999,
           data[0].p4,
           10,
-          30
+          999
         );
         this_.newweizhi[20].run = data[0].run;
         this_.newweizhi[21].airPressure = data[0].p5;
@@ -639,12 +639,11 @@ export default {
           999,
           data[0].p5,
           5,
-          30
+          999
         );
         this_.newweizhi[21].run = data[0].run;
       });
-      let sql2 =
-        "select * FROM DATA WHERE deviceName ='HAU03' ORDER BY saveTime DESC LIMIT 1"; //支原体室
+      let sql2 ="select * FROM DATA WHERE deviceName ='HAU03' ORDER BY saveTime DESC LIMIT 1"; //支原体室
       await curdPost("sql", sql2).then((res) => {
         let data = res.variables.data;
         this_.newweizhi[6].temp = data[0].t1;
@@ -655,8 +654,8 @@ export default {
           data[0].t1,
           data[0].h1,
           data[0].p1,
-          5,
-          30
+          10,
+          999
         );
         this_.newweizhi[22].airPressure = data[0].p2; //支原体 与无菌共用一更
         this_.newweizhi[22].ifshow = this_.returnifShow(
@@ -664,19 +663,17 @@ export default {
           999,
           data[0].p2,
           10,
-          30
+          999
         );
         this_.newweizhi[22].run = data[0].run;
-
         zhi_wu_yi_run = data[0].run;
-
         this_.newweizhi[23].airPressure = data[0].p3;
         this_.newweizhi[23].ifshow = this_.returnifShow(
           999,
           999,
           data[0].p3,
           10,
-          30
+          999
         );
         this_.newweizhi[23].run = data[0].run; //二更
 
@@ -686,7 +683,7 @@ export default {
           999,
           data[0].p4,
           5,
-          30
+          999
         );
         this_.newweizhi[24].run = data[0].run; //缓冲
 
@@ -710,8 +707,8 @@ export default {
           data[0].t1,
           data[0].h1,
           data[0].p1,
-          5,
-          30
+          10,
+          999
         );
         this_.newweizhi[22].airPressure = data[0].p4; //支原体 与无菌共用一更
         this_.newweizhi[22].ifshow = this_.returnifShow(
@@ -719,7 +716,7 @@ export default {
           999,
           data[0].p4,
           10,
-          30
+          999
         );
         zhi_wu_yi_run != 1 ? (this_.newweizhi[22].run = data[0].run) : "";
 
@@ -729,22 +726,20 @@ export default {
           999,
           data[0].p2,
           10,
-          30
+          999
         );
         this_.newweizhi[25].run = data[0].run; //二更
-
         this_.newweizhi[26].airPressure = data[0].p3;
         this_.newweizhi[26].ifshow = this_.returnifShow(
           999,
           999,
           data[0].p3,
           5,
-          30
+          999
         );
-        this_.newweizhi[26].run = data[0].run;
+        this_.newweizhi[26].run = data[0].run;//缓冲
       });
-      let sql4 =
-        "select * FROM DATA WHERE deviceName ='PAU01'  ORDER BY saveTime DESC LIMIT 1";
+      let sql4 ="select * FROM DATA WHERE deviceName ='PAU01'  ORDER BY saveTime DESC LIMIT 1";
       await curdPost("sql", sql4).then((res) => {
         let data = res.variables.data;
         this_.newweizhi[8].temp = data[0].t1;
@@ -755,8 +750,8 @@ export default {
           data[0].t1,
           data[0].h1,
           data[0].p1,
-          -10,
-          -30
+          -15,
+          -45
         );
 
         this_.newweizhi[9].temp = data[0].t2;
@@ -767,8 +762,8 @@ export default {
           data[0].t2,
           data[0].h2,
           data[0].p2,
-          -10,
-          -30
+          -15,
+          -35
         );
 
         this_.newweizhi[10].temp = data[0].t3;
@@ -780,7 +775,7 @@ export default {
           data[0].h3,
           data[0].p3,
           5,
-          30
+          999
         );
 
         this_.newweizhi[11].temp = data[0].t4;
@@ -792,7 +787,7 @@ export default {
           data[0].h4,
           data[0].p4,
           15,
-          30
+          999
         );
 
         this_.newweizhi[28].airPressure = data[0].p9; //试剂准备缓冲
@@ -801,7 +796,7 @@ export default {
           999,
           data[0].p9,
           5,
-          30
+          999
         );
         this_.newweizhi[28].run = data[0].run;
 
@@ -811,7 +806,7 @@ export default {
           999,
           data[0].p6,
           5,
-          30
+          999
         );
         this_.newweizhi[29].run = data[0].run;//产物缓冲
         this_.newweizhi[30].airPressure = data[0].p7; 
@@ -820,7 +815,7 @@ export default {
           999,
           data[0].p7,
           5,
-          30
+          999
         );
         this_.newweizhi[30].run = data[0].run; //扩增缓冲
 
@@ -830,7 +825,7 @@ export default {
           999,
           data[0].p8,
           5,
-          30
+          999
         );
         this_.newweizhi[31].run = data[0].run; //样本缓冲三
 
@@ -841,12 +836,11 @@ export default {
           999,
           data[0].p5,
           5,
-          30
+          999
         );
         this_.newweizhi[27].run = data[0].run;
       });
-      let sql5 =
-        "select * FROM DATA WHERE deviceName ='PAU02'  ORDER BY saveTime DESC LIMIT 1";
+      let sql5 ="select * FROM DATA WHERE deviceName ='PAU02'  ORDER BY saveTime DESC LIMIT 1";
       // console.log()
       await curdPost("sql", sql5).then((res) => {
         let data = res.variables.data;
@@ -858,7 +852,7 @@ export default {
           data[0].t1,
           data[0].h1,
           data[0].p2,
-          -10,
+          -15,
           -30
         );
         this_.newweizhi[13].temp = data[0].t2; //支原体阳性制备室
@@ -870,8 +864,8 @@ export default {
           data[0].t2,
           data[0].h2,
           data[0].p1,
-          -10,
-          -30
+          -15,
+          -35
         );
 
         this_.newweizhi[33].airPressure = data[0].p5;
@@ -880,7 +874,7 @@ export default {
           999,
           data[0].p5,
           5,
-          30
+          999
         );
         this_.newweizhi[33].run = data[0].run; //无菌阳性二更
 
@@ -890,7 +884,7 @@ export default {
           999,
           data[0].p7,
           5,
-          30
+          999
         );
         this_.newweizhi[34].run = data[0].run;
 
@@ -900,7 +894,7 @@ export default {
           999,
           data[0].p4,
           5,
-          30
+          999
         );
         this_.newweizhi[35].run = data[0].run;
 
@@ -909,8 +903,8 @@ export default {
           999,
           999,
           data[0].p3,
-          15,
-          30
+          10,
+          999
         );
         this_.newweizhi[37].run = data[0].run;
 
@@ -920,7 +914,7 @@ export default {
           999,
           data[0].p6,
           5,
-          30
+          999
         );
         this_.newweizhi[36].run = data[0].run;
       });

+ 3 - 3
src/views/system/jbdScan/goods/bwlingliaodan.vue

@@ -1,8 +1,8 @@
 <template>
   <div class="bg">
     <el-dialog
-      width="26cm"
-      height="12cm"
+      width="230mm"
+      height="279mm"
       :modal-append-to-body="false"
       title="领料单"
       :visible.sync="scanVisible"
@@ -14,7 +14,7 @@
             <div
               v-for="(item1, index1) in list"
               :key="index1"
-              style="margin-bottom: 30px"
+              style="margin-bottom: 30px;padding: 0px 20px;"
             >
               <div style="page-break-after: always">
                 <!-- <div class="word-title">

+ 7 - 7
src/views/system/jbdScan/goods/lingliaodan.vue

@@ -1,14 +1,14 @@
 <template>
   <div class="bg">
     <el-dialog
-      width="26cm"
-      height="12cm"
+      width="230mm"
+      height="279mm"
       :modal-append-to-body="false"
       title="领料单"
       :visible.sync="scanVisible"
     >
       <!-- 表单是否显示 -->
-      <div style="height: 500px; width: 95%; margin: 0 auto">
+      <div style="height: 500px; width: 90%; margin: 0 auto">
         <div ref="qrcode" id="box">
           <vue-easy-print tableShow ref="easyPrint" :onePageRow="onePageRow">
             <div
@@ -17,7 +17,7 @@
               style="margin-bottom: 30px"
             >
               <div style="page-break-after: always">
-                <div>
+                <div style="padding: 0px 20px;">
                   <table :border="1">
                     <thead>
                       <tr class="title">
@@ -63,7 +63,7 @@
                       <tr v-for="(item, index) in item1" :key="index">
                         <td style="width: 30px">{{ index + 1 }}</td>
                         <td style="width: 90px">{{ item.wu_liao_bian_hao_ }}</td>
-                        <td style="width: 160px">{{ item.wu_liao_ming_chen }}
+                        <td style="width: 130px">{{ item.wu_liao_ming_chen }}
                         </td>
                         <!-- <td style="width: 60px">{{ item.huo_hao_ }}</td>  -->
                         <td style="width: 80px">{{ item.pi_hao_ }}</td>
@@ -73,12 +73,12 @@
                         <td style="width: 60px">{{ item.dan_jia_ |numToFixed(item.dan_jia_) }}</td>
                         <td style="width: 60px">{{ item.dan_jia_|jineToFixed(item.shu_liang_ ) }}</td>
                         <td style="width: 80px">{{ item.yong_tu_ }}</td>
-                        <td style="width: 120px">{{ item.bei_zhu_ }}</td>
+                        <td style="width: 80px">{{ item.bei_zhu_ }}</td>
                       </tr>
                       <tr>
                         <td style="width: 30px"></td>
                         <td style="width: 90px"></td>
-                        <td style="width: 160px"></td>
+                        <td style="width: 130px"></td>
                         <td style="width: 80px"></td>
                         <td style="width: 120px"></td>
                         <td style="width: 60px"></td>

+ 6 - 8
src/views/system/jbdScan/wuliao/bwlingliaodan.vue

@@ -1,8 +1,8 @@
 <template>
   <div class="bg">
     <el-dialog
-      width="26cm"
-      height="12cm"
+      width="230mm"
+      height="279mm"
       :modal="!alertVisible"
       title="领料单"
       :visible.sync="alertVisible "
@@ -18,7 +18,7 @@
             >
               <div style="page-break-after: always">
                 <div class="word-title">
-                  <h4>21212</h4>
+                  <h4>领料单</h4>
                 </div>
                 <div class="tagBox">
                   <div>
@@ -66,12 +66,10 @@
                         <td style="width: 90px">
                           {{ item.wu_liao_bian_hao_ }}
                         </td>
-                        <td style="width: 120px">
-                          {{ item.wu_liao_ming_chen }}
-                        </td>
+                        <td style="width: 100px">{{ item.wu_liao_ming_chen }}</td>
                         <!-- <td style="width: 60px">{{ item.huo_hao_ }}</td>  -->
                         <td style="width: 60px">{{ item.pi_hao_ }}</td>
-                        <td style="width: 120px">
+                        <td style="width: 100px">
                           {{ item.gui_ge_xing_hao_ }}
                         </td>
                         <td style="width: 60px">{{ item.shu_liang_ }}</td>
@@ -79,7 +77,7 @@
                         <td style="width: 60px">{{ item.dan_jia_|numToFixed }}</td>
                         <td style="width: 60px">{{ item.jin_e_ |numToFixed}}</td>
                         <td style="width: 80px">{{ item.yong_tu_ }}</td>
-                        <td style="width: 120px">{{ item.bei_zhu_ }}</td>
+                        <td style="width: 100px">{{ item.bei_zhu_ }}</td>
                       </tr>
                     </tbody>
                     <tfoot :align="right"

+ 4 - 4
src/views/system/jbdScan/wuliao/lingliaodan.vue

@@ -1,8 +1,8 @@
 <template>
   <div class="bg">
     <el-dialog
-      width="26cm"
-      height="12cm"
+      width="230mm"
+      height="279cm"
       :modal="!alertVisible"
       title="领料单"
       :visible.sync="alertVisible "
@@ -14,11 +14,11 @@
             <div
               v-for="(item1, index1) in list"
               :key="index1"
-              style="margin-bottom: 30px"
+              style="margin-bottom: 30px;padding: 0px 20px;"
             >
               <div style="page-break-after: always">
                 <div class="word-title">
-                  <h4>领料单1</h4>
+                  <h4>领料单</h4>
                 </div>
                 <div class="tagBox">
                   <div>