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