瀏覽代碼

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

yq1 4 月之前
父節點
當前提交
8ed77aaa2e

+ 2 - 2
src/xt_pages/stock/drugs/drugStockInOrderAdd.vue 查看文件

@@ -916,7 +916,7 @@ export default {
916 916
             }
917 917
           }
918 918
 
919
-          if(this.$store.getters.xt_user.org_id == 0 || this.this.$store.getters.xt_user.org_id == 10138 || this.this.$store.getters.xt_user.org_id == 10278 || this.this.$store.getters.xt_user.org_id == 10610 ||  this.this.$store.getters.xt_user.org_id == 10537 ) {
919
+          if(this.$store.getters.xt_user.org_id == 0 || this.$store.getters.xt_user.org_id == 10138 || this.$store.getters.xt_user.org_id == 10278 || this.$store.getters.xt_user.org_id == 10610 ||  this.$store.getters.xt_user.org_id == 10537 ) {
920 920
             for (let i = 0; i < array.length; i++) {
921 921
               if (array[i].drug_code.length == 0) {
922 922
                 this.$message.error(array[i].drug_name + " 药品溯源码不能为空");
@@ -932,7 +932,7 @@ export default {
932 932
               }
933 933
             }
934 934
           }
935
-          return
935
+
936 936
 
937 937
           if (this.recordInfo.recordData.length <= 0) {
938 938
             this.$message.success("请添加入库商品");

+ 1 - 1
src/xt_pages/stock/stockInOrderAdd.vue 查看文件

@@ -787,7 +787,7 @@
787 787
               array[i].packing_price = array[i].packing_price.toString()
788 788
             }
789 789
 
790
-            if(this.$store.getters.xt_user.org_id == 0 || this.this.$store.getters.xt_user.org_id == 10138 || this.this.$store.getters.xt_user.org_id == 10278 || this.this.$store.getters.xt_user.org_id == 10610 ||  this.this.$store.getters.xt_user.org_id == 10537 ) {
790
+            if(this.$store.getters.xt_user.org_id == 10138 || this.$store.getters.xt_user.org_id == 10278 || this.$store.getters.xt_user.org_id == 10610 ||  this.$store.getters.xt_user.org_id == 10537 ) {
791 791
               for (let i = 0; i < array.length; i++) {
792 792
                 if (array[i].good_code.length == 0) {
793 793
                   this.$message.error(array[i].good_name  + " 溯源码不能为空");

+ 16 - 8
src/xt_pages/user/sickHistory_new.vue 查看文件

@@ -216,8 +216,7 @@ import {
216 216
   createNewSickHistoryRecord,
217 217
   deleteSickHistoryRecords,
218 218
   getNewSickHistory,
219
-  ModifySickHistoryRecord,
220
-  getSickHistoryByPatient
219
+  ModifySickHistoryRecord
221 220
 } from '@/api/patient'
222 221
 import { parseTime } from '@/utils'
223 222
 import BreadCrumb from '@/xt_pages/components/bread-crumb' 
@@ -260,7 +259,7 @@ export default {
260 259
       uploading_new_record: false,
261 260
       templates: this.$store.getters.configlist.sick_history,
262 261
       select_template:"",
263
-      new_content: '',
262
+      new_content: "",
264 263
       edit_new_content: '',
265 264
       edit_sick_history_time: '',
266 265
       selectingRows: [],
@@ -602,14 +601,23 @@ export default {
602 601
       return uParseTime(time, '{y}-{m}-{d}')
603 602
     },
604 603
     getCurrentChange(val){
605
-       console.log("VAL---------------",val)
604
+      
605
+      console.log("new_content2222222222222222222---------------",val.content)
606
+      this.new_content = ""
607
+      this.new_content = val.content
608
+      // var ue = UE.getEditor('editor')
609
+      // ue.setContent(val.content)
610
+     
606 611
       this.record_time = this.getTime(val.record_time)
607 612
       this.id = val.id
608
-      this.content = val.content
609 613
       this.guominyaowu_desc = val.hypersusceptibility_desc
610
-
611
-      this.is_fumotouxishi = val.is_fumo_dialysis_history
612
-      this.is_hypersusceptibility  = val.is_shenyizhi_history
614
+      this.shen_fumo = val.is_fumo_dialysis_history
615
+      this.shen_yizhi  = val.is_shenyizhi_history
616
+      this.shen_guomi = val.is_hypersusceptibility
617
+      this.patient_id = val.patient_id
618
+     
619
+     
620
+      
613 621
     }
614 622
   }
615 623
 }