瀏覽代碼

盘点单增加无数据提示

zhoudw 7 年之前
父節點
當前提交
40e18178dc
共有 1 個文件被更改,包括 3 次插入0 次删除
  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
                     });
                 }
+                if(!localJson.data.outData && !localJson.data.inData){
+                    saas.util.BaseUtil.showErrorToast('没有需要生成的盘盈盘亏单');
+                }
             }
         })
         .catch(function(res) {