商品信息管理 护理站

This commit is contained in:
shidongli 2022-11-15 17:38:42 +08:00
parent 772fe170e9
commit db76651c5b

View File

@ -474,7 +474,7 @@
:total="total2"
:page.sync="getListByUserquery.pageNum"
:limit.sync="getListByUserquery.pageSize"
@pagination="info"
@pagination="handleQuery2"
/>
</el-dialog>
</div>
@ -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();
});