给单据做限制,限制管理员录入
This commit is contained in:
@@ -347,6 +347,9 @@
|
||||
var oldAccount = "";
|
||||
|
||||
function addAccount() {
|
||||
if(checkPower()){
|
||||
return;
|
||||
}
|
||||
$('#accountDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/> 增加结算账户');
|
||||
$(".window-mask").css({width: webW, height: webH});
|
||||
$('#accountFM').form('clear');
|
||||
|
||||
@@ -442,6 +442,9 @@
|
||||
var oldDepot = "";
|
||||
|
||||
function addDepot() {
|
||||
if(checkPower()){
|
||||
return;
|
||||
}
|
||||
$('#depotDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/> 增加仓库信息');
|
||||
$(".window-mask").css({width: webW, height: webH});
|
||||
$('#depotFM').form('clear');
|
||||
|
||||
@@ -346,6 +346,9 @@
|
||||
var oldInOutItem = "";
|
||||
|
||||
function addInOutItem() {
|
||||
if(checkPower()){
|
||||
return;
|
||||
}
|
||||
$('#inOutItemDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/> 增加收支项目');
|
||||
$(".window-mask").css({width: webW, height: webH});
|
||||
$('#inOutItemFM').form('clear');
|
||||
|
||||
@@ -154,6 +154,9 @@
|
||||
});
|
||||
|
||||
function addOrganization() {
|
||||
if(checkPower()){
|
||||
return;
|
||||
}
|
||||
$('#OrganizationFM').form('clear');
|
||||
$('#organizationDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/> 增加机构信息');
|
||||
$(".window-mask").css({width: webW, height: webH});
|
||||
|
||||
@@ -374,6 +374,9 @@
|
||||
|
||||
//增加
|
||||
function addSerialNumber() {
|
||||
if(checkPower()){
|
||||
return;
|
||||
}
|
||||
$('#serialNumberDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/> 增加序列号信息');
|
||||
$(".window-mask").css({width: webW, height: webH});
|
||||
$('#materialId').val('');
|
||||
|
||||
@@ -298,6 +298,9 @@
|
||||
var pageTotal = 0; //数据总量
|
||||
|
||||
function addSystemConfig() {
|
||||
if(checkPower()){
|
||||
return;
|
||||
}
|
||||
if(pageTotal>=1) {
|
||||
$.messager.alert('提示', '只能填写一条系统配置信息', 'warning');
|
||||
} else {
|
||||
|
||||
@@ -319,6 +319,9 @@
|
||||
var oldUnit = "";
|
||||
|
||||
function addUnit() {
|
||||
if(checkPower()){
|
||||
return;
|
||||
}
|
||||
$('#unitDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/> 增加计量单位');
|
||||
$(".window-mask").css({width: webW, height: webH});
|
||||
$('#unitFM').form('clear');
|
||||
|
||||
@@ -359,6 +359,9 @@
|
||||
var oldLoginName = "";
|
||||
|
||||
function addUser() {
|
||||
if(checkPower()){
|
||||
return;
|
||||
}
|
||||
$('#userDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/> 增加用户');
|
||||
$(".window-mask").css({width: webW, height: webH});
|
||||
$('#usernameFM').form('clear');
|
||||
|
||||
@@ -1107,6 +1107,9 @@
|
||||
}
|
||||
|
||||
function addMaterial() {
|
||||
if(checkPower()){
|
||||
return;
|
||||
}
|
||||
$('#materialFM input').val(""); //将输入框全部清空
|
||||
|
||||
bindMProperty(); //根据商品属性绑定
|
||||
|
||||
@@ -329,6 +329,9 @@
|
||||
var oldPerson = "";
|
||||
|
||||
function addPerson() {
|
||||
if(checkPower()){
|
||||
return;
|
||||
}
|
||||
$('#personFM').form('clear');
|
||||
$('#personDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/> 增加经手人信息');
|
||||
$(".window-mask").css({width: webW, height: webH});
|
||||
|
||||
Reference in New Issue
Block a user