|
@@ -154,7 +154,7 @@ |
|
@@ -154,7 +154,7 @@ |
154
|
align: "center",
|
154
|
align: "center",
|
155
|
}, {
|
155
|
}, {
|
156
|
title: "SKU",
|
156
|
title: "SKU",
|
157
|
- field: "productId",
|
157
|
+ field: "storageId",
|
158
|
width: 80,
|
158
|
width: 80,
|
159
|
align: "center"
|
159
|
align: "center"
|
160
|
}, {
|
160
|
}, {
|
|
@@ -280,31 +280,6 @@ |
|
@@ -280,31 +280,6 @@ |
280
|
}
|
280
|
}
|
281
|
|
281
|
|
282
|
|
282
|
|
283
|
- function editRow(id, productName) {
|
|
|
284
|
- var skup = id;
|
|
|
285
|
- var div = $("<div>").appendTo($(document.body));
|
|
|
286
|
- var message = "确定要取消售卖此件商品吗?商品取消售卖后,卖家的该件商品强制下架,退还卖家保证金";
|
|
|
287
|
- $.messager.confirm("取消售卖提醒", message, function (flag) {
|
|
|
288
|
- if (flag) {
|
|
|
289
|
- $.messager.progress({
|
|
|
290
|
- title: "正在执行",
|
|
|
291
|
- msg: "正在执行,请稍后...",
|
|
|
292
|
- interval: 500,
|
|
|
293
|
- text: ""
|
|
|
294
|
- });
|
|
|
295
|
- $.post(contextPath + "/product/cancelSaleSkup",{"skup":skup, "productName" : productName}, function (data) {
|
|
|
296
|
- $.messager.progress("close");
|
|
|
297
|
- if (data.code == 200) {
|
|
|
298
|
- $("#skupTable").myDatagrid("reload");
|
|
|
299
|
- $.messager.show({title: "提示", msg: '操作成功', height: 120});
|
|
|
300
|
- } else {
|
|
|
301
|
- $.messager.alert("失败", '操作失败', "error");
|
|
|
302
|
- }
|
|
|
303
|
- }, "json");
|
|
|
304
|
- }
|
|
|
305
|
- });
|
|
|
306
|
- }
|
|
|
307
|
-
|
|
|
308
|
// 取消求购
|
283
|
// 取消求购
|
309
|
function cancelBid(skup) {
|
284
|
function cancelBid(skup) {
|
310
|
$.post(contextPath + "/storage/cancelBid",{"skup":skup}, function (data) {
|
285
|
$.post(contextPath + "/storage/cancelBid",{"skup":skup}, function (data) {
|