init
Showing
1 changed file
with
2 additions
and
7 deletions
| ... | @@ -125,18 +125,13 @@ | ... | @@ -125,18 +125,13 @@ |
| 125 | title: '确认拒绝', | 125 | title: '确认拒绝', |
| 126 | icon: 3 | 126 | icon: 3 |
| 127 | }, function(){ | 127 | }, function(){ |
| 128 | var targetUrl = 'flow/confirm2NextStatus/' + id; | 128 | var targetUrl = 'flow/refuseStatus/' + id; |
| 129 | var data = { | ||
| 130 | "destOrderStatus": 0, | ||
| 131 | "opinion": "", | ||
| 132 | "orderStatus": 1 | ||
| 133 | } | ||
| 134 | $.ajax({ | 129 | $.ajax({ |
| 135 | type: 'put', | 130 | type: 'put', |
| 136 | url: apiBaseUrl + targetUrl, | 131 | url: apiBaseUrl + targetUrl, |
| 137 | cache: false, | 132 | cache: false, |
| 138 | dataType: 'json', | 133 | dataType: 'json', |
| 139 | data: JSON.stringify(data), | 134 | // data: JSON.stringify(data), |
| 140 | contentType: "application/json; charset=UTF-8", | 135 | contentType: "application/json; charset=UTF-8", |
| 141 | success: function (data) { | 136 | success: function (data) { |
| 142 | if (data.msg) { | 137 | if (data.msg) { | ... | ... |
-
Please register or sign in to post a comment