Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsales
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6b24d0b0
authored
Jul 17, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
css
parent
9136b592
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
dist/js/goodmanage/uploadsingle.js
dist/js/goodmanage/uploadsingle.js
View file @
6b24d0b0
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
IcController
.
getData
(
apis
.
goodsInfo
,
'GET'
,
{
token
:
opt
.
token
,
'goods_id/eq'
:
id
},
function
(
res
)
{
IcController
.
getData
(
apis
.
goodsInfo
,
'GET'
,
{
token
:
opt
.
token
,
'goods_id/eq'
:
id
},
function
(
res
)
{
if
(
res
.
errcode
===
0
)
{
if
(
res
.
errcode
===
0
)
{
layui
.
form
.
val
(
"goodsave"
,
{
layui
.
form
.
val
(
"goodsave"
,
{
"goods_name"
:
res
[
'goods_list'
][
id
].
goods_name
,
"goods_name"
:
res
[
'goods_list'
][
id
].
goods_name
,
...
@@ -34,7 +34,6 @@
...
@@ -34,7 +34,6 @@
"encap"
:
res
[
'goods_list'
][
id
].
encap
,
"encap"
:
res
[
'goods_list'
][
id
].
encap
,
"stock"
:
res
[
'goods_list'
][
id
].
stock
,
"stock"
:
res
[
'goods_list'
][
id
].
stock
,
"price"
:
res
[
'goods_list'
][
id
].
price
,
"price"
:
res
[
'goods_list'
][
id
].
price
,
"day"
:
res
[
'goods_list'
][
id
].
delivery_time
,
"currency"
:
res
[
'goods_list'
][
id
].
currency
,
"currency"
:
res
[
'goods_list'
][
id
].
currency
,
"delivery_time"
:
res
[
'goods_list'
][
id
].
delivery_time
"delivery_time"
:
res
[
'goods_list'
][
id
].
delivery_time
});
});
...
@@ -44,7 +43,20 @@
...
@@ -44,7 +43,20 @@
$
(
'.hq'
).
find
(
'.layui-form-radioed'
).
trigger
(
'click'
);
$
(
'.hq'
).
find
(
'.layui-form-radioed'
).
trigger
(
'click'
);
},
500
)
},
500
);
setTimeout
(
function
()
{
layui
.
form
.
val
(
"goodsave"
,
{
"day"
:
res
[
'goods_list'
][
id
].
delivery_time
});
},
1000
);
layui
.
form
.
render
();
}
}
...
...
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