记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
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
董敬伟
liquidnet-bus-v1
Commits
f3c28157
Commit
f3c28157
authored
Jan 25, 2022
by
dongchun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改后台bug
parent
2df59770
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
storeDetail.html
...es/templates/zhengzai/store/placingOrder/storeDetail.html
+8
-10
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/placingOrder/storeDetail.html
View file @
f3c28157
...
...
@@ -166,15 +166,6 @@
<th:block
th:include=
"include :: footer"
/>
</body>
<script
th:inline=
"javascript"
>
function
getQueryVariable
(
variable
)
{
var
query
=
window
.
location
.
search
.
substring
(
1
);
var
vars
=
query
.
split
(
"&"
);
for
(
var
i
=
0
;
i
<
vars
.
length
;
i
++
)
{
var
pair
=
vars
[
i
].
split
(
"="
);
if
(
pair
[
0
]
==
variable
){
return
pair
[
1
];}
}
return
(
false
);
}
$
(
function
()
{
let
name
=
'storeId'
;
let
time
=
'time'
;
...
...
@@ -183,11 +174,13 @@
var
reg
=
new
RegExp
(
"(^|&)"
+
name
+
"=([^&]*)(&|$)"
);
var
reg2
=
new
RegExp
(
"(^|&)"
+
time
+
"=([^&]*)(&|$)"
);
var
reg3
=
new
RegExp
(
"(^|&)"
+
marketId
+
"=([^&]*)(&|$)"
);
var
reg4
=
new
RegExp
(
"(^|&)"
+
activityName
+
"=([^&]*)(&|$)"
);
var
r
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg
);
var
r2
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg2
);
var
r3
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg3
);
var
r4
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg4
);
$
(
"#time"
).
html
(
unescape
(
r2
[
2
]));
$
(
"#titleName"
).
text
(
getQueryVariable
(
activityName
));
$
(
"#titleName"
).
text
(
decodeURI
(
r4
[
2
]
));
$
(
"#storeId"
).
val
(
unescape
(
r
[
2
]));
$
(
"#marketId"
).
val
(
unescape
(
r3
[
2
]));
let
data
=
{
...
...
@@ -263,6 +256,7 @@
}
}]
};
console
.
log
(
options
,
'options'
)
$
.
table
.
init
(
options
);
}
})
...
...
@@ -278,9 +272,11 @@
}
function
setGoodsRole
(
marketId
,
storeId
,
marketSpuId
)
{
let
url
=
prefix2
+
'/setGoodsRole?marketId='
+
marketId
+
'&storeId='
+
storeId
+
'&marketSpuId='
+
marketSpuId
;
console
.
log
(
url
)
$
.
modal
.
open
(
"标题内容"
,
url
,
'1280'
,
'680'
);
}
function
onCheck
(
row
,
$element
)
{
console
.
log
(
row
,
$element
)
}
function
delItem
(
marketId
,
storeId
,
marketSpuId
)
{
$
.
ajax
({
...
...
@@ -292,12 +288,14 @@
skuId
:
marketSpuId
},
success
:
function
(
res
)
{
console
.
log
(
res
)
refreshItem
()
}
})
}
function
selectGoodsTab
()
{
let
url
=
prefix2
+
'/selectGoddsTab'
console
.
log
(
url
)
$
.
modal
.
open
(
"选择商品"
,
url
,
'1280'
,
'680'
);
}
</script>
...
...
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