Showing
1 changed file
with
9 additions
and
1 deletions
@@ -177,9 +177,17 @@ function showDiaglog(tpl, onEdit) { | @@ -177,9 +177,17 @@ function showDiaglog(tpl, onEdit) { | ||
177 | btnClass: ['confirm'], | 177 | btnClass: ['confirm'], |
178 | name: '确定', | 178 | name: '确定', |
179 | cb: function() { | 179 | cb: function() { |
180 | + var b; | ||
181 | + | ||
180 | if (validateData()) { | 182 | if (validateData()) { |
181 | - editOrder(onEdit); | ||
182 | tip.close(); | 183 | tip.close(); |
184 | + b = new dialog.Confirm({ | ||
185 | + content: '单笔订单仅支持一次修改,确定要修改订单吗?', | ||
186 | + cb: function() { | ||
187 | + editOrder(onEdit); | ||
188 | + b.close(); | ||
189 | + } | ||
190 | + }).show(); | ||
183 | } | 191 | } |
184 | } | 192 | } |
185 | }, | 193 | }, |
-
Please register or login to post a comment