...
|
...
|
@@ -138,6 +138,7 @@ var Bll = { |
|
|
button: [{
|
|
|
value: "提交",
|
|
|
callback: function() {
|
|
|
|
|
|
e.submit(url, function(option) {
|
|
|
option.data.id = item.id;
|
|
|
option.data.productSkn = productSkn;
|
...
|
...
|
@@ -197,6 +198,10 @@ $(document).on("click", ".poseditimg .close", function(e) { |
|
|
});
|
|
|
$(document).on("change", ".poseditimg .pos-text", function() {
|
|
|
var item = Bll.posData[$(this).data("index")];
|
|
|
/*if ($.trim($(this).val()).length > 8) {
|
|
|
common.util.__tip('skn不能超过8位', 'warning');
|
|
|
return;
|
|
|
};*/
|
|
|
item.id = $(this).val();
|
|
|
});
|
|
|
|
...
|
...
|
@@ -225,14 +230,14 @@ $(document).on("click", "#dapeiTable .delete", function() { |
|
|
//修改
|
|
|
$(document).on("click", "#dapeiTable .edit", function() {
|
|
|
var item = g.rows[$(this).data("index")];
|
|
|
common.util.__ajax({
|
|
|
common.util.__ajax2({
|
|
|
url: '/netSale/selectCollocationById',
|
|
|
data: {
|
|
|
param: item.id
|
|
|
}
|
|
|
}, function(data) {
|
|
|
Bll.toast("添加搭配", data.data, "/netSale/updateCollocation");
|
|
|
}, true);
|
|
|
});
|
|
|
// item.infoStr=[{"top":223,"left":380,"id":"ffffff"},{"top":454,"left":309,"id":"ggggg"}];
|
|
|
// Bll.toast("添加搭配",item,"/netSale/updateCollocation");
|
|
|
});
|
...
|
...
|
|