Kaynağa Gözat

提交代码

陈少旭 10 ay önce
ebeveyn
işleme
3e3454222f

+ 39 - 2
src/xt_pages/outpatientCharges/chargeDetailManagement.vue Dosyayı Görüntüle

@@ -215,6 +215,18 @@
215 215
                           </el-option>
216 216
                         </el-select>
217 217
 
218
+                        <label>
219
+                          就诊类型:
220
+                        </label>
221
+                        <el-select filterable v-model="charge_type" placeholder="请选择就诊类型">
222
+                          <el-option
223
+                            v-for="(item,index) in register"
224
+                            :key="index"
225
+                            :label="item.label"
226
+                            :value="item.value">
227
+                          </el-option>
228
+                        </el-select>
229
+
218 230
                       </div>
219 231
 
220 232
                       <!--<prescription-table :preTableData='preTableData'></prescription-table>-->
@@ -244,6 +256,28 @@
244 256
       </div>
245 257
     </div>
246 258
 
259
+    <el-dialog
260
+      title="提示"
261
+      :visible.sync="dialogVisible"
262
+      width="30%"
263
+    >
264
+      <el-select
265
+                 style="width:50%;" v-model="charge_type"
266
+                 placeholder="上传费用类型" >
267
+        <el-option
268
+          v-for="(item,index) in register"
269
+          :key="index"
270
+          :label="item.label"
271
+          :value="item.value">
272
+        </el-option>
273
+      </el-select>
274
+
275
+      <span slot="footer" class="dialog-footer">
276
+                <el-button @click="dialogVisible = false">取 消</el-button>
277
+                <el-button type="primary" @click="comfirmChangeMedType">确 定</el-button>
278
+             </span>
279
+    </el-dialog>
280
+
247 281
   </div>
248 282
 
249 283
 </template>
@@ -269,13 +303,15 @@ export default {
269 303
   },
270 304
   data() {
271 305
     return {
306
+      dialogVisible:false,
307
+      charge_type:1,
272 308
       isloading: false,
273 309
       isdisabled: false,
274 310
       register: [
275
-        { value: 11, label: '普通门诊' },
311
+        { value: 1, label: '门诊' },
276 312
         // { value: 12, label: '门诊挂号' },
277 313
         // { value: 13, label: '急诊' },
278
-        { value: 14, label: '门诊慢性病' }
314
+        { value: 2, label: '住院' }
279 315
         // { value: 15, label: '门诊统筹' },
280 316
         // { value: 16, label: '门诊慢性病' },
281 317
         // { value: 21, label: '普通住院' }
@@ -739,6 +775,7 @@ export default {
739 775
           sick_type: this.sick_type,
740 776
           settle_type: this.activeName,
741 777
           p_id:id,
778
+          charge_type:this.charge_type,
742 779
         }
743 780
         if (this.activeName == "first"){
744 781
           obj['settle_accounts_type'] = 2