Parcourir la source

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

XMLWAN il y a 4 ans
Parent
révision
b974686451

+ 4 - 2
src/xt_pages/outpatientCharges/newStatementPrint.vue Voir le fichier

@@ -14,7 +14,7 @@
14 14
 
15 15
     <div class='dialysisPage' style="padding-top:40px;">
16 16
       <printOne v-if="org_id != 9990" :info="info" :p_admin="p_admin" :charge_admin="charge_admin"></printOne>
17
-      <printTwo v-if="org_id == 9990" :info="info" :p_admin="p_admin" :charge_admin="charge_admin"></printTwo>
17
+      <printTwo v-if="org_id == 9990" :info="info" :order_infos="order_infos" :p_admin="p_admin" :charge_admin="charge_admin"></printTwo>
18 18
     </div>
19 19
   </div>
20 20
 </template>
@@ -62,7 +62,8 @@
62 62
         info:null,
63 63
         p_admin:{},
64 64
         charge_admin:{},
65
-        org_id:''
65
+        org_id:'',
66
+        order_infos:null
66 67
       };
67 68
     },
68 69
     methods:{
@@ -177,6 +178,7 @@
177 178
                 that.info = response.data.data.info
178 179
                 that.p_admin = response.data.data.printor_admin
179 180
                 that.charge_admin = response.data.data.charge_admin
181
+                that.order_infos = response.data.data
180 182
 
181 183
 
182 184
                 console.log(that.info)

+ 9 - 2
src/xt_pages/outpatientCharges/statementTemplate/printTwo.vue Voir le fichier

@@ -67,7 +67,7 @@
67 67
       <div style="width:10%;text-align:center;">门诊目录</div>
68 68
       <div style="width:10%;text-align:center;">医保目录</div>
69 69
     </div>
70
-    <div style="border-bottom:1px solid #000;padding:10px 0;display:flex;" v-for="(item,index) in info.order_infos"
70
+    <div style="border-bottom:1px solid #000;padding:10px 0;display:flex;" v-for="(item,index) in order_infos.order_infos"
71 71
          :key="index">
72 72
       <div style="width:50%;text-align:center;" v-if="item.advice_id > 0">{{item.advice.drug.drug_name}}</div>
73 73
       <div style="width:50%;text-align:center;" v-if="item.project_id > 0">{{item.project.project.project_name}}</div>
@@ -108,7 +108,14 @@
108 108
         default: function () {
109 109
           return {}
110 110
         }
111
-      }, p_admin: {
111
+      }, 
112
+      order_infos: {
113
+        type: Object,
114
+        default: function () {
115
+          return {}
116
+        }
117
+      }, 
118
+      p_admin: {
112 119
         type: Object,
113 120
         default: function () {
114 121
           return {}

+ 1 - 1
src/xt_pages/outpatientCharges/summary.vue Voir le fichier

@@ -104,7 +104,7 @@
104 104
                             结算单
105 105
                         </el-button>
106 106
                         <el-button size="mini" type="primary" v-if="scope.row.order_status == 2 && $store.getters.xt_user.org_id == 10106" @click="settlementPrint(scope.row)">结算单</el-button>
107
-                        <el-button size="mini" type="primary" @click="toRefund(scope.row)" v-if="(scope.row.order_status == 2 && $store.getters.xt_user.org_id == 10106) || (scope.row.order_status == 2 && $store.getters.xt_user.org_id == 10106)">
107
+                        <el-button size="mini" type="primary" @click="toRefund(scope.row)" v-if="(scope.row.order_status == 2 && $store.getters.xt_user.org_id == 10106) || (scope.row.order_status == 2 && $store.getters.xt_user.org_id == 9990)">
108 108
                             退费
109 109
                         </el-button>
110 110
                         <el-button size="mini" type="primary" @click="invoicePrint(scope.row)">打印发票</el-button>