From bdc4e1bddd257f1fb04854e8654149b7d9f4975d Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期一, 20 十一月 2023 12:02:54 +0800
Subject: [PATCH] 1
---
WebTM/views/设备管理/设备维修派工单/Sb_EquipRepairSendWorkBillEdit.html | 23 ++++++++++++++++++-----
1 files changed, 18 insertions(+), 5 deletions(-)
diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sb_EquipRepairSendWorkBillEdit.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sb_EquipRepairSendWorkBillEdit.html"
index 7836d2e..80bea1f 100644
--- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sb_EquipRepairSendWorkBillEdit.html"
+++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sb_EquipRepairSendWorkBillEdit.html"
@@ -139,7 +139,11 @@
<div class="layui-inline">
<label class="layui-form-label" style="width: 85px;">鏃堕棿鍗曚綅</label>
<div class="layui-input-block" style="margin-left: 125px;">
- <input type="text" class="layui-input" name="HCycleUnit" lay-verify="HCycleUnit" style="width:100%" id="HCycleUnit" value="" onmouseover="this.title=this.value">
+ <select name="HCycleUnit" lay-filter="aihao" id="HCycleUnit">
+ <option value="灏忔椂" selected="selected">灏忔椂</option>
+ <option value="澶�">澶�</option>
+ <option value="鏈�">鏈�</option>
+ </select>
</div>
</div>
</div>
@@ -563,10 +567,19 @@
dataType: "json",
success: function (data) {
if (data.count == 1) {
- layer.close(index);
- layer.msg("鎻愪氦鎴愬姛");
- $('#btnSave').addClass("layui-btn-disabled").attr("disabled", true);
- location.reload();
+ if (linterid == undefined) {
+ layer.msg(data.Message, { time: 1 * 1000, icon: 1 }, function () {
+ $('#btnSave').addClass("layui-btn-disabled").attr("disabled", true);
+ location.reload();
+ });
+ }
+ else {
+ layer.msg("淇敼鎴愬姛", { time: 1 * 1000, icon: 1 }, function () {
+ $('#btnSave').addClass("layui-btn-disabled").attr("disabled", true);
+ Pub_Close(1);
+ });
+ }
+
}
else {
layer.close(index);
--
Gitblit v1.9.1