28169 1 год назад
Родитель
Сommit
aa6d13255a

+ 33 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue Просмотреть файл

894
                       style="padding: 2px 0; line-height: 23px; display: flex"
894
                       style="padding: 2px 0; line-height: 23px; display: flex"
895
                     >
895
                     >
896
                       <div class="inline_block" style="flex: 1"
896
                       <div class="inline_block" style="flex: 1"
897
-                        v-if="org_id!=10440 && org_id !=0">
897
+                        v-if="org_id!=10440 && org_id!=0 && org_id!=10469">
898
                         上次透后体重:
898
                         上次透后体重:
899
                         <div
899
                         <div
900
                           class="under_line"
900
                           class="under_line"
918
                         </div>
918
                         </div>
919
                         kg
919
                         kg
920
                       </div>
920
                       </div>
921
+
922
+                      <div class="inline_block" style="flex: 1"
923
+                        v-if="org_id!=10440 && org_id ==0 || org_id!=10469">
924
+                        上次透后体重:
925
+                        <div
926
+                          class="under_line"
927
+                          style="width: 100px; text-align: center"
928
+                        >
929
+                          <span>{{
930
+                            record.lastafterweight.weight_after
931
+                          }}</span>
932
+                       
933
+                        </div>
934
+                        kg
935
+                      </div>
921
                       <div class="inline_block" style="flex: 1">
936
                       <div class="inline_block" style="flex: 1">
922
                         透前体重:
937
                         透前体重:
923
                         <div
938
                         <div
938
                         </div>
953
                         </div>
939
                         kg
954
                         kg
940
                       </div>
955
                       </div>
941
-                      <div class="inline_block" style="flex: 1">
956
+                      <div class="inline_block" style="flex: 1" v-if="org_id!=0 && org_id!=10469">
942
                         计划超滤量:
957
                         计划超滤量:
943
                         <div
958
                         <div
944
                           class="under_line"
959
                           class="under_line"
954
                          <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471">ml</span> 
969
                          <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471">ml</span> 
955
                          <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469  && org_id!=10471">L</span>
970
                          <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469  && org_id!=10471">L</span>
956
                       </div>
971
                       </div>
972
+
973
+                      <div class="inline_block" style="flex: 1" v-if="org_id==0 || org_id == 10469">
974
+                        处方脱水量:
975
+                        <div
976
+                          class="under_line"
977
+                          style="width: 100px; text-align: center"
978
+                        >
979
+                          {{
980
+                            record.prescription &&
981
+                            record.prescription.prescription_water
982
+                              ? record.prescription.prescription_water
983
+                              : "/"
984
+                          }}
985
+                        </div>
986
+                        ml
987
+                      </div>
957
                       <div class="inline_block" style="flex: 1">
988
                       <div class="inline_block" style="flex: 1">
958
                         干体重:
989
                         干体重:
959
                         <div
990
                         <div

+ 2 - 2
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue Просмотреть файл

1326
               }
1326
               }
1327
 
1327
 
1328
               if(msg == 2){
1328
               if(msg == 2){
1329
-                this.$message.error("库存不足,请入库")
1329
+                this.$message.error("执行失败,库存不足,请入库")
1330
                 this.execTimeDialogVisible = false
1330
                 this.execTimeDialogVisible = false
1331
                 return false
1331
                 return false
1332
               }
1332
               }
1333
               if(msg == 3){
1333
               if(msg == 3){
1334
-                this.$message.error("无库存,请入库")
1334
+                this.$message.error("执行失败,无库存,请入库")
1335
                 this.execTimeDialogVisible = false
1335
                 this.execTimeDialogVisible = false
1336
                 return false
1336
                 return false
1337
               }
1337
               }

+ 20 - 4
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Просмотреть файл

915
                     class="row"
915
                     class="row"
916
                     style="padding: 2px 0; line-height: 23px; display: flex"
916
                     style="padding: 2px 0; line-height: 23px; display: flex"
917
                   >
917
                   >
918
-                    <div class="inline_block" style="flex: 1" v-if="org_id!=0 && org_id!=10440">
918
+                    <div class="inline_block" style="flex: 1" v-if="org_id!=10440">
919
                       上次透后体重:
919
                       上次透后体重:
920
                       <div
920
                       <div
921
                         class="under_line"
921
                         class="under_line"
922
                         style="width: 100px; text-align: center"
922
                         style="width: 100px; text-align: center"
923
                       >
923
                       >
924
-                        <span v-if="org_id == 10290 || org_id == 10318 || org_id== 10217 || org_id== 10188 || org_id== 9956 || org_id == 10440 ">{{
924
+                        <span v-if="org_id == 10290 || org_id == 10318 || org_id== 10217 || org_id== 10188 || org_id== 9956 || org_id == 10440 || org_id == 0 || org_id == 10469 || org_id == 10478 || org_id == 10490">{{
925
                           lastafterdialysis.weight_after
925
                           lastafterdialysis.weight_after
926
                         }}</span>
926
                         }}</span>
927
-                        <span v-if="org_id != 10290 && org_id != 10318  && org_id!= 10217 && org_id!=10188 && org_id!=9956 && org_id != 10440">{{
927
+                        <span v-if="org_id != 10290 && org_id != 10318  && org_id!= 10217 && org_id!=10188 && org_id!=9956 && org_id != 10440 && org_id!=0 && org_id!=10469 && org_id!=10478 && org_id!=10490">{{
928
                           predialysis.weight_after_last_transparency
928
                           predialysis.weight_after_last_transparency
929
                             ? predialysis.weight_after_last_transparency
929
                             ? predialysis.weight_after_last_transparency
930
                             : "未称重"
930
                             : "未称重"
961
                       </div>
961
                       </div>
962
                       kg
962
                       kg
963
                     </div>
963
                     </div>
964
-                    <div class="inline_block" style="flex: 1">
964
+                    <div class="inline_block" style="flex: 1" v-if="org_id!=10469 && org_id!=0">
965
                       计划超滤量: 
965
                       计划超滤量: 
966
                       <div
966
                       <div
967
                         class="under_line"
967
                         class="under_line"
976
                       <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471">ml</span> 
976
                       <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471">ml</span> 
977
                       <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471">L</span>
977
                       <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471">L</span>
978
                     </div>
978
                     </div>
979
+
980
+
981
+                    <div class="inline_block" style="flex: 1" v-if="org_id == 10469 || org_id == 0">
982
+                      处方脱水量: 
983
+                      <div
984
+                        class="under_line"
985
+                        style="width: 100px; text-align: center"
986
+                      >
987
+                        {{
988
+                          prescription.prescription_water
989
+                            ? prescription.prescription_water
990
+                            : "/"
991
+                        }}
992
+                      </div>
993
+                       ml
994
+                    </div>
979
                     <div class="inline_block" style="flex: 1">
995
                     <div class="inline_block" style="flex: 1">
980
                       干体重:
996
                       干体重:
981
                       <div
997
                       <div

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderTen.vue Просмотреть файл

239
                         {{ predialysis.catheter ? predialysis.catheter : "/" }}
239
                         {{ predialysis.catheter ? predialysis.catheter : "/" }}
240
                       </div>
240
                       </div>
241
                     </div>
241
                     </div>
242
-                    <div class="inline_block" style="flex:4;" v-if="org_id == 10081">
242
+                    <div class="inline_block" style="flex:4;" v-if="org_id == 9779">
243
                       穿刺点:
243
                       穿刺点:
244
                       <div class="under_line" style="min-width: 120px;text-align: center">
244
                       <div class="under_line" style="min-width: 120px;text-align: center">
245
                         {{ predialysis.point_puncture ? predialysis.point_puncture : "/" }}
245
                         {{ predialysis.point_puncture ? predialysis.point_puncture : "/" }}

+ 1 - 1
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Просмотреть файл

2022
             this.state2 = last_info.sick_history
2022
             this.state2 = last_info.sick_history
2023
           }
2023
           }
2024
 
2024
 
2025
-          if(this.org_id == 0 || this.org_id == 10138){
2025
+          if(this.org_id == 10138){
2026
              this.diagnose = []
2026
              this.diagnose = []
2027
              this.diagnose.push(24)
2027
              this.diagnose.push(24)
2028
              this.diagnose.push(85)
2028
              this.diagnose.push(85)

+ 1 - 1
src/xt_pages/outpatientDoctorStation/recordTemplate/printFour.vue Просмотреть файл

216
     
216
     
217
         },
217
         },
218
         created(){
218
         created(){
219
-            this.educationOptions = getDataConfig("patient", "education_types");
219
+            this.educationOptions = getDataConfig("patient", "profession_options");
220
             this.getAllDoctorList()
220
             this.getAllDoctorList()
221
             this.getPatientCaseHistory()
221
             this.getPatientCaseHistory()
222
     
222
     

+ 35 - 2
src/xt_pages/stock/inventoryTransfer/Addtrans.vue Просмотреть файл

59
               v-model="storehouse_in_id"
59
               v-model="storehouse_in_id"
60
               filterable
60
               filterable
61
               placeholder="请选择调入仓库"
61
               placeholder="请选择调入仓库"
62
+              @change="changeHouseInfoList"
62
             >
63
             >
63
               <el-option
64
               <el-option
64
                 v-for="(option, index) in houseList"
65
                 v-for="(option, index) in houseList"
156
                 <el-input
157
                 <el-input
157
                   v-model="scope.row.count"
158
                   v-model="scope.row.count"
158
                   style="width: 100px"
159
                   style="width: 100px"
160
+                  oninput="value=value.replace(/\D|^0/g,'')"
159
                   @input="
161
                   @input="
160
                     selectCount(
162
                     selectCount(
161
                       scope.row.project_id,
163
                       scope.row.project_id,
315
       var array = [];
317
       var array = [];
316
       array.push(this.id);
318
       array.push(this.id);
317
       var ids = array.join(",");
319
       var ids = array.join(",");
318
-
320
+      
319
       checkSecondOrder(ids).then((response) => {
321
       checkSecondOrder(ids).then((response) => {
320
         if (response.data.state == 1) {
322
         if (response.data.state == 1) {
321
           var msg = response.data.data.msg;
323
           var msg = response.data.data.msg;
459
       this.$refs["tableForm"].validate((valid) => {
461
       this.$refs["tableForm"].validate((valid) => {
460
         if (valid) {
462
         if (valid) {
461
           const array = this.recordInfo.recordData;
463
           const array = this.recordInfo.recordData;
462
-
464
+          if(len(array)==0){
465
+             this.$message.error("请新增药品或者耗材")
466
+             return false
467
+          }
463
           for (let i = 0; i < array.length; i++) {
468
           for (let i = 0; i < array.length; i++) {
464
             array[i].count = parseInt(array[i].count);
469
             array[i].count = parseInt(array[i].count);
465
             array[i].second_total = array[i].second_total.toString();
470
             array[i].second_total = array[i].second_total.toString();
562
       }
567
       }
563
       return total_count;
568
       return total_count;
564
     },
569
     },
570
+    changeHouseInfoList(){
571
+      if(this.storehouse_in_id == this.storehouse_out_id){
572
+         this.$message.error("调出仓库和调入仓库不能是同一个仓库!")
573
+         this.storehouse_in_id = ""
574
+         return false
575
+      }
576
+    },
565
     changeHouseList() {
577
     changeHouseList() {
578
+      const tempObj = {};
579
+      tempObj["id"] = 0;
580
+      tempObj["name"] = "";
581
+      tempObj["project_name"] = "";
582
+      tempObj["project_type"] = "";
583
+      tempObj["second_specification_name"] = "";
584
+      tempObj["sencond_unit"] = "";
585
+      tempObj["count"] = "";
586
+      tempObj["second_total"] = "";
587
+      tempObj["is_source"] = 0;
588
+      tempObj["remake"] = "";
589
+      tempObj["project_id"] = 0;
590
+      tempObj["min_price"] = 0;
591
+      this.recordInfo.recordData = []
592
+      this.recordInfo.recordData.push(tempObj);
593
+      if(this.storehouse_in_id == this.storehouse_out_id){
594
+         this.$message.error("调出仓库和调入仓库不能是同一个仓库!")
595
+         this.storehouse_out_id = ""
596
+         return false
597
+      }
566
       var params = {
598
       var params = {
567
         storehouse_out_id: this.storehouse_out_id,
599
         storehouse_out_id: this.storehouse_out_id,
568
       };
600
       };
601
+
569
       this.tabList = [];
602
       this.tabList = [];
570
       getStoreHouseGoodList(params).then((response) => {
603
       getStoreHouseGoodList(params).then((response) => {
571
         var drugList = response.data.data.drugList;
604
         var drugList = response.data.data.drugList;

+ 31 - 0
src/xt_pages/stock/inventoryTransfer/transEdit.vue Просмотреть файл

63
               filterable
63
               filterable
64
               placeholder="请选择调入仓库"
64
               placeholder="请选择调入仓库"
65
               :disabled="store_disabled"
65
               :disabled="store_disabled"
66
+              @change="changeHouseInfoList"
66
             >
67
             >
67
               <el-option
68
               <el-option
68
                 v-for="(option, index) in houseList"
69
                 v-for="(option, index) in houseList"
154
               <el-form-item
155
               <el-form-item
155
                 style="padding-top: 20px"
156
                 style="padding-top: 20px"
156
                 :prop="'recordData.' + scope.$index + '.count'"
157
                 :prop="'recordData.' + scope.$index + '.count'"
158
+                oninput="value=value.replace(/\D|^0/g,'')"
157
                 :rules="tableRules.count"
159
                 :rules="tableRules.count"
158
               >
160
               >
159
                 <el-input
161
                 <el-input
747
           });
749
           });
748
           this.loading = true;
750
           this.loading = true;
749
           const array = this.recordInfo.recordData;
751
           const array = this.recordInfo.recordData;
752
+          if(len(array)==0){
753
+             this.$message.error("请新增药品或者耗材")
754
+             return false
755
+          }
750
           if (this.storehouse_in_id <= 0) {
756
           if (this.storehouse_in_id <= 0) {
751
             this.$message.error("调入仓库不能为空!");
757
             this.$message.error("调入仓库不能为空!");
752
             this.loading = false;
758
             this.loading = false;
819
         }
825
         }
820
       });
826
       });
821
     },
827
     },
828
+    changeHouseInfoList(){
829
+      if(this.storehouse_in_id == this.storehouse_out_id){
830
+         this.$message.error("调出仓库和调入仓库不能是同一个仓库!")
831
+         this.storehouse_in_id = ""
832
+         return false
833
+      }
834
+    },
822
 
835
 
823
     changeHouseList() {
836
     changeHouseList() {
837
+      const tempObj = {};
838
+      tempObj["id"] = 0;
839
+      tempObj["name"] = "";
840
+      tempObj["project_name"] = "";
841
+      tempObj["project_type"] = "";
842
+      tempObj["second_specification_name"] = "";
843
+      tempObj["sencond_unit"] = "";
844
+      tempObj["count"] = "";
845
+      tempObj["second_total"] = "";
846
+      tempObj["is_source"] = 0;
847
+      tempObj["remake"] = "";
848
+      tempObj["project_id"] = 0;
849
+      tempObj["min_price"] = 0;
850
+      if(this.storehouse_in_id == this.storehouse_out_id){
851
+         this.$message.error("调出仓库和调入仓库不能是同一个仓库!")
852
+         this.storehouse_out_id = ""
853
+         return false
854
+      }
824
       var params = {
855
       var params = {
825
         storehouse_out_id: this.storehouse_out_id,
856
         storehouse_out_id: this.storehouse_out_id,
826
       };
857
       };

+ 21 - 6
src/xt_pages/user/components/PatientDetail.vue Просмотреть файл

160
               </el-form-item>
160
               </el-form-item>
161
             </el-col>
161
             </el-col>
162
 
162
 
163
-            <el-col :span="8">
163
+            <el-col :span="8" v-if="org_id!=0 && org_id!=10138 && org_id!=10278">
164
               <el-form-item
164
               <el-form-item
165
                 label="首次肾脏治疗时间 : "
165
                 label="首次肾脏治疗时间 : "
166
                 label-width="150px"
166
                 label-width="150px"
179
               </el-form-item>
179
               </el-form-item>
180
             </el-col>
180
             </el-col>
181
 
181
 
182
+            <el-col :span="6" :style="isEdit ? 'width:380px' : ''" v-if="org_id==0||org_id == 10138 || org_id == 10278">
183
+                <el-form-item
184
+                  label="首次进入本院时间:"
185
+                  prop="firstDialysisDate"
186
+                  label-width="150px"
187
+                >
188
+                  <el-date-picker
189
+                    v-model="form.firstDialysisDate"
190
+                    type="date"
191
+                    format="yyyy-MM-dd"
192
+                    value-format="yyyy-MM-dd"
193
+                  ></el-date-picker>
194
+                </el-form-item>
195
+              </el-col>
196
+
182
             <el-col :span="8">
197
             <el-col :span="8">
183
               <el-form-item label="本人电话: " class="is-required" prop="phone">
198
               <el-form-item label="本人电话: " class="is-required" prop="phone">
184
                 <el-input
199
                 <el-input
790
         </el-col> -->
805
         </el-col> -->
791
       </el-row>
806
       </el-row>
792
 
807
 
793
-      <el-col :span="24">
808
+      <!-- <el-col :span="24">
794
         <el-form-item>
809
         <el-form-item>
795
           <el-button type="text" @click="treat_info_fold = !treat_info_fold"
810
           <el-button type="text" @click="treat_info_fold = !treat_info_fold"
796
             >{{ treat_info_fold ? "更多治疗信息" : "收起"
811
             >{{ treat_info_fold ? "更多治疗信息" : "收起"
797
             }}<i class="el-icon--right" :class="treat_fold_icon"></i
812
             }}<i class="el-icon--right" :class="treat_fold_icon"></i
798
           ></el-button>
813
           ></el-button>
799
         </el-form-item>
814
         </el-form-item>
800
-      </el-col>
815
+      </el-col> -->
801
 
816
 
802
       <el-col :span="24">
817
       <el-col :span="24">
803
         <el-form-item label="登记人员 : ">
818
         <el-form-item label="登记人员 : ">
1365
             if(this.form.doctor == 0){
1380
             if(this.form.doctor == 0){
1366
               this.form.doctor = ""
1381
               this.form.doctor = ""
1367
             }
1382
             }
1368
-            if (patietInfo.is_infectious == 1) {
1369
-              this.form.remind_cycle = 0;
1370
-            }
1383
+            // if (patietInfo.is_infectious == 1) {
1384
+            //   this.form.remind_cycle = 0;
1385
+            // }
1371
             console.log("222222", this.form.remind_cycle);
1386
             console.log("222222", this.form.remind_cycle);
1372
             this.form.user_sys_before_count = patietInfo.user_sys_before_count;
1387
             this.form.user_sys_before_count = patietInfo.user_sys_before_count;
1373
 
1388
 

+ 3 - 3
src/xt_pages/user/components/PatientForm.vue Просмотреть файл

1823
            
1823
            
1824
             this.form.is_infectious = patietInfo.is_infectious;
1824
             this.form.is_infectious = patietInfo.is_infectious;
1825
             console.log("哈哈哈哈",patietInfo.is_infectious)
1825
             console.log("哈哈哈哈",patietInfo.is_infectious)
1826
-            if(this.form.is_infectious == 1){
1827
-              this.form.remind_cycle = 0
1828
-            }
1826
+            // if(this.form.is_infectious == 1){
1827
+            //   this.form.remind_cycle = 0
1828
+            // }
1829
             this.form.tell_phone = patietInfo.tell_phone;
1829
             this.form.tell_phone = patietInfo.tell_phone;
1830
             this.form.dialysis_age = patietInfo.dialysis_age;
1830
             this.form.dialysis_age = patietInfo.dialysis_age;
1831
             this.form.contact_name = patietInfo.contact_name;
1831
             this.form.contact_name = patietInfo.contact_name;