商品信息管理 所属护理站

This commit is contained in:
shidongli 2022-11-14 14:39:33 +08:00
parent eb8b01c657
commit b073a45809

View File

@ -431,7 +431,7 @@
<el-button
type="primary"
style="width: 15px; height: 15px"
v-if="nurseStationId == scope.row.id"
v-if="form.nurseStationId == scope.row.id"
circle
@click="nurseclick(scope.row)"
></el-button>
@ -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();
}
});