diff --git a/components/buns-post-edit-templates/bpe-gooditem-edit-tmp.vue b/components/buns-post-edit-templates/bpe-gooditem-edit-tmp.vue index 887e88e..7695365 100644 --- a/components/buns-post-edit-templates/bpe-gooditem-edit-tmp.vue +++ b/components/buns-post-edit-templates/bpe-gooditem-edit-tmp.vue @@ -158,7 +158,8 @@ handleDelGood(index) { this.modelInfo.cargoList.splice(index, 1) }, - handleAddGood(item = { }) { + handleAddGood(item = { }) { + this.modelInfo.cargoList = this.modelInfo.cargoList || [] this.modelInfo.cargoList.push({ ...item }) diff --git a/pages/post/post.vue b/pages/post/post.vue index fc1a430..bca08f5 100644 --- a/pages/post/post.vue +++ b/pages/post/post.vue @@ -136,13 +136,13 @@ - + @@ -380,7 +380,12 @@ this.submitParam.intoWarehouseContact = item.contact this.submitParam.intoWarehousePhone = item.tel }, - + handleCstClrChange(val){ + if(val == 2){ + this.submitParam.dispatchMethod = 2 + } + + }, handleDialogClick(curModal){ curModal.show = true },