瀏覽代碼

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

陈少旭 1 年之前
父節點
當前提交
1418a5c172

+ 15 - 4
src/xt_pages/device/objectTableDisinfectTwo.vue 查看文件

1094
                                 <td>楼层</td>
1094
                                 <td>楼层</td>
1095
                                 <td>湿化瓶<br/>500mg/l含氯制剂</td>
1095
                                 <td>湿化瓶<br/>500mg/l含氯制剂</td>
1096
                                 <td>负责人</td>
1096
                                 <td>负责人</td>
1097
+                                <td width="40">检查合格<br/></td>
1097
                                 <td>止血带<br/>500mg/l含氯制剂</td>
1098
                                 <td>止血带<br/>500mg/l含氯制剂</td>
1098
                                 <td>负责人</td>
1099
                                 <td>负责人</td>
1099
-                                <td>医疗垃圾桶<br/>1000mg/l含氯制剂</td>
1100
+                                <td width="40">检查合格<br/></td>
1101
+                                <td>医疗垃圾桶<br/>1000mg/l含<br/>氯制剂</td>
1100
                                 <td>负责人</td>
1102
                                 <td>负责人</td>
1101
-                                <td>体温计<br/>75%酒精<br/>浸泡</td>
1103
+                                <td width="40">检查合格<br/></td>
1104
+                                <td>体温计<br/>75%酒精浸泡</td>
1102
                                 <td>负责人</td>
1105
                                 <td>负责人</td>
1103
-                                <td>体温枪<br/>75%酒精<br/>擦拭</td>
1106
+                                <td width="40">检查合格<br/></td>
1107
+                                <td>体温枪<br/>75%酒精擦拭</td>
1104
                                 <td>负责人</td>
1108
                                 <td>负责人</td>
1109
+                                <td width="40">检查合格<br/></td>
1105
                                
1110
                                
1106
                             </tr>
1111
                             </tr>
1107
 
1112
 
1117
                                     <img style="height:30px;" :src="setAdminUserES(item.last_creator?item.last_creator:item.last_creator)" alt="" srcset="">
1122
                                     <img style="height:30px;" :src="setAdminUserES(item.last_creator?item.last_creator:item.last_creator)" alt="" srcset="">
1118
                                 </span>   
1123
                                 </span>   
1119
                                 </td>
1124
                                 </td>
1125
+
1126
+                                <td>是<br/></td>
1127
+
1120
                                 <td>{{getTimeTwo(item.sencond_start_time) }} - {{getTimeTwo( item.sencond_end_time) }}</td>
1128
                                 <td>{{getTimeTwo(item.sencond_start_time) }} - {{getTimeTwo( item.sencond_end_time) }}</td>
1121
                                 <td>
1129
                                 <td>
1122
                                  <span v-if="setAdminUserES(item.sencond_creator?item.sencond_creator:item.sencond_creator) == ''">
1130
                                  <span v-if="setAdminUserES(item.sencond_creator?item.sencond_creator:item.sencond_creator) == ''">
1126
                                     <img style="height:30px;" :src="setAdminUserES(item.sencond_creator?item.sencond_creator:item.sencond_creator)" alt="" srcset="">
1134
                                     <img style="height:30px;" :src="setAdminUserES(item.sencond_creator?item.sencond_creator:item.sencond_creator)" alt="" srcset="">
1127
                                 </span>   
1135
                                 </span>   
1128
                                 </td>
1136
                                 </td>
1137
+                                <td>是<br/></td>
1129
                                 <td>{{getTimeTwo(item.third_start_time) }} - {{getTimeTwo(item.third_end_time)  }}</td>
1138
                                 <td>{{getTimeTwo(item.third_start_time) }} - {{getTimeTwo(item.third_end_time)  }}</td>
1130
                                 <td>
1139
                                 <td>
1131
                                     <span v-if="setAdminUserES(item.third_creator?item.third_creator:item.third_creator) == ''">
1140
                                     <span v-if="setAdminUserES(item.third_creator?item.third_creator:item.third_creator) == ''">
1135
                                     <img style="height:30px;" :src="setAdminUserES(item.third_creator?item.third_creator:item.third_creator)" alt="" srcset="">
1144
                                     <img style="height:30px;" :src="setAdminUserES(item.third_creator?item.third_creator:item.third_creator)" alt="" srcset="">
1136
                                 </span>   
1145
                                 </span>   
1137
                                 </td>
1146
                                 </td>
1147
+
1148
+                                <td>是<br/></td>
1138
                                 <td>{{getTimeTwo(item.fourth_start_time)  }} - {{getTimeTwo(item.fourth_end_time)  }}</td>
1149
                                 <td>{{getTimeTwo(item.fourth_start_time)  }} - {{getTimeTwo(item.fourth_end_time)  }}</td>
1139
                                 <td>
1150
                                 <td>
1140
                                     <span v-if="setAdminUserES(item.fourth_creator?item.fourth_creator:item.fourth_creator) == ''">
1151
                                     <span v-if="setAdminUserES(item.fourth_creator?item.fourth_creator:item.fourth_creator) == ''">
1153
                                     <img style="height:30px;" :src="setAdminUserES(item.last_creator?item.last_creator:item.last_creator)" alt="" srcset="">
1164
                                     <img style="height:30px;" :src="setAdminUserES(item.last_creator?item.last_creator:item.last_creator)" alt="" srcset="">
1154
                                 </span>   
1165
                                 </span>   
1155
                                 </td>
1166
                                 </td>
1156
-                              
1167
+                                <td>是<br/></td>
1157
                             </tr>
1168
                             </tr>
1158
                          </table>   
1169
                          </table>   
1159
 
1170
 

+ 1 - 2
src/xt_pages/dialysis/details/consumable/dialysisGood.vue 查看文件

20
                       :editable="false" :clearable="false" style="width: 196px;margin-right:10px;" type="date"
20
                       :editable="false" :clearable="false" style="width: 196px;margin-right:10px;" type="date"
21
                       format="yyyy-MM-dd"
21
                       format="yyyy-MM-dd"
22
                       value-format="yyyy-MM-dd"
22
                       value-format="yyyy-MM-dd"
23
-                      placeholder="选择日期时间" align="right"
24
-                      :picker-options="pickerOptions"></el-date-picker>
23
+                      placeholder="选择日期时间" align="right"></el-date-picker>
25
       <el-input size="small" style="width: 180px;" @keyup.enter.native='searchAction' v-model.trim="search_input"
24
       <el-input size="small" style="width: 180px;" @keyup.enter.native='searchAction' v-model.trim="search_input"
26
                 class="filter-item" v-model="query.keywords"/>
25
                 class="filter-item" v-model="query.keywords"/>
27
       <el-button size="small" class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
26
       <el-button size="small" class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>

+ 1 - 1
src/xt_pages/dialysis/details/consumable/dialysisParameter.vue 查看文件

21
                       format="yyyy-MM-dd"
21
                       format="yyyy-MM-dd"
22
                       value-format="yyyy-MM-dd"
22
                       value-format="yyyy-MM-dd"
23
                       placeholder="选择日期时间" align="right"
23
                       placeholder="选择日期时间" align="right"
24
-                      :picker-options="pickerOptions"></el-date-picker>
24
+                      ></el-date-picker>
25
       <el-input size="small" style="width: 180px;" @keyup.enter.native='searchAction' v-model.trim="search_input"
25
       <el-input size="small" style="width: 180px;" @keyup.enter.native='searchAction' v-model.trim="search_input"
26
                 class="filter-item" v-model="query.keywords"/>
26
                 class="filter-item" v-model="query.keywords"/>
27
       <el-button size="small" class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
27
       <el-button size="small" class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>

+ 24 - 9
src/xt_pages/dialysis/details/consumable/dialysisParameterPrint.vue 查看文件

237
         dialysisSett:{},
237
         dialysisSett:{},
238
         total_one:0,
238
         total_one:0,
239
         total_two:0,
239
         total_two:0,
240
-        total_three:0
240
+        total_three:0,
241
+        org_id:'',
241
       }
242
       }
242
     },
243
     },
243
     components: {
244
     components: {
244
       BreadCrumb
245
       BreadCrumb
245
     },
246
     },
246
     created() {
247
     created() {
248
+      this.org_id = this.$store.getters.xt_user.org.id
247
       this.displace_liqui_part_option = this.$store.getters.displace_liqui
249
       this.displace_liqui_part_option = this.$store.getters.displace_liqui
248
       this.blood_access_option  = getDataConfig('hemodialysis', 'vascular_access_desc')
250
       this.blood_access_option  = getDataConfig('hemodialysis', 'vascular_access_desc')
249
       this.getlist()
251
       this.getlist()
309
         }
311
         }
310
      },
312
      },
311
       printAction: function() {
313
       printAction: function() {
312
-        const style = '@media print { .print_main_content { background-color: white; width:960px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 0px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 14px; padding: 0px 5px; } .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
313
-        printJS({
314
-          printable: 'print_content',
315
-          type: 'html',
316
-          documentTitle: '  ',
317
-          style: style,
318
-          scanStyles: false
319
-       })
314
+        if(this.org_id != 10495 && this.org_id != 0){
315
+          const style = '@media print { .print_main_content { background-color: white; width:960px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 0px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 14px; padding: 0px 5px; } .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
316
+          printJS({
317
+            printable: 'print_content',
318
+            type: 'html',
319
+            documentTitle: '  ',
320
+            style: style,
321
+            scanStyles: false
322
+          })
323
+        }else{
324
+          // const style = '@media print { .print_main_content { background-color: white; width:960px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 0px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 14px; padding: 0px 5px; } .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
325
+          const style = '@media print { .print_main_content { background-color: white; width:960px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 20px; padding: 15px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 18px; padding: 10px 5px; } .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
326
+          printJS({
327
+            printable: 'print_content',
328
+            type: 'html',
329
+            documentTitle: '  ',
330
+            style: style,
331
+            scanStyles: false
332
+          })
333
+        }
334
+        
320
       },
335
       },
321
       getAnticoagualnt(id){
336
       getAnticoagualnt(id){
322
        var name = ""
337
        var name = ""

+ 3 - 3
src/xt_pages/stock/stockOutOrderEdit.vue 查看文件

717
               "storehouse_id":parseInt(this.storehouse_id),
717
               "storehouse_id":parseInt(this.storehouse_id),
718
             }
718
             }
719
 
719
 
720
-
720
+            console.log("paramswowowoowow",params)
721
             var warehout_id = parseInt(this.$route.query.id)
721
             var warehout_id = parseInt(this.$route.query.id)
722
            
722
            
723
             editWarehouseoutInfo(params, this.warehouse_out_time, warehout_id, this.$route.query.type, this.form.manufacturer, this.form.dealer,this.storehouse_id).then(response => {
723
             editWarehouseoutInfo(params, this.warehouse_out_time, warehout_id, this.$route.query.type, this.form.manufacturer, this.form.dealer,this.storehouse_id).then(response => {
835
             
835
             
836
               
836
               
837
             if( val.first_xt_warehouse_info!=null&&val.first_xt_warehouse_info.expiry_date >0){
837
             if( val.first_xt_warehouse_info!=null&&val.first_xt_warehouse_info.expiry_date >0){
838
-              this.recordInfo.recordData[i].expiry_date = this.getTime(val.first_xt_warehouse_info.expiry_date)
838
+              this.recordInfo.recordData[i].expiry_date = this.getTime(val.first_xt_warehouse_info.expiry_date,"{y}-{m}-{d}")
839
             }else{
839
             }else{
840
               this.recordInfo.recordData[i].expiry_date = ""
840
               this.recordInfo.recordData[i].expiry_date = ""
841
             }
841
             }
842
 
842
 
843
             if( val.first_xt_warehouse_info!=null&&val.first_xt_warehouse_info.product_date >0){
843
             if( val.first_xt_warehouse_info!=null&&val.first_xt_warehouse_info.product_date >0){
844
-              this.recordInfo.recordData[i].product_date = this.getTime(val.first_xt_warehouse_info.product_date)
844
+              this.recordInfo.recordData[i].product_date = this.getTime(val.first_xt_warehouse_info.product_date,"{y}-{m}-{d}")
845
             }else{
845
             }else{
846
               this.recordInfo.recordData[i].product_date = ""
846
               this.recordInfo.recordData[i].product_date = ""
847
             }
847
             }