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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
8 deletions
dist/js/goodmanage/uploadsingle.js
dist/js/goodmanage/uploadsingle.js
View file @
6b24d0b0
...
@@ -26,25 +26,37 @@
...
@@ -26,25 +26,37 @@
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
,
"brand_name"
:
res
[
'goods_list'
][
id
].
brand_name
,
"brand_name"
:
res
[
'goods_list'
][
id
].
brand_name
,
"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
});
});
setTimeout
(
function
()
{
setTimeout
(
function
()
{
$
(
'.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