|
@@ -471,9 +471,9 @@ app.controller('hc_consumablesCtrl', ["$scope", "$http", "i18nService", "$rootSc
|
471
|
471
|
||!$scope.select_updata_pinpai.updata_pinpai.name
|
472
|
472
|
||!$scope.select_updata_guige.updata_guige.name
|
473
|
473
|
||!$scope.companyIds
|
474
|
|
- ||(!$scope.startPrice&&$scope.startPrice!=0)
|
475
|
|
- ||(!$scope.endPrice&&$scope.endPrice!=0)
|
476
|
|
- ||($scope.isWarehousing == 1&&!$scope.hc_eject_inventorySum&&$scope.hc_eject_inventorySum!=0&&!$scope.hc_eject_inventoryNum&&$scope.hc_eject_inventoryNum!=0)
|
|
474
|
+ ||(!$scope.startPrice&&$scope.startPrice!=='0')
|
|
475
|
+ ||(!$scope.endPrice&&$scope.endPrice!=='0')
|
|
476
|
+ ||($scope.isWarehousing == 1&&!$scope.hc_eject_inventorySum&&$scope.hc_eject_inventorySum!=='0'&&!$scope.hc_eject_inventoryNum&&$scope.hc_eject_inventoryNum!=='0')
|
477
|
477
|
) {
|
478
|
478
|
SweetAlert.swal({
|
479
|
479
|
title: "保存失败",
|