From 3e1b7163b016ad56539cd8b787eeb3b2b5f4a0e0 Mon Sep 17 00:00:00 2001 From: czx <28353131@qq.com> Date: Mon, 30 Nov 2020 11:38:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B6=E8=B4=B9=E5=BC=B9=E5=87=BA=E5=B1=82?= =?UTF-8?q?=E5=85=B3=E8=81=94=E9=80=89=E6=8B=A9=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/fantang/prepayment/index.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ruoyi-ui/src/views/fantang/prepayment/index.vue b/ruoyi-ui/src/views/fantang/prepayment/index.vue index 69a1e23e8..e4f0b1f6c 100644 --- a/ruoyi-ui/src/views/fantang/prepayment/index.vue +++ b/ruoyi-ui/src/views/fantang/prepayment/index.vue @@ -135,8 +135,8 @@ /> - - + + - - + + @@ -170,6 +170,7 @@ v-model="formAddPrepayment.prepaidAt" type="date" value-format="yyyy-MM-dd" + readonly placeholder="选择预付费时间"> @@ -246,9 +247,6 @@ formAddPrepayment: {}, // 表单校验 rules: { - patientId: [ - {required: true, message: "病人id不能为空", trigger: "blur"} - ], prepaid: [ {required: true, message: "预付费金额不能为空", trigger: "blur"} ], @@ -332,6 +330,7 @@ // 处理自动查询列表选择的事件 handleSelect(item) { + this.formAddPrepayment.name = item.name; console.log(item); }, @@ -366,7 +365,7 @@ settlementId: null, settlementFlag: null, prepaid: null, - prepaidAt: null + prepaidAt: new Date() }; this.resetForm("form"); }, @@ -389,6 +388,7 @@ /** 新增按钮操作 */ handleAdd() { this.reset(); + this.formAddPrepayment.pre this.open = true; this.title = "添加收费管理"; },