自动化立体仓库 - WMS系统
#
whycq
2025-05-20 32099d29dca4874ed255a51206be7a46b7a2fe4c
#
2个文件已修改
43 ■■■■ 已修改文件
src/main/webapp/static/js/wrkMast/wrkMast.js 41 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/wrkMast/wrkMast.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/wrkMast/wrkMast.js
@@ -268,26 +268,7 @@
                    });
                });
                break;
            case 'priWrkMast':
                console.log(123)
                layer.open({
                    type: 2,
                    title: '维护工作档',
                    maxmin: true,
                    area: ['500px', top.detailHeight],
                    shadeClose: false,
                    content: 'wrkMast_detail.html',
                    success: function(layero, index){
                        layer.getChildFrame('#data-detail-submit-save', index).hide();
                        setFormVal(layer.getChildFrame('#detail', 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;
        }
    });
@@ -343,6 +324,26 @@
                    });
                }
                break;
              case 'priWrkMast':
                              console.log(123)
                              layer.open({
                                  type: 2,
                                  title: '维护工作档',
                                  maxmin: true,
                                  area: ['500px', top.detailHeight],
                                  shadeClose: false,
                                  content: 'wrkMast_detail.html',
                                  success: function(layero, index){
                                      layer.getChildFrame('#data-detail-submit-save', index).hide();
                                      setFormVal(layer.getChildFrame('#detail', 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;
            //  拣料入库
            case 'pick':
                layer.confirm('拣料入库该笔工作档?', {title: '工作号:'+data.wrkNo, shadeClose: true}, function(){
src/main/webapp/views/wrkMast/wrkMast.html
@@ -135,7 +135,7 @@
<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
<script type="text/javascript" src="../../static/js/wrkMast/wrkMast.js" charset="utf-8"></script>
<script type="text/javascript" src="../../static/js/wrkMast/wrkMast.js?v=1" charset="utf-8"></script>
<iframe id="detail-iframe" scrolling="auto" style="display:none;"></iframe>