...
|
...
|
@@ -37,7 +37,7 @@ GOLABDATA.on("LYproductDesc", function () { |
|
|
|
|
|
$(document).on("click", "#btn-descriptioner", function () {
|
|
|
$('#productDesc').val(UMdescriptioner.getContent());
|
|
|
descriptionEdit.submit('/netSale/saveProductDesc', function (option) {
|
|
|
descriptionEdit.submit('/product/saveProductDesc', function (option) {
|
|
|
option.data = GOLABDATA.fire('LYproductDesc');
|
|
|
option.success = function (res) {
|
|
|
res = res.data;
|
...
|
...
|
@@ -100,7 +100,7 @@ GOLABDATA.on("LYrecommend", function () { |
|
|
|
|
|
|
|
|
$(document).on("click", "#btn-recommand", function () {
|
|
|
recommendEdit.submit('/netSale/saveNetSaleRecommend', function (option) {
|
|
|
recommendEdit.submit('/product/saveNetSaleRecommend', function (option) {
|
|
|
option.data = GOLABDATA.fire('LYrecommend');
|
|
|
option.success = function (res) {
|
|
|
res = res.data;
|
...
|
...
|
@@ -169,7 +169,7 @@ var g = new common.grid({ |
|
|
}]
|
|
|
});
|
|
|
|
|
|
g.init('/netSale/selectCollocationListBySkn');
|
|
|
g.init('/collocation/selectCollocationListBySkn');
|
|
|
|
|
|
var Bll = {
|
|
|
posData: [],
|
...
|
...
|
@@ -255,7 +255,7 @@ $(document).on("change", ".poseditimg .pos-text", function () { |
|
|
|
|
|
//添加
|
|
|
$(document).on("click", "#dapeiadd", function () {
|
|
|
Bll.toast("添加搭配", {}, "/netSale/insertCollocation");
|
|
|
Bll.toast("添加搭配", {}, "/collocation/insertCollocation");
|
|
|
return false;
|
|
|
});
|
|
|
//保存
|
...
|
...
|
@@ -266,7 +266,7 @@ $(document).on("click", "#dapeisave", function () { |
|
|
$(document).on("click", "#dapeiTable .delete", function () {
|
|
|
var item = g.rows[$(this).data("index")];
|
|
|
common.util.__ajax({
|
|
|
url: '/netSale/delCollocationById',
|
|
|
url: '/collocation/delCollocationById',
|
|
|
data: {
|
|
|
param: item.id
|
|
|
}
|
...
|
...
|
@@ -278,12 +278,12 @@ $(document).on("click", "#dapeiTable .delete", function () { |
|
|
$(document).on("click", "#dapeiTable .edit", function () {
|
|
|
var item = g.rows[$(this).data("index")];
|
|
|
common.util.__ajax({
|
|
|
url: '/netSale/selectCollocationById',
|
|
|
url: '/collocation/selectCollocationById',
|
|
|
data: {
|
|
|
param: item.id
|
|
|
}
|
|
|
}, function (data) {
|
|
|
Bll.toast("添加搭配", data.data, "/netSale/updateCollocation");
|
|
|
Bll.toast("添加搭配", data.data, "/collocation/updateCollocation");
|
|
|
});
|
|
|
// item.infoStr=[{"top":223,"left":380,"id":"ffffff"},{"top":454,"left":309,"id":"ggggg"}];
|
|
|
// Bll.toast("添加搭配",item,"/netSale/updateCollocation");
|
...
|
...
|
@@ -457,7 +457,7 @@ $(document).on("click", "#fenMainSave", function () { |
|
|
return false;
|
|
|
}
|
|
|
common.util.__ajax({
|
|
|
url: '/netSale/manageProductImg',
|
|
|
url: '/product/manageProductImg',
|
|
|
data: data
|
|
|
});
|
|
|
return false;
|
...
|
...
|
|