Pārlūkot izejas kodu

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

XMLWAN 3 gadus atpakaļ
vecāks
revīzija
28a009814a

+ 12 - 0
src/router/modules/dialysis.js Parādīt failu

411
         noCache: true
411
         noCache: true
412
       }
412
       }
413
     },
413
     },
414
+    {
415
+      path: '/dialysis/print/batch/forty',
416
+      component: () =>
417
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_forty'),
418
+      hidden: true,
419
+      is_menu: false,
420
+      name: 'batch_print_order_forty',
421
+      meta: {
422
+        title: '批量打印',
423
+        noCache: true
424
+      }
425
+    },
414
     {
426
     {
415
       path: '/dialysis/print/batch/thirtyThree_one',
427
       path: '/dialysis/print/batch/thirtyThree_one',
416
       component: () =>
428
       component: () =>

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 2010 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_forty.vue


+ 12 - 0
src/xt_pages/dialysis/bloodPresssWatch.vue Parādīt failu

259
           >批量打印</el-button
259
           >批量打印</el-button
260
         >
260
         >
261
       </template>
261
       </template>
262
+      <template v-if="this.template_id == 40">
263
+        <el-button
264
+          size="small"
265
+          icon="el-icon-printer"
266
+          :disabled="selecting_schs.length == 0"
267
+          @click="batchPrintAction"
268
+          type="primary"
269
+          >批量打印</el-button
270
+        >
271
+      </template>
262
     </div>
272
     </div>
263
     <div class="app-container">
273
     <div class="app-container">
264
       <!-- <div class="filter-container">
274
       <!-- <div class="filter-container">
839
         this.$router.push({ path: "/dialysis/print/batch/thirtyThree" });
849
         this.$router.push({ path: "/dialysis/print/batch/thirtyThree" });
840
       } else if (this.template_id == 39) {
850
       } else if (this.template_id == 39) {
841
         this.$router.push({ path: "/dialysis/print/batch/thirtyNine" });
851
         this.$router.push({ path: "/dialysis/print/batch/thirtyNine" });
852
+      } else if (this.template_id == 40) {
853
+        this.$router.push({ path: "/dialysis/print/batch/forty" });
842
       }
854
       }
843
     },
855
     },
844
     batchPrintActionOne: function() {
856
     batchPrintActionOne: function() {

+ 3 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderForty.vue Parādīt failu

542
                 </td>
542
                 </td>
543
                 <td width="10">(</td>
543
                 <td width="10">(</td>
544
                 <td width="35">首剂</td>
544
                 <td width="35">首剂</td>
545
-                <td width="40">
545
+                <td width="50">
546
                     <div class="under-line">&nbsp;
546
                     <div class="under-line">&nbsp;
547
                     <span v-if="prescription.anticoagulant==2">{{prescription.anticoagulant_shouji}}</span>
547
                     <span v-if="prescription.anticoagulant==2">{{prescription.anticoagulant_shouji}}</span>
548
                     </div>
548
                     </div>
550
                 <td width="20">mg</td>
550
                 <td width="20">mg</td>
551
                 <td width="10"></td>
551
                 <td width="10"></td>
552
                 <td width="35">追加</td>
552
                 <td width="35">追加</td>
553
-                <td width="40">
553
+                <td width="50">
554
                     <div class="under-line">&nbsp;
554
                     <div class="under-line">&nbsp;
555
                     <span v-if="prescription.anticoagulant==2">{{prescription.anticoagulant_weichi}}</span>
555
                     <span v-if="prescription.anticoagulant==2">{{prescription.anticoagulant_weichi}}</span>
556
                     </div>
556
                     </div>
557
                 </td>
557
                 </td>
558
                 <td width="40">mg/h</td>
558
                 <td width="40">mg/h</td>
559
                 <td width="35">总量</td>
559
                 <td width="35">总量</td>
560
-                <td width="40">
560
+                <td width="50">
561
                     <div class="under-line">&nbsp;
561
                     <div class="under-line">&nbsp;
562
                     <span v-if="prescription.anticoagulant==2">{{prescription.anticoagulant_zongliang}}</span>
562
                     <span v-if="prescription.anticoagulant==2">{{prescription.anticoagulant_zongliang}}</span>
563
                     </div>
563
                     </div>

+ 4 - 2
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Parādīt failu

3554
         }
3554
         }
3555
       },
3555
       },
3556
       currentChange(currentRow, oldCurrentRow) {
3556
       currentChange(currentRow, oldCurrentRow) {
3557
-        this.newPatientId = oldCurrentRow.id;
3558
-        this.patientid = oldCurrentRow.id;
3557
+        if(oldCurrentRow){
3558
+          this.newPatientId = oldCurrentRow.id;
3559
+          this.patientid = oldCurrentRow.id;
3560
+        }
3559
         let isShowDailog = false
3561
         let isShowDailog = false
3560
         for (let i = 0; i < this.prescriptions.length; i++) {
3562
         for (let i = 0; i < this.prescriptions.length; i++) {
3561
           if ((this.prescriptions[i].id == 0 && this.prescriptions[i].advices.length > 0) || (this.prescriptions[i].id == 0 && this.prescriptions[i].project.length > 0)) {
3563
           if ((this.prescriptions[i].id == 0 && this.prescriptions[i].advices.length > 0) || (this.prescriptions[i].id == 0 && this.prescriptions[i].project.length > 0)) {

+ 1 - 0
src/xt_pages/stock/drugs/drugStockInOrderDetailPrint.vue Parādīt failu

11
           <div style="font-size:22px;font-weight:bold;text-align:center;">{{ orgName }}</div>
11
           <div style="font-size:22px;font-weight:bold;text-align:center;">{{ orgName }}</div>
12
           <div class="order-title" style="font-size:18px;padding-top:0;">药品入库登记表</div>
12
           <div class="order-title" style="font-size:18px;padding-top:0;">药品入库登记表</div>
13
 
13
 
14
+          <div style="float: left;margin-bottom: 1px;">单据编号:{{WarehouseInfo.warehouse.warehousing_order}}</div>
14
           <div style="float: right;margin-bottom: 1px;">{{getDateTwo()}}</div>
15
           <div style="float: right;margin-bottom: 1px;">{{getDateTwo()}}</div>
15
 
16
 
16
           <table class="print-table" border="1">
17
           <table class="print-table" border="1">

+ 1 - 0
src/xt_pages/stock/drugs/drugStockOutOrderDetailPrint.vue Parādīt failu

11
          <div class="order-yy-name" style="font-size:22px;font-weight:bold;letter-spacing:0px;">{{orgName}}</div>
11
          <div class="order-yy-name" style="font-size:22px;font-weight:bold;letter-spacing:0px;">{{orgName}}</div>
12
           <div class="order-title" style="font-weight:500;font-size:18px;">药品出库登记表</div>
12
           <div class="order-title" style="font-weight:500;font-size:18px;">药品出库登记表</div>
13
 
13
 
14
+          <div style="float: left;margin-bottom: 1px;">单据编号:{{warehousingOutInfo.info.warehouse_out_order_number}}</div>
14
           <div style="float: right;margin-bottom: 1px;">{{getDateTwo()}}</div>
15
           <div style="float: right;margin-bottom: 1px;">{{getDateTwo()}}</div>
15
 
16
 
16
           <table class="print-table" border="1">
17
           <table class="print-table" border="1">

+ 8 - 2
src/xt_pages/stock/stockInOrderDetailPrint.vue Parādīt failu

15
                         <div style="font-size:22px;font-weight:bold;">{{ orgName }}</div>
15
                         <div style="font-size:22px;font-weight:bold;">{{ orgName }}</div>
16
                         <span style="font-weight:500;font-size:18px;">耗材入库登记单</span>
16
                         <span style="font-weight:500;font-size:18px;">耗材入库登记单</span>
17
                     </div>
17
                     </div>
18
-                    <div style="text-align:right;margin-bottom:1px;font-size: 18px;">
19
-                      打印时间:{{time_now}}
18
+                    <div style="display:flex;justify-content: space-between;">
19
+                      <div style="text-align:left;margin-bottom:1px;font-size: 18px;">
20
+                        单据编号:{{WarehouseInfo.warehouse.warehousing_order}}
21
+                      </div>
22
+                      <div style="text-align:right;margin-bottom:1px;font-size: 18px;">
23
+                        打印时间:{{time_now}}
24
+                      </div>
20
                     </div>
25
                     </div>
26
+                    
21
                     <div class="table_panel">
27
                     <div class="table_panel">
22
                         <table class="table">
28
                         <table class="table">
23
                             <thead>
29
                             <thead>

+ 7 - 2
src/xt_pages/stock/stockOutOrderDetailPrint.vue Parādīt failu

15
                         <div style="font-size:22px;font-weight:bold;">{{ orgName }}</div>
15
                         <div style="font-size:22px;font-weight:bold;">{{ orgName }}</div>
16
                         <span class="main_title">耗材出库登记单</span>
16
                         <span class="main_title">耗材出库登记单</span>
17
                     </div>
17
                     </div>
18
-                    <div style="text-align:right;margin-bottom:1px;font-size: 18px;">
19
-                      打印日期:{{time_now}}
18
+                    <div style="display:flex;justify-content: space-between;">
19
+                      <div style="text-align:left;margin-bottom:1px;font-size: 18px;">
20
+                        单据编号:{{warehousingOutInfo.info.warehouse_out_order_number}}
21
+                      </div>
22
+                      <div style="text-align:right;margin-bottom:1px;font-size: 18px;">
23
+                        打印日期:{{time_now}}
24
+                      </div>
20
                     </div>
25
                     </div>
21
                     <div class="table_panel">
26
                     <div class="table_panel">
22
                         <table class="table">
27
                         <table class="table">