From 0953121224029bc864d55d2bad30756ec91e334c Mon Sep 17 00:00:00 2001
From: zzr99 <1940172413@qq.com>
Date: 星期二, 07 九月 2021 17:40:59 +0800
Subject: [PATCH] 设备保养计划列表和编辑
---
WebTM/views/IpadIndex.html | 70 ++---------------------------------
1 files changed, 4 insertions(+), 66 deletions(-)
diff --git a/WebTM/views/IpadIndex.html b/WebTM/views/IpadIndex.html
index ab1cbc3..c2d8933 100644
--- a/WebTM/views/IpadIndex.html
+++ b/WebTM/views/IpadIndex.html
@@ -740,43 +740,6 @@
});
}
- //涓婃枡闃查敊鍗�
- function OpenMaterToSource()
- {
- 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: '鐢熶骇绠$悊/涓婃枡闃查敊鍗�/Sc_Add_MaterToSourceBillList.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 OpenFistCheck(event, obj)
{
@@ -791,7 +754,7 @@
, shade: 0.6
, maxmin: false
, anim: 0
- , content: ['璐ㄩ噺绠$悊/棣栦欢妫�楠屽崟/QC_Add_Edit_FirstPieceCheckBill.html?OperationType=2&linterid=' + HSourceInterID + '&HSouceBillType=' + HBillType + '&HICMOEntryID=' + HSourceEntryID, 'yes']
+ , content: ['璐ㄩ噺绠$悊/棣栦欢妫�楠屽崟/QC_Add_Edit_FirstPieceCheckBill.html?OperationType=2&linterid=' + HSourceInterID + '&HSouceBillType=' + HBillType, 'yes']
, resize: false
, cancel: function () {
}
@@ -815,38 +778,13 @@
, shade: 0.6
, maxmin: false
, anim: 0
- , content: ['璐ㄩ噺绠$悊/宸ュ簭妫�楠屽崟/QC_ProcessCheckBill.html?OperationType=2&linterid=' + HSourceInterID + '&HSouceBillType=' + HBillType + '&HICMOEntryID=' + HSourceEntryID, 'yes']
+ , content: ['璐ㄩ噺绠$悊/宸ュ簭妫�楠屽崟/QC_ProcessCheckBill.html?OperationType=2&linterid=' + HSourceInterID +'&HSouceBillType=' + HBillType, 'yes']
, resize: false
, cancel: function () {
}
, end: function () {
- }
- })
- }
-
- //涓嶈壇閲囬泦
- function BadGather()
- {
- if (wktag == 0) {
- layer.alert("璇烽�夋嫨宸ュ崟鍒楄〃", { icon: 5 });
- return false;
- }
- layer.open({
- type: 2
- , area: ['100%', '100%']
- , title: '璐ㄩ噺姹囨姤鍗�-缂栬緫'
- , shade: 0.6
- , maxmin: false
- , anim: 0
- , content: ['鐢熶骇绠$悊/璐ㄩ噺姹囨姤鍗�/Sc_QualityReportBill.html?OperationType=2&linterid=' + HSourceInterID + '&HSouceBillType=' + HBillType + '&HICMOEntryID=' + HSourceEntryID, 'yes']
- , resize: false
- , cancel: function () {
-
- }
- , end: function () {
-
}
})
}
@@ -1022,13 +960,13 @@
<span class="imgtitle">鎶ユ鐢宠</span>
</div>
</div>
- <div class="layui-col-sm12 layui-col-md4" onclick="OpenMaterToSource(event,this)">
+ <div class="layui-col-sm12 layui-col-md4">
<div class="cnt bottomright" style="pointer-events:none; background-color:rgb(0 0 0 / 10%)">
<span class="layui-icon layui-icon-engine imgicon"></span>
<span class="imgtitle">涓婃枡闃插憜</span>
</div>
</div>
- <div class="layui-col-sm12 layui-col-md4" onclick="BadGather(event,this)">
+ <div class="layui-col-sm12 layui-col-md4">
<div class="cnt bottomright" style="pointer-events:none; background-color:rgb(0 0 0 / 10%)">
<span class="layui-icon layui-icon-chart imgicon"></span>
<span class="imgtitle">涓嶈壇閲囬泦</span>
--
Gitblit v1.9.1