陈少旭 1 rok temu
rodzic
commit
5dd9aa4609

+ 5 - 5
src/xt_pages/outpatientCharges/invoicePrint.vue Wyświetl plik

@@ -10,10 +10,10 @@
10 10
         type="primary"
11 11
       >打印</el-button>
12 12
     </template>
13
-    <div class="app-container" style="padding-top:40px;" v-if="org_id != 10217 && org_id != 10485 && org_id != 10375 || org_id!=0"><!---->
13
+    <div class="app-container" style="padding-top:40px;" v-if="org_id != 10217 && org_id != 10485 && org_id != 10375 "><!---->
14 14
         <div class='dialysisPage'>
15
-          <div v-if="org_id != 10106 && org_id != 10215 && org_id != 4 && org_id != 10188 && org_id != 10217 && org_id != 10387&& org_id != 10210 && org_id != 10387 && org_id != 10480" >
16
-            <printOne v-if="org_id != 10088 &&  org_id != 0 " :paramsObj="invoiceParams"></printOne>
15
+          <div v-if="org_id != 10106 && org_id != 10215 && org_id != 4 && org_id != 10188 && org_id != 10217 && org_id != 10387&& org_id != 10210 && org_id != 10387 && org_id != 10480 && org_id != 0" >
16
+            <printOne v-if="org_id != 10088" :paramsObj="invoiceParams"></printOne>
17 17
             <printThree v-if="org_id == 10088 " :paramsObj="invoiceParams"></printThree>
18 18
           </div>
19 19
           <printTwo v-if="org_id == 10106" :paramsObj="invoiceParams"></printTwo>
@@ -24,11 +24,11 @@
24 24
           <print-eight v-if="org_id == 10387" :paramsObj="invoiceParams"></print-eight>
25 25
           <PrintNight v-if="org_id == 10210" :paramsObj="invoiceParams"></PrintNight>
26 26
           <!-- <PrintTen v-if="org_id == 10375 ||org_id == 0 " :paramsObj="invoiceParams"></PrintTen> -->
27
-          <printtwelve v-if="org_id == 10480 "></printtwelve>
27
+          <printtwelve :paramsObj="invoiceParams"  v-if="org_id == 10480 || org_id ==0"></printtwelve>
28 28
         </div>
29 29
     </div>
30 30
 
31
-    <div class="app-container" style="padding-top:40px;" v-if="org_id == 10485 || org_id==0">
31
+    <div class="app-container" style="padding-top:40px;" v-if="org_id == 10485">
32 32
       <div class='dialysisPage'>
33 33
         <print-eleven :paramsObj="invoiceParams"></print-eleven>
34 34
       </div>

+ 247 - 60
src/xt_pages/outpatientCharges/invoiceTemplate/printtwelve.vue Wyświetl plik

@@ -11,7 +11,7 @@
11 11
         号码
12 12
       </div>
13 13
     </div>
14
-    
14
+
15 15
     <div style="display: flex;">
16 16
       <div style="position: absolute;top:150px;left:81px;">
17 17
         医保证号:
@@ -78,81 +78,82 @@
78 78
       </div>
79 79
       <div style="display: flex;">
80 80
         <div :style="{position: 'absolute',top:(120 + (index * 370))  + 'px',left:'81px'}">
81
-          小米
81
+          {{paramsObj.name}}
82 82
         </div>
83 83
         <div :style="{position: 'absolute',top:(120 + (index * 370))  + 'px',left:'200px'}">
84
-          号码
84
+
85 85
         </div>
86 86
       </div>
87
-      
87
+
88 88
       <div style="display: flex;">
89 89
         <div :style="{position: 'absolute',top:(150 + (index * 370))  + 'px',left:'81px'}">
90
-          医保证号:
90
+
91 91
         </div>
92 92
         <div :style="{position: 'absolute',top:(150 + (index * 370))  + 'px',left:'190px'}">
93
-          人员类别:
93
+
94 94
         </div>
95 95
         <div :style="{position: 'absolute',top:(150 + (index * 370))  + 'px',left:'252px'}">
96
-        2023-09-28
96
+        {{printDate}}
97 97
         </div>
98 98
       </div>
99 99
       <div style="display: flex;">
100
-        <div :style="{position: 'absolute',top:(170+(index * 370))+'px',left:'106px'}">目录内</div>
101
-        <div :style="{position: 'absolute',top:(170+(index * 370))+'px',left:'146px'}">目录外</div>
102
-        <div :style="{position: 'absolute',top:(170+(index * 370))+'px',left:'232px'}">目录内</div>
103
-        <div :style="{position: 'absolute',top:(170+(index * 370))+'px',left:'272px'}">目录外</div>
100
+        <div :style="{position: 'absolute',top:(170+(index * 370))+'px',left:'106px'}">{{list.westernMedicineCostTotal?list.westernMedicineCostTotal:""}}</div>
101
+        <div :style="{position: 'absolute',top:(170+(index * 370))+'px',left:'146px'}"></div>
102
+        <div :style="{position: 'absolute',top:(170+(index * 370))+'px',left:'232px'}">{{ list.operationCostTotal?list.operationCostTotal:""}}</div>
103
+        <div :style="{position: 'absolute',top:(170+(index * 370))+'px',left:'272px'}"></div>
104 104
       </div>
105 105
       <div style="display: flex;">
106
-        <div :style="{position: 'absolute',top:(190+(index * 370))+'px',left:'106px'}">目录内</div>
107
-        <div :style="{position: 'absolute',top:(190+(index * 370))+'px',left:'146px'}">目录外</div>
108
-        <div :style="{position: 'absolute',top:(190+(index * 370))+'px',left:'232px'}">目录内</div>
109
-        <div :style="{position: 'absolute',top:(190+(index * 370))+'px',left:'272px'}">目录外</div>
106
+        <div :style="{position: 'absolute',top:(190+(index * 370))+'px',left:'106px'}">{{list.chineseTraditionalMedicineCostTotal?list.chineseTraditionalMedicineCostTotal:""}}</div>
107
+        <div :style="{position: 'absolute',top:(190+(index * 370))+'px',left:'146px'}"></div>
108
+        <div :style="{position: 'absolute',top:(190+(index * 370))+'px',left:'232px'}">{{list.laboratoryCostTotal?list.laboratoryCostTotal:""}}</div>
109
+        <div :style="{position: 'absolute',top:(190+(index * 370))+'px',left:'272px'}"></div>
110 110
       </div>
111 111
       <div style="display: flex;">
112
-        <div :style="{position: 'absolute',top:(210+(index * 370))+'px',left:'106px'}">目录内</div>
113
-        <div :style="{position: 'absolute',top:(210+(index * 370))+'px',left:'146px'}">目录外</div>
114
-        <div :style="{position: 'absolute',top:(210+(index * 370))+'px',left:'232px'}">目录内</div>
115
-        <div :style="{position: 'absolute',top:(210+(index * 370))+'px',left:'272px'}">目录外</div>
112
+        <div :style="{position: 'absolute',top:(210+(index * 370))+'px',left:'106px'}"></div>
113
+        <div :style="{position: 'absolute',top:(210+(index * 370))+'px',left:'146px'}"></div>
114
+        <div :style="{position: 'absolute',top:(210+(index * 370))+'px',left:'232px'}"></div>
115
+        <div :style="{position: 'absolute',top:(210+(index * 370))+'px',left:'272px'}"></div>
116 116
       </div>
117 117
       <div style="display: flex;">
118
-        <div :style="{position: 'absolute',top:(230+(index * 370))+'px',left:'106px'}">目录内</div>
119
-        <div :style="{position: 'absolute',top:(230+(index * 370))+'px',left:'146px'}">目录外</div>
120
-        <div :style="{position: 'absolute',top:(230+(index * 370))+'px',left:'232px'}">目录内</div>
121
-        <div :style="{position: 'absolute',top:(230+(index * 370))+'px',left:'272px'}">目录外</div>
118
+        <div :style="{position: 'absolute',top:(230+(index * 370))+'px',left:'106px'}"></div>
119
+        <div :style="{position: 'absolute',top:(230+(index * 370))+'px',left:'146px'}"></div>
120
+        <div :style="{position: 'absolute',top:(230+(index * 370))+'px',left:'232px'}"></div>
121
+        <div :style="{position: 'absolute',top:(230+(index * 370))+'px',left:'272px'}"></div>
122 122
       </div>
123 123
       <div style="display: flex;">
124
-        <div :style="{position: 'absolute',top:(250+(index * 370))+'px',left:'106px'}">目录内</div>
125
-        <div :style="{position: 'absolute',top:(250+(index * 370))+'px',left:'146px'}">目录外</div>
126
-        <div :style="{position: 'absolute',top:(250+(index * 370))+'px',left:'232px'}">目录内</div>
127
-        <div :style="{position: 'absolute',top:(250+(index * 370))+'px',left:'272px'}">目录外</div>
124
+        <div :style="{position: 'absolute',top:(250+(index * 370))+'px',left:'106px'}">{{list.checkCostTotal?list.checkCostTotal:""}}</div>
125
+        <div :style="{position: 'absolute',top:(250+(index * 370))+'px',left:'146px'}"></div>
126
+        <div :style="{position: 'absolute',top:(250+(index * 370))+'px',left:'232px'}"></div>
127
+        <div :style="{position: 'absolute',top:(250+(index * 370))+'px',left:'272px'}"></div>
128 128
     </div>
129 129
     <div style="display: flex;">
130
-      <div :style="{position: 'absolute',top:(270+(index * 370))+'px',left:'106px'}">目录内</div>
131
-      <div :style="{position: 'absolute',top:(270+(index * 370))+'px',left:'146px'}">目录外</div>
132
-      <div :style="{position: 'absolute',top:(270+(index * 370))+'px',left:'232px'}">目录内</div>
133
-      <div :style="{position: 'absolute',top:(270+(index * 370))+'px',left:'272px'}">目录外</div>
130
+      <div :style="{position: 'absolute',top:(270+(index * 370))+'px',left:'106px'}">{{list.treatCostTotal?list.treatCostTotal:""}}</div>
131
+      <div :style="{position: 'absolute',top:(270+(index * 370))+'px',left:'146px'}"></div>
132
+      <div :style="{position: 'absolute',top:(270+(index * 370))+'px',left:'232px'}">{{list.materialCostTotal?list.materialCostTotal:""}}</div>
133
+      <div :style="{position: 'absolute',top:(270+(index * 370))+'px',left:'272px'}"></div>
134 134
     </div>
135 135
     <!--金额 -->
136 136
     <div style="display: flex;">
137
-      <div :style="{position: 'absolute',top:(290+(index * 370))+'px',left:'146px',}">280</div>
138
-      <div :style="{position: 'absolute',top:(290+(index * 370))+'px',left:'242px'}">个人支付:9.92</div>
137
+      <div :style="{position: 'absolute',top:(290+(index * 370))+'px',left:'146px',}">{{list.order.medfee_sumamt}}</div>
138
+      <div :style="{position: 'absolute',top:(290+(index * 370))+'px',left:'242px'}">个人支付:{{list.order.psn_cash_pay}}</div>
139 139
     </div>
140
-    <div :style="{position: 'absolute',top:(310+(index * 370))+'px',left:'146px'}">贰佰捌拾整</div>
141
-    <div :style="{position: 'absolute',top:(330+(index * 370))+'px',left:'190px'}">目录内金额</div>
142
-    <div :style="{position: 'absolute',top:(350+(index * 370))+'px',left:'252px'}">个人医保</div>
140
+    <div :style="{position: 'absolute',top:(310+(index * 370))+'px',left:'146px'}">{{zhongwen}}</div>
141
+    <div :style="{position: 'absolute',top:(330+(index * 370))+'px',left:'190px'}">{{'统筹支付:' + list.order.hifp_pay}}</div>
142
+    <div :style="{position: 'absolute',top:(350+(index * 370))+'px',left:'252px'}">{{list.order.acct_pay}}</div>
143 143
     <div style="display: flex;">
144
-      <div :style="{position: 'absolute',top:(370+(index * 370))+'px',left:'106px'}">收款人员</div>
145
-      <div :style="{position: 'absolute',top:(370+(index * 370))+'px',left:'252px'}">流水号</div>
144
+      <div :style="{position: 'absolute',top:(370+(index * 370))+'px',left:'106px'}">{{list.admin_user_name}}</div>
145
+      <div :style="{position: 'absolute',top:(370+(index * 370))+'px',left:'252px'}">{{list.order_number}}</div>
146 146
     </div>
147 147
 
148 148
       <div v-for="(ite,index2) in item" :key="index2" style="">
149
-        
150
-        <div :style="{position: 'absolute',top:(120 + (index * 370))  + 'px',left:(380 + (index2 * 110)) + 'px'}">{{ite}}</div>
151
-        <div :style="{position: 'absolute',top:(150 + (index * 370))  + 'px',left:(380 + (index2 * 110)) + 'px'}"></div>
152
-        <div :style="{position: 'absolute',top:(170 + (index * 370))  + 'px',left:(380 + (index2 * 110)) + 'px'}">项目</div>
153
-        <div :style="{position: 'absolute',top:(310 + (index * 370))  + 'px',left:(380 + (index2 * 110)) + 'px'}">金额</div>
154
-        <div :style="{position: 'absolute',top:(330 + (index * 370))  + 'px',left:(380 + (index2 * 110)) + 'px'}">收款人</div>
155
-        <div :style="{position: 'absolute',top:(350 + (index * 370))  + 'px',left:(380 + (index2 * 110)) + 'px'}">日期</div>
149
+
150
+        <div :style="{position: 'absolute',top:(120 + (index * 370))  + 'px',left:(380 + (index2 * 110)) + 'px'}">{{list.order_number}}</div>
151
+        <div :style="{position: 'absolute',top:(150 + (index * 370))  + 'px',left:(380 + (index2 * 110)) + 'px'}">{{ite.name}}</div>
152
+        <div :style="{position: 'absolute',top:(170 + (index * 370))  + 'px',left:(380 + (index2 * 110)) + 'px'}">{{ite.item}}</div>
153
+        <div :style="{position: 'absolute',top:(290 + (index * 370))  + 'px',left:(380 + (index2 * 110)) + 'px'}">{{ite.doctor_name}}</div>
154
+        <div :style="{position: 'absolute',top:(310 + (index * 370))  + 'px',left:(380 + (index2 * 110)) + 'px'}">{{ite.total}}</div>
155
+        <div :style="{position: 'absolute',top:(330 + (index * 370))  + 'px',left:(380 + (index2 * 110)) + 'px'}">{{ite.operator}}</div>
156
+        <div :style="{position: 'absolute',top:(350 + (index * 370))  + 'px',left:(380 + (index2 * 110)) + 'px'}">{{ite.printDate}}</div>
156 157
         <!-- 附件 -->
157 158
         <!-- <div :style="{position: 'absolute',top:(120 + (index * 350))  + 'px',left:'490px'}">号码</div>
158 159
         <div :style="{position: 'absolute',top:(150 + (index * 350))  + 'px',left:'490px'}">{{ite}}</div>
@@ -168,36 +169,222 @@
168 169
         <div :style="{position: 'absolute',top:(330 + (index * 350))  + 'px',left:'588px'}">收款人</div>
169 170
         <div :style="{position: 'absolute',top:(350 + (index * 350))  + 'px',left:'588px'}">日期</div> -->
170 171
       </div>
171
-      
172
+
172 173
     </div>
173
-   
174
+
174 175
   </div>
175 176
 </template>
176 177
 <script>
177
-export default{
178
+import { getInvoice } from '@/api/project/project'
179
+export default {
180
+  props:{
181
+    paramsObj:Object
182
+  },
178 183
   data(){
179 184
     return{
180
-      pageArr:['西药费','化验费','治疗费','处置费','中成药','诊疗费','材料费',
181
-              '护理费','注射费','检查费','输氧费','其他'],
182
-      Arr:[]
185
+      list:{},
186
+      printDate:'',
187
+      zhongwen:'',
188
+      totalPrice:0.0,
189
+      org_id:'',
190
+      org_name:'',
191
+      pageArr:[],
192
+      Arr:[],
193
+    }
194
+  },
195
+  created(){
196
+    console.log('paramsObj',this.paramsObj)
197
+    let params = {
198
+      order_id: this.paramsObj.order_id,
199
+      patient_id: this.paramsObj.patient_id,
200
+      number: this.paramsObj.number,
183 201
     }
202
+    this.getInvoice(params)
203
+    // var data = new Date();
204
+    // var month =data.getMonth() < 9 ? "0" + (data.getMonth() + 1) : data.getMonth() + 1;
205
+    // var date = data.getDate() <= 9 ? "0" + data.getDate() : data.getDate();
206
+    // this.printDate = data.getFullYear() + "-" + month + "-" + date;
207
+    // this.smalltoBIG(982732.21)
208
+    this.org_id = this.$store.getters.xt_user.org_id
209
+    this.org_name = this.$store.getters.xt_user.org.org_name
184 210
   },
185 211
   methods:{
186 212
     group(array, subGroupLength) {
187 213
       let index = 0;
188 214
       let newArray = [];
189 215
       while(index < array.length) {
190
-      newArray.push(array.slice(index, index += subGroupLength));
216
+        newArray.push(array.slice(index, index += subGroupLength));
191 217
       }
192 218
       return newArray;
193
-    }
194
-  },
195
-  created(){
196
-   this.Arr = this.group(this.pageArr,Math.ceil(this.pageArr.length/4))
197
-    console.log('3333',this.Arr);  
219
+    }, getInvoice(params){
220
+      getInvoice(params).then((res) => {
221
+        console.log('res',res)
222
+        this.list = res.data.data
223
+        this.totalPrice = this.list.westernMedicineCostTotal + this.list.checkCostTotal + this.list.treatCostTotal + this.list.bedCostTotal + this.list.chineseTraditionalMedicineCostTotal +
224
+          this.list.laboratoryCostTotal + this.list.operationCostTotal + this.list.otherCostTotal + this.list.materialCostTotal
225
+        this.smalltoBIG(this.totalPrice)
226
+        var data = new Date(res.data.data.date * 1000);
227
+        var month =data.getMonth() < 9 ? "0" + (data.getMonth() + 1) : data.getMonth() + 1;
228
+        var date = data.getDate() <= 9 ? "0" + data.getDate() : data.getDate();
229
+        this.printDate = data.getFullYear() + "-" + month + "-" + date;
230
+        // this.getPage()
231
+
232
+        this.pageArr = []
233
+        if(this.list.westernMedicineCostTotal > 0){
234
+          let obj = {
235
+            name: this.paramsObj.name,
236
+            total: this.list.westernMedicineCostTotal,
237
+            item: "药品费",
238
+            doctor_name:"医生 " + this.list.doctor_info.user_name,
239
+            operator:this.list.admin_user_name,
240
+            printDate:this.printDate,
241
+          }
242
+          this.pageArr.push(obj)
243
+        }
244
+
245
+        if(this.list.operationCostTotal > 0){
246
+          let obj = {
247
+            name: this.paramsObj.name,
248
+            total: this.list.operationCostTotal,
249
+            item: "手术费",
250
+            doctor_name:"医生 " + this.list.doctor_info.user_name,
251
+            operator:this.list.admin_user_name,
252
+            printDate:this.printDate,
253
+          }
254
+          this.pageArr.push(obj)
255
+        }
256
+
257
+
258
+        if(this.list.chineseTraditionalMedicineCostTotal > 0){
259
+          let obj = {
260
+            name: this.paramsObj.name,
261
+            total: this.list.chineseTraditionalMedicineCostTotal,
262
+            item: "中成药费",
263
+            doctor_name:"医生 " + this.list.doctor_info.user_name,
264
+            operator:this.list.admin_user_name,
265
+            printDate:this.printDate,
266
+          }
267
+          this.pageArr.push(obj)
268
+        }
269
+
270
+
271
+        if(this.list.laboratoryCostTotal > 0){
272
+          let obj = {
273
+            name:this.paramsObj.name,
274
+            total: this.list.laboratoryCostTotal,
275
+            item: "化验费",
276
+            doctor_name:"医生 " + this.list.doctor_info.user_name,
277
+            operator:this.list.admin_user_name,
278
+            printDate:this.printDate,
279
+          }
280
+          this.pageArr.push(obj)
281
+        }
282
+
283
+
284
+        if(this.list.checkCostTotal > 0){
285
+          let obj = {
286
+            name: this.paramsObj.name,
287
+            total: this.list.checkCostTotal,
288
+            item: "检查费",
289
+            doctor_name:"医生 " + this.list.doctor_info.user_name,
290
+            operator:this.list.admin_user_name,
291
+            printDate:this.printDate,
292
+          }
293
+          this.pageArr.push(obj)
294
+        }
295
+
296
+        if(this.list.treatCostTotal > 0){
297
+          let obj = {
298
+            name:this.paramsObj.name,
299
+            total: this.list.treatCostTotal,
300
+            item: "治疗费",
301
+            doctor_name:"医生 " + this.list.doctor_info.user_name,
302
+            operator:this.list.admin_user_name,
303
+            printDate:this.printDate,
304
+          }
305
+          this.pageArr.push(obj)
306
+        }
307
+
308
+
309
+        if(this.list.materialCostTotal > 0){
310
+          let obj = {
311
+            name:this.paramsObj.name,
312
+            total: this.list.materialCostTotal,
313
+            item: "材料费",
314
+            doctor_name:"医生 " + this.list.doctor_info.user_name,
315
+            operator:this.list.admin_user_name,
316
+            printDate:this.printDate,
317
+          }
318
+          this.pageArr.push(obj)
319
+        }
320
+
321
+        this.Arr = this.group(this.pageArr,Math.ceil(this.pageArr.length/4))
322
+        console.log(this.Arr)
323
+
324
+
325
+
326
+      })
327
+    },
328
+    smalltoBIG(n) {
329
+      // let fraction = ['角', '分'];
330
+      // let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];
331
+      // let unit = [['元.', '万,', '亿,'], ["元",'拾', '佰', '仟']];
332
+      // let head = price < 0 ? '欠' : '';
333
+      // price = Math.abs(price);
334
+      // let upper = '';
335
+      // for (let i = 0; i < fraction.length; i++) {
336
+      // upper += (digit[Math.floor(price * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '');
337
+      // }
338
+      // upper = upper || '整';
339
+      // price = Math.floor(price);
340
+      // for (let i = 0; i < unit[0].length && price > 0; i++) {
341
+      // let p = '';
342
+      // for (let j = 0; j < unit[1].length && price > 0; j++) {
343
+      //     p = digit[price % 10] + unit[1][j] + p;
344
+      //     price = Math.floor(price / 10);
345
+      // }
346
+      // upper = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + upper;
347
+      // }
348
+      // this.zhongwen = head + upper.replace(/(零.)*零圆/, '圆').replace(/(零.)+/g, '零').replace(/^整$/, '零圆整')
349
+      // console.log('6666',head + upper.replace(/(零.)*零圆/, '圆').replace(/(零.)+/g, '零').replace(/^整$/, '零圆整'))
350
+      if (!/^(0|[1-9]\d*)(\.\d+)?$/.test(n)){
351
+        return "数据非法";  //判断数据是否大于0
352
+      }
353
+
354
+      var unit = "仟佰拾亿仟佰拾万仟佰拾元角分", str = "";
355
+      n += "00";
356
+
357
+      var indexpoint = n.indexOf('.');  // 如果是小数,截取小数点前面的位数
358
+
359
+      if (indexpoint >= 0){
360
+
361
+        n = n.substring(0, indexpoint) + n.substr(indexpoint+1, 2);   // 若为小数,截取需要使用的unit单位
362
+      }
363
+
364
+      unit = unit.substr(unit.length - n.length);  // 若为整数,截取需要使用的unit单位
365
+      for (var i=0; i < n.length; i++){
366
+        str += "零壹贰叁肆伍陆柒捌玖".charAt(n.charAt(i)) + unit.charAt(i);  //遍历转化为大写的数字
367
+      }
368
+
369
+      this.zhongwen =  str.replace(/零(仟|佰|拾|角)/g, "零").replace(/(零)+/g, "零").replace(/零(万|亿|元)/g, "$1").replace(/(亿)万|壹(拾)/g, "$1$2").replace(/^元零?|零分/g, "").replace(/元$/g, "元整");
370
+      console.log(this.zhongwen)
371
+    },
372
+
198 373
   },
199
-  mounted(){
200
-    
374
+  watch:{
375
+    paramsObj:{//深度监听,可监听到对象、数组的变化
376
+      handler(val, oldVal){
377
+        let params = {
378
+          order_id: val.order_id,
379
+          patient_id: val.patient_id,
380
+          number: val.number,
381
+        }
382
+        this.getInvoice(params)
383
+
384
+      },
385
+      deep:true
386
+    }
201 387
   }
202 388
 }
203
-</script>
389
+</script>
390
+

+ 2 - 2
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue Wyświetl plik

@@ -190,7 +190,7 @@
190 190
             </el-table-column>
191 191
             <el-table-column align="center" prop="name" width="50" label="国家编码">
192 192
                 <template slot-scope="scope" v-if="scope.row.type==3">
193
-                    <el-input v-model="scope.row.good_info.social_security_directory_code"></el-input>
193
+                    <el-input v-model="scope.row.good_info.medical_insurance_number"></el-input>
194 194
                 </template>
195 195
                 <template slot-scope="scope" v-if="scope.row.type==2">
196 196
                     <el-input v-model="scope.row.project.medical_code"></el-input>
@@ -336,7 +336,7 @@
336 336
 
337 337
             this.efs = response.data.data.efs
338 338
             this.drugList = response.data.data.drugs
339
-           
339
+
340 340
           }
341 341
         })
342 342