Kaynağa Gözat

11月14日 库存扣减更新

XMLWAN 3 yıl önce
ebeveyn
işleme
216c6c7b2a

+ 2 - 2
src/views/layout/Layout.vue Dosyayı Görüntüle

@@ -17,10 +17,10 @@
17 17
           <p>透析管理</p>
18 18
         </div>
19 19
 
20
-        <div v-if="caigouShow" :class="index == 5 ? 'navOne navActive' : 'navOne'" @click="clickActive(5,'采购管理')">
20
+        <!-- <div v-if="caigouShow" :class="index == 5 ? 'navOne navActive' : 'navOne'" @click="clickActive(5,'采购管理')">
21 21
           <i class="iconfont icon-kccx navIcon"></i>
22 22
           <p>采购管理</p>
23
-        </div>
23
+        </div> -->
24 24
         
25 25
         <div v-if="kucunShow" :class="index == 3 ? 'navOne navActive' : 'navOne'" @click="clickActive(3,'库房管理')">
26 26
           <i class="iconfont icon-kccx navIcon"></i>

+ 2 - 2
src/xt_pages/outpatientDoctorStation/pastInquiries.vue Dosyayı Görüntüle

@@ -14,9 +14,9 @@
14 14
                         format="yyyy-MM-dd"
15 15
                         value-format="yyyy-MM-dd"
16 16
                         placeholder="选择日期时间" align="right"></el-date-picker>
17
-        <el-button size="small" style="margin:0 10px;" class="filter-item" type="primary" @click="batchPrint(1)">处方筏批量打印</el-button>
17
+        <!-- <el-button size="small" style="margin:0 10px;" class="filter-item" type="primary" @click="batchPrint(1)">处方筏批量打印</el-button>
18 18
         <el-button size="small" style="margin:0 10px;" class="filter-item" type="primary" @click="batchPrint(2)">治疗单批量打印</el-button>
19
-        <el-button size="small" style="margin:0 10px;" class="filter-item" type="primary" @click="batchPrint(3)">检验单批量打印</el-button>
19
+        <el-button size="small" style="margin:0 10px;" class="filter-item" type="primary" @click="batchPrint(3)">检验单批量打印</el-button> -->
20 20
       </div>
21 21
       <el-table :data="tableData" border ref="table" style="width: 100%;" :row-style="{ color: '#303133' }" @selection-change="handleSelectionChange"
22 22
                 :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>

+ 2 - 2
src/xt_pages/stock/detail/print.vue Dosyayı Görüntüle

@@ -52,7 +52,7 @@
52 52
                 <span v-if="type == 1"> {{ item.warehousing_count }}</span>
53 53
                 <span v-if="type == 2"> 
54 54
                   <span  v-if= "org_id == 3907 || org_id == 9919 || org_id == 9583">{{getStockCount(item.good_id) }}</span>  
55
-                  <span v-else>{{item.count}}</span>
55
+                  <span v-else>{{getStockCount(item.good_id) }}</span>
56 56
                 </span>
57 57
                
58 58
                 <span v-if="type == 4"> {{ item.count }}</span>
@@ -76,7 +76,7 @@
76 76
                   <span v-if="org_id == 3907 || org_id ==9919 || org_id == 9671">
77 77
                      {{(getStockCount(item.good_id) * item.buy_price).toFixed(2) }}
78 78
                   </span>
79
-                  <span v-else>{{(item.count * item.packing_price).toFixed(2)}}</span>
79
+                  <span v-else>{{(getStockCount(item.good_id) * item.packing_price).toFixed(2)}}</span>
80 80
                 </span>
81 81
                 <span v-if="type == 4">{{(item.count * item.price).toFixed(2)}}</span>
82 82
               </td>

+ 1 - 1
src/xt_pages/stock/detail/stockOutDetail.vue Dosyayı Görüntüle

@@ -755,7 +755,7 @@ export default {
755 755
           this.tableOut[i].total_price = (this.tableOut[i].count * this.tableOut[i].buy_price).toFixed(2)
756 756
           this.tableOut[i].packing_price = this.tableOut[i].buy_price
757 757
         }else{
758
-          this.tableOut[i].total_price = (this.tableOut[i].count * this.tableOut[i].retail_price).toFixed(2)
758
+          this.tableOut[i].total_price = (this.getStockCount(this.tableOut[i].good_id) * this.tableOut[i].retail_price).toFixed(2)
759 759
         }
760 760
         this.tableOut[i].out_count = this.getStockCount(this.tableOut[i].good_id)
761 761
        }