#
luxiaotao1123
2021-09-09 e1749547c76a5d8bae94e47d38d4d75b481610c1
src/main/webapp/views/pda/pakin.html
@@ -169,9 +169,17 @@
            method: 'POST',
            success: function (res) {
                if (res.code === 200) {
                    if (res.data != null && res.data.length > 0) {
                    if (res.data != null) {
                        $('#node-ok').show();
                        $("#mat-btn").focus();
                        // 填充推荐物料
                        var priors = res.data.priors;
                        if (priors.length > 0 && matData.length === 0) {
                            for (var i = 0; i < priors.length; i++){
                                priors[i].count = 1;
                                addTableData(priors[i]);
                            }
                        }
                    } else {
                        $('#node-ok').hide();
                    }
@@ -337,4 +345,4 @@
        }
    }
</script>
</html>
</html>