Sfoglia il codice sorgente

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 9 mesi fa
parent
commit
b3eeda0af5

+ 6 - 6
src/xt_pages/dialysis/details/dialog/computer_dialog.vue Vedi File

@@ -539,12 +539,12 @@ export default {
539 539
     if (this.form.washpipe_nurse == 0) {
540 540
       this.form.washpipe_nurse = this.$store.getters.xt_user.user.id;
541 541
     }
542
-    if (this.form.difficult_puncture_nurse == 0) {
543
-      this.form.difficult_puncture_nurse = this.$store.getters.xt_user.user.id;
544
-    }
545
-    if (this.form.new_fistula_nurse == 0) {
546
-      this.form.new_fistula_nurse = this.$store.getters.xt_user.user.id;
547
-    }
542
+    // if (this.form.difficult_puncture_nurse == 0) {
543
+    //   this.form.difficult_puncture_nurse = this.$store.getters.xt_user.user.id;
544
+    // }
545
+    // if (this.form.new_fistula_nurse == 0) {
546
+    //   this.form.new_fistula_nurse = this.$store.getters.xt_user.user.id;
547
+    // }
548 548
     // console.log("dialysis_order9999999999wo", this.dialysis_order);
549 549
     this.form.puncture_needle = this.dialysis_order.puncture_needle;
550 550
     this.form.puncture_way = this.dialysis_order.puncture_way;

+ 5 - 5
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Vedi File

@@ -3551,7 +3551,7 @@
3551 3551
 import CheckBox from "../batch_print/option_check_box";
3552 3552
 import { getDialysisRecord } from "@/api/dialysis";
3553 3553
 import { getDataConfig } from "@/utils/data";
3554
-import { jsGetAge, uParseTime } from "@/utils/tools";
3554
+import { jsGetAge, uParseTime,jsGetAgeOne } from "@/utils/tools";
3555 3555
 
3556 3556
 import LabelBox from "../printItem/LabelBox";
3557 3557
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
@@ -4716,20 +4716,20 @@ export default {
4716 4716
           birth.substr(4, 2) +
4717 4717
           '-' +
4718 4718
           birth.substr(6, 2)
4719
-        if(this.org_id!=0){
4719
+        if(this.org_id!=0&& this.org_id!=10460){
4720 4720
           var age = jsGetAge(birthtwo, '-')
4721 4721
           return age
4722 4722
         }
4723 4723
 
4724
-        if(this.org_id == 0){
4724
+        if(this.org_id == 0 || this.org_id ==10460){
4725 4725
           console.log("日期搜哦",this.schedule_date_one)
4726 4726
           var strBirthdayArr = this.schedule_date_one.split("-")
4727 4727
           console.log("strBirthdayArr",strBirthdayArr)
4728 4728
           var yeaer = strBirthdayArr[0]
4729 4729
           var month = strBirthdayArr[1]
4730 4730
           var day = strBirthdayArr[2]
4731
-          var age = jsGetAge(birthtwo, '-',yeaer,month,day)
4732
-          console.log("agesssss",age)
4731
+          var age = jsGetAgeOne(birthtwo, '-',yeaer,month,day)
4732
+          // console.log("agesssss",age)
4733 4733
           return age
4734 4734
 
4735 4735
         }

File diff suppressed because it is too large
+ 1721 - 1692
src/xt_pages/outpatientCharges/summary.vue


+ 5 - 3
src/xt_pages/role/admin.vue Vedi File

@@ -30,7 +30,9 @@
30 30
           size="small"
31 31
           icon="el-icon-circle-plus-outline"
32 32
           style="float:left"
33
-          @click="toJiaBan">首拼</el-button> -->
33
+          @click="toJiaBan">首拼</el-button> 
34
+
35
+           -->
34 36
 
35 37
 
36 38
           <!-- <el-button
@@ -225,12 +227,12 @@
225 227
           @click="toAutoDrug">自动生成</el-button> -->
226 228
 
227 229
 
228
-         <el-button
230
+         <!-- <el-button
229 231
           type="primary"
230 232
           size="small"
231 233
           icon="el-icon-circle-plus-outline"
232 234
           style="float:left"
233
-          @click="toAutoDiagnose">自动脚本</el-button> 
235
+          @click="toAutoDiagnose">自动脚本</el-button> -->
234 236
      </div>
235 237
 
236 238
 

+ 1 - 1
src/xt_pages/stock/drugs/components/drugOutDetail.vue Vedi File

@@ -782,7 +782,7 @@ export default {
782 782
             this.tableData[i].manufacturer_name = this.getManufacturerName(this.tableData[i].manufacturer)
783 783
             this.tableData[i].dealer_name = this.getDealerName(this.tableData[i].dealer)
784 784
             this.tableData[i].in_retail_price = (this.tableData[i].in_price/this.tableData[i].min_number).toFixed(2)
785
-            this.tableData[i].in_retail_price = this.tableData[i].infor_price
785
+            this.tableData[i].in_retail_price = (this.tableData[i].last_price/this.tableData[i].min_number).toFixed(2)
786 786
             this.tableData[i].total = (this.tableData[i].count * this.tableData[i].price)
787 787
             if(this.tableData[i].count_unit == this.tableData[i].min_unit && this.tableData[i].max_unit!=this.tableData[i].min_unit){
788 788
                 this.tableData[i].total_price = (this.tableData[i].count * this.tableData[i].price)

+ 1 - 0
src/xt_pages/stock/query/purchaseNewStockQuery.vue Vedi File

@@ -823,6 +823,7 @@ export default {
823 823
      console.log("count_one222222",count_one)
824 824
      console.log("count_two222222",count_two)
825 825
      all_count = count +count_one - count_two
826
+     console.log("数据我哦我我",all_count)
826 827
      if(all_count >0){
827 828
        return all_count
828 829
      }else{

+ 3 - 3
src/xt_pages/workforce/components/editTableData.vue Vedi File

@@ -166,7 +166,7 @@
166 166
             height="calc(100% - 50px)"
167 167
             ref="table"
168 168
             style="table-layout: fixed;"
169
-           
169
+
170 170
         >
171 171
         <!-- :cell-style ='cellstyle'    :height="tableContainHeight" calc(100% - 50px) 600-->
172 172
           <el-table-column
@@ -1344,7 +1344,7 @@
1344 1344
                     :schedulMode="modename_value"
1345 1345
                   >
1346 1346
 
1347
-                  
1347
+
1348 1348
                   </schedule-item>
1349 1349
                 </div>
1350 1350
               </template>
@@ -2526,7 +2526,7 @@ export default {
2526 2526
 
2527 2527
         for(let i = 0; i < this.weeks.length; i++){
2528 2528
           for(let b = 0; b < this.first_weeks.length; b++){
2529
-            if(this.weeks[i].week_type == this.first_weeks[b].week_type && this.first_weeks[b].order_id > 0){
2529
+            if(this.weeks[i].week_type == this.first_weeks[b].week_type){
2530 2530
               console.log(this.weeks[i].week_type)
2531 2531
               console.log(this.first_weeks[b].week_type)
2532 2532
               console.log(this.first_weeks[b].order_id)