| | |
| | | var detlCols = [ |
| | | {field: 'matnr', align: 'center',title: '规格', sort:false, hide: false} |
| | | ,{field: 'maktx', align: 'center',title: '品名', sort:true, hide: true} |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号', hide: true} |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号', hide: false} |
| | | ,{field: 'batch', align: 'center',title: '批次', hide: true, sort:true} |
| | | ,{field: 'unit', align: 'center',title: '箱号', hide: false} |
| | | ,{field: 'model', align: 'center',title: '卷号', hide: false} |
| | |
| | | cellMinWidth: 100, |
| | | cols: [[ |
| | | {type: 'numbers'}, |
| | | {field: 'matnr', title: '规格', width: 160}, |
| | | {field: 'maktx', title: '商品名称', width: 160}, |
| | | {field: 'batch', title: '箱号'}, |
| | | {field: 'anfme', title: '数量'}, |
| | | {field: 'brand', title: '包装组号', width: 160}, |
| | | // {field: 'maktx', title: '商品名称', width: 160}, |
| | | // {field: 'batch', title: '箱号'}, |
| | | // {field: 'anfme', title: '数量'}, |
| | | // {field: 'workQty', title: '作业数量'}, |
| | | |
| | | // {field: 'unit', title: '单位'}, |
| | |
| | | // }, |
| | | // {field: 'inQty', title: '已入库量'}, |
| | | // {field: 'color', title: '颜色'}, |
| | | {field: 'specs', title: '接头'}, |
| | | // {field: 'specs', title: '接头'}, |
| | | {field: 'qty$', title: '状态', style: 'font-weight: bold'}, |
| | | {field: 'source$', title: '是否确认', style: 'font-weight: bold'} |
| | | ]], |
| | |
| | | {type: 'checkbox'} |
| | | ,{type: 'numbers', title: '#'} |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号', templet: '#orderNoTpl', width: 160} |
| | | ,{field: 'matnr', align: 'center',title: '规格', width: 160} |
| | | ,{field: 'maktx', align: 'center',title: '商品名称', width: 200} |
| | | ,{field: 'batch', align: 'center',title: '箱号'} |
| | | ,{field: 'specs', align: 'center',title: '接头'} |
| | | // ,{field: 'matnr', align: 'center',title: '规格', width: 160} |
| | | // ,{field: 'maktx', align: 'center',title: '商品名称', width: 200} |
| | | // ,{field: 'batch', align: 'center',title: '箱号'} |
| | | // ,{field: 'specs', align: 'center',title: '接头'} |
| | | // ,{field: 'anfme', align: 'center',title: '数量'} |
| | | // ,{field: 'qty', align: 'center',title: '作业数量', style: 'font-weight: bold'} |
| | | ,{field: 'brand', align: 'center',title: '包装组号'} |
| | | ,{field: 'qty', align: 'center',title: '作业数量', style: 'font-weight: bold'} |
| | | ,{field: 'enableQty', align: 'center',title: '待出数量', style: 'font-weight: bold'} |
| | | // ,{field: 'name', align: 'center',title: '名称'} |
| | | ,{field: 'model', align: 'center',title: '卷号', hide: false} |
| | | ,{field: 'unit', align: 'center',title: '单位', hide: true} |
| | | ,{field: 'barcode', align: 'center',title: '商品条码', hide: true} |
| | | // ,{field: 'model', align: 'center',title: '卷号', hide: false} |
| | | // ,{field: 'unit', align: 'center',title: '单位', hide: true} |
| | | // ,{field: 'barcode', align: 'center',title: '商品条码', hide: true} |
| | | // ,{field: 'supplier', align: 'center',title: '供应商'} |
| | | // ,{field: 'unitPrice', align: 'center',title: '单价'} |
| | | // ,{field: 'itemNum', align: 'center',title: '品项数'} |
| | |
| | | cols: [[ |
| | | // {type: 'checkbox', merge: ['orderNo']}, |
| | | {field: 'orderNo', title: '单据编号', merge: true, align: 'center'}, |
| | | {field: 'title', title: '商品', merge: true, align: 'center', width: 350}, |
| | | {field: 'batch', title: '箱号', align: 'center'}, |
| | | {field: 'model', title: '卷号', align: 'center', hide: false}, |
| | | {field: 'specs', title: '接头', align: 'center'}, |
| | | {field: 'brand', align: 'center',title: '木箱类型', hide: true}, |
| | | {field: 'brand$', align: 'center',title: '木箱类型', hide: false}, |
| | | {field: 'zpallet', title: '托盘码', align: 'center'}, |
| | | {field: 'anfme', title: '数量', align: 'center', width: 90, style: 'font-weight: bold'}, |
| | | {field: 'count', title: '数量', align: 'center', width: 90, style: 'font-weight: bold'}, |
| | | // {field: 'title', title: '商品', merge: true, align: 'center', width: 350}, |
| | | // {field: 'batch', title: '箱号', align: 'center'}, |
| | | // {field: 'model', title: '卷号', align: 'center', hide: false}, |
| | | // {field: 'specs', title: '接头', align: 'center'}, |
| | | {field: 'brand', align: 'center',title: '包装组号', merge: true, hide: false}, |
| | | // {field: 'brand$', align: 'center',title: '木箱类型', hide: false}, |
| | | // {field: 'zpallet', title: '托盘码', align: 'center'}, |
| | | // {field: 'anfme', title: '数量', align: 'center', width: 90, style: 'font-weight: bold'}, |
| | | // {field: 'count', title: '数量', align: 'center', width: 90, style: 'font-weight: bold'}, |
| | | {field: 'locNo', title: '货位', align: 'center', width: 100, templet: '#locNoTpl'}, |
| | | {field: 'staNos', align: 'center', title: '出库站', merge: ['locNo'], templet: '#tbBasicTbStaNos'}, |
| | | // {type: 'checkbox', merge: ['locNo']}, |
| | |
| | | {{# if (d.settle == 0 || d.settle == 1) { }} |
| | | <!-- <a class="layui-btn layui-btn-primary layui-btn-xs btn-edit" lay-event="edit">修改</a>--> |
| | | <a class="layui-btn layui-btn-danger layui-btn-xs btn-delete" lay-event="del">删除</a> |
| | | <a class="layui-btn layui-btn-primary layui-border-blue layui-btn-xs btn-complete" lay-event="labelUp">上传标签</a> |
| | | <!-- <a class="layui-btn layui-btn-primary layui-border-blue layui-btn-xs btn-complete" lay-event="labelUp">上传标签</a>--> |
| | | {{# } }} |
| | | {{# if (d.settle == 2) { }} |
| | | <a class="layui-btn layui-btn-primary layui-border-blue layui-btn-xs btn-complete" lay-event="labelUp">上传标签</a> |
| | | <!-- <a class="layui-btn layui-btn-primary layui-border-blue layui-btn-xs btn-complete" lay-event="labelUp">上传标签</a>--> |
| | | <a class="layui-btn layui-btn-primary layui-border-blue layui-btn-xs btn-complete" lay-event="complete">完结</a> |
| | | {{# } }} |
| | | {{# if (d.settle == 4 && d.tkType=='1') { }} |
| | |
| | | <form class="layui-form toolbar"> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">商品编码:</label> |
| | | <label class="layui-form-label">包装组号:</label> |
| | | <div class="layui-input-inline"> |
| | | <input name="matnr" class="layui-input" placeholder="商品编码"/> |
| | | <input name="brand" class="layui-input" placeholder="包装组号"/> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">商品名称:</label> |
| | | <div class="layui-input-inline"> |
| | | <input name="maktx" class="layui-input" placeholder="商品名称"/> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">序列码:</label> |
| | | <div class="layui-input-inline"> |
| | | <input name="batch" class="layui-input" placeholder="序列码"/> |
| | | </div> |
| | | </div> |
| | | <!-- <div class="layui-inline">--> |
| | | <!-- <label class="layui-form-label">商品名称:</label>--> |
| | | <!-- <div class="layui-input-inline">--> |
| | | <!-- <input name="maktx" class="layui-input" placeholder="商品名称"/>--> |
| | | <!-- </div>--> |
| | | <!-- </div>--> |
| | | <!-- <div class="layui-inline">--> |
| | | <!-- <label class="layui-form-label">序列码:</label>--> |
| | | <!-- <div class="layui-input-inline">--> |
| | | <!-- <input name="batch" class="layui-input" placeholder="序列码"/>--> |
| | | <!-- </div>--> |
| | | <!-- </div>--> |
| | | <!-- <div class="layui-inline">--> |
| | | <!-- <label class="layui-form-label">状态:</label>--> |
| | | <!-- <div class="layui-input-inline">--> |
| | |
| | | <div class="layui-card-body" style="padding: 10px"> |
| | | <table id="stoPreTab" lay-filter="stoPreTab"></table> |
| | | </div> |
| | | <button class="layui-btn layui-btn-primary layui-border-black layui-btn-sm" lay-filter="batchModifySta" lay-submit style="display: block;float: right;margin-right: 1rem"> |
| | | 批量修改 |
| | | </button> |
| | | <!-- <button class="layui-btn layui-btn-primary layui-border-black layui-btn-sm" lay-filter="batchModifySta" lay-submit style="display: block;float: right;margin-right: 1rem">--> |
| | | <!-- 批量修改--> |
| | | <!-- </button>--> |
| | | </div> |
| | | </script> |
| | | |