Browse Source

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

csx 4 years ago
parent
commit
4987a827a9

+ 22 - 22
src/router/modules/dialysis.js View File

89
     //     noCache: true
89
     //     noCache: true
90
     //   }
90
     //   }
91
     // },
91
     // },
92
-    // {
93
-    //   path: '/dialysis/dialysisParameters_print',
94
-    //   component: () => import('@/xt_pages/dialysis/dialysisParameters_print'),
95
-    //   hidden: true,
96
-    //   is_menu: false,
97
-    //   name: 'dialysisParameters_print',
98
-    //   meta: {
99
-    //     title: 'dialysisParameters_print',
100
-    //     noCache: true
101
-    //   }
102
-    // },
103
-    // {
104
-    //   path: '/dialysis/allSummary_print',
105
-    //   component: () => import('@/xt_pages/dialysis/allSummary_print'),
106
-    //   hidden: true,
107
-    //   is_menu: false,
108
-    //   name: 'allSummary_print',
109
-    //   meta: {
110
-    //     title: 'allSummary_print',
111
-    //     noCache: true
112
-    //   }
113
-    // },
92
+    {
93
+      path: '/dialysis/dialysisParameters_print',
94
+      component: () => import('@/xt_pages/dialysis/dialysisParameters_print'),
95
+      hidden: true,
96
+      is_menu: false,
97
+      name: 'dialysisParameters_print',
98
+      meta: {
99
+        title: 'dialysisParameters_print',
100
+        noCache: true
101
+      }
102
+    },
103
+    {
104
+      path: '/dialysis/allSummary_print',
105
+      component: () => import('@/xt_pages/dialysis/allSummary_print'),
106
+      hidden: true,
107
+      is_menu: false,
108
+      name: 'allSummary_print',
109
+      meta: {
110
+        title: 'allSummary_print',
111
+        noCache: true
112
+      }
113
+    },
114
     {
114
     {
115
       path: '/dialysis/record/:id',
115
       path: '/dialysis/record/:id',
116
       component: () => import('@/xt_pages/dialysis/dialysisPage'),
116
       component: () => import('@/xt_pages/dialysis/dialysisPage'),

+ 3 - 3
src/xt_pages/dialysis/consumableDrugs.vue View File

8
                 <el-tab-pane label="透析耗材" name="1">
8
                 <el-tab-pane label="透析耗材" name="1">
9
                     <consumables></consumables>
9
                     <consumables></consumables>
10
                 </el-tab-pane>
10
                 </el-tab-pane>
11
-                <el-tab-pane label="透析药品" name="second">
12
-                    <dialysis-drugs></dialysis-drugs>
13
-                </el-tab-pane>
11
+<!--                <el-tab-pane label="透析药品" name="second">-->
12
+<!--                    <dialysis-drugs></dialysis-drugs>-->
13
+<!--                </el-tab-pane>-->
14
                 <el-tab-pane label="透析参数" name="2">
14
                 <el-tab-pane label="透析参数" name="2">
15
                     <dialysis-parameters></dialysis-parameters>
15
                     <dialysis-parameters></dialysis-parameters>
16
                 </el-tab-pane>
16
                 </el-tab-pane>

+ 3 - 3
src/xt_pages/dialysis/consumableDrugs_print.vue View File

8
                 <el-tab-pane label="透析耗材" name="first">
8
                 <el-tab-pane label="透析耗材" name="first">
9
                     <consumables></consumables>
9
                     <consumables></consumables>
10
                 </el-tab-pane>
10
                 </el-tab-pane>
11
-                <el-tab-pane label="透析药品" name="second">
12
-                    <dialysis-drugs></dialysis-drugs>
13
-                </el-tab-pane>
11
+<!--                <el-tab-pane label="透析药品" name="second">-->
12
+<!--                    <dialysis-drugs></dialysis-drugs>-->
13
+<!--                </el-tab-pane>-->
14
                 <el-tab-pane label="透析参数" name="third">
14
                 <el-tab-pane label="透析参数" name="third">
15
                     <dialysis-parameters></dialysis-parameters>
15
                     <dialysis-parameters></dialysis-parameters>
16
                 </el-tab-pane>
16
                 </el-tab-pane>

+ 21 - 21
src/xt_pages/stock/stockOutOrder.vue View File

121
 
121
 
122
         <el-table-column label="操作" align="center" width="300px">
122
         <el-table-column label="操作" align="center" width="300px">
123
           <template slot-scope="scope">
123
           <template slot-scope="scope">
124
-           
124
+
125
             <el-tooltip
125
             <el-tooltip
126
               class="item"
126
               class="item"
127
               effect="dark"
127
               effect="dark"
215
          <el-row :gutter="12" style="margin-top: 10px">
215
          <el-row :gutter="12" style="margin-top: 10px">
216
           <el-table :data="warehousingOutInfo.warehousingOutData" :class="signAndWeighBoxPatients" style="width: 100%"
216
           <el-table :data="warehousingOutInfo.warehousingOutData" :class="signAndWeighBoxPatients" style="width: 100%"
217
                     border :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
217
                     border :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
218
-                  
218
+
219
           >
219
           >
220
             <el-table-column min-width="35" align="center">
220
             <el-table-column min-width="35" align="center">
221
               <template slot="header" slot-scope="scope">
221
               <template slot="header" slot-scope="scope">
286
               <div style="color: #589ff8" @click="jump(scope.row.id)">使用明细</div>
286
               <div style="color: #589ff8" @click="jump(scope.row.id)">使用明细</div>
287
               </template>
287
               </template>
288
             </el-table-column>
288
             </el-table-column>
289
-             
289
+
290
 
290
 
291
 
291
 
292
           </el-table>
292
           </el-table>
308
       <div class="filter-container">
308
       <div class="filter-container">
309
         <span style="font-size: 18px;color: #606266">商品使用明细</span>
309
         <span style="font-size: 18px;color: #606266">商品使用明细</span>
310
       </div>
310
       </div>
311
-     
311
+
312
       <div class="cell clearfix">
312
       <div class="cell clearfix">
313
         <span style="width: 300px;color: #606266">商品类型: {{type_name}} </span>
313
         <span style="width: 300px;color: #606266">商品类型: {{type_name}} </span>
314
         <span style="width: 300px;color: #606266">规格名称: {{specification_name}}</span>
314
         <span style="width: 300px;color: #606266">规格名称: {{specification_name}}</span>
365
       <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
365
       <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
366
     </span>
366
     </span>
367
   </el-dialog>
367
   </el-dialog>
368
-  
368
+
369
 
369
 
370
 
370
 
371
   <!-- 编辑 -->
371
   <!-- 编辑 -->
372
-  
373
-  
372
+
373
+
374
   </div>
374
   </div>
375
 </template>
375
 </template>
376
 
376
 
414
       (nowDay < 10 ? "0" + nowDay : nowDay);
414
       (nowDay < 10 ? "0" + nowDay : nowDay);
415
     this.GetConfigInfo();
415
     this.GetConfigInfo();
416
     this.GetWarehouseOut();
416
     this.GetWarehouseOut();
417
-   
417
+
418
     this.fetchAllAdminUsers();
418
     this.fetchAllAdminUsers();
419
   },
419
   },
420
   data() {
420
   data() {
562
       } else {
562
       } else {
563
         this.GetWarehouseOut();
563
         this.GetWarehouseOut();
564
       }
564
       }
565
-      this.GetWarehouseOut();
565
+
566
     },
566
     },
567
     endTimeChange(val) {
567
     endTimeChange(val) {
568
       var time = this.getTimestamp(val) - this.getTimestamp(this.start_time);
568
       var time = this.getTimestamp(val) - this.getTimestamp(this.start_time);
608
       }
608
       }
609
     },
609
     },
610
     handleEdit: function(index, row) {
610
     handleEdit: function(index, row) {
611
-      
611
+
612
       this.$router.push({
612
       this.$router.push({
613
         name: "stockOutDetail",
613
         name: "stockOutDetail",
614
         query: { id: row.id, type: this.type,warehouse_out_time:row.warehouse_out_time }
614
         query: { id: row.id, type: this.type,warehouse_out_time:row.warehouse_out_time }
706
         .catch(() => {});
706
         .catch(() => {});
707
     },
707
     },
708
 
708
 
709
- 
710
 
709
 
711
-    
710
+
711
+
712
     //新增
712
     //新增
713
-    handleSearch(id,row){ 
713
+    handleSearch(id,row){
714
       console.log("row2233r5",row)
714
       console.log("row2233r5",row)
715
       this.warehousingOutInfo.info = []
715
       this.warehousingOutInfo.info = []
716
       this.warehousingOutInfo.warehousingOutData = []
716
       this.warehousingOutInfo.warehousingOutData = []
717
       this.GetOrderDetailOne(id)
717
       this.GetOrderDetailOne(id)
718
       this.GetTotalCount(row.warehouse_out_time)
718
       this.GetTotalCount(row.warehouse_out_time)
719
-      
719
+
720
     },
720
     },
721
-  
721
+
722
     //获取出库单详情数据
722
     //获取出库单详情数据
723
     GetOrderDetailOne(id) {
723
     GetOrderDetailOne(id) {
724
         const params = {
724
         const params = {
738
             // this.handleSpanTempArr()
738
             // this.handleSpanTempArr()
739
           }
739
           }
740
         })
740
         })
741
-     }, 
741
+     },
742
 
742
 
743
       getTypeName: function(id) {
743
       getTypeName: function(id) {
744
         let name = ''
744
         let name = ''
775
             return this.manufacturer[i].manufacturer_name
775
             return this.manufacturer[i].manufacturer_name
776
           }
776
           }
777
         }
777
         }
778
-      }, 
778
+      },
779
 
779
 
780
     jump(id){
780
     jump(id){
781
       this.userList = []
781
       this.userList = []
782
       this.GetOrderDetail(id)
782
       this.GetOrderDetail(id)
783
-     
783
+
784
     },
784
     },
785
 
785
 
786
      GetOrderDetail: function(order_id) {
786
      GetOrderDetail: function(order_id) {
787
         const params = {
787
         const params = {
788
           'id': order_id
788
           'id': order_id
789
         }
789
         }
790
-      
790
+
791
         getWarehouseOutUser(params).then(response => {
791
         getWarehouseOutUser(params).then(response => {
792
           if (response.data.state == 0) {
792
           if (response.data.state == 0) {
793
             this.$message.error(response.data.msg)
793
             this.$message.error(response.data.msg)
815
       },
815
       },
816
 
816
 
817
       editRecord(){
817
       editRecord(){
818
-     
818
+
819
       },
819
       },
820
       deleteRecord(){
820
       deleteRecord(){
821
 
821
 
836
       },
836
       },
837
 
837
 
838
      getOutStockCount(id){
838
      getOutStockCount(id){
839
-         var count = 0 
839
+         var count = 0
840
          for(let i=0;i<this.stockCount.length;i++){
840
          for(let i=0;i<this.stockCount.length;i++){
841
             if(id == this.stockCount[i].good_id){
841
             if(id == this.stockCount[i].good_id){
842
               count = this.stockCount[i].count
842
               count = this.stockCount[i].count