From 0f2019e2c390115038c1007f6d8e9f282d994fc3 Mon Sep 17 00:00:00 2001
From: jhz <jinghz@oceic.com>
Date: 星期日, 13 十一月 2022 09:27:20 +0800
Subject: [PATCH] 注释
---
WebTM/views/验收入库/外购入库/Kf_POStockInBackBillList.html | 2
WebTM/views/验收入库/产品入库/Kf_ProductInBill_Fast.html | 20 +-----
WebTM/views/领料发货/领料出库/Kf_MateOutBill_Fast.html | 99 ++++++++-------------------------
3 files changed, 30 insertions(+), 91 deletions(-)
diff --git "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\242\206\346\226\231\345\207\272\345\272\223/Kf_MateOutBill_Fast.html" "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\242\206\346\226\231\345\207\272\345\272\223/Kf_MateOutBill_Fast.html"
index 36831ab..73e2750 100644
--- "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\242\206\346\226\231\345\207\272\345\272\223/Kf_MateOutBill_Fast.html"
+++ "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\242\206\346\226\231\345\207\272\345\272\223/Kf_MateOutBill_Fast.html"
@@ -395,7 +395,7 @@
, table = layui.table
, form = layui.form
, element = layui.element;
-
+ //灏唖ession鐨勫�艰祴鍊肩粰鐣岄潰鎺т欢锛宻ession鍊兼潵婧愪笌涓婁竴娆℃暟鎹�夋嫨
$("#HWHID").val(sessionStorage["HWHID"]);
$("#HWHNAME").val(sessionStorage["HWHName"]);
$("#HStockPlaceID").val(sessionStorage["HSPID"]);
@@ -413,10 +413,10 @@
$("#HMakerID").hide();
$("#HBillerID").val(sessionStorage["HBillerID"]);
$("#HBillerID").hide();
- var HSourceFlag = sessionStorage["SourceFlag"];
+ var HSourceFlag = sessionStorage["SourceFlag"];//婧愬崟宸叉爣璁�
- //鑾峰彇鍙傛暟
+ //鑾峰彇鍙傛暟锛堣幏鍙栬烦杞繃鏉ョ殑鍙傛暟锛�
function getUrlVars() {
var vars = [], hash;
var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
@@ -427,6 +427,8 @@
}
return vars;
}
+
+
var params = getUrlVars();
var linterid = params[params[0]]; //浠庡弬鏁颁腑鑾峰彇 鍗曟嵁鍐呯爜
var lSourceBillType = params[params[2]]; //浠庡崟鎹幏鍙� 婧愬崟绫诲瀷
@@ -462,8 +464,7 @@
//缂栬緫鍔犺浇鏁版嵁
var sInterID = $("#HInterID").val();
table.render({
- elem: '#wl-table'
- //, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Webs_Json'
+ elem: '#wl-table'
, url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json'
, toolbar: '#toolbarDemo'
, where: { HBillID: sInterID, HBillType: '1204', sWhere: '' }
@@ -488,8 +489,6 @@
});
}
-
-
//鍔ㄦ�佸姞杞芥簮鍗曠被鍨嬪垪琛� new
//琛ㄥご鍒濆鍖栬祴鍊硷紙鏍规嵁鐧诲綍鐢ㄦ埛鑾峰彇 榛樿浠撳簱銆侀儴闂ㄣ�侀獙鏀躲�佷繚绠°�侀噾铦剁敤鎴凤級 new
@@ -498,7 +497,7 @@
//榛樿甯﹀叆鐨勪粨搴擄紝濡傛灉鍚敤浠撲綅鍒欎粨浣嶆湁鏁堬紝濡傛灉娌℃湁鍚敤鍒欎粨浣嶇伆搴� new
- //鍒ゆ柇鏄惁鏂板
+ //鍒ゆ柇鏄惁鏂板锛屽鏋滄槸鏂板鍗曟嵁鍒欒幏鍙栨渶澶у崟鍙峰拰鏈�澶у唴鐮�
if (linterid == null || linterid == 0) {
$("#HInterID").val("");
$("#HBillNo").val("");
@@ -518,7 +517,7 @@
RoadBillSub(linterid);
}
- //閫夋嫨浠撳簱
+ //閫夋嫨浠撳簱锛堜簨浠讹級
form.on('submit(HWHID-BT)', function () {
layer.open({
type: 2
@@ -534,7 +533,8 @@
}
})
});
- //閫夋嫨浠撳簱
+
+ //閫夋嫨浠撳簱锛堜簨浠讹級
form.on('submit(HFIFOWHID-BT)', function () {
layer.open({
type: 2
@@ -550,7 +550,7 @@
}
})
});
- //閫夋嫨浠撲綅
+ //閫夋嫨浠撲綅锛堜簨浠讹級
form.on('submit(HSpID-BT)', function () {
layer.open({
type: 2
@@ -566,7 +566,7 @@
}
})
});
- //閫夋嫨渚涘簲鍟�
+ //閫夋嫨渚涘簲鍟嗭紙浜嬩欢锛�
form.on('submit(HSupID-BT)', function () {
layer.open({
type: 2
@@ -583,39 +583,9 @@
})
});
- //form.on('submit(HKeeperID-BT)', function () {//閫夋嫨淇濈
- // layer.open({
- // type: 2
- // , area: ['100%', '100%']
- // , title: '棰嗘枡浜哄垪琛�'
- // , shade: 0.6 //閬僵閫忔槑搴�
- // , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- // , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- // , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
- // , resize: false
- // , cancel: function () {
- // //$(".layui-btn").removeClass("layui-btn-disabled");
- // }
- // })
- //});
- //form.on('submit(HSecManagerID-BT)', function (data) {//閫夋嫨楠屾敹
- // var sMainStr = JSON.stringify(data.field);
- // layer.open({
- // type: 2
- // , area: ['100%', '100%']
- // , title: '鍙戞枡浜哄垪琛�'
- // , shade: 0.6 //閬僵閫忔槑搴�
- // , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- // , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- // , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HSecManager', 'yes']
- // , resize: false
- // , cancel: function () {
- // //$(".layui-btn").removeClass("layui-btn-disabled");
- // }
- // })
- //});
+
- //閫夋嫨淇濈
+ //閫夋嫨淇濈锛堜簨浠讹級
form.on('submit(HKeeperID-BT)', function () {
layer.open({
type: 2//寮圭獥绫诲瀷
@@ -638,7 +608,7 @@
, btn2: function (index, layero) { }
})
});
- //閫夋嫨鍙戣揣
+ //閫夋嫨鍙戣揣锛堜簨浠讹級
form.on('submit(HSecManagerID-BT)', function (data) {
layer.open({
type: 2//寮圭獥绫诲瀷
@@ -662,7 +632,7 @@
})
});
- //閫夋嫨閮ㄩ棬
+ //閫夋嫨閮ㄩ棬锛堜簨浠讹級
form.on('submit(HDeptID-BT)', function () {
layer.open({
type: 2
@@ -679,6 +649,7 @@
})
});
+ //閫�鍑烘寜閽紙浜嬩欢锛�
form.on('submit(Cancel)', function () {
sessionStorage["SourceFlag"] = false;
//parent.location.href = "../../../views/index.html"
@@ -688,7 +659,7 @@
});
})
- //缂栬緫
+ //缂栬緫鎸夐挳锛堜簨浠讹級
form.on('submit(cmdModify)', function () {//缂栬緫
var sSubStr = table.cache['wl-table'];
//if (AllowLoadData(sSubStr) != false) {//闈炵┖楠岃瘉
@@ -708,34 +679,9 @@
// }
});
+
- //$('#HStockPlaceName').on('keydown', function (event) { //鎵粨浣�
- // var HBarCode = $('#HStockPlaceName').val()
- // if (event.keyCode == 13) {
- // //鍒ゆ柇鏂囨湰妗嗘槸鍚︽湁鏁版嵁 new
- // $.ajax({
- // url: GetWEBURL() + "/Web/GetSpName_Json",
- // type: "GET",
- // data: { "HBarCode": HBarCode },
- // success: function (result) {
- // if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
- // $("#HStockPlaceName").val(result.data[0].HName);
- // $("#HStockPlaceID").val(result.data[0].HItemID);
- // $("#HWHID").val(result.data[0].HWHID);
- // $("#HWHNAME").val(result.data[0].HWhName);
- // element.tabChange('tab-MateOutBill', '2');
- // }
- // else {
- // layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
- // }
- // layer.closeAll("loading");
- // }
- // });
- // }
- //});
-
-
- //鎵粨浣�
+ //鎵粨浣嶆潯鐮佷簨浠�
$('#HStockPlaceName').on('keydown', function (event) { //鎵粨浣�
var HBarCode = $('#HStockPlaceName').val()
if (event.keyCode == 13) {
@@ -1136,6 +1082,7 @@
}
});
}
+
var listOption = {
elem: '#wl-table'
, toolbar: '#toolbarDemo'
@@ -1163,6 +1110,8 @@
layer.closeAll("loading");
}
}
+
+
function playSound() {
var audio = document.getElementById("cs");
audio.play();
@@ -1195,7 +1144,7 @@
$("#HBillType").attr("disabled", "true");
element.tabChange('tab-MateOutBill', '2');
if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
- playSound1();
+ playSound1();//鎾斁澹伴煶
layer.load(3)
$.ajax({
url: GetWEBURL() + '/MateOutBill/DisBillEntryList_Webs_New_Json1',
diff --git "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\344\272\247\345\223\201\345\205\245\345\272\223/Kf_ProductInBill_Fast.html" "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\344\272\247\345\223\201\345\205\245\345\272\223/Kf_ProductInBill_Fast.html"
index ad6f223..295b271 100644
--- "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\344\272\247\345\223\201\345\205\245\345\272\223/Kf_ProductInBill_Fast.html"
+++ "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\344\272\247\345\223\201\345\205\245\345\272\223/Kf_ProductInBill_Fast.html"
@@ -433,20 +433,13 @@
function RoadBillSub(linterid)//鍔犺浇琛ㄤ綋
- {
- //var checkStatus = table.checkStatus('wl-table')
- // , data = checkStatus.data;
- //var sInterID = $('#HInterID').val()
- //var sBillNo = $("#HBillNo").val()
- //var sMouldManagerCtl = 'N'
- //var sFIFOCtl = 'N'
+ {
$("#HInterID").val(linterid);//淇敼鏃朵富琛↖D
//缂栬緫鍔犺浇鏁版嵁
var sInterID = $("#HInterID").val();
table.render({
- elem: '#wl-table'
- //, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Webs_Json'
+ elem: '#wl-table'
, url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json'
, toolbar: '#toolbarDemo'
, defaultToolbar: []
@@ -1120,8 +1113,7 @@
if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜�
playSound1();
table.render({
- elem: '#wl-table'
- //, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Webs_Json'
+ elem: '#wl-table'
, url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json'
, toolbar: '#toolbarDemo'
, defaultToolbar: []
@@ -1418,8 +1410,7 @@
return;
}
//
- $.ajax({
- //url: "http://61.130.49.162:9090/WMSAPI///ProductIn/set_SavePonderationBillMain_Temp_Source_Fast_Json",
+ $.ajax({
url: GetWEBURL() + "/ProductIn/set_SavePonderationBillMain_Temp_Source_Fast_Json",
type: "GET",
data: { "HSourceBillType": HSourceBillType, "HSourceBillNo": HSourceBillNo, "sInterID": sInterID, "sBillNo": sBillNo },
@@ -1434,8 +1425,7 @@
layer.load(3)
element.tabChange('tab-ProductlnBill', '2');
table.render({
- elem: '#wl-table'
- //, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Webs_Json'
+ elem: '#wl-table'
, url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json'
, toolbar: '#toolbarDemo'
, totalRow: true
diff --git "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\244\226\350\264\255\345\205\245\345\272\223/Kf_POStockInBackBillList.html" "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\244\226\350\264\255\345\205\245\345\272\223/Kf_POStockInBackBillList.html"
index 4f77a5e..eccc9d2 100644
--- "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\244\226\350\264\255\345\205\245\345\272\223/Kf_POStockInBackBillList.html"
+++ "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\244\226\350\264\255\345\205\245\345\272\223/Kf_POStockInBackBillList.html"
@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>鐢熶骇閫�鏂欏崟鍒楄〃</title>
+ <title>閲囪喘閫�鏂欏崟鍒楄〃</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
--
Gitblit v1.9.1