lilei 3 년 전
부모
커밋
fefb413b7e
2개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 1
      src/views/salesManagement/outboundOrder/detailModal.vue
  2. 1 1
      src/views/salesManagement/outboundOrder/list.vue

+ 2 - 1
src/views/salesManagement/outboundOrder/detailModal.vue

@@ -350,6 +350,7 @@ export default {
     // 取消
     handleCommonCancel () {
       this.$emit('cancel')
+      this.$refs.ruleForm.resetFields()
     }
   },
   watch: {
@@ -360,7 +361,7 @@ export default {
     //  重定义的弹框状态
     isShow (newValue, oldValue) {
       if (!newValue) {
-        this.$emit('cancel')
+        this.handleCommonCancel()
       }
     }
   }

+ 1 - 1
src/views/salesManagement/outboundOrder/list.vue

@@ -135,7 +135,7 @@
       </div>
     </a-modal>
     <!-- 发货信息 -->
-    <detailModal ref="detailModal" modalTit="发货信息" :openModal="showDetailModal" @ok="sendSuccess" @cancel="showDetailModal=false"></detailModal>
+    <detailModal ref="detailModal" modalTit="新增发货单" :openModal="showDetailModal" @ok="sendSuccess" @cancel="showDetailModal=false"></detailModal>
   </a-card>
 </template>