Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Theater
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴春
Theater
Commits
1793a385
Commit
1793a385
authored
6 years ago
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
剧院座位图修改
parent
486a8f14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
TheaterSeat.cshtml
...ll.Web/Areas/Admin/Views/TheaterManage/TheaterSeat.cshtml
+6
-5
No files found.
EheMall.Web/Areas/Admin/Views/TheaterManage/TheaterSeat.cshtml
View file @
1793a385
...
...
@@ -233,7 +233,7 @@
</div>
<div
style=
"width:100%;text-align: center;"
>
行
<input
type=
"text"
class=
"seats_input"
id=
"row_input"
value=
"10"
/>
列
<input
type=
"text"
class=
"seats_input"
id=
"col_input"
value=
"
2
0"
/>
列
<input
type=
"text"
class=
"seats_input"
id=
"col_input"
value=
"
1
0"
/>
<select
class=
"SelectType"
>
<option
value=
'1'
>
楼厢
</option>
<option
value=
'3'
>
堂厢
</option>
...
...
@@ -507,7 +507,8 @@
newObjArray
.
push
({
ID
:
i
,
Value
:
1
});
}
}
this
.
console
.
log
(
"singleArray"
,
singleArray
);
this
.
console
.
log
(
"doubleArray"
,
doubleArray
);
var
doubleIndex
=
0
;
var
singleIndex
=
0
;
if
(
doubleArray
!=
null
&&
doubleArray
.
length
>
0
)
{
...
...
@@ -515,12 +516,12 @@
}
for
(
var
i
=
0
;
i
<
newObjArray
.
length
;
i
++
)
{
if
(
newObjArray
[
i
].
Value
==
1
)
{
if
(
doubleIndex
>=
0
)
{
if
(
doubleIndex
>=
0
&&
doubleArray
!=
null
&&
doubleArray
.
length
>
0
)
{
resultArray
.
push
(
doubleArray
[
doubleIndex
]);
doubleIndex
--
;
}
else
{
if
(
singleIndex
<
singleArray
.
length
)
{
if
(
singleIndex
<
singleArray
.
length
&&
singleArray
!=
null
&&
singleArray
.
length
>
0
)
{
resultArray
.
push
(
singleArray
[
singleIndex
]);
singleIndex
++
;
}
...
...
@@ -535,7 +536,7 @@
for
(
var
k
=
0
;
k
<
newObj
.
ColumnArray
.
length
;
k
++
)
{
newObj
.
ColumnArray
[
k
].
col
=
resultArray
[
k
];
}
//隐藏
if
(
newObj
.
noLenth
==
newObj
.
ColumnArray
.
length
&&
isAdd
==
1
)
{
newObj
.
rowIndex
=
""
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
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