Commit 6779cef8 authored by 吴志坤's avatar 吴志坤

基础信息和两个设备领用

parent 9ef7cde0
......@@ -216,7 +216,6 @@
import { add, listBasicInfo, updataInfo, getDetailById, deleteLogical } from '@/api/equipment/basicInfo'
import { parseTime } from '@/utils'
import { getDictData } from '@/api/equipment/application'
import { resetForm } from '@/utils/common'
export default {
name: 'BasicInfo',
data() {
......
......@@ -499,6 +499,7 @@ export default {
this.loadingDetail = false
this.openHandle = false
this.$message.success('操作成功')
this.queryParams.page = 1
this.getList()
}
})
......@@ -575,8 +576,6 @@ export default {
pn: undefined,
ptype: undefined,
pgx: undefined,
roleKey: undefined,
roleSort: 0,
flag: undefined,
menuIds: [],
menuName: undefined,
......@@ -660,6 +659,7 @@ export default {
deleteLogical(id).then(res => {
if (res.code === 200) {
this.$message.success('操作成功')
this.queryParams.page = 1
this.getList()
}
})
......
......@@ -424,7 +424,7 @@ export default {
pn: undefined,
lot: undefined,
plocation: undefined,
ptype: 1,
ptype: 2,
delFlag: 0
},
// 查询warehouse的参数
......@@ -499,6 +499,7 @@ export default {
this.loadingDetail = false
this.openHandle = false
this.$message.success('操作成功')
this.queryParams.page = 1
this.getList()
}
})
......@@ -575,8 +576,6 @@ export default {
pn: undefined,
ptype: undefined,
pgx: undefined,
roleKey: undefined,
roleSort: 0,
flag: undefined,
menuIds: [],
menuName: undefined,
......@@ -660,6 +659,7 @@ export default {
deleteLogical(id).then(res => {
if (res.code === 200) {
this.$message.success('操作成功')
this.queryParams.page = 1
this.getList()
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment