Browse Source

修改bug

chenrui 2 years ago
parent
commit
7f679ad630

+ 1 - 0
src/views/purchasingManagement/purchaseOrder/outStockModal.vue

@@ -181,6 +181,7 @@ export default {
       const _this = this
       if (!this.rowSelectionInfo || (this.rowSelectionInfo && this.rowSelectionInfo.selectedRowKeys.length < 1)) {
         this.$message.warning('请在列表勾选后再进行操作!')
+        return
       }
       const arr = []
       _this.rowSelectionInfo.selectedRows.forEach(item => {

+ 1 - 0
src/views/purchasingManagement/purchaseOrderNew/outStockModal.vue

@@ -185,6 +185,7 @@ export default {
       const _this = this
       if (!this.rowSelectionInfo || (this.rowSelectionInfo && this.rowSelectionInfo.selectedRowKeys.length < 1)) {
         this.$message.warning('请在列表勾选后再进行操作!')
+        return
       }
       const arr = []
       _this.rowSelectionInfo.selectedRows.forEach(item => {