...
|
...
|
@@ -57,9 +57,9 @@ if (window.NETSALEDATA) { |
|
|
});
|
|
|
|
|
|
|
|
|
var taobaoUrl = window.NETSALEDATA.productUrlBo.taobaoUrl || "";
|
|
|
var tmallUrl = window.NETSALEDATA.productUrlBo.tmallUrl || "";
|
|
|
var jdUrl = window.NETSALEDATA.productUrlBo.jdUrl || "";
|
|
|
var oldtaobaoUrl = taobaoUrl = window.NETSALEDATA.productUrlBo.taobaoUrl || "";
|
|
|
var oldtmallUrl = tmallUrl = window.NETSALEDATA.productUrlBo.tmallUrl || "";
|
|
|
var oldjdUrl = jdUrl = window.NETSALEDATA.productUrlBo.jdUrl || "";
|
|
|
$("#taobaoUrl").val(taobaoUrl);
|
|
|
$("#tmallUrl").val(tmallUrl);
|
|
|
$("#jdUrl").val(jdUrl);
|
...
|
...
|
@@ -95,6 +95,17 @@ if (window.NETSALEDATA) { |
|
|
linkExistFlag : $("#linkExistFlag").val()
|
|
|
}
|
|
|
});
|
|
|
|
|
|
if (sknOperateLog(taobaoUrl, oldtaobaoUrl, 7)) {
|
|
|
oldtaobaoUrl = taobaoUrl;
|
|
|
}
|
|
|
if (sknOperateLog(tmallUrl, oldtmallUrl, 8)) {
|
|
|
oldtmallUrl = tmallUrl;
|
|
|
}
|
|
|
if (sknOperateLog(jdUrl, oldjdUrl, 9)) {
|
|
|
oldjdUrl = jdUrl;
|
|
|
}
|
|
|
|
|
|
return false;
|
|
|
});
|
|
|
|
...
|
...
|
@@ -280,4 +291,26 @@ if (window.NETSALEDATA) { |
|
|
}
|
|
|
|
|
|
//当点击“无需测量”,该列输入框不可编辑
|
|
|
common.sizeInfo.check(); |
|
|
\ No newline at end of file |
|
|
common.sizeInfo.check();
|
|
|
|
|
|
|
|
|
// 埋点请求
|
|
|
function sknOperateLog(newValue, oldValue, operateType) {
|
|
|
if ((newValue && newValue.trim() != oldValue) || (oldValue != '' && newValue == '')) {
|
|
|
var jsondata = {};
|
|
|
jsondata.new = newValue;
|
|
|
jsondata.old = oldValue;
|
|
|
common.util.__ajax({
|
|
|
url:'/product/addProductOperateLog',
|
|
|
data:{
|
|
|
productSkn:window.NETSALEDATA.baseProductInfo.baseProduct.productSkn,
|
|
|
jsondata : JSON.stringify(jsondata),
|
|
|
operateType : operateType
|
|
|
}
|
|
|
},null, true);
|
|
|
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
return false;
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|