Quellcode durchsuchen

11月14日 库存扣减更新

XMLWAN vor 3 Jahren
Ursprung
Commit
216c6c7b2a

+ 2 - 2
src/views/layout/Layout.vue Datei anzeigen

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

+ 2 - 2
src/xt_pages/outpatientDoctorStation/pastInquiries.vue Datei anzeigen

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

+ 2 - 2
src/xt_pages/stock/detail/print.vue Datei anzeigen

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

+ 1 - 1
src/xt_pages/stock/detail/stockOutDetail.vue Datei anzeigen

755
           this.tableOut[i].total_price = (this.tableOut[i].count * this.tableOut[i].buy_price).toFixed(2)
755
           this.tableOut[i].total_price = (this.tableOut[i].count * this.tableOut[i].buy_price).toFixed(2)
756
           this.tableOut[i].packing_price = this.tableOut[i].buy_price
756
           this.tableOut[i].packing_price = this.tableOut[i].buy_price
757
         }else{
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
         this.tableOut[i].out_count = this.getStockCount(this.tableOut[i].good_id)
760
         this.tableOut[i].out_count = this.getStockCount(this.tableOut[i].good_id)
761
        }
761
        }