From a2574099d74dbc873b9a8316500bdd79da516e68 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期一, 15 七月 2024 10:07:44 +0800
Subject: [PATCH] 1
---
WebTM/views/IpadIndex.html | 47 +++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 45 insertions(+), 2 deletions(-)
diff --git a/WebTM/views/IpadIndex.html b/WebTM/views/IpadIndex.html
index c1b44b4..2fa2240 100644
--- a/WebTM/views/IpadIndex.html
+++ b/WebTM/views/IpadIndex.html
@@ -1202,6 +1202,42 @@
});
}
+ //妫�楠屽彇鏍锋寜閽偣鍑讳簨浠�
+ function TakeSample(event, obj) {
+ if (wktag == 0) {
+ layer.alert("璇烽�夋嫨宸ュ崟鍒楄〃", { icon: 5 });
+ return false;
+ }
+ layer.open({
+ type: 2,
+ skin: 'layui-layer-rim', //鍔犱笂杈规
+ title: '鏂板寮�宸ュ崟',
+ closeBtn: 1,
+ shift: 2,
+ area: ['100%', '100%'],
+ maxmin: true,
+ content: '璐ㄩ噺绠$悊/妫�楠屽彇鏍疯繕鏍峰崟/QC_Add_TakeSampleCheckBill.html?OperationType=2&linterid=&HSouceBillType=',
+ end: function () {
+
+ },
+ success: function (dom, index) {
+ var data = [];
+ data.push({
+ "HBillType": HBillType,
+ "HSourceInterID": HSourceInterID,
+ "HSourceEntryID": HSourceEntryID,
+ "HSourceBillNo": HSourceBillNo,
+ "HSourceBillType": HSourceBillType
+ });
+
+ //閫氳繃绱㈠紩鑾峰彇鍒板綋鍓峣frame寮瑰嚭灞�
+ var iframe = window['layui-layer-iframe' + index];
+ //璋冪敤iframe寮瑰嚭灞傚唴鐨勬柟娉�
+ iframe.edit(data);
+ },
+ });
+ }
+
//閫�鍑�
function Esc(event, obj) {
parent.location.href = "index.html"
@@ -1437,14 +1473,21 @@
</div>
</div>
</div>
- <div class="layui-row layui-col-space10">
+ <div class="layui-row layui-col-space10">
<div class="layui-col-sm12 layui-col-md4" onclick="PreventErrMouldCheck(event,this)">
<div class="cnt bottomright">
<span class="layui-icon layui-icon-engine imgicon"></span>
<span class="imgtitle">闃查敊楠岃瘉</span>
</div>
- </div>
+ </div>
+ <div class="layui-col-sm12 layui-col-md4" onclick="TakeSample(event,this)">
+ <div class="cnt bottomright">
+ <span class="layui-icon layui-icon-form imgicon"></span>
+ <span class="imgtitle">妫�楠屽彇鏍�</span>
+ </div>
+ </div>
</div>
+
</div>
</fieldset>
</div>
--
Gitblit v1.9.1