Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
9fff3f2a
Commit
9fff3f2a
authored
Feb 19, 2019
by
乾坤平台
Committed by
季圣华
Feb 19, 2019
Browse files
!26 修改几个不带样式的弹框提示
Merge pull request !26 from 乾坤平台/master
parents
a03a9516
8c717145
Changes
4
Show whitespace changes
Inline
Side-by-side
erp_web/pages/manage/depot.html
View file @
9fff3f2a
...
@@ -460,7 +460,7 @@
...
@@ -460,7 +460,7 @@
$
(
'
#setBuilding
'
).
click
(
function
()
{
$
(
'
#setBuilding
'
).
click
(
function
()
{
var
currentRow
=
$
(
"
#tableData
"
).
datagrid
(
"
getChecked
"
);
var
currentRow
=
$
(
"
#tableData
"
).
datagrid
(
"
getChecked
"
);
if
(
currentRow
.
length
==
0
)
{
if
(
currentRow
.
length
==
0
)
{
alert
(
"
请选择一条数据再操作!
"
);
$
.
messager
.
alert
(
'
提示
'
,
"
请选择一条数据再操作!
"
,
'
warning
'
);
return
false
;
return
false
;
}
}
parent
.
addTab
(
currentRow
[
0
].
id
+
"
单元
"
,
"
/pages/materials/building.jsp?ProjectId=
"
+
currentRow
[
0
].
id
,
""
);
parent
.
addTab
(
currentRow
[
0
].
id
+
"
单元
"
,
"
/pages/materials/building.jsp?ProjectId=
"
+
currentRow
[
0
].
id
,
""
);
...
...
erp_web/pages/manage/depotGift.html
View file @
9fff3f2a
...
@@ -451,7 +451,7 @@
...
@@ -451,7 +451,7 @@
$
(
'
#setBuilding
'
).
click
(
function
()
{
$
(
'
#setBuilding
'
).
click
(
function
()
{
var
currentRow
=
$
(
"
#tableData
"
).
datagrid
(
"
getChecked
"
);
var
currentRow
=
$
(
"
#tableData
"
).
datagrid
(
"
getChecked
"
);
if
(
currentRow
.
length
==
0
)
{
if
(
currentRow
.
length
==
0
)
{
alert
(
"
请选择一条数据再操作!
"
);
$
.
messager
.
alert
(
'
提示
'
,
"
请选择一条数据再操作!
"
,
'
warning
'
);
return
false
;
return
false
;
}
}
parent
.
addTab
(
currentRow
[
0
].
id
+
"
单元
"
,
"
/pages/materials/building.jsp?ProjectId=
"
+
currentRow
[
0
].
id
,
""
);
parent
.
addTab
(
currentRow
[
0
].
id
+
"
单元
"
,
"
/pages/materials/building.jsp?ProjectId=
"
+
currentRow
[
0
].
id
,
""
);
...
...
erp_web/pages/manage/role.html
View file @
9fff3f2a
...
@@ -423,7 +423,7 @@
...
@@ -423,7 +423,7 @@
$
(
'
#btnSetApp
'
).
click
(
function
()
{
$
(
'
#btnSetApp
'
).
click
(
function
()
{
var
currentRow
=
$
(
"
#tableData
"
).
datagrid
(
"
getSelected
"
);
var
currentRow
=
$
(
"
#tableData
"
).
datagrid
(
"
getSelected
"
);
if
(
currentRow
==
null
)
{
if
(
currentRow
==
null
)
{
alert
(
"
请选择一条数据再操作!
"
);
$
.
messager
.
alert
(
'
提示
'
,
"
请选择一条数据再操作!
"
,
'
warning
'
);
return
false
;
return
false
;
}
}
this
.
href
=
"
/pages/manage/roleApp.html?id=
"
+
currentRow
.
id
;
this
.
href
=
"
/pages/manage/roleApp.html?id=
"
+
currentRow
.
id
;
...
@@ -433,7 +433,7 @@
...
@@ -433,7 +433,7 @@
$
(
'
#btnSetFunctions
'
).
click
(
function
()
{
$
(
'
#btnSetFunctions
'
).
click
(
function
()
{
var
currentRow
=
$
(
"
#tableData
"
).
datagrid
(
"
getSelected
"
);
var
currentRow
=
$
(
"
#tableData
"
).
datagrid
(
"
getSelected
"
);
if
(
currentRow
==
null
)
{
if
(
currentRow
==
null
)
{
alert
(
"
请选择一条数据再操作!
"
);
$
.
messager
.
alert
(
'
提示
'
,
"
请选择一条数据再操作!
"
,
'
warning
'
);
return
false
;
return
false
;
}
}
this
.
href
=
"
/pages/manage/roleFunctions.html?id=
"
+
currentRow
.
id
;
this
.
href
=
"
/pages/manage/roleFunctions.html?id=
"
+
currentRow
.
id
;
...
@@ -443,7 +443,7 @@
...
@@ -443,7 +443,7 @@
$
(
'
#btnSetPushBtn
'
).
click
(
function
()
{
$
(
'
#btnSetPushBtn
'
).
click
(
function
()
{
var
currentRow
=
$
(
"
#tableData
"
).
datagrid
(
"
getSelected
"
);
var
currentRow
=
$
(
"
#tableData
"
).
datagrid
(
"
getSelected
"
);
if
(
currentRow
==
null
)
{
if
(
currentRow
==
null
)
{
alert
(
"
请选择一条数据再操作!
"
);
$
.
messager
.
alert
(
'
提示
'
,
"
请选择一条数据再操作!
"
,
'
warning
'
);
return
false
;
return
false
;
}
}
this
.
href
=
"
/pages/manage/rolePushBtn.html?id=
"
+
currentRow
.
id
;
this
.
href
=
"
/pages/manage/rolePushBtn.html?id=
"
+
currentRow
.
id
;
...
...
erp_web/pages/manage/user.html
View file @
9fff3f2a
...
@@ -523,7 +523,7 @@
...
@@ -523,7 +523,7 @@
$
(
'
#btnSetRole
'
).
click
(
function
()
{
$
(
'
#btnSetRole
'
).
click
(
function
()
{
var
currentRow
=
$
(
"
#tableData
"
).
datagrid
(
"
getSelected
"
);
var
currentRow
=
$
(
"
#tableData
"
).
datagrid
(
"
getSelected
"
);
if
(
currentRow
==
null
)
{
if
(
currentRow
==
null
)
{
alert
(
"
请选择一条数据再操作!
"
);
$
.
messager
.
alert
(
'
提示
'
,
"
请选择一条数据再操作!
"
,
'
warning
'
);
return
false
;
return
false
;
}
}
this
.
href
=
"
/pages/user/userRole.html?id=
"
+
currentRow
.
id
;
this
.
href
=
"
/pages/user/userRole.html?id=
"
+
currentRow
.
id
;
...
@@ -533,7 +533,7 @@
...
@@ -533,7 +533,7 @@
$
(
'
#btnSetDepart
'
).
click
(
function
()
{
$
(
'
#btnSetDepart
'
).
click
(
function
()
{
var
currentRow
=
$
(
"
#tableData
"
).
datagrid
(
"
getSelected
"
);
var
currentRow
=
$
(
"
#tableData
"
).
datagrid
(
"
getSelected
"
);
if
(
currentRow
==
null
)
{
if
(
currentRow
==
null
)
{
alert
(
"
请选择一条数据再操作!
"
);
$
.
messager
.
alert
(
'
提示
'
,
"
请选择一条数据再操作!
"
,
'
warning
'
);
return
false
;
return
false
;
}
}
this
.
href
=
"
/pages/user/userDepot.html?id=
"
+
currentRow
.
id
;
this
.
href
=
"
/pages/user/userDepot.html?id=
"
+
currentRow
.
id
;
...
@@ -543,7 +543,7 @@
...
@@ -543,7 +543,7 @@
$
(
'
#btnSetCustomer
'
).
click
(
function
()
{
$
(
'
#btnSetCustomer
'
).
click
(
function
()
{
var
currentRow
=
$
(
"
#tableData
"
).
datagrid
(
"
getSelected
"
);
var
currentRow
=
$
(
"
#tableData
"
).
datagrid
(
"
getSelected
"
);
if
(
currentRow
==
null
)
{
if
(
currentRow
==
null
)
{
alert
(
"
请选择一条数据再操作!
"
);
$
.
messager
.
alert
(
'
提示
'
,
"
请选择一条数据再操作!
"
,
'
warning
'
);
return
false
;
return
false
;
}
}
this
.
href
=
"
/pages/user/userCustomer.html?id=
"
+
currentRow
.
id
;
this
.
href
=
"
/pages/user/userCustomer.html?id=
"
+
currentRow
.
id
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment