瀏覽代碼

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

XMLWAN 4 年之前
父節點
當前提交
b974686451

+ 4 - 2
src/xt_pages/outpatientCharges/newStatementPrint.vue 查看文件

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

+ 9 - 2
src/xt_pages/outpatientCharges/statementTemplate/printTwo.vue 查看文件

67
       <div style="width:10%;text-align:center;">门诊目录</div>
67
       <div style="width:10%;text-align:center;">门诊目录</div>
68
       <div style="width:10%;text-align:center;">医保目录</div>
68
       <div style="width:10%;text-align:center;">医保目录</div>
69
     </div>
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
          :key="index">
71
          :key="index">
72
       <div style="width:50%;text-align:center;" v-if="item.advice_id > 0">{{item.advice.drug.drug_name}}</div>
72
       <div style="width:50%;text-align:center;" v-if="item.advice_id > 0">{{item.advice.drug.drug_name}}</div>
73
       <div style="width:50%;text-align:center;" v-if="item.project_id > 0">{{item.project.project.project_name}}</div>
73
       <div style="width:50%;text-align:center;" v-if="item.project_id > 0">{{item.project.project.project_name}}</div>
108
         default: function () {
108
         default: function () {
109
           return {}
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
         type: Object,
119
         type: Object,
113
         default: function () {
120
         default: function () {
114
           return {}
121
           return {}

+ 1 - 1
src/xt_pages/outpatientCharges/summary.vue 查看文件

104
                             结算单
104
                             结算单
105
                         </el-button>
105
                         </el-button>
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>
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
                         </el-button>
109
                         </el-button>
110
                         <el-button size="mini" type="primary" @click="invoicePrint(scope.row)">打印发票</el-button>
110
                         <el-button size="mini" type="primary" @click="invoicePrint(scope.row)">打印发票</el-button>