lilei 2 yıl önce
ebeveyn
işleme
6c8ae00e8e

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