| | |
| | | <option value="2">作业中</option> |
| | | <option value="4">已完成</option> |
| | | <option value="6">上报完成</option> |
| | | <option value="7">上报失败</option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | |
| | | <div id="box" style="display: block"></div> |
| | | <!-- 表格操作列 --> |
| | | <script type="text/html" id="operate"> |
| | | <a class="layui-btn layui-btn-primary layui-border-blue layui-btn-xs btn-complete" lay-event="printExcel">导出Excel</a> |
| | | {{# 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> |
| | |
| | | <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/order/order.js" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/order/decimal.js" charset="utf-8"></script> |
| | | |
| | | <script type="text/template" id="docTypeTpl"> |
| | | <option value="">选择类型</option> |
| | |
| | | </div> |
| | | {{/each}} |
| | | </script> |
| | | |
| | | |
| | | <!-- 模板引擎 --> |
| | | <!-- 模板4 --> |
| | | <script type="text/template" id="templatePreview4" class="template-qrcode"> |
| | | |
| | | <div style="width: 100%;border-bottom: #0C0C0C solid 2px;margin-bottom: 20px;"> |
| | | <div style="height: 60px;text-align: center;line-height: 60px;font-size: 30px;">单据</div> |
| | | <!-- <div style="height: 90px;text-align: center;line-height: 90px;">--> |
| | | <!-- <img class="template-code template-qrcode" src="{{barcodeUrl}}" width="300">--> |
| | | <!-- </div>--> |
| | | <!-- <div style="height: 50px;text-align: center;font-size: 25px;">{{docNum}}</div>--> |
| | | <div style="height: 40px;text-align: left;line-height: 40px;font-size: 20px;">单据号码:{{docNum}}</div> |
| | | <div style="height: 40px;text-align: left;line-height: 40px;font-size: 20px;">总数量:{{anfmeSum}}</div> |
| | | </div> |
| | | <table width="100%" style="border:0;border-bottom:#0C0C0C solid 2px; margin-bottom:20px;padding:0;overflow: hidden;font-size: xx-small;table-layout: fixed;"> |
| | | <tr style="height: 25px;font-size: 15px;"> |
| | | <td align="left" scope="col" colspan="1" style="width: 150px;"> |
| | | 料号 |
| | | </td> |
| | | <td align="left" scope="col" colspan="1" style="width: 80px;"> |
| | | 商品名 |
| | | </td> |
| | | <td align="left" scope="col" colspan="1" style="width: 80px;"> |
| | | 数量 |
| | | </td> |
| | | <td align="left" scope="col" colspan="1" style="width: 80px;"> |
| | | 完成数量 |
| | | </td> |
| | | <td align="center" scope="col" colspan="1"> |
| | | 二维码 |
| | | </td> |
| | | </tr> |
| | | {{#each data}} |
| | | <tr style="height: 85px;font-size: 15px;"> |
| | | <td align="left" scope="col" colspan="1" style="width: 100px;"> |
| | | {{this.matnr}} |
| | | </td> |
| | | <td align="left" scope="col" colspan="1" style="width: 80px;"> |
| | | {{this.maktx}} |
| | | </td> |
| | | <td align="left" scope="col" colspan="1" style="width: 80px;"> |
| | | {{this.anfme}} |
| | | </td> |
| | | <td align="left" scope="col" colspan="1" style="width: 80px;"> |
| | | {{this.qty}} |
| | | </td> |
| | | <td align="center" scope="col" colspan="1" rowspan="1"> |
| | | <img class="template-code template-qrcode" src="{{this.barcodeUrl}}" width="80px"> |
| | | </td> |
| | | </tr> |
| | | {{/each}} |
| | | </table> |
| | | <!-- {{#each data}}--> |
| | | <!-- <table width="100%" style="border:0;border-bottom:#0C0C0C solid 2px; margin-bottom:20px;padding:0;overflow: hidden;font-size: xx-small;table-layout: fixed;">--> |
| | | <!-- <tr style="height: 25px;font-size: 15px;">--> |
| | | <!-- <td align="left" scope="col" colspan="1" style="width: 100px;">--> |
| | | <!-- 料号:--> |
| | | <!-- </td>--> |
| | | <!-- <td>--> |
| | | <!-- {{this.matnr}}--> |
| | | <!-- </td>--> |
| | | <!-- <td align="left" scope="col" colspan="1" rowspan="4">--> |
| | | <!-- <img class="template-code template-qrcode" src="{{this.barcodeUrl}}" width="100px">--> |
| | | <!-- </td>--> |
| | | <!-- </tr>--> |
| | | <!-- <tr style="height: 25px;font-size: 15px;">--> |
| | | <!-- <td align="left" scope="col" colspan="1" style="width: 100px;">--> |
| | | <!-- 商品名:--> |
| | | <!-- </td>--> |
| | | <!-- <td>--> |
| | | <!-- {{this.maktx}}--> |
| | | <!-- </td>--> |
| | | <!-- </tr>--> |
| | | <!-- <tr style="height: 25px; font-size: 15px;">--> |
| | | <!-- <td align="left" scope="col" colspan="1" style="width: 100px;">--> |
| | | <!-- 拣货数量:--> |
| | | <!-- </td>--> |
| | | <!-- <td>--> |
| | | <!-- {{this.anfme}}--> |
| | | <!-- </td>--> |
| | | <!-- </tr>--> |
| | | <!-- <tr style="height: 30px; font-size: 15px;">--> |
| | | <!-- <td align="left" scope="col" colspan="1" style="width: 100px;">--> |
| | | <!-- 完成数量:--> |
| | | <!-- </td>--> |
| | | <!-- <td align="left" scope="col" colspan="1">--> |
| | | <!-- {{this.qty}}--> |
| | | <!-- </td>--> |
| | | <!-- </tr>--> |
| | | <!-- </table>--> |
| | | <!-- {{/each}}--> |
| | | </script> |
| | | |
| | | |
| | | <script type="text/html" id="payment"> |
| | | <select id="select-primary" style="width: 100%" class="layui-border select-primary" lay-ignore > |
| | | <option value="1" |
| | | {{# if( d.payment === 1){ }} |
| | | selected = "selected" |
| | | {{# } }} |
| | | >仓储</option> |
| | | <option value="0" |
| | | {{# if( d.payment === 0){ }} |
| | | 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> |