|
@@ -1080,14 +1080,14 @@
|
1080
|
1080
|
},
|
1081
|
1081
|
commitInfo: function () {
|
1082
|
1082
|
|
1083
|
|
- if(this.$store.getters.user.template_info.template_id == 6) {
|
1084
|
|
- if (this.dialysisPrescription.mode_id == 2) {
|
1085
|
|
- if (this.dialysisPrescription.displace_liqui_part == 0 || this.dialysisPrescription.displace_liqui_part == -2 || this.dialysisPrescription.replacement_total == 0 || this.dialysisPrescription.replacement_total == "") {
|
1086
|
|
- Toast.fail("HDF模式下置换方式和置换量不能为空!")
|
1087
|
|
- return
|
1088
|
|
- }
|
1089
|
|
- }
|
1090
|
|
- }
|
|
1083
|
+ // if(this.$store.getters.user.template_info.template_id == 6) {
|
|
1084
|
+ // if (this.dialysisPrescription.mode_id == 2) {
|
|
1085
|
+ // if (this.dialysisPrescription.displace_liqui_part == 0 || this.dialysisPrescription.displace_liqui_part == -2 || this.dialysisPrescription.replacement_total == 0 || this.dialysisPrescription.replacement_total == "") {
|
|
1086
|
+ // Toast.fail("HDF模式下置换方式和置换量不能为空!")
|
|
1087
|
+ // return
|
|
1088
|
+ // }
|
|
1089
|
+ // }
|
|
1090
|
+ // }
|
1091
|
1091
|
|
1092
|
1092
|
this.is_pre = 1
|
1093
|
1093
|
if (this.prescription_prop.id == '') {
|
|
@@ -1375,14 +1375,14 @@
|
1375
|
1375
|
|
1376
|
1376
|
}
|
1377
|
1377
|
}, commitSolutionInfo: function () {
|
1378
|
|
- if(this.$store.getters.user.template_info.template_id == 6) {
|
1379
|
|
- if (this.dialysisPrescription.mode_id == 2) {
|
1380
|
|
- if (this.dialysisPrescription.displace_liqui_part == 0 || this.dialysisPrescription.displace_liqui_part == -2 || this.dialysisPrescription.replacement_total == 0 || this.dialysisPrescription.replacement_total == "") {
|
1381
|
|
- Toast.fail("HDF模式下置换方式和置换量不能为空!")
|
1382
|
|
- return
|
1383
|
|
- }
|
1384
|
|
- }
|
1385
|
|
- }
|
|
1378
|
+ // if(this.$store.getters.user.template_info.template_id == 6) {
|
|
1379
|
+ // if (this.dialysisPrescription.mode_id == 2) {
|
|
1380
|
+ // if (this.dialysisPrescription.displace_liqui_part == 0 || this.dialysisPrescription.displace_liqui_part == -2 || this.dialysisPrescription.replacement_total == 0 || this.dialysisPrescription.replacement_total == "") {
|
|
1381
|
+ // Toast.fail("HDF模式下置换方式和置换量不能为空!")
|
|
1382
|
+ // return
|
|
1383
|
+ // }
|
|
1384
|
+ // }
|
|
1385
|
+ // }
|
1386
|
1386
|
this.is_pre = 2
|
1387
|
1387
|
|
1388
|
1388
|
if (this.prescription_prop.id == '') {
|
|
@@ -1933,12 +1933,14 @@
|
1933
|
1933
|
},
|
1934
|
1934
|
watch: {
|
1935
|
1935
|
"dialysisPrescription.anticoagulant_shouji":function(val){
|
1936
|
|
- console.log(val)
|
1937
|
|
- this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) + parseInt(this.dialysisPrescription.anticoagulant_weichi)
|
|
1936
|
+ if( this.dialysisPrescription.anticoagulant_zongliang == 0) {
|
|
1937
|
+ this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) + parseInt(this.dialysisPrescription.anticoagulant_weichi)
|
|
1938
|
+ }
|
1938
|
1939
|
|
1939
|
1940
|
}, "dialysisPrescription.anticoagulant_weichi":function(val){
|
1940
|
|
- console.log(val)
|
1941
|
|
- this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) + parseInt(this.dialysisPrescription.anticoagulant_weichi)
|
|
1941
|
+ if( this.dialysisPrescription.anticoagulant_zongliang == 0) {
|
|
1942
|
+ this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) + parseInt(this.dialysisPrescription.anticoagulant_weichi)
|
|
1943
|
+ }
|
1942
|
1944
|
},
|
1943
|
1945
|
|
1944
|
1946
|
isShowDialog (val) {
|