diff --git a/src/views/emis/emisWaybillAttachment/BigTransClearAttachList.vue b/src/views/emis/emisWaybillAttachment/BigTransClearAttachList.vue index f4a6dc37..b0e86c3b 100644 --- a/src/views/emis/emisWaybillAttachment/BigTransClearAttachList.vue +++ b/src/views/emis/emisWaybillAttachment/BigTransClearAttachList.vue @@ -15,7 +15,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + --> - - - - - - - - @@ -214,11 +157,11 @@ import { listEmisWaybillAttachment, getEmisWaybillAttachment, delEmisWaybillAttachment, addEmisWaybillAttachment, updateEmisWaybillAttachment } from "@/api/emis/emisWaybillAttachment"; import elDateSimplePicker from '@/components/DatePickerAdv/elDateSimplePicker'; import emisWaybillAttachmentView from '@/views/emis/emisWaybillAttachment/emisWaybillAttachmentView'; -import emisWaybillAttachmentForm from '@/views/emis/emisWaybillAttachment/emisWaybillAttachmentForm'; +import BigTransClearAttachForm from '@/views/emis/emisWaybillAttachment/BigTransClearAttachForm'; export default { name: "emisWaybillAttachment", - components: { elDateSimplePicker,emisWaybillAttachmentView,emisWaybillAttachmentForm }, + components: { elDateSimplePicker,emisWaybillAttachmentView,BigTransClearAttachForm }, dicts: [ ], data() { @@ -370,18 +313,9 @@ export default { }, /** 修改按钮操作 */ handleUpdate(row) { - this.reset(); - const id = row.id || this.ids - getEmisWaybillAttachment(id).then(response => { - this.form = response.data; - this.open = true; - this.title = "修改"; - }); - - // 子组件打开模式 - // this.currentId= row.id || this.ids; - // this.openEmisWaybillAttachment = true; - // this.titleEmisWaybillAttachment = "修改"; + this.currentId= row.id || this.ids; + this.openForm = true; + this.titleForm = "编辑"; }, handleView(row) {