Browse Source

hah阿凡达

28169 4 months ago
parent
commit
1a21075cca

+ 20 - 3
src/xt_pages/data/druguseTemplate.vue View File

@@ -301,6 +301,12 @@
301 301
                     </template>
302 302
                   </el-table-column>
303 303
 
304
+                  <el-table-column prop="remark" align="center" label="医嘱嘱托">
305
+                    <template slot-scope="scope">
306
+                      {{scope.row.remark}}
307
+                    </template>
308
+                  </el-table-column>
309
+
304 310
                 </el-table>
305 311
               </div>
306 312
               <div slot="footer" class="dialog-footer">
@@ -488,6 +494,12 @@
488 494
                     </el-form-item>
489 495
                   </el-col>
490 496
 
497
+                  <el-col :span="12">
498
+                    <el-form-item prop="day_count" label="医嘱嘱托:">
499
+                      <el-input style="width: 200px" v-model="templateForm.remark"></el-input>&nbsp;
500
+                    </el-form-item>
501
+                  </el-col>
502
+
491 503
                 </el-row>
492 504
               </el-form>
493 505
               <div slot="footer" class="dialog-footer">
@@ -1422,7 +1434,8 @@
1422 1434
           execution_frequency: '',
1423 1435
           id: 0,
1424 1436
           drug_id:0,
1425
-          way:0
1437
+          way:0,
1438
+          remark:""
1426 1439
         },
1427 1440
         dialogConfigVisible:false,
1428 1441
         templateFormEdit: {
@@ -1877,7 +1890,10 @@
1877 1890
             templateFormTwo.parent_id = this.parent_id
1878 1891
             templateFormTwo.drug_id = this.templateForm.drug_id
1879 1892
             templateFormTwo.way   = this.templateForm.way
1880
-
1893
+            templateFormTwo.remark = this.templateForm.remark
1894
+             
1895
+            console.log("remake------------------",templateFormTwo.remark)
1896
+           
1881 1897
             if (this.isAddChild) {
1882 1898
               CreateSubAdvice(templateFormTwo).then(response => {
1883 1899
                 if (response.data.state == 0) {
@@ -1933,7 +1949,7 @@
1933 1949
               templateFormTwo.parent_id = this.parent_id
1934 1950
               templateFormTwo.drug_id = this.templateForm.drug_id
1935 1951
               templateFormTwo.way  = this.templateForm.way
1936
-
1952
+              templateFormTwo.remark = this.templateForm.remark
1937 1953
               if (this.templateForm.frequency_type == 1) {
1938 1954
                 templateFormTwo.frequency_type = this.templateForm.frequency_type
1939 1955
                 templateFormTwo.day_count = '0'
@@ -1979,6 +1995,7 @@
1979 1995
                     this.adviceTableData[i].weekdays = templateFormTwo.weekdays
1980 1996
                     this.adviceTableData[i].drug_id =  templateFormTwo.drug_id
1981 1997
                     this.adviceTableData[i].way   = templateFormTwo.way
1998
+                    this.adviceTableData[i].remark =templateFormTwo.remark
1982 1999
 
1983 2000
                   }
1984 2001
                 }

+ 8 - 3
src/xt_pages/dialysis/doctorInspectionPrint.vue View File

@@ -190,6 +190,7 @@ export default {
190 190
                     this.project = resp.data.project
191 191
                     
192 192
                     resp.data.hisAdvices.map((item,index) => {
193
+                     item.doctor_advice = []
193 194
                     item.new_advice = item.new_advice ? item.new_advice : []
194 195
                      
195 196
                     if(this.project[index].project.length > 0){
@@ -211,7 +212,8 @@ export default {
211 212
                             groupno:0,
212 213
                             advice_type:6
213 214
                         }
214
-                        item.doctor_advice.push(obj)
215
+  
216
+                         item.doctor_advice.push(obj)
215 217
                         })
216 218
                     }
217 219
                     
@@ -369,12 +371,15 @@ export default {
369 371
                     } else {
370 372
                         advice_groups = []
371 373
                     }
374
+                    
372 375
                     maps.new_advice = advice_groups
373 376
                     }
374 377
                  }
375 378
 
376
-                     console.log("scheduleMap------------------",scheduleMap)
377
-                     this.scheduleMap = scheduleMap
379
+                    this.scheduleMap = scheduleMap
380
+
381
+                   
382
+                 
378 383
                  }
379 384
                 
380 385
               

+ 1 - 1
src/xt_pages/stock/stockInOrderAdd.vue View File

@@ -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 == 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 ||  this.$store.getters.xt_user.org_id == 10480 ) {
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  + " 溯源码不能为空");