jinhui.wang

bug修正

......@@ -135,14 +135,14 @@ export default {
del(val) {
getReleaseWeight({ id: val.id }).then(res => {
if (res.code === 200) {
this.$confirm("是否要删除记录!", "注意!", {
this.$confirm(`是否要删除记录!预计释放舱位${res.data}`, "注意!", {
confirmButtonText: "确定",
cancelButtonText: '取消',
type: "warning",
}).then(() => {
changeStatusById({ id: val.id, status: 2 }).then(res => {
if (res.code === 200) {
this.msgSuccess(`删除成功!释放舱位${res.data}`)
this.msgSuccess(`删除成功!释放舱位${res.data}`)
this.selection(1)
} else {
this.msgWarning(res.msg)
......@@ -207,7 +207,7 @@ export default {
changeStatusById(val).then(res => {
if (res.code === 200) {
if (val.tip == '停用') {
this.msgSuccess(`${val.tip}成功!释放${res.data}`)
this.msgSuccess(`${val.tip}成功!释放${res.data}`)
} else {
this.msgSuccess(`${val.tip}成功!`)
}
......