Sfoglia il codice sorgente

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

csx 3 anni fa
parent
commit
c0b27795cd

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

256
         return project_name
256
         return project_name
257
      },
257
      },
258
 
258
 
259
-     getDiagnosis(id){
259
+     getDiagnosis(ids){
260
+        let id = ids.split(',')
260
         var name = ""
261
         var name = ""
261
         for(let i=0;i<this.diagnoses.length;i++){
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
         return name
270
         return name

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

376
           }
376
           }
377
        })
377
        })
378
      },
378
      },
379
-     getDiagnosis(id){
379
+     getDiagnosis(ids){
380
+        let id = ids.split(',')
380
         var name = ""
381
         var name = ""
381
         for(let i=0;i<this.diagnoses.length;i++){
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
         return name
390
         return name

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

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