28169 6 mēnešus atpakaļ
vecāks
revīzija
1a21075cca

+ 20 - 3
src/xt_pages/data/druguseTemplate.vue Parādīt failu

301
                     </template>
301
                     </template>
302
                   </el-table-column>
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
                 </el-table>
310
                 </el-table>
305
               </div>
311
               </div>
306
               <div slot="footer" class="dialog-footer">
312
               <div slot="footer" class="dialog-footer">
488
                     </el-form-item>
494
                     </el-form-item>
489
                   </el-col>
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
                 </el-row>
503
                 </el-row>
492
               </el-form>
504
               </el-form>
493
               <div slot="footer" class="dialog-footer">
505
               <div slot="footer" class="dialog-footer">
1422
           execution_frequency: '',
1434
           execution_frequency: '',
1423
           id: 0,
1435
           id: 0,
1424
           drug_id:0,
1436
           drug_id:0,
1425
-          way:0
1437
+          way:0,
1438
+          remark:""
1426
         },
1439
         },
1427
         dialogConfigVisible:false,
1440
         dialogConfigVisible:false,
1428
         templateFormEdit: {
1441
         templateFormEdit: {
1877
             templateFormTwo.parent_id = this.parent_id
1890
             templateFormTwo.parent_id = this.parent_id
1878
             templateFormTwo.drug_id = this.templateForm.drug_id
1891
             templateFormTwo.drug_id = this.templateForm.drug_id
1879
             templateFormTwo.way   = this.templateForm.way
1892
             templateFormTwo.way   = this.templateForm.way
1880
-
1893
+            templateFormTwo.remark = this.templateForm.remark
1894
+             
1895
+            console.log("remake------------------",templateFormTwo.remark)
1896
+           
1881
             if (this.isAddChild) {
1897
             if (this.isAddChild) {
1882
               CreateSubAdvice(templateFormTwo).then(response => {
1898
               CreateSubAdvice(templateFormTwo).then(response => {
1883
                 if (response.data.state == 0) {
1899
                 if (response.data.state == 0) {
1933
               templateFormTwo.parent_id = this.parent_id
1949
               templateFormTwo.parent_id = this.parent_id
1934
               templateFormTwo.drug_id = this.templateForm.drug_id
1950
               templateFormTwo.drug_id = this.templateForm.drug_id
1935
               templateFormTwo.way  = this.templateForm.way
1951
               templateFormTwo.way  = this.templateForm.way
1936
-
1952
+              templateFormTwo.remark = this.templateForm.remark
1937
               if (this.templateForm.frequency_type == 1) {
1953
               if (this.templateForm.frequency_type == 1) {
1938
                 templateFormTwo.frequency_type = this.templateForm.frequency_type
1954
                 templateFormTwo.frequency_type = this.templateForm.frequency_type
1939
                 templateFormTwo.day_count = '0'
1955
                 templateFormTwo.day_count = '0'
1979
                     this.adviceTableData[i].weekdays = templateFormTwo.weekdays
1995
                     this.adviceTableData[i].weekdays = templateFormTwo.weekdays
1980
                     this.adviceTableData[i].drug_id =  templateFormTwo.drug_id
1996
                     this.adviceTableData[i].drug_id =  templateFormTwo.drug_id
1981
                     this.adviceTableData[i].way   = templateFormTwo.way
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 Parādīt failu

190
                     this.project = resp.data.project
190
                     this.project = resp.data.project
191
                     
191
                     
192
                     resp.data.hisAdvices.map((item,index) => {
192
                     resp.data.hisAdvices.map((item,index) => {
193
+                     item.doctor_advice = []
193
                     item.new_advice = item.new_advice ? item.new_advice : []
194
                     item.new_advice = item.new_advice ? item.new_advice : []
194
                      
195
                      
195
                     if(this.project[index].project.length > 0){
196
                     if(this.project[index].project.length > 0){
211
                             groupno:0,
212
                             groupno:0,
212
                             advice_type:6
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
                     } else {
371
                     } else {
370
                         advice_groups = []
372
                         advice_groups = []
371
                     }
373
                     }
374
+                    
372
                     maps.new_advice = advice_groups
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 Parādīt failu

787
               array[i].packing_price = array[i].packing_price.toString()
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
               for (let i = 0; i < array.length; i++) {
791
               for (let i = 0; i < array.length; i++) {
792
                 if (array[i].good_code.length == 0) {
792
                 if (array[i].good_code.length == 0) {
793
                   this.$message.error(array[i].good_name  + " 溯源码不能为空");
793
                   this.$message.error(array[i].good_name  + " 溯源码不能为空");