jinhui.wang

bug修正

...@@ -135,14 +135,14 @@ export default { ...@@ -135,14 +135,14 @@ export default {
135 del(val) { 135 del(val) {
136 getReleaseWeight({ id: val.id }).then(res => { 136 getReleaseWeight({ id: val.id }).then(res => {
137 if (res.code === 200) { 137 if (res.code === 200) {
138 - this.$confirm("是否要删除记录!", "注意!", { 138 + this.$confirm(`是否要删除记录!预计释放舱位${res.data}`, "注意!", {
139 confirmButtonText: "确定", 139 confirmButtonText: "确定",
140 cancelButtonText: '取消', 140 cancelButtonText: '取消',
141 type: "warning", 141 type: "warning",
142 }).then(() => { 142 }).then(() => {
143 changeStatusById({ id: val.id, status: 2 }).then(res => { 143 changeStatusById({ id: val.id, status: 2 }).then(res => {
144 if (res.code === 200) { 144 if (res.code === 200) {
145 - this.msgSuccess(`删除成功!释放舱位${res.data}`) 145 + this.msgSuccess(`删除成功!释放舱位${res.data}`)
146 this.selection(1) 146 this.selection(1)
147 } else { 147 } else {
148 this.msgWarning(res.msg) 148 this.msgWarning(res.msg)
...@@ -207,7 +207,7 @@ export default { ...@@ -207,7 +207,7 @@ export default {
207 changeStatusById(val).then(res => { 207 changeStatusById(val).then(res => {
208 if (res.code === 200) { 208 if (res.code === 200) {
209 if (val.tip == '停用') { 209 if (val.tip == '停用') {
210 - this.msgSuccess(`${val.tip}成功!释放${res.data}`) 210 + this.msgSuccess(`${val.tip}成功!释放${res.data}`)
211 } else { 211 } else {
212 this.msgSuccess(`${val.tip}成功!`) 212 this.msgSuccess(`${val.tip}成功!`)
213 } 213 }
......