|
@@ -2413,8 +2413,8 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
// 复制订单
|
|
// 复制订单
|
|
|
$scope.copyorder = function(id) {
|
|
$scope.copyorder = function(id) {
|
|
|
PurchaseOrder.copyorder({id: id}, {}, function(data) {
|
|
PurchaseOrder.copyorder({id: id}, {}, function(data) {
|
|
|
- console.log(data);
|
|
|
|
|
if(data.id) {
|
|
if(data.id) {
|
|
|
|
|
+ toaster.pop('success', '提示', '单据复制成功');
|
|
|
window.location.hash = "#purc/cart/" + data.id;
|
|
window.location.hash = "#purc/cart/" + data.id;
|
|
|
}
|
|
}
|
|
|
}, function(response) {
|
|
}, function(response) {
|