lilei 3 vuotta sitten
vanhempi
commit
fefb413b7e

+ 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>