瀏覽代碼

提交代码

陈少旭 1 年之前
父節點
當前提交
2d0780320e
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      src/xt_pages/outpatientDoctorStation/doctorDesk.vue

+ 5 - 0
src/xt_pages/outpatientDoctorStation/doctorDesk.vue 查看文件

115
 
115
 
116
           </el-tabs>
116
           </el-tabs>
117
           <div class="mainCell fixedCell" style="float:right" v-if="titleType == '电子处方'">
117
           <div class="mainCell fixedCell" style="float:right" v-if="titleType == '电子处方'">
118
+            <el-button v-if="org_id == 10206" size="small" ref="button_three" @click="open_four()" type="primary">刷新库存</el-button>
118
             <el-button size="small" ref="button_one" @click="open(1)" type="primary"
119
             <el-button size="small" ref="button_one" @click="open(1)" type="primary"
119
                        v-loading="saveLoading">保存
120
                        v-loading="saveLoading">保存
120
             </el-button>
121
             </el-button>
641
   },
642
   },
642
 
643
 
643
   methods: {
644
   methods: {
645
+    open_four(){
646
+      this.$refs.prescriptions.getZuobiaoGoodStock()
647
+      this.$refs.prescriptions.getZuobiaoDrugStock()
648
+    },
644
     getSunziValue(val) {
649
     getSunziValue(val) {
645
       //  this.drugs=[]
650
       //  this.drugs=[]
646
       this.getInitData()
651
       this.getInitData()