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