删除物资时显示物资名称和数量,前端样式调整

main
15036302109 7 months ago
parent 6dfd237020
commit 88ca8e3c88

@ -621,7 +621,6 @@
},
/** 查询物资信息包含 通用应急救援装备”“防汛抗旱应急救援装备”“森林防灭火应急救援装备”“救灾物资”列表 */
getList() {
console.log("111111111111");
this.loading = true;
listEhsMaterial(this.queryParams).then(response => {
this.ehsMaterialList = response.rows;
@ -802,7 +801,9 @@
/** 删除按钮操作 */
handleDelete(row) {
const materialIds = row.materialId || this.ids;
this.$modal.confirm('是否确认删除物资信息' + materialIds + '"的数据项?').then(function() {
const materialName = row.materialName;
const materialQuantity = row.materialQuantity;
this.$modal.confirm('是否确认删除物资名称:' + materialName + ',物资数量:'+ materialQuantity +'的数据项?').then(function() {
return delEhsMaterial(materialIds);
}).then(() => {
this.getList();

Loading…
Cancel
Save