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(); });