From aa363365e707c49303c5d6ccff7272b5ce682dbc Mon Sep 17 00:00:00 2001
From: 王 垚 <1402714037@qq.com>
Date: 星期四, 29 九月 2022 13:38:51 +0800
Subject: [PATCH] 到获确认 优化
---
WebTM/views/领料发货/收料入库/Kf_ReciveBill_Fast.html | 14 ++++----------
1 files changed, 4 insertions(+), 10 deletions(-)
diff --git "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\346\224\266\346\226\231\345\205\245\345\272\223/Kf_ReciveBill_Fast.html" "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\346\224\266\346\226\231\345\205\245\345\272\223/Kf_ReciveBill_Fast.html"
index ab3080b..2b430d2 100644
--- "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\346\224\266\346\226\231\345\205\245\345\272\223/Kf_ReciveBill_Fast.html"
+++ "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\346\224\266\346\226\231\345\205\245\345\272\223/Kf_ReciveBill_Fast.html"
@@ -140,7 +140,7 @@
<div class="layer-footer" style="text-align: center;">
<button type="button" lay-submit="" class="layui-btn buttom_box_little" lay-filter="btn_Check" id="btn_Check">瀹℃牳</button>
- <button type="button" class="layui-btn buttom_box_little" lay-filter="btn_Cancel" id="btn_Cancel">閫�鍑�</button>
+ <button type="button" lay-submit="" class="layui-btn buttom_box_little" lay-filter="btn_Cancel" id="btn_Cancel">閫�鍑�</button>
</div>
</form>
</div>
@@ -224,12 +224,8 @@
$('#HBarCode').val("");
$("#HBarCode").focus();
}
-
- //閫�鍑�-鍏抽棴椤甸潰鏂规硶
- $('#btn_Cancel').on('click', function () {
- layer.confirm('鎮ㄧ‘瀹氳閫�鍑哄悧锛�', { icon: 3, title: '鎻愮ず' }, function (index) {
- window.close();
- });
+ form.on('submit(btn_Cancel)', function () {
+ parent.location.href = "../../../views/index.html"
})
//瀹℃牳
form.on('submit(btn_Check)', function (data) {//瀹℃牳
@@ -269,8 +265,7 @@
function set_InitGrid() {
//琛ㄥご
columns = [
- { type: 'checkbox', fixed: 'left' }
- , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left' }
+ { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left' }
, { field: 'HSQty', title: '鏁伴噺', edit: 'text' }
, { field: 'HQty', title: '璁㈠崟鏁伴噺' }
, { field: 'HMaterID', title: 'HMaterID' }
@@ -279,7 +274,6 @@
, { field: 'HModel', title: '瑙勬牸鍨嬪彿' }
, { field: 'HInterID', title: '涓诲唴鐮�', sort: true, width: 200 }
, { field: 'HEntryID', title: '瀛愬唴鐮�', sort: true, width: 200 }
- , { fixed: 'right', title: '鎿嶄綔', toolbar: '#barDemo', width: 150 }
];
option = {
id: 'mainTable'
--
Gitblit v1.9.1