Browse Source

盘点单增加无数据提示

zhoudw 7 years ago
parent
commit
40e18178dc
1 changed files with 3 additions and 0 deletions
  1. 3 0
      frontend/saas-web/app/view/stock/inventory/EditDataList.js

+ 3 - 0
frontend/saas-web/app/view/stock/inventory/EditDataList.js

@@ -433,6 +433,9 @@ Ext.define('saas.view.stock.inventory.EditDataList', {
                         initId: intValue
                         initId: intValue
                     });
                     });
                 }
                 }
+                if(!localJson.data.outData && !localJson.data.inData){
+                    saas.util.BaseUtil.showErrorToast('没有需要生成的盘盈盘亏单');
+                }
             }
             }
         })
         })
         .catch(function(res) {
         .catch(function(res) {