|
|
@@ -13203,9 +13203,8 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
$scope.contact = data;
|
|
|
$scope.contact.venduu = uu;
|
|
|
Vendor.saveContact({}, $scope.contact, function(data) {
|
|
|
- Vendor.contacts({venduu: $scope.order.cust.uu}, {}, function(data) {
|
|
|
+ Vendor.contacts({venduu: $scope.order.receiveCode}, {}, function(data) {
|
|
|
$scope.contacts = data;
|
|
|
- $scope.order.vendor = $scope.contacts[0];
|
|
|
});
|
|
|
toaster.pop('success', '提示', '联系人保存成功');
|
|
|
}, function(response) {
|