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