Explorar el Código

盘点单增加无数据提示

zhoudw hace 7 años
padre
commit
40e18178dc
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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) {