|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <script type="text/html" id="operate"> | 
|---|
|  |  |  | {{#if (d.status == 1){ }} | 
|---|
|  |  |  | <a class="layui-btn layui-btn-sm layui-btn-danger" lay-event="stockOut" style="font-size: 16px">捡货</a> | 
|---|
|  |  |  | <a class="layui-btn layui-btn-sm layui-btn-danger" lay-event="stockOut" style="font-size: 16px">拣货</a> | 
|---|
|  |  |  | {{# } }} | 
|---|
|  |  |  | {{#if (d.status == 2){ }} | 
|---|
|  |  |  | <a class="layui-btn layui-btn-sm layui-btn-normal" lay-event="print" style="font-size: 16px">打印</a> | 
|---|
|  |  |  | 
|---|
|  |  |  | <iframe id="detail-iframe" scrolling="auto" style="display:none;"></iframe> | 
|---|
|  |  |  | <div id="pakoutPrintBox" style="display: none"></div> | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <!--<div id="print-contain">--> | 
|---|
|  |  |  | <!--    <!– 头 –>--> | 
|---|
|  |  |  | <!--    <div id="print-header">--> | 
|---|
|  |  |  | <!--        <!– 左 –>--> | 
|---|
|  |  |  | <!--        <div style="float: left; width: 80%">--> | 
|---|
|  |  |  | <!--            <img class="template-code template-qrcode" src="{{data.barcodeUrl}}">--> | 
|---|
|  |  |  | <!--            <p>XSSDSSSS-qwewqewq</p>--> | 
|---|
|  |  |  | <!--        </div>--> | 
|---|
|  |  |  | <!--        <!– 右 –>--> | 
|---|
|  |  |  | <!--        <div style="float: left;width: 20%">--> | 
|---|
|  |  |  | <!--            <div>捡货数量:<span>20</span></div>--> | 
|---|
|  |  |  | <!--        </div>--> | 
|---|
|  |  |  | <!--        <div style="float: left; width: 80%">--> | 
|---|
|  |  |  | <!--            客户:<span>浙江中扬立库技术有限公司</span>--> | 
|---|
|  |  |  | <!--        </div>--> | 
|---|
|  |  |  | <!--        <div style="float: left; width: 20%">--> | 
|---|
|  |  |  | <!--            捡货人:陆晓涛--> | 
|---|
|  |  |  | <!--        </div>--> | 
|---|
|  |  |  | <!--    </div>--> | 
|---|
|  |  |  | <!--    <hr>--> | 
|---|
|  |  |  | <!--    <!– 主体 –>--> | 
|---|
|  |  |  | <!--    <div>--> | 
|---|
|  |  |  | <!--        <div class="pakout-item">--> | 
|---|
|  |  |  | <!--            <div class="item-header">--> | 
|---|
|  |  |  | <!--                {{maktx}}--> | 
|---|
|  |  |  | <!--            </div>--> | 
|---|
|  |  |  | <!--            <div class="item-content">--> | 
|---|
|  |  |  | <!--                <div style="float: left">{{anfme}}{{unit}}</div>--> | 
|---|
|  |  |  | <!--                <div style="float: right">货位:{{locNo}}</div>--> | 
|---|
|  |  |  | <!--            </div>--> | 
|---|
|  |  |  | <!--        </div>--> | 
|---|
|  |  |  | <!--    </div>--> | 
|---|
|  |  |  | <!--</div>--> | 
|---|
|  |  |  | </body> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <script type="text/template" id="pakoutPrintTpl"> | 
|---|
|  |  |  | <!-- 头 --> | 
|---|
|  |  |  | <div id="print-header"> | 
|---|
|  |  |  | <!-- 左 --> | 
|---|
|  |  |  | <div style="float: left; width: 80%"> | 
|---|
|  |  |  | <img class="template-code template-qrcode" src="{{data.barcodeUrl}}"> | 
|---|
|  |  |  | <p>{{data.docNum}}</p> | 
|---|
|  |  |  | <div id="print-header" style="margin: 20px 0"> | 
|---|
|  |  |  | <div style="text-align: center"> | 
|---|
|  |  |  | <div style="text-align: center;margin-bottom: 10px"> | 
|---|
|  |  |  | <span style="font-family: 宋体"> 拣货单 </span> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <img class="template-code template-qrcode" src="{{data.barcodeUrl}}" style="width: 80%"> | 
|---|
|  |  |  | <p style="letter-spacing: 2px;margin-top: 5px">{{data.docNum}}</p> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <!-- 右 --> | 
|---|
|  |  |  | <div style="float: left;width: 20%"> | 
|---|
|  |  |  | <div>捡货数量:<span>{{data.total}}</span></div> | 
|---|
|  |  |  | <div style="font-size: xx-small; text-align: left; margin-top: 10px"> | 
|---|
|  |  |  | <span style="font-family: 宋体">客户:{{data.custName}}</span> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div style="float: left; width: 80%"> | 
|---|
|  |  |  | 客户:<span>{{data.custName}}</span> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div style="float: left; width: 20%"> | 
|---|
|  |  |  | 捡货人:{{data.workerName}} | 
|---|
|  |  |  | <div style="margin-top: 10px"> | 
|---|
|  |  |  | <div style="float: left;width: 50%; text-align: left"> | 
|---|
|  |  |  | <span style="font-size: xx-small;font-family: 宋体">拣货数量:{{data.total}}</span> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div style="float: left; width: 50%; text-align: right"> | 
|---|
|  |  |  | <span style="font-size: xx-small;font-family: 宋体">拣货人:{{data.workerName}}</span> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div style="clear:both;"></div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <hr> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <!-- 主体 --> | 
|---|
|  |  |  | <div> | 
|---|
|  |  |  | <div style="margin-top: 10px"> | 
|---|
|  |  |  | {{#each data.list}} | 
|---|
|  |  |  | <div class="pakout-item"> | 
|---|
|  |  |  | <div class="item-header"> | 
|---|
|  |  |  | <div class="pakout-item" style="padding: 10px 5px 10px 5px;border-top: 1px solid #525252"> | 
|---|
|  |  |  | <div class="item-header" style="margin-top: 10px;font-family: 宋体; font-size: x-small"> | 
|---|
|  |  |  | {{maktx}} | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="item-content"> | 
|---|
|  |  |  | <div style="float: left">{{anfme}}{{unit}}</div> | 
|---|
|  |  |  | <div style="float: right">货位:{{locNo}}</div> | 
|---|
|  |  |  | <div class="item-content" style="margin: 10px 0 "> | 
|---|
|  |  |  | <div style="float: left;font-family: 宋体; font-size: xx-small">{{anfme}}{{unit}}</div> | 
|---|
|  |  |  | <div style="float: right;font-family: 宋体; font-size: xx-small">货位:{{locNo}}</div> | 
|---|
|  |  |  | <div style="clear: both;"></div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | {{/each}} | 
|---|