|
|
|
@ -394,11 +394,16 @@ Page({ |
|
|
|
}]; |
|
|
|
network.transfer_request(method, params, function(res) { |
|
|
|
if (res.result != null) { |
|
|
|
var orderID = res.result; |
|
|
|
wx.showModal({ |
|
|
|
title: '新建申请单No.' + res.result, |
|
|
|
content: '新建成功,是否返回上级列表', |
|
|
|
success: function(res) { |
|
|
|
if (res.cancel) {} else { |
|
|
|
if (res.cancel) { |
|
|
|
wx.redirectTo({ |
|
|
|
url: '../specialOrderApplyDetail/specialOrderApplyDetail?ID=' + orderID, |
|
|
|
}) |
|
|
|
} else { |
|
|
|
wx.navigateBack({ |
|
|
|
delta: 1 |
|
|
|
}) |
|
|
|
|