From b073a45809bb6f3648b11c9cc67a47eefcf2b1d7 Mon Sep 17 00:00:00 2001 From: shidongli Date: Mon, 14 Nov 2022 14:39:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E4=BF=A1=E6=81=AF=E7=AE=A1?= =?UTF-8?q?=E7=90=86=20=20=E6=89=80=E5=B1=9E=E6=8A=A4=E7=90=86=E7=AB=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/OperateGoodsInfo/index.vue | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/views/system/OperateGoodsInfo/index.vue b/src/views/system/OperateGoodsInfo/index.vue index 0760fdb..4abc841 100644 --- a/src/views/system/OperateGoodsInfo/index.vue +++ b/src/views/system/OperateGoodsInfo/index.vue @@ -431,7 +431,7 @@ @@ -588,7 +588,9 @@ export default { pageSize: 10, }, // 表单参数 - form: {}, + form: { + nurseStationId:null, + }, // 表单校验 rules: { goodsName: [ @@ -728,9 +730,9 @@ export default { this.innerVisible = true; }, nurseclick(row) { - console.log(this.form); + // console.log(this.form); console.log(row); - this.nurseStationId = row.id; + this.form.nurseStationId = row.id; this.StationName = row.nurseStationName; this.innerVisible = false; }, @@ -839,6 +841,7 @@ export default { }, /** 修改按钮操作 */ handleUpdate(row) { + // this.nurseStationId = row.id; this.reset(); const id = row.goodsInfoId || this.ids; this.StationName = row.nurseStationName; @@ -961,6 +964,7 @@ export default { this.total2 = res.total; this.nurseStationlist = res.rows; this.queryParams.nurseStationId = res.rows[0].id; + this.form.nurseStationId = res.rows[0].id; this.handleQuery(); } });