|
|
@@ -49,12 +49,24 @@
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-1">机台选择:</label>
|
|
|
- <select id="c-mid" data-rule="required" class="control-label col-xs-12 col-sm-2 selectpicker" name="row[mid]">
|
|
|
+ <div class="col-xs-12 col-sm-3">
|
|
|
+ <select id="c-mid" data-rule="required" class="control-label col-xs-12 col-sm-8 selectpicker" name="row[mid]">
|
|
|
{foreach name="machineList" item="vo"}
|
|
|
<option value="{$vo.id}" {in name="key" value=""}selected{/in}>{$vo.name}</option>
|
|
|
{/foreach}
|
|
|
</select>
|
|
|
+ </div>
|
|
|
+ <label class="control-label col-xs-12 col-sm-1">请选择关联订单:</label>
|
|
|
+ <div class="col-xs-12 col-sm-6">
|
|
|
+ <select id="c-order-uncompleted" data-rule="required" class="control-label col-xs-12 col-sm-24 selectpicker" name="row[uncompleted]">
|
|
|
+ {foreach name="order" item="vo"}
|
|
|
+ <option value="{$vo.id}">{$vo.str}</option>
|
|
|
+ {/foreach}
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+
|
|
|
</div>
|
|
|
+
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-1"></label>
|
|
|
<button type="button" id="add" class="btn btn-success">确定生成作业票</button>
|
|
|
@@ -82,89 +94,89 @@
|
|
|
<!--===========================================================-->
|
|
|
<div style="display: none">
|
|
|
<div class="form-group" id="print_area" >
|
|
|
- <div id="head">
|
|
|
- <table class="tg" style="width: 800px;">
|
|
|
- <thead>
|
|
|
- <div id="qrcode" style="margin:0 0 -450px 500px;width: 80px;height: 80px;">
|
|
|
- <img src="" id="myImage" alt=""/>
|
|
|
- </div>
|
|
|
- <tr>
|
|
|
- <th class="tg-v8dz" colspan="6" >
|
|
|
- <!--<p id="formula_no"></p>-->
|
|
|
- <!--<hr style="border: 1px solid;margin-top: -5px">-->
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
- <tbody>
|
|
|
- <tr>
|
|
|
- <td class="tg-s5vw"></td>
|
|
|
- <td class="tg-svyg"></td>
|
|
|
- <td class="tg-ub5w" colspan="2" rowspan="2">作业票 </td>
|
|
|
- <td class="tg-4qqe"></td>
|
|
|
- <td class="tg-s5vw"></td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td class="tg-9d8n" style="border: none">日期:</td>
|
|
|
- <td class="tg-z7m5" id="date"></td>
|
|
|
- <td class="tg-9d8n">开票人</td>
|
|
|
- <td class="tg-9d8n">审核</td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td class="tg-9d8n" style="border: none">批号:</td>
|
|
|
- <td class="tg-z7m5" id="bach"></td>
|
|
|
- <td class="tg-kghl" style="border: none"><input type="text" id="formula" value="" style="width: 400px;text-align: center"></td>
|
|
|
- <td class="tg-0pky"></td>
|
|
|
- <td class="tg-x1hj" id="drawer_name"></td>
|
|
|
- <td class="tg-x1hj" id="examine_name"></td>
|
|
|
- </tr>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
- <div style="height: 20px;"></div>
|
|
|
- <div id="body">
|
|
|
- <table class="tg" style="width: 800px;" id="print_gy">
|
|
|
- <tr>
|
|
|
- <th style="text-align: center">原材料</th>
|
|
|
-<!-- <th style="text-align: center">百分比</th>-->
|
|
|
- <th style="text-align: center">应加量(KG)</th>
|
|
|
- <th style="text-align: center">实加量(KG)</th>
|
|
|
- <th style="text-align: center">操作记录</th>
|
|
|
- </tr>
|
|
|
- {foreach name='row["gyinfo"]' id='vo'}
|
|
|
- <tr>
|
|
|
- <td style="width: 100px;text-align: center">{$vo.material}</td>
|
|
|
-<!-- <td style="width: 100px">{$vo.percentage}</td>-->
|
|
|
- <td data-id="{$vo.id}" id="text-{$vo.id}" style="width: 100px;text-align: center"></td>
|
|
|
- <td style="width: 100px;text-align: center"></td>
|
|
|
- <td style="width: 400px;">{$vo.gy_name}</td>
|
|
|
- </tr>
|
|
|
- {/foreach}
|
|
|
- <tr>
|
|
|
- <td style="width: 100px;text-align: center">总计</td>
|
|
|
- <td class="total" style="width: 100px;text-align: center"></td>
|
|
|
- <td></td>
|
|
|
- <td></td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td colspan="5" class="remark"></td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- <div style="height: 5px;"></div>
|
|
|
- <table class="tg" style="width: 800px;">
|
|
|
- <tr>
|
|
|
- <td style="border: none">
|
|
|
- <span>包装规格:</span>
|
|
|
- <hr style="border: 1px solid;width: 150px;margin-top: -5px;">
|
|
|
- <div style="position: absolute;margin-left: 270px;margin-top: -36px;">KG/桶</div>
|
|
|
- </td>
|
|
|
- <td style="border: none">作业票回收日期:<hr style="border: 1px solid;width: 150px;margin-top: -5px;"></td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td style="border: none">操作人员:<hr style="border: 1px solid;width: 150px;margin-top: -5px;"></td>
|
|
|
- <td style="border: none">检验签字:<hr style="border: 1px solid;width: 150px;margin-top: -5px;"></td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
+ <div id="head">
|
|
|
+ <table class="tg" style="width: 800px;">
|
|
|
+ <thead>
|
|
|
+ <div id="qrcode" style="margin:0 0 -450px 500px;width: 80px;height: 80px;">
|
|
|
+ <img src="" id="myImage" alt=""/>
|
|
|
+ </div>
|
|
|
+ <tr>
|
|
|
+ <th class="tg-v8dz" colspan="6" >
|
|
|
+ <!--<p id="formula_no"></p>-->
|
|
|
+ <!--<hr style="border: 1px solid;margin-top: -5px">-->
|
|
|
+ </th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ <tr>
|
|
|
+ <td class="tg-s5vw"></td>
|
|
|
+ <td class="tg-svyg"></td>
|
|
|
+ <td class="tg-ub5w" colspan="2" rowspan="2">作业票 </td>
|
|
|
+ <td class="tg-4qqe"></td>
|
|
|
+ <td class="tg-s5vw"></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="tg-9d8n" style="border: none">日期:</td>
|
|
|
+ <td class="tg-z7m5" id="date"></td>
|
|
|
+ <td class="tg-9d8n">开票人</td>
|
|
|
+ <td class="tg-9d8n">审核</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="tg-9d8n" style="border: none">批号:</td>
|
|
|
+ <td class="tg-z7m5" id="bach"></td>
|
|
|
+ <td class="tg-kghl" style="border: none"><input type="text" id="formula" value="" style="width: 400px;text-align: center"></td>
|
|
|
+ <td class="tg-0pky"></td>
|
|
|
+ <td class="tg-x1hj" id="drawer_name"></td>
|
|
|
+ <td class="tg-x1hj" id="examine_name"></td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ <div style="height: 20px;"></div>
|
|
|
+ <div id="body">
|
|
|
+ <table class="tg" style="width: 800px;" id="print_gy">
|
|
|
+ <tr>
|
|
|
+ <th style="text-align: center">原材料</th>
|
|
|
+ <!-- <th style="text-align: center">百分比</th>-->
|
|
|
+ <th style="text-align: center">应加量(KG)</th>
|
|
|
+ <th style="text-align: center">实加量(KG)</th>
|
|
|
+ <th style="text-align: center">操作记录</th>
|
|
|
+ </tr>
|
|
|
+ {foreach name='row["gyinfo"]' id='vo'}
|
|
|
+ <tr>
|
|
|
+ <td style="width: 100px;text-align: center">{$vo.material}</td>
|
|
|
+ <!-- <td style="width: 100px">{$vo.percentage}</td>-->
|
|
|
+ <td data-id="{$vo.id}" id="text-{$vo.id}" style="width: 100px;text-align: center"></td>
|
|
|
+ <td style="width: 100px;text-align: center"></td>
|
|
|
+ <td style="width: 400px;">{$vo.gy_name}</td>
|
|
|
+ </tr>
|
|
|
+ {/foreach}
|
|
|
+ <tr>
|
|
|
+ <td style="width: 100px;text-align: center">总计</td>
|
|
|
+ <td class="total" style="width: 100px;text-align: center"></td>
|
|
|
+ <td></td>
|
|
|
+ <td></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td colspan="5" class="remark"></td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ <div style="height: 5px;"></div>
|
|
|
+ <table class="tg" style="width: 800px;">
|
|
|
+ <tr>
|
|
|
+ <td style="border: none">
|
|
|
+ <span>包装规格:</span>
|
|
|
+ <hr style="border: 1px solid;width: 150px;margin-top: -5px;">
|
|
|
+ <div style="position: absolute;margin-left: 270px;margin-top: -36px;">KG/桶</div>
|
|
|
+ </td>
|
|
|
+ <td style="border: none">作业票回收日期:<hr style="border: 1px solid;width: 150px;margin-top: -5px;"></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td style="border: none">操作人员:<hr style="border: 1px solid;width: 150px;margin-top: -5px;"></td>
|
|
|
+ <td style="border: none">检验签字:<hr style="border: 1px solid;width: 150px;margin-top: -5px;"></td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group layer-footer">
|