记得上下班打卡 | git大法好,push需谨慎

Commit 103e03a8 authored by liuran's avatar liuran

修改创建编辑积分商品

parent c53e0936
...@@ -358,7 +358,7 @@ ...@@ -358,7 +358,7 @@
$("#searchIpt").val(data.targetTitle); $("#searchIpt").val(data.targetTitle);
$("#integralNum").val(data.score); $("#integralNum").val(data.score);
$("#inventory").val(data.generalTotal); $("#inventory").val(data.generalTotal);
showId = data.generalTotal; showId = data.targetId;
// $("#goodsDetail").val(data.details); // $("#goodsDetail").val(data.details);
$('#summernote').summernote('code', data.details) $('#summernote').summernote('code', data.details)
$('.summernote').eq(1).summernote('code', data.notice) $('.summernote').eq(1).summernote('code', data.notice)
...@@ -559,6 +559,7 @@ ...@@ -559,6 +559,7 @@
targetTitle: $('#searchIpt').val() || $("#searchIptMall").val(), // 目标物品标题 targetTitle: $('#searchIpt').val() || $("#searchIptMall").val(), // 目标物品标题
simpleType: $('#labelSelectType option:selected').val() simpleType: $('#labelSelectType option:selected').val()
} }
console.log(showId)
let type = 'post'; let type = 'post';
if (!itemId) { if (!itemId) {
delete data.itemId delete data.itemId
......
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 to comment