|
@@ -3677,6 +3677,10 @@ define(['app/app', 'jquery-uploadify'], function(app) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
$scope.editRegulPicture = function(Regulpic, commodity) {
|
|
$scope.editRegulPicture = function(Regulpic, commodity) {
|
|
|
|
|
+ if (commodity.erpReserve === '' || commodity.erpReserve === 0 || !commodity.erpReserve) {
|
|
|
|
|
+ toaster.pop('warning','提示','当前物料库存为0,请先入库')
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
if (commodity.editRegulShow ) return
|
|
if (commodity.editRegulShow ) return
|
|
|
$scope.clearCheckBox()
|
|
$scope.clearCheckBox()
|
|
|
commodity.editRegulShow = true
|
|
commodity.editRegulShow = true
|