lilei 2 роки тому
батько
коміт
f7225fd2dc

+ 7 - 0
src/views/purchasingManagement/purchaseReturnApplyForm/edit.vue

@@ -298,6 +298,13 @@ export default {
       showPlModal: false
     }
   },
+  watch: {
+    showPlModal(newValue, oldValue) {
+      if(!newValue){
+        this.plReturnReason = ''
+      }
+    }
+  },
   computed: {
     selNums () {
       return this.rowSelectionInfo && this.rowSelectionInfo.selectedRowKeys.length || 0