XMLWAN пре 2 година
родитељ
комит
e7564ab529
1 измењених фајлова са 8 додато и 4 уклоњено
  1. 8 4
      src/xt_pages/stock/drugs/drugStockOutOrderDetailPrint.vue

+ 8 - 4
src/xt_pages/stock/drugs/drugStockOutOrderDetailPrint.vue Прегледај датотеку

@@ -7,7 +7,7 @@
7 7
     </div>
8 8
     <div class="app-container ">
9 9
       <div id="dialysis-print-box">
10
-        <div v-if="org_id!=9671 && org_id!=10210">
10
+        <div v-if="orgId!=9671 && orgId!=10210">
11 11
         <div class="dialysis-print-order" v-for="(it,index) in tableList" :key="index">
12 12
          <div class="order-yy-name" style="font-size:22px;font-weight:bold;letter-spacing:0px;margin-top:40px">{{orgName}}</div>
13 13
           <div class="order-title" style="font-weight:500;font-size:18px;">药品出库登记表</div>
@@ -78,7 +78,7 @@
78 78
       </div> 
79 79
 
80 80
 
81
-      <div v-if="org_id == 9671 || org_id == 10210">
81
+      <div v-if="orgId == 9671 || orgId == 10210">
82 82
        <div class="dialysis-print-order" v-for="(it,index) in tableData" :key="index" >
83 83
          <div class="order-yy-name" style="font-size:22px;font-weight:bold;letter-spacing:0px;margin-top:40px">{{orgName}}</div>
84 84
           <div class="order-title" style="font-weight:500;font-size:18px;">药品出库登记表</div>
@@ -117,7 +117,11 @@
117 117
                   {{item.price}}
118 118
               </td>
119 119
              <td  style="line-height:50px">
120
-                {{(item.count * item.price).toFixed(2)}}
120
+                <span v-if="item.count_unit == item.min_unit">
121
+                   {{(item.count/item.min_number * item.price).toFixed(2)}}
122
+                </span>
123
+                <span v-else> {{(item.count * item.price).toFixed(2)}}</span>
124
+               
121 125
              </td>
122 126
              <td>{{item.batch_number}}</td>
123 127
              <td>{{(getTime(item.product_date))}}</td>
@@ -401,7 +405,7 @@
401 405
             var manufacturerList = response.data.data.manufacturerList
402 406
            
403 407
             this.manufactureList = manufacturerList
404
-
408
+            console.log("nfo32323223323223232323",info)
405 409
             this.tableList = info
406 410
             this.tableData = response.data.data.drug_warhouse_out
407 411
             this.loading = false