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

基础信息和两个设备领用

parent 9ef7cde0
...@@ -216,7 +216,6 @@ ...@@ -216,7 +216,6 @@
import { add, listBasicInfo, updataInfo, getDetailById, deleteLogical } from '@/api/equipment/basicInfo' import { add, listBasicInfo, updataInfo, getDetailById, deleteLogical } from '@/api/equipment/basicInfo'
import { parseTime } from '@/utils' import { parseTime } from '@/utils'
import { getDictData } from '@/api/equipment/application' import { getDictData } from '@/api/equipment/application'
import { resetForm } from '@/utils/common'
export default { export default {
name: 'BasicInfo', name: 'BasicInfo',
data() { data() {
......
...@@ -499,6 +499,7 @@ export default { ...@@ -499,6 +499,7 @@ export default {
this.loadingDetail = false this.loadingDetail = false
this.openHandle = false this.openHandle = false
this.$message.success('操作成功') this.$message.success('操作成功')
this.queryParams.page = 1
this.getList() this.getList()
} }
}) })
...@@ -575,8 +576,6 @@ export default { ...@@ -575,8 +576,6 @@ export default {
pn: undefined, pn: undefined,
ptype: undefined, ptype: undefined,
pgx: undefined, pgx: undefined,
roleKey: undefined,
roleSort: 0,
flag: undefined, flag: undefined,
menuIds: [], menuIds: [],
menuName: undefined, menuName: undefined,
...@@ -660,6 +659,7 @@ export default { ...@@ -660,6 +659,7 @@ export default {
deleteLogical(id).then(res => { deleteLogical(id).then(res => {
if (res.code === 200) { if (res.code === 200) {
this.$message.success('操作成功') this.$message.success('操作成功')
this.queryParams.page = 1
this.getList() this.getList()
} }
}) })
......
...@@ -424,7 +424,7 @@ export default { ...@@ -424,7 +424,7 @@ export default {
pn: undefined, pn: undefined,
lot: undefined, lot: undefined,
plocation: undefined, plocation: undefined,
ptype: 1, ptype: 2,
delFlag: 0 delFlag: 0
}, },
// 查询warehouse的参数 // 查询warehouse的参数
...@@ -499,6 +499,7 @@ export default { ...@@ -499,6 +499,7 @@ export default {
this.loadingDetail = false this.loadingDetail = false
this.openHandle = false this.openHandle = false
this.$message.success('操作成功') this.$message.success('操作成功')
this.queryParams.page = 1
this.getList() this.getList()
} }
}) })
...@@ -575,8 +576,6 @@ export default { ...@@ -575,8 +576,6 @@ export default {
pn: undefined, pn: undefined,
ptype: undefined, ptype: undefined,
pgx: undefined, pgx: undefined,
roleKey: undefined,
roleSort: 0,
flag: undefined, flag: undefined,
menuIds: [], menuIds: [],
menuName: undefined, menuName: undefined,
...@@ -660,6 +659,7 @@ export default { ...@@ -660,6 +659,7 @@ export default {
deleteLogical(id).then(res => { deleteLogical(id).then(res => {
if (res.code === 200) { if (res.code === 200) {
this.$message.success('操作成功') this.$message.success('操作成功')
this.queryParams.page = 1
this.getList() 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