...
|
...
|
@@ -14753,6 +14753,62 @@ webpackJsonp([41],[ |
|
|
return false;
|
|
|
});
|
|
|
|
|
|
|
|
|
var taobaoUrl = window.NETSALEDATA.productUrlBo.taobaoUrl || "";
|
|
|
var tmallUrl = window.NETSALEDATA.productUrlBo.tmallUrl || "";
|
|
|
var jdUrl = window.NETSALEDATA.productUrlBo.jdUrl || "";
|
|
|
$("#taobaoUrl").val(taobaoUrl);
|
|
|
$("#tmallUrl").val(tmallUrl);
|
|
|
$("#jdUrl").val(jdUrl);
|
|
|
$("#taobaoUrl").on('change', function() { taobaoUrl = $("#taobaoUrl").val(); });
|
|
|
$("#tmallUrl").on('change', function() { tmallUrl = $("#tmallUrl").val(); });
|
|
|
$("#jdUrl").on('change', function() { jdUrl = $("#jdUrl").val(); });
|
|
|
$("#save-urlList").on('click', function() {
|
|
|
common.util.__ajax({
|
|
|
url: '/netSale/saveProductUrlList',
|
|
|
data: {
|
|
|
productSkn: window.NETSALEDATA.baseProductInfo.baseProduct.productSkn,
|
|
|
taobaoUrl: taobaoUrl,
|
|
|
tmallUrl : tmallUrl,
|
|
|
jdUrl : jdUrl
|
|
|
}
|
|
|
});
|
|
|
return false;
|
|
|
});
|
|
|
|
|
|
$("#save-jdUrl").on('click', function(){
|
|
|
common.util.__ajax({
|
|
|
url: '/ChannelProductController/synChannelProduct',
|
|
|
data: {
|
|
|
skn: window.NETSALEDATA.baseProductInfo.baseProduct.productSkn,
|
|
|
url : $("#jdUrl").val(),
|
|
|
type : 3 //类型(1-天猫;2-淘宝;3-京东)
|
|
|
}
|
|
|
});
|
|
|
return false;
|
|
|
});
|
|
|
$("#save-tmallUrl").on('click', function(){
|
|
|
common.util.__ajax({
|
|
|
url: '/ChannelProductController/synChannelProduct',
|
|
|
data: {
|
|
|
skn: window.NETSALEDATA.baseProductInfo.baseProduct.productSkn,
|
|
|
url : $("#tmallUrl").val(),
|
|
|
type : 1 //类型(1-天猫;2-淘宝;3-京东)
|
|
|
}
|
|
|
});
|
|
|
return false;
|
|
|
});
|
|
|
$("#save-taobaoUrl").on('click', function(){
|
|
|
common.util.__ajax({
|
|
|
url: '/ChannelProductController/synChannelProduct',
|
|
|
data: {
|
|
|
skn: window.NETSALEDATA.baseProductInfo.baseProduct.productSkn,
|
|
|
url : $("#taobaoUrl").val(),
|
|
|
type : 2 //类型(1-天猫;2-淘宝;3-京东)
|
|
|
}
|
|
|
});
|
|
|
return false;
|
|
|
});
|
|
|
// window.GOLABDATA.on('TYsearchKey', function () {
|
|
|
// var washTips = $("#washTips").val() || "";
|
|
|
// var productMaterial = $("#material").val() || "";
|
...
|
...
|
|