Commit 6b24d0b0 by 梁建民

css

parent 9136b592
Showing with 15 additions and 3 deletions
......@@ -26,7 +26,7 @@
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", {
"goods_name": res['goods_list'][id].goods_name,
......@@ -34,7 +34,6 @@
"encap": res['goods_list'][id].encap,
"stock": res['goods_list'][id].stock,
"price": res['goods_list'][id].price,
"day": res['goods_list'][id].delivery_time,
"currency": res['goods_list'][id].currency,
"delivery_time": res['goods_list'][id].delivery_time
});
......@@ -44,7 +43,20 @@
$('.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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment