From 86804db116fa7266c14add985bb3047d9e598447 Mon Sep 17 00:00:00 2001
From: zzr99 <1940172413@qq.com>
Date: 星期一, 22 八月 2022 11:13:43 +0800
Subject: [PATCH] 模治具,设备测试(2)修复

---
 WebTM/views/模治具管理/模治具管理/Sb_Add_MouldRepairWorkBillList.html |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sb_Add_MouldRepairWorkBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sb_Add_MouldRepairWorkBillList.html"
index 6b231e4..9d0c87e 100644
--- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sb_Add_MouldRepairWorkBillList.html"
+++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sb_Add_MouldRepairWorkBillList.html"
@@ -212,7 +212,7 @@
                                                 <label class="layui-form-label">婧愬崟绫诲瀷</label>
                                                 <div class="layui-input-inline">
                                                     <select name="HMainSourceBillType" lay-filter="HMainSourceBillType" id="HMainSourceBillType">
-                                                        <option value="2" selected="selected">閲囪喘璁㈠崟</option>
+                                                        <option value="2" selected="selected">鏁呴殰鐧昏鍗�</option>
                                                         <option value="1">鎵嬪伐褰曞叆</option>
                                                     </select>
                                                 </div>
@@ -647,7 +647,7 @@
                     title: '鍣ㄥ叿鏁呴殰鐧昏鍗曞垪琛�',
                     shift: 2,
                     area: ['90%', '90%'],
-                    content: ['../../PublicPage/PurchOrder.html', 'yes'],
+                    content: ['../妯℃不鍏风鐞�/Sc_MouldConkBookBillList.html', 'yes'],
                     btn: ['纭畾', '鍙栨秷']
                     , btn1: function (index, layero) {
                      
@@ -659,6 +659,9 @@
                         var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//鑾峰彇table鐨別lem:"#test"
                         if (checkStatus.data.length === 0) {
                             return layer.msg('璇烽�夋嫨鍗曟嵁鏁版嵁');
+                        }
+                        else if (checkStatus.data.length >1) {
+                            return layer.msg('璇烽�夋嫨涓�琛屽崟鎹暟鎹�');
                         }
                         //鍒锋柊褰撳墠椤佃〃鏍兼暟鎹噸杞�
                         //var oldData = table.cache["mainTable"];
@@ -858,7 +861,7 @@
             function set_AddFNew() {
                 //鑾峰彇鏈�澶у崟鎹彿
                 get_MAXNum();
-                option.data = [];
+                option.data = [{ "HRepairID": 0, "HRepairCode": "", "HRepairName": "  ", "HRepairExplanation": "   ", "HManagerID": 0, "HManagerCode": "", "HManagerName": "  ", "HMoney": 0, "HRemark": "  " }];
                 table.render(option);
             }
             //鑾峰彇鏈�澶у崟鎹彿鍙婇粯璁ゅ�艰祴鍊�

--
Gitblit v1.9.1