28169 před 9 měsíci
rodič
revize
82b5aa7e0c

+ 6 - 6
src/xt_pages/dialysis/details/dialog/computer_dialog.vue Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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
         }

+ 5 - 3
src/xt_pages/role/admin.vue Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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].infor_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 Zobrazit soubor

@@ -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{