商品信息管理 护理站
This commit is contained in:
parent
772fe170e9
commit
db76651c5b
@ -474,7 +474,7 @@
|
|||||||
:total="total2"
|
:total="total2"
|
||||||
:page.sync="getListByUserquery.pageNum"
|
:page.sync="getListByUserquery.pageNum"
|
||||||
:limit.sync="getListByUserquery.pageSize"
|
:limit.sync="getListByUserquery.pageSize"
|
||||||
@pagination="info"
|
@pagination="handleQuery2"
|
||||||
/>
|
/>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
@ -563,7 +563,10 @@ export default {
|
|||||||
id: null,
|
id: null,
|
||||||
whetherShelf: null,
|
whetherShelf: null,
|
||||||
},
|
},
|
||||||
|
getListByUserquery: {
|
||||||
|
pageNum: 1,
|
||||||
|
pageSize: 10,
|
||||||
|
},
|
||||||
queryParams: {
|
queryParams: {
|
||||||
id: null,
|
id: null,
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
@ -585,8 +588,6 @@ export default {
|
|||||||
getListByUserquery: {
|
getListByUserquery: {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
// nurseStationCode:"",
|
|
||||||
// nurseStationId:"",
|
|
||||||
},
|
},
|
||||||
// 表单参数
|
// 表单参数
|
||||||
form: {
|
form: {
|
||||||
@ -839,10 +840,13 @@ export default {
|
|||||||
},
|
},
|
||||||
/** 修改按钮操作 */
|
/** 修改按钮操作 */
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
// this.nurseStationId = row.id;
|
|
||||||
this.reset();
|
this.reset();
|
||||||
const id = row.goodsInfoId || this.ids;
|
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) => {
|
getGoodsInfo(id).then((response) => {
|
||||||
this.form = response.data[0];
|
this.form = response.data[0];
|
||||||
this.imgone = this.form.goodsPictureUrl;
|
this.imgone = this.form.goodsPictureUrl;
|
||||||
@ -867,6 +871,7 @@ export default {
|
|||||||
this.form.id = this.form.goodsInfoId;
|
this.form.id = this.form.goodsInfoId;
|
||||||
updateGoodsInfo(this.form).then((response) => {
|
updateGoodsInfo(this.form).then((response) => {
|
||||||
this.$modal.msgSuccess("修改成功");
|
this.$modal.msgSuccess("修改成功");
|
||||||
|
|
||||||
this.open = false;
|
this.open = false;
|
||||||
this.getList();
|
this.getList();
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user