Browse Source

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

csx 3 years ago
parent
commit
c0b27795cd

+ 7 - 3
src/xt_pages/outpatientDoctorStation/template/printThree.vue View File

@@ -256,11 +256,15 @@ export default {
256 256
         return project_name
257 257
      },
258 258
 
259
-     getDiagnosis(id){
259
+     getDiagnosis(ids){
260
+        let id = ids.split(',')
260 261
         var name = ""
261 262
         for(let i=0;i<this.diagnoses.length;i++){
262
-          if(id == this.diagnoses[i].id){
263
-             name = this.diagnoses[i].class_name
263
+          // if(id == this.diagnoses[i].id){
264
+          //    name = this.diagnoses[i].class_name
265
+          // }
266
+          if(id.indexOf(this.diagnoses[i].id.toString()) > -1){
267
+            name += this.diagnoses[i].class_name + ' '
264 268
           }
265 269
         }
266 270
         return name

+ 7 - 3
src/xt_pages/outpatientDoctorStation/treatTemplate/printTwo.vue View File

@@ -376,11 +376,15 @@ export default {
376 376
           }
377 377
        })
378 378
      },
379
-     getDiagnosis(id){
379
+     getDiagnosis(ids){
380
+        let id = ids.split(',')
380 381
         var name = ""
381 382
         for(let i=0;i<this.diagnoses.length;i++){
382
-          if(id == this.diagnoses[i].id){
383
-             name = this.diagnoses[i].class_name
383
+          // if(id == this.diagnoses[i].id){
384
+          //    name = this.diagnoses[i].class_name
385
+          // }
386
+          if(id.indexOf(this.diagnoses[i].id.toString()) > -1){
387
+            name += this.diagnoses[i].class_name + ' '
384 388
           }
385 389
         }
386 390
         return name

+ 1 - 1
src/xt_pages/stock/drugs/drugStockInOrderDetailPrint.vue View File

@@ -54,7 +54,7 @@
54 54
               <td style="line-height:18px">
55 55
                   <span>{{(item.warehousing_count * item.price).toFixed(2)}}</span>
56 56
               </td>
57
-              <td style="line-height:18px">{{ item.number }}</td>
57
+              <td style="line-height:18px">{{ item.batch_number }}</td>
58 58
               <td style="line-height:18px">{{ getTime(item.product_date,'{y}-{m}-{d}')}}</td>
59 59
               <td style="line-height:18px">{{ getTime(item.expiry_date,'{y}-{m}-{d}')}}</td>
60 60
               <td style="line-height:18px">正常<br>入库</td>