|
|
@@ -21306,7 +21306,7 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
|
|
|
//删除
|
|
|
$scope.deleteById = function (id) {
|
|
|
- GetProductInfo.deletePurcById({id: id}, function (data) {
|
|
|
+ GetProductInfo.deletePurcById({}, id, function (data) {
|
|
|
if (data.error) {
|
|
|
toaster.pop("error", "提示", data.error);
|
|
|
} else {
|
|
|
@@ -21866,7 +21866,7 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
|
|
|
//删除
|
|
|
$scope.deleteById = function (id) {
|
|
|
- GetProductInfo.deletePurcById({id: id}, function (data) {
|
|
|
+ GetProductInfo.deletePurcById({}, id, function (data) {
|
|
|
if (data.error) {
|
|
|
toaster.pop("error", "提示", data.error);
|
|
|
} else {
|