| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div id="box" style="display: block"></div> |
| | | <!-- 表格操作列 --> |
| | | <script type="text/html" id="operate"> |
| | | {{# if (d.settle == 1 || d.settle == 2) { }} |
| | | {{# if (d.settle == 0 || d.settle == 1) { }} |
| | | <a class="layui-btn layui-btn-primary layui-btn-xs btn-edit" lay-event="edit">修改</a> |
| | | {{# if (d.settle == 2) { }} |
| | | <a class="layui-btn layui-btn-primary layui-border-blue layui-btn-xs btn-complete" lay-event="complete">完结</a> |
| | | {{# } }} |
| | | <a class="layui-btn layui-btn-danger layui-btn-xs btn-delete" lay-event="del">删除</a> |
| | | {{# } }} |
| | | <a class="layui-btn layui-btn-danger layui-btn-xs btn-delete" lay-event="del">删除</a> |
| | | {{# if (d.settle == 2) { }} |
| | | <a class="layui-btn layui-btn-primary layui-border-blue layui-btn-xs btn-complete" lay-event="complete">完结</a> |
| | | {{# } }} |
| | | |
| | | <!-- {{# if ((d.settle == 0 || d.settle == 1) && (d.docType == 1 || d.docType == 11 || d.docType == 14 || d.docType == 17 || d.docType == 18)) { }}--> |
| | | <!-- <a class="layui-btn layui-btn-primary layui-border-blue layui-btn-xs btn-complete" lay-event="manPrint">生成拣货单</a>--> |
| | | <!-- {{# } }}--> |
| | | <a class="layui-btn layui-btn-primary layui-border-blue layui-btn-xs btn-complete" lay-event="btnPrint">打印</a> |
| | | </script> |
| | | <!-- 表格操作列 --> |
| | | <script type="text/html" id="tbLook"> |
| | |
| | | |
| | | <script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script> |
| | | <script type="text/javascript" src="../../static/js/handlebars/handlebars-v4.5.3.js"></script> |
| | | <script type="text/javascript" src="../../static/js/jquery/jQuery.print.js"></script> |
| | | <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> |
| | |
| | | <option value="{{docId}}">{{docName}}</option> |
| | | {{/each}} |
| | | </script> |
| | | |
| | | <script type="text/template" id="templatePreview3" class="template-qrcode"> |
| | | {{#each data}} |
| | | <table class="contain" width="280" style="overflow: hidden;font-size: xx-small;table-layout: fixed;"> |
| | | <thead></thead> |
| | | <tbody style="font-weight: bold"> |
| | | <tr style="height: 30px;"> |
| | | <td align="center" scope="col" colspan="1">商品</td> |
| | | <td align="lift" colspan="4" style="padding-left: 8px;overflow:hidden; white-space:nowrap; text-overflow:ellipsis;">{{this.maktx}}</td> |
| | | <td align="center" scope="col" colspan="3" rowspan="3"> |
| | | <img class="template-code template-qrcode" src="{{this.barcodeUrl}}" width="80%"> |
| | | </td> |
| | | </tr> |
| | | <tr style="height: 30px"> |
| | | <td align="center" scope="col" colspan="1">料号</td> |
| | | <!-- overflow:hidden; 溢出隐藏 white-space:nowrap; text-overflow:ellipsis;--> |
| | | <!-- word-break : break-all; 超出自动换行--> |
| | | <td align="lift" colspan="4" style="padding-left: 8px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;">{{this.matnr}}</td> |
| | | </tr> |
| | | <tr style="height: 30px"> |
| | | <td align="center" scope="col" colspan="1">日期</td> |
| | | <td align="lift" colspan="4" style="padding-left: 8px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;">{{this.createTime$}}</td> |
| | | </tr> |
| | | <tr style="height: 30px"> |
| | | <td align="center" scope="col" colspan="1">牌号</td> |
| | | <td align="lift" colspan="3" style="padding-left: 8px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;">{{this.brand}}</td> |
| | | <td align="center" scope="col" colspan="1">批号</td> |
| | | <td align="lift" colspan="3" style="padding-left: 8px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;">{{this.batch}}</td> |
| | | </tr> |
| | | <tr style="height: 30px"> |
| | | <td align="center" scope="col" colspan="1">数量</td> |
| | | <td align="lift" colspan="3" style="padding-left: 8px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;">{{this.anfme}}</td> |
| | | <td align="center" scope="col" colspan="1">状态</td> |
| | | <td align="lift" colspan="3" style="padding-left: 8px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;">{{this.status$}}</td> |
| | | </tr> |
| | | |
| | | |
| | | </tbody> |
| | | </table> |
| | | <div style="height: 20px"> |
| | | |
| | | </div> |
| | | {{/each}} |
| | | </script> |
| | | |
| | | |
| | | <script type="text/html" id="payment"> |
| | | <select id="select-primary" style="width: 100%" class="layui-border select-primary" lay-ignore > |
| | | <option value="0" |
| | | {{# if( d.payment === 0){ }} |
| | | selected = "selected" |
| | | {{# } }} |
| | | >代采</option> |
| | | <option value="1" |
| | | {{# if( d.payment === 1){ }} |
| | | selected = "selected" |
| | | {{# } }} |
| | | >仓储</option> |
| | | </select> |
| | | </script> |
| | | |
| | | |
| | | <!--<script type="text/html" id="payment">--> |
| | | <!-- {{# var cityList = d.cityList || ["北京","上海","广州","城市-1"]; }}--> |
| | | <!-- <select name="payment" class="layui-border select-demo-primary" lay-ignore>--> |
| | | <!-- <option value="">原生 select 框</option>--> |
| | | <!-- {{# layui.each(cityList, function(i, v){ }}--> |
| | | <!-- <option value="{{= v }}" {{= v === d.city ? 'selected' : '' }}>{{= v }}</option>--> |
| | | <!-- {{# }); }}--> |
| | | <!-- </select>--> |
| | | <!--</script>--> |
| | | </body> |
| | | |
| | | </html> |