Authored by mali

库存管理

@@ -30,6 +30,10 @@ @@ -30,6 +30,10 @@
30 <groupId>com.yoho.ufo</groupId> 30 <groupId>com.yoho.ufo</groupId>
31 <artifactId>ufo-platform-common</artifactId> 31 <artifactId>ufo-platform-common</artifactId>
32 </dependency> 32 </dependency>
  33 + <dependency>
  34 + <groupId>com.yoho.ufo.model</groupId>
  35 + <artifactId>order-ufo-model</artifactId>
  36 + </dependency>
33 </dependencies> 37 </dependencies>
34 38
35 </project> 39 </project>
@@ -28,6 +28,11 @@ @@ -28,6 +28,11 @@
28 <artifactId>product-ufo-model</artifactId> 28 <artifactId>product-ufo-model</artifactId>
29 <version>${ufo.model.version}</version> 29 <version>${ufo.model.version}</version>
30 </dependency> 30 </dependency>
  31 + <dependency>
  32 + <groupId>com.yoho.ufo.model</groupId>
  33 + <artifactId>order-ufo-model</artifactId>
  34 + <version>${ufo.model.version}</version>
  35 + </dependency>
31 36
32 <dependency> 37 <dependency>
33 <groupId>com.yoho.ufo</groupId> 38 <groupId>com.yoho.ufo</groupId>
@@ -200,8 +200,8 @@ @@ -200,8 +200,8 @@
200 function editRow(id) { 200 function editRow(id) {
201 var skup = id; 201 var skup = id;
202 var div = $("<div>").appendTo($(document.body)); 202 var div = $("<div>").appendTo($(document.body));
203 - var message = "确认取消售卖吗?";  
204 - window.top.$.messager.confirm("确认", message, function (flag) { 203 + var message = "确定要取消售卖此件商品吗?商品取消售卖后,卖家的该件商品强制下架,退还卖家保证金";
  204 + window.top.$.messager.confirm("取消售卖提醒", message, function (flag) {
205 if (flag) { 205 if (flag) {
206 window.top.$.messager.progress({ 206 window.top.$.messager.progress({
207 title: "正在执行", 207 title: "正在执行",
@@ -213,9 +213,9 @@ @@ -213,9 +213,9 @@
213 window.top.$.messager.progress("close"); 213 window.top.$.messager.progress("close");
214 if (data.code == 200) { 214 if (data.code == 200) {
215 $("#skupTable").myDatagrid("reload"); 215 $("#skupTable").myDatagrid("reload");
216 - window.top.$.messager.show({title: "提示",msg: msg, height: 120}); 216 + window.top.$.messager.show({title: "提示", msg: '操作成功', height: 120});
217 } else { 217 } else {
218 - window.top.$.messager.alert("失败", data.message, "error"); 218 + window.top.$.messager.alert("失败", '操作失败', "error");
219 } 219 }
220 }, "json"); 220 }, "json");
221 } 221 }