Authored by htoooth

fix

@@ -99,6 +99,7 @@ @@ -99,6 +99,7 @@
99 this.showLoading = true; 99 this.showLoading = true;
100 this.invoiceService.sendOrder(params).then((result) => { 100 this.invoiceService.sendOrder(params).then((result) => {
101 if (result.code === 200) { 101 if (result.code === 200) {
  102 + this.$emit('on-success');
102 this.$Message.info('发货成功'); 103 this.$Message.info('发货成功');
103 } else { 104 } else {
104 this.$Message.error('发货失败'); 105 this.$Message.error('发货失败');
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
17 </Table> 17 </Table>
18 </layout-list> 18 </layout-list>
19 19
20 - <send-modal :context="self" ref="sendModal"></send-modal> 20 + <send-modal :context="self" ref="sendModal" @on-success="getGoods"></send-modal>
21 </layout-body> 21 </layout-body>
22 </template> 22 </template>
23 23