Commit 942a6e9f authored by “lixuyan”'s avatar “lixuyan”

修改抽屉关不掉的问题

parent d73a0aba
...@@ -39,8 +39,10 @@ export default { ...@@ -39,8 +39,10 @@ export default {
} }
}, },
computed: {}, computed: {},
created() { mounted() {
// 初始化数据 this.$bus.$on('closeDrawer', () => {
this.$emit('cancel')
})
}, },
methods: { methods: {
createGenerate(v) { createGenerate(v) {
...@@ -53,9 +55,9 @@ export default { ...@@ -53,9 +55,9 @@ export default {
'assemblyStartTime': form.assemblyTime[0], 'assemblyStartTime': form.assemblyTime[0],
'assemblyEndTime': form.assemblyTime[1], 'assemblyEndTime': form.assemblyTime[1],
'jobNo': form.jobNo, 'jobNo': form.jobNo,
'soritesTypeId': form.soritesTypeId, 'soritesTypeId': form.soritesType,
'aircraftTypeId': form.aircraftTypeId, 'aircraftTypeId': form.aircraftTypeId,
'aircraftSortiesId': form.aircraftSortiesId 'aircraftSortiesId': form.aircraftSorties
} }
post(`/ORProduction/create`, params).then(res => { post(`/ORProduction/create`, params).then(res => {
const id = res.items.id const id = res.items.id
......
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