瀏覽代碼

bug 修复

lilei 2 年之前
父節點
當前提交
6c8ae00e8e
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 0
      src/views/common/commonModal.vue
  2. 1 1
      src/views/purchasingManagement/purchaseReturnApplyForm/edit.vue

+ 1 - 0
src/views/common/commonModal.vue

@@ -66,6 +66,7 @@ export default {
     // 取消
     handleCommonCancel () {
       this.$emit('cancel')
+      this.$emit('close')
     }
   },
   watch: {

+ 1 - 1
src/views/purchasingManagement/purchaseReturnApplyForm/edit.vue

@@ -205,7 +205,7 @@
       @ok="hanldeImprotOk" />
 
     <!-- 批量设置退货原因 -->
-    <commonModal modalTit="批量设置退货原因" :openModal="showPlModal" @cancel="showPlModal=false" @ok="setPlReturnReason">
+    <commonModal modalTit="批量设置退货原因" :openModal="showPlModal" @close="showPlModal=false" @ok="setPlReturnReason">
       <div style="text-align: center;">
         <div style="margin-bottom: 15px;font-size: 14px;"><strong>请输入退货原因</strong></div>
         <div style="line-height: 24px;">