From 064ef1fd2858c6185bd1b7d1e986fc08c7abd8aa Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 11 三月 2021 15:50:10 +0800
Subject: [PATCH] #
---
src/main/webapp/views/custOrder/custOrder.html | 83 ++++++++++++++---------------------------
1 files changed, 28 insertions(+), 55 deletions(-)
diff --git a/src/main/webapp/views/custOrder/custOrder.html b/src/main/webapp/views/custOrder/custOrder.html
index e796201..318fe15 100644
--- a/src/main/webapp/views/custOrder/custOrder.html
+++ b/src/main/webapp/views/custOrder/custOrder.html
@@ -33,6 +33,7 @@
</div>
<script type="text/html" id="toolbar">
<div class="layui-btn-container">
+ <button class="layui-btn" onclick="right()">鑷畾涔夐攢鍞崟</button>
<!-- <button class="layui-btn layui-btn-sm" id="btn-add" lay-event="addData">鏂板</button>-->
<button class="layui-btn layui-btn-sm" id="btn-delete" lay-event="deleteData">鍒犻櫎</button>
<button class="layui-btn layui-btn-primary layui-btn-sm" id="btn-export" lay-event="exportData">瀵煎嚭</button>
@@ -41,7 +42,7 @@
<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">鎷h揣</a>
{{# } }}
{{#if (d.status == 2){ }}
<a class="layui-btn layui-btn-sm layui-btn-normal" lay-event="print" style="font-size: 16px">鎵撳嵃</a>
@@ -59,72 +60,44 @@
<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: 瀹嬩綋"> 鎷h揣鍗� </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: 瀹嬩綋">鎷h揣鏁伴噺锛歿{data.total}}</span>
+ </div>
+ <div style="float: left; width: 50%; text-align: right">
+ <span style="font-size: xx-small;font-family: 瀹嬩綋">鎷h揣浜猴細{{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}}
--
Gitblit v1.9.1