Browse Source

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

陈少旭 4 days ago
parent
commit
05b3d457c2

File diff suppressed because it is too large
+ 4681 - 21667
package-lock.json


+ 2 - 0
package.json View File

@@ -43,6 +43,7 @@
43 43
     "clipboard": "^1.7.1",
44 44
     "codemirror": "5.32.0",
45 45
     "connect": "3.6.6",
46
+    "cross-spawn": "^7.0.6",
46 47
     "default-passive-events": "^2.0.0",
47 48
     "driver.js": "0.5.2",
48 49
     "dropzone": "5.2.0",
@@ -115,6 +116,7 @@
115 116
     "html-webpack-plugin": "2.30.1",
116 117
     "lint-staged": "7.2.0",
117 118
     "node-notifier": "5.1.2",
119
+    "node-sass": "^4.14.1",
118 120
     "optimize-css-assets-webpack-plugin": "3.2.0",
119 121
     "ora": "1.3.0",
120 122
     "portfinder": "1.0.13",

+ 8 - 0
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -3113,6 +3113,14 @@ mu
3113 3113
             } else if (schedual.schedule_type == 3) {
3114 3114
               this.start_time = year + '-' + month + '-' + day + ' ' + '17:30'
3115 3115
             }
3116
+           }else if(this.$store.getters.xt_user.org.id == 10745){
3117
+              if (schedual.schedule_type == 1) {
3118
+              this.start_time = year + '-' + month + '-' + day + ' ' + '7:00'
3119
+            } else if (schedual.schedule_type == 2) {
3120
+              this.start_time = year + '-' + month + '-' + day + ' ' + '11:00'
3121
+            } else if (schedual.schedule_type == 3) {
3122
+              this.start_time = year + '-' + month + '-' + day + ' ' + '17:30'
3123
+            }
3116 3124
            }else if (this.$store.getters.xt_user.org.id == 10551){
3117 3125
             var date = new Date()
3118 3126
             var year = date.getFullYear()

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -1454,7 +1454,7 @@
1454 1454
                           <td width="50" v-if="org_id == 9671">在线尿素监测</td>
1455 1455
                           <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id == 9671">血容量<br />(L)</td>
1456 1456
                           <td width="50" v-if="org_id == 10490">碳酸氢钠<br />(ml)</td>
1457
-                          <td width="50" v-if="org_id == 10598">护士签名</td>
1457
+                          <td width="50" v-if="org_id == 10598 || org_id == 10726">护士签名</td>
1458 1458
                           <td width="50" v-if="org_id == 9829">SpO₂<br />(%)</td>
1459 1459
                           <td width="200">病情变化及处理</td>
1460 1460
                         </tr>
@@ -1663,7 +1663,7 @@
1663 1663
                           <td width="50" v-if="org_id == 10490">
1664 1664
                             {{ monitor.dicarbonate ? monitor.dicarbonate : "" }}
1665 1665
                           </td>
1666
-                          <td width="50" v-if="org_id == 10598">
1666
+                          <td width="50" v-if="org_id == 10598 || org_id == 10726">
1667 1667
                             <span v-if="monitor.creator == 0">
1668 1668
                               <span v-if="setAdminUserES(monitor.modify) == ''">{{ getAdminUser(monitor.modify)
1669 1669
                                 }}</span>

+ 28 - 7
src/xt_pages/stock/drugs/components/drugOutDetail.vue View File

@@ -844,6 +844,7 @@ export default {
844 844
     exportListDetai(){
845 845
       console.log("hwhhwhwhwhwhw",this.tableData)
846 846
      
847
+     
847 848
       import('@/vendor/Export2Excel').then(excel => {
848 849
        const tHeader = ['序号','单据编号', '药品类型', '药品名称','规格型号','生产厂商','进销商','批号','生产日期','有效日期','操作时间','制单人','进货价','出货价','使用人','数量','总价']
849 850
        const filterVal = ['index','warehouse_out_order_number', 'drugtype', 'drug_name','specification_name','manufacturer_name','dealer_name','number_bath','product_date_name','expiry_date_name','time','user_name','in_price','price','patient_name','count','total_price']
@@ -892,18 +893,25 @@ export default {
892 893
               if(this.tableData[i].count_unit == this.tableData[i].max_unit && this.tableData[i].max_unit ==this.tableData[i].min_unit){
893 894
                 this.tableData[i].total_price = (this.tableData[i].count * this.tableData[i].price)*this.tableData[i].min_number
894 895
               }
896
+            }
895 897
 
896
-              this.tableData[i].number_bath =""
897
-              this.tableData[i].number_bath =  this.tableData[i].batch_number
898
+            this.tableData[i].number_bath =""
899
+            this.tableData[i].number_bath =  this.tableData[i].batch_number
898 900
 
899
-              this.tableData[i].expiry_date_name = this.getTime(this.tableData[i].expiry_date)
901
+            console.log("批次额",this.tableData[i].number_bath)
900 902
 
901
-              this.tableData[i].product_date_name = this.getTime(this.tableData[i].product_date)
902
-            }
903
+            this.tableData[i].expiry_date_name = this.getTime(this.tableData[i].expiry_date)
904
+
905
+            console.log("经销商",this.tableData[i].expiry_date_name)
906
+
907
+            this.tableData[i].product_date_name = this.getTime(this.tableData[i].product_date)
908
+
909
+            console.log("生产日期",this.tableData[i].product_date_name)
903 910
          }
904 911
        }
905
-      
906
-      
912
+
913
+       console.log("tabldateData",this.tableData)
914
+     
907 915
        const data = this.formatJson(filterVal, this.tableData)
908 916
 
909 917
 
@@ -954,6 +962,18 @@ export default {
954 962
             }
955 963
             
956 964
          }
965
+         this.tableData[i].number_bath =""
966
+        this.tableData[i].number_bath =  this.tableData[i].batch_number
967
+
968
+        console.log("批次额",this.tableData[i].number_bath)
969
+
970
+        this.tableData[i].expiry_date_name = this.getTime(this.tableData[i].expiry_date)
971
+
972
+        console.log("经销商",this.tableData[i].expiry_date_name)
973
+
974
+        this.tableData[i].product_date_name = this.getTime(this.tableData[i].product_date)
975
+
976
+        console.log("生产日期",this.tableData[i].product_date_name)
957 977
        }
958 978
        const data = this.formatJson(filterVal, this.tableData)
959 979
 
@@ -1101,6 +1121,7 @@ export default {
1101 1121
            
1102 1122
             this.dealerList = response.data.data.dealerList
1103 1123
             this.manufacturerList = response.data.data.manufacturerList
1124
+            console.log("生产昌吉-----------",this.manufacturerList)
1104 1125
             let objInfo = {}
1105 1126
             if(this.org_id == 9919){
1106 1127
               list.forEach((item,index)=>{

+ 7 - 5
src/xt_pages/stock/drugs/drugStockInOrder.vue View File

@@ -316,16 +316,18 @@
316 316
             </span>
317 317
           </template>
318 318
         </el-table-column>
319
-        <!-- <el-table-column label="拆零零售价" align="center">
320
-          <template slot-scope="scope">
321
-            {{scope.row.retail_price}}
322
-          </template>
323
-        </el-table-column> -->
319
+      
324 320
         <el-table-column label="进货价" align="center">
325 321
           <template slot-scope="scope">
326 322
             <span v-if="scope.row.is_total == 0">{{ scope.row.price }}</span> 
327 323
           </template>
328 324
         </el-table-column>
325
+
326
+        <el-table-column label="拆零零售价" align="center">
327
+          <template slot-scope="scope">
328
+            {{scope.row.retail_price}}
329
+          </template>
330
+        </el-table-column>
329 331
         <el-table-column label="总价" align="center">
330 332
           <template slot-scope="scope">
331 333
             <!-- {{scope.row.total_price}} -->

+ 8 - 22
src/xt_pages/stock/stockInOrder.vue View File

@@ -71,23 +71,7 @@
71 71
             @change="endTimeChange"
72 72
           ></el-date-picker>
73 73
         </div>
74
-        <!-- <div style="margin-left: 10px">
75
-          <span>审核状态:</span>
76
-          <el-select
77
-            v-model="check_id"
78
-            style="width: 140px; margin-right: 10px"
79
-            placeholder="请选择"
80
-            @change="changeTypeName"
81
-          >
82
-            <el-option
83
-              v-for="item in checkList"
84
-              :key="item.id"
85
-              :label="item.name"
86
-              :value="item.id"
87
-            >
88
-            </el-option>
89
-          </el-select>
90
-        </div> -->
74
+       
91 75
 
92 76
       </div>
93 77
 
@@ -294,11 +278,7 @@
294 278
            <span v-if="scope.row.is_total == 0">{{ scope.row.warehousing_count}}{{scope.row.GoodInfo.packing_unit}} </span> 
295 279
           </template>
296 280
         </el-table-column>
297
-         <!-- <el-table-column label="零售价" align="center">
298
-          <template slot-scope="scope">
299
-            {{ scope.row.packing_price}}
300
-          </template>
301
-        </el-table-column> -->
281
+       
302 282
         <el-table-column label="进货价" align="center">
303 283
           <template slot-scope="scope">
304 284
             <span v-if="scope.row.is_total == 0">
@@ -306,6 +286,12 @@
306 286
             </span> 
307 287
           </template>
308 288
         </el-table-column>
289
+
290
+        <el-table-column label="零售价" align="center">
291
+          <template slot-scope="scope">
292
+            {{ scope.row.packing_price}}
293
+          </template>
294
+        </el-table-column>
309 295
         <el-table-column label="总价" align="center">
310 296
           <template slot-scope="scope">
311 297
             <span v-if="scope.row.is_total==0">

+ 13 - 13
src/xt_permission.js View File

@@ -12,19 +12,19 @@ const permissionWhiteList = loginWhiteList.concat(['/']) // 权限验证白名
12 12
 
13 13
 router.beforeEach((to, from, next) => {
14 14
   // 线上注释
15
-  if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
-    store.dispatch('VerifyConfigList', []).then(() => {
17
-      next()
18
-    })
19
-  }
20
-  if (store.getters.permission_routers === undefined) {
21
-    store.dispatch('xt_GenerateRoutes', []).then(() => {
22
-      next()
23
-    })
24
-  } else {
25
-    next()
26
-  }
27
-  return
15
+  // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
+  //   store.dispatch('VerifyConfigList', []).then(() => {
17
+  //     next()
18
+  //   })
19
+  // }
20
+  // if (store.getters.permission_routers === undefined) {
21
+  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
22
+  //     next()
23
+  //   })
24
+  // } else {
25
+  //   next()
26
+  // }
27
+  // return
28 28
 //  // 线上注释
29 29
   NProgress.start()
30 30
   // console.log(store.getters.current_role_urls.indexOf(to.path))