自动化立体仓库 - WMS系统
LSH
2022-12-02 7c0ffec6ee60e5b0f2f9dc8312a7bbce3e20ac11
src/main/webapp/views/report/locDetl.html
@@ -101,28 +101,21 @@
            switch (obj.event) {
                // 修改合同号(批号)
                case 'pakoutPreview':
                    $.ajax({
                        url: baseUrl+"/locDetl/updateBatch/auth",
                        headers: {'token': localStorage.getItem('token')},
                        data: {
                            locNo: data.locNo,
                            matnr: data.matnr,
                            maktx: data.maktx,
                            anfme: data.anfme,
                            batch: data.batch
                        },
                        method: 'POST',
                        success: function (res) {
                            if (res.code === 200){
                                layer.msg(res.msg, {icon: 2});
                            } else if (res.code === 403){
                                layer.msg(res.msg, {icon: 2});
                            }else {
                                layer.msg(res.msg, {icon: 2});
                            }
                    layer.open({
                        type: 2,
                        title: '修改合同号',
                        maxmin: true,
                        area: ['500px', top.detailHeight],
                        shadeClose: false,
                        content: 'locDetl_detail.html',
                        success: function(layero, index){
                            layer.getChildFrame('#data-detail-submit-save', index).hide();
                            setFormVal(layer.getChildFrame('#updateBatch', index), data, false);
                            // top.convertDisabled(layer.getChildFrame('#data-detail :input', index), false);
                            top.convertDisabled(layer.getChildFrame('#locNo', index), true);
                            layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
                            layero.find('iframe')[0].contentWindow.layui.form.render('select');
                            layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
                        }
                    });
                    break;