From db76651c5b9742cba9841370fdd575678cde26f5 Mon Sep 17 00:00:00 2001 From: shidongli Date: Tue, 15 Nov 2022 17:38:42 +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=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 | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/src/views/system/OperateGoodsInfo/index.vue b/src/views/system/OperateGoodsInfo/index.vue index 5900d5f..3312d5a 100644 --- a/src/views/system/OperateGoodsInfo/index.vue +++ b/src/views/system/OperateGoodsInfo/index.vue @@ -474,7 +474,7 @@ :total="total2" :page.sync="getListByUserquery.pageNum" :limit.sync="getListByUserquery.pageSize" - @pagination="info" + @pagination="handleQuery2" /> @@ -563,7 +563,10 @@ export default { id: null, whetherShelf: null, }, - + getListByUserquery: { + pageNum: 1, + pageSize: 10, + }, queryParams: { id: null, pageNum: 1, @@ -585,8 +588,6 @@ export default { getListByUserquery: { pageNum: 1, pageSize: 10, - // nurseStationCode:"", - // nurseStationId:"", }, // 表单参数 form: { @@ -839,10 +840,13 @@ export default { }, /** 修改按钮操作 */ handleUpdate(row) { - // this.nurseStationId = row.id; this.reset(); const id = row.goodsInfoId || this.ids; - this.StationName = row.nurseStationName; + this.StationName = row.nurseStationName; + if(this.StationName == null){ + this.StationName = "请选择所属护理站"; + } + console.log(this.StationName) getGoodsInfo(id).then((response) => { this.form = response.data[0]; this.imgone = this.form.goodsPictureUrl; @@ -867,6 +871,7 @@ export default { this.form.id = this.form.goodsInfoId; updateGoodsInfo(this.form).then((response) => { this.$modal.msgSuccess("修改成功"); + this.open = false; this.getList(); });