XMLWAN преди 4 години
родител
ревизия
7fc33cf700
променени са 2 файла, в които са добавени 9 реда и са изтрити 4 реда
  1. 8 3
      src/xt_pages/data/components/drugs.vue
  2. 1 1
      src/xt_pages/outpatientCharges/newTreatTemplate/printOne.vue

+ 8 - 3
src/xt_pages/data/components/drugs.vue Целия файл

@@ -671,20 +671,25 @@
671 671
           ids.push(this.selectDrug[index].id);
672 672
           idMap[this.selectDrug[index].id] = this.selectDrug[index].id;
673 673
         }
674
-        console.log('ids222222222',ids)
674
+      
675 675
         var idss = ids.join(',')
676 676
         let params = {
677 677
           ids:idss,
678 678
           admin_user_id:this.$store.getters.xt_user.user.id
679 679
         }
680
-        console.log("params2222")
680
+       
681 681
         var that = this
682 682
         axios.get('http://127.0.0.1:9532/sz/api/drug/get',{ params: params }).then(function(response) {
683 683
          if (response.data.state == 0) {
684 684
                that.$message.error(response.data.msg)
685 685
                return false
686 686
             } else {
687
-              that.$message({ message: '备案成功', type: 'success' })
687
+              if(response.data.msg != ""){
688
+                that.$message.success(response.data.msg)
689
+              }
690
+              if(response.data.msg == ""){
691
+               that.$message.success("备案成功")
692
+              }
688 693
               that.getList()
689 694
              }
690 695
            }).catch(function(error) {

+ 1 - 1
src/xt_pages/outpatientCharges/newTreatTemplate/printOne.vue Целия файл

@@ -2,7 +2,7 @@
2 2
     <div>
3 3
         <div id='prescription-print' class="prescription-print">
4 4
             <div v-for='(i,index) in pageArr.length'>
5
-                <div class="printTitle">{{$store.getters.xt_user.org.org_name}}&nbsp血液透析中心医药费收据及收费项目清单</div>
5
+                <div class="printTitle">{{$store.getters.xt_user.org.org_name}}&nbsp医药费收据及收费项目清单</div>
6 6
                 <div class="infoMain">
7 7
                     <div class="infoP">医院(药店)编号:{{info.org_code}}</div>
8 8
                     <div class="infoP">名称:{{info.org_name}}</div>