wxw
3 天以前 f6d9155a4a0cf27fd5732314b70109cbc090ccf8
HTML/views/BaseSetting/MaterialsForm.html
@@ -300,20 +300,21 @@
         var sel2 = false;
         function getPackagList(){
            var packagList=[];
            for (let index = 1; index < 5; index++) {
               //获取包装下拉菜单 PackagNo
               synData(IP + "/Basis/GetPackagList?page="+index, {}, 'get', function (res) {
            let shouldContinue = true;
            let index = 1;
            while (shouldContinue) {
               synData(IP + "/Basis/GetPackagList?page="+index, {}, 'get', function (res, status, error) {
                  if (res.code == 0) {
                     if(res.data.length>0){
                        packagList.push(res.data)
                        packagList.push(res.data);
                        index++;
                     }else{
                        return;
                     }
                        shouldContinue=false;
                     }
                  }else {
                     return;
                     shouldContinue=false;
                  }
               });
            }
            if(packagList.length>0){