|
@@ -39,7 +39,7 @@ define(['app/app', 'jquery-uploadify'], function(app) {
|
|
|
*/
|
|
*/
|
|
|
$scope.maxReserve = 999999999;
|
|
$scope.maxReserve = 999999999;
|
|
|
|
|
|
|
|
- $scope.packageArray = ["请选择", "Bulk-散装", "Reel-卷装", "Tape/Reel-编带", "Tray-盘装", "Tube-管装", "盒装", "袋装", "罐装", "瓶装", "桶装", "箱装", "其他"];
|
|
|
|
|
|
|
+ $scope.packageArray = ["Bulk-散装", "Reel-卷装", "Tape/Reel-编带", "Tray-盘装", "Tube-管装", "盒装", "袋装", "罐装", "瓶装", "桶装", "箱装", "其他"];
|
|
|
|
|
|
|
|
$scope.showText = function(item) {
|
|
$scope.showText = function(item) {
|
|
|
$scope.goods.editPackaging = item;
|
|
$scope.goods.editPackaging = item;
|
|
@@ -3677,10 +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.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
|