From cefdce29f548ea202d744bdc4797611cdd8f10cf Mon Sep 17 00:00:00 2001
From: ch <37327@LLOOCCY>
Date: 星期一, 10 一月 2022 08:46:39 +0800
Subject: [PATCH] 新增了基础资料根据组织过滤 其他单据缓存列表 报错提示音频
---
WebTM/views/验收入库/其他入库/Kf_OtherInBill_Fast.html | 9
WebTM/views/user/login.html | 11
WebTM/views/验收入库/产品入库/Kf_ProductInBill_FastList.html | 10
WebTM/views/领料发货/其他出库/Kf_OtherOutBill_Fast.html | 12
WebTM/views/领料发货/领料出库/Kf_MateOutBill_Fast.html | 17
WebTM/views/领料发货/其他出库/Kf_OtherOutBill_FastList.html | 4
WebTM/views/验收入库/委外入库/Kf_EntrustInBill_Fast.html | 12
WebTM/views/领料发货/委外出库/Kf_EntrustOutBill_FastList.html | 4
WebTM/views/video/success.wav | 0
WebTM/views/领料发货/领料出库/Kf_MateOutBill_FastList.html | 4
WebTM/views/领料发货/销售出库/Kf_SellOutBill_Fast.html | 52 +++
WebTM/views/Baseset/基础资料/Gy_OrganizationtList.html | 127 +++++++
WebTM/views/验收入库/外购入库/Kf_POStockInBill_Fast.html | 3
WebTM/WebTM.csproj.user | 2
WebTM/views/验收入库/其他入库/Kf_OtherInBill_FastList.html | 4
WebTM/views/验收入库/产品入库/Kf_ProductInBill_Fast.html | 136 ++++++--
WebTM/views/Baseset/基础资料/Gy_WarehouseListNew.html | 131 +++++++
WebTM/views/video/1.wav | 0
WebTM/views/仓存管理/仓库调拨/Kf_MoveStockBill_Fast.html | 275 ++++++++++++++--
WebTM/views/验收入库/委外入库/Kf_EntrustInBill_FastList.html | 4
WebTM/views/领料发货/销售出库/Kf_SellOutBill_FastList.html | 4
WebTM/views/验收入库/外购入库/Kf_POStockInBill_FastList.html | 4
WebTM/views/Baseset/基础资料/Gy_StockPlaceListNew.html | 132 +++++++
WebTM/views/仓存管理/仓库调拨/Kf_MoveStockBill_FastList.html | 10
WebTM/views/领料发货/委外出库/Kf_EntrustOutBill_Fast.html | 11
WebTM/WebTM.csproj | 4
26 files changed, 889 insertions(+), 93 deletions(-)
diff --git a/WebTM/WebTM.csproj b/WebTM/WebTM.csproj
index abaa193..e3a4aa0 100644
--- a/WebTM/WebTM.csproj
+++ b/WebTM/WebTM.csproj
@@ -86,7 +86,10 @@
<Content Include="layuiadmin\PubCustom.js" />
<Content Include="layuiadmin\PubJs\PubCheck.js" />
<Content Include="views\Baseset\HBarPlanPrint.html" />
+ <Content Include="views\Baseset\鍩虹璧勬枡\Gy_OrganizationtList.html" />
<Content Include="views\Baseset\鍩虹璧勬枡\Gy_QCCheckProjectListView.html" />
+ <Content Include="views\Baseset\鍩虹璧勬枡\Gy_StockPlaceListNew.html" />
+ <Content Include="views\Baseset\鍩虹璧勬枡\Gy_WarehouseListNew.html" />
<Content Include="views\Baseset\鍩虹璧勬枡\Sc_ICMOBillListView2.html" />
<Content Include="views\Baseset\鍩虹璧勬枡\Sc_ProcessExchangeBillListView.html" />
<Content Include="views\Baseset\鍩虹璧勬枡\Gy_QCCheckItemListView.html" />
@@ -125,6 +128,7 @@
<Content Include="views\ReportHtml.html" />
<Content Include="views\test\testRenderAutomationList.html" />
<Content Include="views\video\jingbao.wav" />
+ <Content Include="views\video\success.wav" />
<Content Include="views\浠撳瓨绠$悊\浠撳簱璋冩嫧\Kf_MoveStockStepOutBill_Fast.html" />
<Content Include="views\浠撳瓨绠$悊\鍒嗘寮忚皟鍏ュ崟\Fb_StepFoldinBillList.html" />
<Content Include="views\鍩虹璧勬枡\鍏敤鍩虹璧勬枡\Add_Edit_Gy_OrderBackInfo.html" />
diff --git a/WebTM/WebTM.csproj.user b/WebTM/WebTM.csproj.user
index a1d4016..c147982 100644
--- a/WebTM/WebTM.csproj.user
+++ b/WebTM/WebTM.csproj.user
@@ -1,7 +1,7 @@
锘�<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
- <NameOfLastUsedPublishProfile>D:\鏅轰簯MES\MESWMS-LayUI\WebTM\Properties\PublishProfiles\JFTM.pubxml</NameOfLastUsedPublishProfile>
+ <NameOfLastUsedPublishProfile>JFTM</NameOfLastUsedPublishProfile>
<ProjectView>ShowAllFiles</ProjectView>
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<UseIISExpress>true</UseIISExpress>
diff --git "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_OrganizationtList.html" "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_OrganizationtList.html"
new file mode 100644
index 0000000..a828858
--- /dev/null
+++ "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_OrganizationtList.html"
@@ -0,0 +1,127 @@
+锘�<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <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.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
+ <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
+</head>
+<body>
+ <div class="layui-fluid">
+ <div class="layui-card">
+ <!--<div class="layui-card-header"></div>-->
+ <div class="layui-card-body" style="padding: 15px;">
+ <form class="layui-form" action="" lay-filter="component-form-group">
+ <div class="layui-form-item">
+ <div class="layui-inline">
+ <label class="layui-form-label">杩囨护鍒�</label>
+ <div class="layui-input-inline">
+ <input type="text" name="Value" id="Value" lay-verify="Value" autocomplete="off" placeholder="璇疯緭鍏ヨ繃婊ゅ垪" class="layui-input">
+ </div>
+ <button type="button" lay-submit="" class="layui-btn" lay-filter="HQuery">蹇�熸煡璇�</button>
+ <button type="button" lay-submit="" class="layui-btn" lay-filter="FH">杩斿洖</button>
+ </div>
+ </div>
+ </form>
+ </div>
+ </div>
+ </div>
+ <table class="layui-hide" id="mainTable"></table>
+ <script src="../../../layuiadmin/layui/layui.js"></script>
+ <script src="../../../layuiadmin/Scripts/json2.js" type="text/javascript"></script>
+ <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
+ <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
+ <script>
+
+ function getUrlVars() {
+ var vars = [], hash;
+ var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
+ for (var i = 0; i < hashes.length; i++) {
+ hash = hashes[i].split('=');
+ vars.push(hash[0]);
+ vars[hash[0]] = hash[1];
+ }
+ return vars;
+ }
+
+ var params = getUrlVars();
+ var Type = params[params[0]];
+
+
+ layui.use(['table', 'form', 'layer'], function () {
+ var table = layui.table
+ , form = layui.form
+ , layer = layui.layer;
+
+ form.on('submit(HQuery)', function () {//閫夋嫨缁勭粐
+ //var sMainStr = JSON.stringify(table.cache['mainTable']);
+ RoadQuery($('#Value').val());
+ });
+ form.on('submit(FH)', function () {//閫夋嫨缁勭粐
+ //var sMainStr = JSON.stringify(table.cache['mainTable']);
+ var checkStatus = table.checkStatus('mainTable')
+ , data = checkStatus.data;
+ switch (Type) {
+ case "HStockInOrgID": //杩斿洖璋冨叆缁勭粐
+ parent.GetHOrgNameValue(data);
+ break;
+ case "HStockOutOrgID": //杩斿洖璋冨嚭缁勭粐
+ parent.GetHOutOrgNameValue(data);
+ break;
+ }
+ var index = parent.layer.getFrameIndex(window.name);
+ parent.layer.close(index);
+ });
+ RoadQuery($('#Value').val());
+ table.render({
+ elem: '#mainTable'
+ // , url: '/demo/table/user/'
+ , data: []
+ , cellMinWidth: 80 //鍏ㄥ眬瀹氫箟甯歌鍗曞厓鏍肩殑鏈�灏忓搴︼紝layui 2.2.1 鏂板
+ , cols: [[
+ { type: 'radio' }
+ , { field: 'HItemID', title: '缁勭粐ID', hide: true }
+ , { field: 'HNumber', title: '缁勭粐浠g爜' }
+ , { field: 'HName', title: '缁勭粐鍚嶇О', sort: true }
+ ]]
+ , page: true
+ });
+ ///鍔犺浇鏄剧ず鏁版嵁
+ function RoadQuery(Where) {
+ var Value = Where;
+ if (Value == null) {
+ Value = '';
+ }
+ $.ajax({
+ type: "get",
+ //url: "http://61.130.49.162:9090/WMSAPI///Web/GetDepartmentList_Json",
+ url: GetWEBURL() + "/Web/GetOrganizationList_Json",
+ async: true,
+ //data: { "Department": Value },
+ data: {},
+ //data: { "Value": Value },
+ success: function (result) {
+ ajaxReturnData = JSON.parse(JSON.stringify(result)).data;
+ table.reload('mainTable', {
+ data: ajaxReturnData
+ , height: 'full-10'
+ , loading: false
+ , done: function (index, res) {
+
+ }
+ });
+ },
+ error: function (result) {
+ console.log(result);
+ //layer.msg('鑾峰彇閲囪喘璁㈠崟鍑虹幇寮傚父', { icon: 2, time: 2000 });
+ }
+ });
+ };
+ });
+ </script>
+
+</body>
+</html>
diff --git "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockPlaceListNew.html" "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockPlaceListNew.html"
new file mode 100644
index 0000000..4e1977a
--- /dev/null
+++ "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockPlaceListNew.html"
@@ -0,0 +1,132 @@
+锘�<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <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.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
+ <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
+</head>
+<body>
+ <div class="layui-fluid">
+ <div class="layui-card">
+ <!--<div class="layui-card-header"></div>-->
+ <div class="layui-card-body" style="padding: 15px;">
+ <form class="layui-form" action="" lay-filter="component-form-group">
+ <div class="layui-form-item">
+ <div class="layui-inline">
+ <label class="layui-form-label">杩囨护鍒�</label>
+ <div class="layui-input-inline">
+ <input type="text" name="Value" id="Value" lay-verify="Value" autocomplete="off" placeholder="璇疯緭鍏ヨ繃婊ゅ垪" class="layui-input">
+ </div>
+ <button type="button" lay-submit="" class="layui-btn" lay-filter="HQuery">蹇�熸煡璇�</button>
+ <button type="button" lay-submit="" class="layui-btn" lay-filter="FH">杩斿洖</button>
+ </div>
+ </div>
+ </form>
+ </div>
+ </div>
+ </div>
+ <table class="layui-hide" id="mainTable"></table>
+ <script src="../../../layuiadmin/layui/layui.js"></script>
+ <script src="../../../layuiadmin/Scripts/json2.js" type="text/javascript"></script>
+ <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
+ <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
+ <script>
+ function getUrlVars() {
+ var vars = [], hash;
+ var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
+ for (var i = 0; i < hashes.length; i++) {
+ hash = hashes[i].split('=');
+ vars.push(hash[0]);
+ vars[hash[0]] = hash[1];
+ }
+ return vars;
+ }
+ var params = getUrlVars();
+ var HWhID = params[params[0]];
+ var Type = params[params[1]];
+
+ layui.use(['table', 'form', 'layer'], function () {
+ var table = layui.table
+ , form = layui.form
+ , layer = layui.layer;
+
+ form.on('submit(HQuery)', function () {//閫夋嫨浠撳簱
+ //var sMainStr = JSON.stringify(table.cache['mainTable']);
+ RoadQuery($('#Value').val(), 0);
+ });
+ form.on('submit(FH)', function () {//閫夋嫨浠撳簱
+ //var sMainStr = JSON.stringify(table.cache['mainTable']);
+ var checkStatus = table.checkStatus('mainTable')
+ , data = checkStatus.data;
+ switch (Type) {
+ case "HSpID": //杩斿洖璋冨叆浠撲綅
+ parent.GetHSpValue(data);
+ break;
+ case "HOSpID": //杩斿洖璋冨嚭浠撲綅
+ parent.GetHOutStockPlaceIDValue(data);
+ break;
+ }
+ // parent.GetHSCWValue(data);
+ var index = parent.layer.getFrameIndex(window.name);
+ parent.layer.close(index);
+ });
+ RoadQuery($('#Value').val(), 0); //鍙傛暟0鏀瑰彉閲�
+ table.render({
+ elem: '#mainTable'
+ // , url: '/demo/table/user/'
+ , data: []
+ , cellMinWidth: 80 //鍏ㄥ眬瀹氫箟甯歌鍗曞厓鏍肩殑鏈�灏忓搴︼紝layui 2.2.1 鏂板
+ , cols: [[
+ { type: 'radio' }
+ , { field: 'HItemID', width: 150, title: '浠撲綅ID', hide: true }
+ , { field: 'HNumber', width: 150, title: '浠撲綅浠g爜' }
+ , { field: 'HName', width: 150, title: '浠撲綅鍚嶇О', sort: true }
+ ]]
+ , page: true
+ });
+ ///鍔犺浇鏄剧ず鏁版嵁
+ function RoadQuery(Where, HWhID,HOrgID) {
+ var Value = Where;
+ if (Value == null) {
+ Value = '';
+ }
+ if (HWhID == null)
+ {
+ HWhID = 0;
+ }
+ if (HOrgID == null) {
+ HOrgID = 0;
+ }
+ $.ajax({
+ type: "get",
+ //url: "http://61.130.49.162:9090/WMSAPI///Web/GetStockPlaceList_Json",
+ url: GetWEBURL() + "/Web/GetStockPlaceList_Json_New",
+ async: true,
+ data: { "StockPlace": Value, "HWhID": HWhID, "HOrgID": HOrgID },
+ //data: { "Value": Value },
+ success: function (result) {
+ ajaxReturnData = JSON.parse(JSON.stringify(result)).data;
+ table.reload('mainTable', {
+ data: ajaxReturnData
+ , height: 'full-10'
+ , loading: false
+ , done: function (index, res) {
+
+ }
+ });
+ },
+ error: function (result) {
+ console.log(result);
+ //layer.msg('鑾峰彇閲囪喘璁㈠崟鍑虹幇寮傚父', { icon: 2, time: 2000 });
+ }
+ });
+ };
+ });
+ </script>
+
+</body>
+</html>
diff --git "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_WarehouseListNew.html" "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_WarehouseListNew.html"
new file mode 100644
index 0000000..2afbfd3
--- /dev/null
+++ "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_WarehouseListNew.html"
@@ -0,0 +1,131 @@
+锘�<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ <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.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
+ <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
+</head>
+<body>
+ <div class="layui-fluid">
+ <div class="layui-card">
+ <!--<div class="layui-card-header"></div>-->
+ <div class="layui-card-body" style="padding: 15px;">
+ <form class="layui-form" action="" lay-filter="component-form-group">
+ <div class="layui-form-item">
+ <div class="layui-inline">
+ <label class="layui-form-label">杩囨护鍒�</label>
+ <div class="layui-input-inline">
+ <input type="text" name="Value" id="Value" lay-verify="Value" autocomplete="off" placeholder="璇疯緭鍏ヨ繃婊ゅ垪" class="layui-input">
+ </div>
+ <button type="button" lay-submit="" class="layui-btn" lay-filter="HQuery">蹇�熸煡璇�</button>
+ <button type="button" lay-submit="" class="layui-btn" lay-filter="FH">杩斿洖</button>
+ </div>
+ </div>
+ </form>
+ </div>
+ </div>
+ </div>
+ <table class="layui-hide" id="mainTable"></table>
+ <script src="../../../layuiadmin/layui/layui.js"></script>
+ <script src="../../../layuiadmin/Scripts/json2.js" type="text/javascript"></script>
+ <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
+ <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
+ <script>
+ function getUrlVars() {
+ var vars = [], hash;
+ var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
+ for (var i = 0; i < hashes.length; i++) {
+ hash = hashes[i].split('=');
+ vars.push(hash[0]);
+ vars[hash[0]] = hash[1];
+ }
+ return vars;
+ }
+ var params = getUrlVars();
+ var Type = params[params[0]];
+ var HOtherOrgID = params[params[1]];
+
+ layui.use(['table', 'form', 'layer'], function () {
+ var table = layui.table
+ , form = layui.form
+ , layer = layui.layer;
+
+ form.on('submit(HQuery)', function () {//閫夋嫨浠撳簱
+ //var sMainStr = JSON.stringify(table.cache['mainTable']);
+ RoadQuery($('#Value').val());
+ });
+ form.on('submit(FH)', function () {//閫夋嫨浠撳簱
+ //var sMainStr = JSON.stringify(table.cache['mainTable']);
+ var checkStatus = table.checkStatus('mainTable')
+ , data = checkStatus.data;
+ //parent.GetHWHValue(data);
+ switch (Type) {
+ case "HWHID": //杩斿洖璋冨叆浠撳簱
+ parent.GetHWHValue(data);
+ break;
+ case "HSCWHID": //杩斿洖璋冨嚭浠撳簱
+ parent.GetHSCWHNAMEValue(data);
+ break;
+ }
+ var index = parent.layer.getFrameIndex(window.name);
+ parent.layer.close(index);
+ });
+ RoadQuery($('#Value').val());
+ table.render({
+ elem: '#mainTable'
+ // , url: '/demo/table/user/'
+ , data: []
+ , cellMinWidth: 80 //鍏ㄥ眬瀹氫箟甯歌鍗曞厓鏍肩殑鏈�灏忓搴︼紝layui 2.2.1 鏂板
+ , cols: [[
+ { type: 'radio' }
+ , { field: 'HItemID', width: 150, title: '浠撳簱ID', hide: true }
+ , { field: 'HNumber', width: 150, title: '浠撳簱浠g爜' }
+ , { field: 'HName', width: 150, title: '浠撳簱鍚嶇О', sort: true }
+ ]]
+ , page: true
+ });
+ ///鍔犺浇鏄剧ず鏁版嵁
+ function RoadQuery(Where, HOrgID) {
+ var Value = Where;
+ if (Value == null) {
+ Value = '';
+ }
+ //if (HOtherOrgID > 0) {
+ // Value = HOtherOrgID;
+ //}
+ if (HOrgID == null) {
+ HOrgID = 0;
+ }
+ $.ajax({
+ type: "get",
+ //url: "http://61.130.49.162:9090/WMSAPI///Web/GetWarehouseList_Json",
+ url: GetWEBURL() + "/Web/GetWarehouseList_Json_New",
+ async: true,
+ data: { "Warehouse": Value, "HOrgID": HOtherOrgID},
+ //data: { "Value": Value },
+ success: function (result) {
+ ajaxReturnData = JSON.parse(JSON.stringify(result)).data;
+ table.reload('mainTable', {
+ data: ajaxReturnData
+ , height: 'full-10'
+ , loading: false
+ , done: function (index, res) {
+
+ }
+ });
+ },
+ error: function (result) {
+ console.log(result);
+ //layer.msg('鑾峰彇閲囪喘璁㈠崟鍑虹幇寮傚父', { icon: 2, time: 2000 });
+ }
+ });
+ };
+ });
+ </script>
+
+</body>
+</html>
diff --git a/WebTM/views/user/login.html b/WebTM/views/user/login.html
index f32fc94..8c15345 100644
--- a/WebTM/views/user/login.html
+++ b/WebTM/views/user/login.html
@@ -44,6 +44,8 @@
<div class="layui-form-item">
<!--<input type="button" onclick="playSound('wavFileId');" value="play" />-->
<button type="button" lay-submit="" class="layui-btn layui-btn-fluid" id="LAY-user-login-submit" name="LAY-user-login-submit" lay-filter="LAY-user-login-submit">鐧� 鍏�</button>
+
+ <!--<button type="button" lay-submit="" class="layui-btn layui-btn-fluid" id="LAY-user-login-yp" name="LAY-user-login-yp" lay-filter="LAY-user-login-yp">闊抽</button>-->
</div>
</div>
</div>
@@ -129,10 +131,15 @@
form.on("submit(LAY-user-login-submit)", function (obj) {
loging();
})
+
+ //闊抽
+ form.on("submit(LAY-user-login-yp)", function (obj) {
+ playSound();
+ })
//瀵嗙爜妗嗗洖杞︽墽琛岀櫥褰�
$('#LAY-user-login-password').on('keydown', function (e) {
if (e.keyCode == 13) {
- playSound();
+ //playSound();
}
});
//鐢ㄦ埛鍚嶆鍥炶溅鍏夋爣绉诲埌瀵嗙爜妗�
@@ -144,8 +151,10 @@
//鐧诲綍
function loging() {
if ($("#Organization").val() == 0) {
+ //playSound();
layer.msg("璇烽�夋嫨缁勭粐锛�");
return;
+
}
var UserName = $("#LAY-user-login-username").val();
var PassWord = $("#LAY-user-login-password").val();
diff --git a/WebTM/views/video/1.wav b/WebTM/views/video/1.wav
new file mode 100644
index 0000000..fb62092
--- /dev/null
+++ b/WebTM/views/video/1.wav
Binary files differ
diff --git a/WebTM/views/video/success.wav b/WebTM/views/video/success.wav
new file mode 100644
index 0000000..5946a7a
--- /dev/null
+++ b/WebTM/views/video/success.wav
Binary files differ
diff --git "a/WebTM/views/\344\273\223\345\255\230\347\256\241\347\220\206/\344\273\223\345\272\223\350\260\203\346\213\250/Kf_MoveStockBill_Fast.html" "b/WebTM/views/\344\273\223\345\255\230\347\256\241\347\220\206/\344\273\223\345\272\223\350\260\203\346\213\250/Kf_MoveStockBill_Fast.html"
index 2a413c6..3db65a7 100644
--- "a/WebTM/views/\344\273\223\345\255\230\347\256\241\347\220\206/\344\273\223\345\272\223\350\260\203\346\213\250/Kf_MoveStockBill_Fast.html"
+++ "b/WebTM/views/\344\273\223\345\255\230\347\256\241\347\220\206/\344\273\223\345\272\223\350\260\203\346\213\250/Kf_MoveStockBill_Fast.html"
@@ -50,9 +50,9 @@
<option value="3720">鐢熶骇浠诲姟鍗�-鎶曟枡</option>
<option value="1243">璋冩嫧鐢宠鍗�</option>
<!--<option value="1201">濮斿璁㈠崟-鎶曟枡</option>
- <option value="1402">鍙戣揣閫氱煡鍗�</option>
- <option value="1234">涓嬫灦閫氱煡鍗�</option>
- <option value="1243">璋冩嫧鐢宠鍗�</option>-->
+ <option value="1402">鍙戣揣閫氱煡鍗�</option>
+ <option value="1234">涓嬫灦閫氱煡鍗�</option>
+ <option value="1243">璋冩嫧鐢宠鍗�</option>-->
</select>
<!--<input type="text" name="cmbSourceType" id="cmbSourceType" lay-verify="cmbSourceType" autocomplete="off" class="layui-input">-->
</div>
@@ -78,6 +78,47 @@
</div>
<div class="layui-col-xs3">
<input type="text" name="HInterID" id="HInterID" lay-verify="HInterID" disabled="disabled" autocomplete="off" class="layui-input mobile">
+ </div>
+ </div>
+ </div>
+ <div class="layui-form-item">
+ <div class="layui-row">
+ <div class="layui-col-xs3">
+ <label class="layui-form-label" style="width:60px;padding-left:0px;">璋冩嫧绫诲瀷</label>
+ </div>
+ <div class="layui-col-xs8">
+ <select name=" HStockStyle" id="HStockStyle">
+ <option value="1">缁勭粐鍐呰皟鎷�</option>
+ <option value="2">璺ㄧ粍缁囪皟鎷�</option>
+ </select>
+ </div>
+ </div>
+ </div>
+ <div class="layui-form-item" style="padding:0px;margin:0px">
+ <div class="layui-row">
+ <div class="layui-col-xs3">
+ <label class="layui-form-label" style="width:60px;padding-left:0px;">璋冩嫧鏂瑰悜</label>
+ </div>
+ <div class="layui-col-xs6">
+ <input type="text" name="HDBFXName" id="HDBFXName" lay-verify="HDBFXName" autocomplete="off" class="layui-input">
+ <input type="hidden" name="HDBFXID" id="HDBFXID" lay-verify="HDBFXID" value="0" autocomplete="off" class="layui-input">
+ </div>
+ <div class="layui-col-xs3">
+ <button type="button" id="HDBFXID-BT" lay-submit="" class="layui-btn" lay-filter="HDBFXID-BT">...</button>
+ </div>
+ </div>
+ </div>
+ <div class="layui-form-item" style="padding:0px;margin:0px">
+ <div class="layui-row">
+ <div class="layui-col-xs3">
+ <label class="layui-form-label" style="width:60px;padding-left:0px;">鍑鸿揣绫诲瀷</label>
+ </div>
+ <div class="layui-col-xs6">
+ <input type="text" name="HCHLXName" id="HCHLXName" lay-verify="HCHLXName" autocomplete="off" class="layui-input">
+ <input type="hidden" name="HCHLXID" id="HCHLXID" lay-verify="HCHLXID" value="0" autocomplete="off" class="layui-input">
+ </div>
+ <div class="layui-col-xs3">
+ <button type="button" id="HCHLXID-BT" lay-submit="" class="layui-btn" lay-filter="HCHLXID-BT">...</button>
</div>
</div>
</div>
@@ -199,6 +240,34 @@
<div class="layui-form-item" style="padding:0px;margin:0px">
<div class="layui-row">
<div class="layui-col-xs3">
+ <label class="layui-form-label" style="width:30px;padding-left:0px;">璋冨嚭缁勭粐</label>
+ </div>
+ <div class="layui-col-xs6">
+ <input type="text" name="HStockOutOrgName" id="HStockOutOrgName" lay-verify="HStockOutOrgName" autocomplete="off" class="layui-input">
+ <input type="hidden" name="HStockOutOrgID" id="HStockOutOrgID" lay-verify="HStockOutOrgID" value="0" autocomplete="off" class="layui-input">
+ </div>
+ <div class="layui-col-xs3">
+ <button type="button" lay-submit="" class="layui-btn" lay-filter="HStockOutOrgID-BT">...</button>
+ </div>
+ </div>
+ </div>
+ <div class="layui-form-item" style="padding:0px;margin:0px">
+ <div class="layui-row">
+ <div class="layui-col-xs3">
+ <label class="layui-form-label" style="width:30px;padding-left:0px;">璋冨叆缁勭粐</label>
+ </div>
+ <div class="layui-col-xs6">
+ <input type="text" name="HStockInOrgName" id="HStockInOrgName" lay-verify="HStockInOrgName" autocomplete="off" class="layui-input">
+ <input type="hidden" name="HStockInOrgID" id="HStockInOrgID" lay-verify="HStockInOrgID" value="0" autocomplete="off" class="layui-input">
+ </div>
+ <div class="layui-col-xs3">
+ <button type="button" lay-submit="" class="layui-btn" lay-filter="HStockInOrgID-BT">...</button>
+ </div>
+ </div>
+ </div>
+ <div class="layui-form-item" style="padding:0px;margin:0px">
+ <div class="layui-row">
+ <div class="layui-col-xs3">
<label class="layui-form-label" style="width:30px;padding-left:0px;display:none">鍒跺崟浜�</label>
</div>
<div class="layui-col-xs6">
@@ -210,15 +279,15 @@
</div>
</div>
<!--<div class="layui-form-item" >
- <label class="layui-form-label" style="width:60px;padding-left:0px;">璋冩嫧绫诲瀷</label>
- <div class="layui-input-inline">
- <select name=" HBillType" id="HBillType">
- <option value="">浠撳簱璋冩嫧</option>
- <option value="">棰嗘枡璋冩嫧</option>
- </select>
- <input type="text" name="cmbSourceType" id="cmbSourceType" lay-verify="cmbSourceType" autocomplete="off" class="layui-input">
- </div>
- </div>-->
+ <label class="layui-form-label" style="width:60px;padding-left:0px;">璋冩嫧绫诲瀷</label>
+ <div class="layui-input-inline">
+ <select name=" HBillType" id="HBillType">
+ <option value="">浠撳簱璋冩嫧</option>
+ <option value="">棰嗘枡璋冩嫧</option>
+ </select>
+ <input type="text" name="cmbSourceType" id="cmbSourceType" lay-verify="cmbSourceType" autocomplete="off" class="layui-input">
+ </div>
+ </div>-->
</div>
<!--鏄庣粏淇℃伅-->
<div class="layui-tab-item">
@@ -244,27 +313,37 @@
</div>
</div>
<!--<div class="layui-form-item" style="margin-bottom: 20px;">
- <div class="layui-row">
- <div class="layui-col-xs3">
- <button type="button" lay-submit="" class="layui-btn" lay-filter="Saver">鎻愪氦</button>
- </div>
- <div class="layui-col-xs3">
- <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdModify">缂栬緫</button>
- </div>
- <div class="layui-col-xs3">
- <button type="button" lay-submit="" class="layui-btn" lay-filter="Delete">鍒犻櫎</button>
- </div>
- <div class="layui-col-xs3">
- <button type="button" lay-submit="" class="layui-btn" lay-filter="Cancel">閫�鍑�</button>
- </div>
- </div>
- </div>-->
+ <div class="layui-row">
+ <div class="layui-col-xs3">
+ <button type="button" lay-submit="" class="layui-btn" lay-filter="Saver">鎻愪氦</button>
+ </div>
+ <div class="layui-col-xs3">
+ <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdModify">缂栬緫</button>
+ </div>
+ <div class="layui-col-xs3">
+ <button type="button" lay-submit="" class="layui-btn" lay-filter="Delete">鍒犻櫎</button>
+ </div>
+ <div class="layui-col-xs3">
+ <button type="button" lay-submit="" class="layui-btn" lay-filter="Cancel">閫�鍑�</button>
+ </div>
+ </div>
+ </div>-->
</div>
<div class="layer-footer" style="z-index: 10; position: fixed; text-align: center; bottom: 0; width:100%; height:50px">
<button type="button" lay-submit="" class="layui-btn" lay-filter="Saver">鎻愪氦</button>
<button type="button" lay-submit="" class="layui-btn" lay-filter="cmdModify">缂栬緫</button>
<button type="button" lay-submit="" class="layui-btn" lay-filter="cmdDelete">鍒犻櫎</button>
<button type="button" lay-submit="" class="layui-btn" lay-filter="Cancel">閫�鍑�</button>
+ </div>
+ <div id="" style="display:none;">
+ <audio id="cs" hidden controls>
+ <source src="../../video/jingbao.wav" type="audio/ogg">
+ </audio>
+ </div>
+ <div id="" style="display:none;">
+ <audio id="cs2" hidden controls>
+ <source src="../../video/success.wav" type="audio/ogg">
+ </audio>
</div>
</form>
</div>
@@ -309,6 +388,11 @@
$("#HBillerID").hide();
$("#HOrgID").val(sessionStorage["OrganizationID"]);
$("#HOrgID").hide();
+ $("#HStockOutOrgID").val(sessionStorage["OrganizationID"]);
+ $("#HStockOutOrgName").val(sessionStorage["Organization"]);
+ $("#HStockInOrgID").val(sessionStorage["OrganizationID"]);
+ $("#HStockInOrgName").val(sessionStorage["Organization"]);
+ var HSourceFlag = sessionStorage["SourceFlag"];
//鍒ゆ柇鏄惁鐧诲綍 鏈櫥褰曞垯璺冲埌鐧诲綍椤�
if (sessionStorage.login != "login") {
@@ -344,6 +428,9 @@
$("#HBillNo").val(d.data[0].HBillNo);
$("#HBillType").val(d.data[0].HSourceBillType);
$("#HSourceBillNo").val(d.data[0].HSourceBillNo);
+ $("#HSourceBillNo").attr("disabled","true");
+ //$("#HSourceBillNo").append.readonly = true;
+ HSourceFlag = true;
//$("#HWHID").val(d.data[0].HWhID);
//$("#HKeeperID").val(d.data[0].HKeeperID);
//$("#HSecManagerID").val(d.data[0].HSecManagerID);
@@ -361,9 +448,10 @@
elem: '#wl-table'
, url: GetWEBURL() + '/MoveStockBill/DisBillEntryList_Webs_Json'
, toolbar: '#toolbarDemo'
+ , defaultToolbar: []
, where: { HBillID: linterid, HBillType: '1207', sWhere: '' }
, cols: [[
- { type: 'radio' }
+ { type: 'radio' }
, { field: 'HQty', title: '鏁伴噺', width: 150 }
, { field: 'HQtyMust', title: '搴旀敹鏁伴噺', width: 150 }
, { field: 'HMaterNumber', title: '鐗╂枡浠g爜', width: 150 }
@@ -409,6 +497,7 @@
//閫夋嫨璋冨叆浠撳簱
form.on('submit(HWHID-BT)', function () {//閫夋嫨璋冨叆浠撳簱
+ var HStockInOrgID = $("#HStockInOrgID").val();
layer.open({
type: 2
, area: ['100%', '100%']
@@ -416,7 +505,41 @@
, shade: 0.6 //閬僵閫忔槑搴�
, maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
, anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_WarehouseList.html?Type=HWHID', 'yes']
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_WarehouseListNew.html?Type=HWHID&HOrgID=' + HStockInOrgID + '', 'yes']
+ , resize: false
+ , cancel: function () {
+ }
+ })
+ });
+
+
+ //閫夋嫨璋冨叆缁勭粐
+ form.on('submit(HStockInOrgID-BT)', function () {//閫夋嫨璋冨叆缁勭粐
+ layer.open({
+ type: 2
+ , area: ['100%', '100%']
+ , title: '缁勭粐鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_OrganizationtList.html?Type=HStockInOrgID', 'yes']
+ , resize: false
+ , cancel: function () {
+ }
+ })
+ });
+
+ //閫夋嫨璋冨嚭缁勭粐
+ form.on('submit(HStockOutOrgID-BT)', function () {//閫夋嫨璋冨嚭缁勭粐
+
+ layer.open({
+ type: 2
+ , area: ['100%', '100%']
+ , title: '缁勭粐鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_OrganizationtList.html?Type=HStockOutOrgID', 'yes']
, resize: false
, cancel: function () {
}
@@ -425,6 +548,7 @@
//閫夋嫨璋冨叆浠撲綅
form.on('submit(HSpID-BT)', function () {//閫夋嫨璋冨叆浠撲綅
+
layer.open({
type: 2
, area: ['100%', '100%']
@@ -432,7 +556,7 @@
, shade: 0.6 //閬僵閫忔槑搴�
, maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
, anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_StockPlaceList.html?HWhID=' + sessionStorage["HWHID"] + '&Type=HSpID', 'yes']
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_StockPlaceListNew.html?HWhID=' + sessionStorage["HWHID"] + '&Type=HSpID&HOrgID=HStockInOrgID', 'yes']
, resize: false
, cancel: function () {
}
@@ -441,6 +565,7 @@
//閫夋嫨璋冨嚭浠撳簱
form.on('submit(HSCWHID-BT)', function () {//閫夋嫨璋冨嚭浠撳簱
+ var HStockOutOrgID = $("#HStockOutOrgID").val();
layer.open({
type: 2
, area: ['100%', '100%']
@@ -448,7 +573,7 @@
, shade: 0.6 //閬僵閫忔槑搴�
, maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
, anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_WarehouseList.html?Type=HSCWHID', 'yes']
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_WarehouseListNew.html?Type=HSCWHID&HOrgID=' + HStockOutOrgID + '', 'yes']
, resize: false
, cancel: function () {
//$(".layui-btn").removeClass("layui-btn-disabled");
@@ -465,7 +590,7 @@
, shade: 0.6 //閬僵閫忔槑搴�
, maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
, anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_StockPlaceList.html?HWhID=' + sessionStorage["HWHID"] + '&Type=HOSpID', 'yes']
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_StockPlaceListNew.html?HWhID=' + sessionStorage["HWHID"] + '&Type=HOSpID&HOrgID=HStockOutOrgID', 'yes']
, resize: false
, cancel: function () {
//$(".layui-btn").removeClass("layui-btn-disabled");
@@ -640,6 +765,7 @@
, url: GetWEBURL() + '/MoveStockBill/DisBillEntryList_Webs_Json'
, cellMinWidth: 80
, toolbar: '#toolbarDemo'
+ , defaultToolbar: []
, where: { HBillID: sInterID, HBillType: '1207', sWhere: '' }
, cols: [[
{ type: 'radio' }
@@ -745,7 +871,14 @@
var SCSPID = $("#HOutStockPlaceID").val()//璋冨嚭浠撲綅
var HMaker = $("#HMaker").val();//鍒跺崟浜�
var HOrgID = $("#HOrgID").val();//缁勭粐
- var sBillType = '1207'
+ var sBillType = '1207';
+ var sSourceBillNo = $("#HSourceBillNo").val();//婧愬崟鍙�
+
+ if (sSourceBillNo == null)
+ {
+ sSourceBillNo = "";
+ }
+
if (sQty == "") {
sQty = 0;
}
@@ -767,6 +900,7 @@
elem: '#wl-table'
, url: GetWEBURL() + '/MoveStockBill/DisBillEntryList_Webs_Json'
, toolbar: '#toolbarDemo'
+ , defaultToolbar: []
, where: { HBillID: sInterID, HBillType: '1207', sWhere: '' }
, cols: [[
{ type: 'radio' }
@@ -807,6 +941,7 @@
$('#HQty').val("");
}
if ($("#HWHNAME").val() == '') {
+ playSound();
layer.msg("璋冨叆浠撳簱娌℃湁閫夋嫨!", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
return false;
}
@@ -819,17 +954,19 @@
// return false;
//}
if ($("#HBillNo").val() == '') {
+ playSound();
layer.msg("閿欒鐨勫崟鎹彿!", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
return false;
}
if ($("#HInterID").val() == '') {
+ playSound();
layer.msg("閿欒鐨勫唴鐮�!", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
return false;
}
$.ajax({
url: GetWEBURL() + "/MoveStockBill/get_InfoByBarCode_Source_Json",
type: "GET",
- data: { "sCode": sBarCode, "sInterID": sInterID, "sBillNo": sBillNo, "sQty": sQty, "HWHID": HWHID, "HSPID": HSPID, "SCWhID": SCWhID, "SCSPID": SCSPID, "HMaker": HMaker, "HOrgID": HOrgID },
+ data: { "sCode": sBarCode, "sInterID": sInterID, "sBillNo": sBillNo, "sQty": sQty, "HWHID": HWHID, "HSPID": HSPID, "SCWhID": SCWhID, "SCSPID": SCSPID, "HMaker": HMaker, "HOrgID": HOrgID, "HSourceBillNo": sSourceBillNo, "HSourceBillType": sHBillType },
success: function (result) {
if (result.count == 1) {
element.tabChange('tab-MoveStockBill', '3');
@@ -846,6 +983,7 @@
elem: '#wl-table'
, url: GetWEBURL() + '/MoveStockBill/DisBillEntryList_Webs_Json'
, toolbar: '#toolbarDemo'
+ , defaultToolbar: []
, totalRow: true
, where: { HBillID: sInterID, HBillType: '1207', sWhere: '' }
, cols: [[
@@ -872,9 +1010,11 @@
layer.closeAll("loading");
}
});
+ playSound1();
var sSubStr = table.cache['wl-table'];
}
else {
+ playSound();
layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
}
layer.closeAll("loading");
@@ -890,12 +1030,39 @@
}
});
+
+ function playSound() {
+ console.log("playSound");
+ //var audio = document.getElementById("cs");
+ //$("appendAut").html("");
+ //if (audio == null)
+ //$("appendAut").append('<audio id="cs" hidden controls> <source src = "../../video/jingbao.wav" type = "audio/ogg"> </audio >');
+ //$("appendAut").attr("src","../../video/jingbao.wav")
+ var audio = document.getElementById("cs");
+ audio.play();
+ }
+
+ function playSound1() {
+ console.log("playSound1");
+ //var audio = document.getElementById("cs");
+ //$("appendAut").html("");
+ //if (audio == null)
+ //$("appendAut").append('<audio id="cs" hidden controls> <source src = "../../video/success.wav" type = "audio/ogg"> </audio >');
+ //$("appendAut").attr("src", "../../video/success.wav")
+ var audio = document.getElementById("cs2");
+ audio.play();
+ }
+
//鎵簮鍗�
$('#HSourceBillNo').on('keydown', function (event) { //鎵簮鍗�
var HSourceBillNo = $('#HSourceBillNo').val()
var sInterID = $("#HInterID").val()
var sBillNo = $("#HBillNo").val()
var HSourceBillType = $("#HBillType").val()
+ if (HSourceBillType == '1243')
+ {
+
+ }
if (event.keyCode == 13) {
$.ajax({
url: GetWEBURL() + "/MoveStockBill/set_SavePonderationBillMain_Temp_Source_Fast_Json",
@@ -903,12 +1070,38 @@
data: { "HSourceBillType": HSourceBillType, "HSourceBillNo": HSourceBillNo, "sInterID": sInterID, "sBillNo": sBillNo },
success: function (result) {
if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
+
+ if (result.data[0].HSourceBillType == '1243')
+ {
+ $("#HStockStyle").val(result.data[0].HStockStyle);
+ $("#HStockInOrgID").val(result.data[0].HSTOCKINORGID);
+ $("#HStockInOrgName").val(result.data[0].HSTOCKINORGName);
+ $("#HStockOutOrgID").val(result.data[0].HSTOCKOUTORGID);
+ $("#HStockOutOrgName").val(result.data[0].HSTOCKOUTORGName);
+ }
+
+ $("#HDeptID").val(result.data[0].HDeptID);
+ $("#HDeptName").val(result.data[0].HDeptName);
+
+
+ $("#HWHID").val(result.data[0].HWhID);
+ $("#HWHNAME").val(result.data[0].HWhName);
+
+ //if (!DBUtility.ClsPub.ObjToBool(DS.Tables[0].Rows[0]["HIsStockMgr"])) {
+ // $("#HStockPlaceName").Enabled = false;
+ // $("#HStockPlaceID").Enabled = false;
+ //}
+ //else {
+ // $("#HStockPlaceName").Enabled = true;
+ // $("#HStockPlaceID").Enabled = true;
+ //}
layer.load(3);
element.tabChange('tab-MoveStockBill', '2');
table.render({
elem: '#wl-table'
, url: GetWEBURL() + '/MoveStockBill/DisBillEntryList_Webs_Json'
, toolbar: '#toolbarDemo'
+ , defaultToolbar: []
, where: { HBillID: sInterID, HBillType: '1207', sWhere: '' }
, cols: [[
{ type: 'radio' }
@@ -1055,6 +1248,20 @@
//sessionStorage["HWHID"] = obj[0].HItemID;
$("#HWHID").val(obj[0].HItemID);
}
+
+ function GetHOrgNameValue(obj) //杩斿洖璋冨叆缁勭粐
+ {
+ $("#HStockInOrgName").val(obj[0].HName);
+ $("#HStockInOrgID").val(obj[0].HItemID);
+
+ }
+ function GetHOutOrgNameValue(obj) //杩斿洖璋冨嚭缁勭粐
+ {
+ $("#HStockOutOrgName").val(obj[0].HName);
+ $("#HStockOutOrgID").val(obj[0].HItemID);
+
+ }
+
function GetHSpValue(obj) { //杩斿洖璋冨叆浠撲綅
$("#HStockPlaceName").val(obj[0].HName);
$("#HStockPlaceID").val(obj[0].HItemID);
diff --git "a/WebTM/views/\344\273\223\345\255\230\347\256\241\347\220\206/\344\273\223\345\272\223\350\260\203\346\213\250/Kf_MoveStockBill_FastList.html" "b/WebTM/views/\344\273\223\345\255\230\347\256\241\347\220\206/\344\273\223\345\272\223\350\260\203\346\213\250/Kf_MoveStockBill_FastList.html"
index 4208f7a..d2d9e58 100644
--- "a/WebTM/views/\344\273\223\345\255\230\347\256\241\347\220\206/\344\273\223\345\272\223\350\260\203\346\213\250/Kf_MoveStockBill_FastList.html"
+++ "b/WebTM/views/\344\273\223\345\255\230\347\256\241\347\220\206/\344\273\223\345\272\223\350\260\203\346\213\250/Kf_MoveStockBill_FastList.html"
@@ -36,8 +36,8 @@
</div>-->
<div class="layui-tab" lay-filter="tab-MoveStockBillList">
<ul class="layui-tab-title" lay-filter="tab-all">
- <li lay-id="1">鍗曟嵁鍒楄〃</li>
- <li lay-id="2">婧愬崟鐢熷崟</li>
+ <li lay-id="1">缂撳瓨鍒楄〃</li>
+ <li lay-id="2">宸蹭笂浼犲垪琛�</li>
</ul>
<div class="layui-tab-content">
<div class="layui-tab-item layui-show">
@@ -163,6 +163,7 @@
elem: '#dj-table'
, url: GetWEBURL() + '/Web/chanpinruk'
, toolbar: '#toolbarDemo'
+ , defaultToolbar: []
, where: { HBillType: sBillType, sHMaker: sessionStorage["HUserName"], HOrgID: sessionStorage["OrganizationID"] }
, cols: [[
{ type: 'radio' }
@@ -184,6 +185,7 @@
elem: '#yd-table'
, url: GetWEBURL() + '/Web/DisBillUpdateLoad_Json'
, toolbar: '#toolbarDemo'
+ , defaultToolbar: []
, where: { HBillType: sBillType, HMaker: sessionStorage["HUserName"], HOrgID: sessionStorage["OrganizationID"] }
, cols: [[
{ type: 'radio' }
@@ -291,7 +293,8 @@
table.render({
elem: '#dj-table'
, url: GetWEBURL() + '/Web/chanpinruk'
- ,toolbar: '#toolbarDemo'
+ , toolbar: '#toolbarDemo'
+ , defaultToolbar: []
, where: { HBillType: sBillType, sHMaker: sessionStorage["HUserName"], HOrgID: sessionStorage["OrganizationID"] }
, cols: [[
{ type: 'radio' }
@@ -315,6 +318,7 @@
elem: '#yd-table'
, url: GetWEBURL() + '/Web/DisBillUpdateLoad_Json'
, toolbar: '#toolbarDemo'
+ , defaultToolbar: []
, where: { HBillType: sBillType, HMaker: sessionStorage["HUserName"], HOrgID: sessionStorage["OrganizationID"] }
, cols: [[
{ type: 'radio' }
diff --git "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\345\205\266\344\273\226\345\207\272\345\272\223/Kf_OtherOutBill_Fast.html" "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\345\205\266\344\273\226\345\207\272\345\272\223/Kf_OtherOutBill_Fast.html"
index 9371599..58f2203 100644
--- "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\345\205\266\344\273\226\345\207\272\345\272\223/Kf_OtherOutBill_Fast.html"
+++ "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\345\205\266\344\273\226\345\207\272\345\272\223/Kf_OtherOutBill_Fast.html"
@@ -664,6 +664,7 @@
//}
if (event.keyCode == 13) {
if (sBarCode == '') {
+ playSound();
layer.msg("鏉$爜涓虹┖锛屼笉鑳芥壂鎻忥紒", { icon: 5, btn: ['纭畾'], time: 100000, offset: 't' });
return false;
}
@@ -777,6 +778,7 @@
else {
// $("#verifycode").click();
//layer.msg(result.Message, { icon: 5 });
+ playSound();
layer.msg(result.Message, { icon: 5, btn: ['閫�鍑�'], time: 100000, offset: 't' });
}
layer.closeAll("loading");
@@ -790,6 +792,16 @@
//layer.closeAll("loading");
//}
});
+
+ function playSound() {
+ var audio = document.getElementById("cs");
+ if (audio == null)
+ $("body").append('<audio id="cs" hidden controls> <source src = "../../video/jingbao.wav" type = "audio/ogg"> </audio >');
+ var audio = document.getElementById("cs");
+ audio.play();
+ }
+
+
$('#HSourceBillNo').on('keydown', function (event) {
var HSourceBillNo = $('#HSourceBillNo').val()
var sInterID = $("#HInterID").val()
diff --git "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\345\205\266\344\273\226\345\207\272\345\272\223/Kf_OtherOutBill_FastList.html" "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\345\205\266\344\273\226\345\207\272\345\272\223/Kf_OtherOutBill_FastList.html"
index 94e9be8..4f6e3e4 100644
--- "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\345\205\266\344\273\226\345\207\272\345\272\223/Kf_OtherOutBill_FastList.html"
+++ "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\345\205\266\344\273\226\345\207\272\345\272\223/Kf_OtherOutBill_FastList.html"
@@ -36,8 +36,8 @@
</div>-->
<div class="layui-tab" lay-filter="tab-POStockInBillList">
<ul class="layui-tab-title" lay-filter="tab-all">
- <li lay-id="1">鍗曟嵁鍒楄〃</li>
- <li lay-id="2">婧愬崟鐢熷崟</li>
+ <li lay-id="1">缂撳瓨鍒楄〃</li>
+ <li lay-id="2">宸蹭笂浼犲垪琛�</li>
</ul>
<div class="layui-tab-content">
<div class="layui-tab-item layui-show">
diff --git "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\345\247\224\345\244\226\345\207\272\345\272\223/Kf_EntrustOutBill_Fast.html" "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\345\247\224\345\244\226\345\207\272\345\272\223/Kf_EntrustOutBill_Fast.html"
index bf9f5af..edacfa3 100644
--- "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\345\247\224\345\244\226\345\207\272\345\272\223/Kf_EntrustOutBill_Fast.html"
+++ "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\345\247\224\345\244\226\345\207\272\345\272\223/Kf_EntrustOutBill_Fast.html"
@@ -640,6 +640,7 @@
}
if (event.keyCode == 13) {
if (sBarCode == '') {
+ playSound();
layer.msg("鏉$爜涓虹┖锛屼笉鑳芥壂鎻忥紒", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
return false;
}
@@ -683,6 +684,7 @@
});
}
else {
+ playSound();
$("#rizhi").val(RZ += Format(new Date(), "yyyy-MM-dd hh:mm:ss.S") + "鎵潯鐮侊紝澶辫触\n");
layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
}
@@ -692,6 +694,15 @@
}
});
+
+ function playSound() {
+ var audio = document.getElementById("cs");
+ if (audio == null)
+ $("body").append('<audio id="cs" hidden controls> <source src = "../../video/jingbao.wav" type = "audio/ogg"> </audio >');
+ var audio = document.getElementById("cs");
+ audio.play();
+ }
+
//鎵簮鍗曞彿
$('#HSourceBillNo').on('keydown', function (event) {
var HSourceBillNo = $('#HSourceBillNo').val()
diff --git "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\345\247\224\345\244\226\345\207\272\345\272\223/Kf_EntrustOutBill_FastList.html" "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\345\247\224\345\244\226\345\207\272\345\272\223/Kf_EntrustOutBill_FastList.html"
index 7a3d8c7..ca3dfc5 100644
--- "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\345\247\224\345\244\226\345\207\272\345\272\223/Kf_EntrustOutBill_FastList.html"
+++ "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\345\247\224\345\244\226\345\207\272\345\272\223/Kf_EntrustOutBill_FastList.html"
@@ -36,8 +36,8 @@
</div>-->
<div class="layui-tab" lay-filter="tab-POStockInBillList">
<ul class="layui-tab-title" lay-filter="tab-all">
- <li lay-id="1">鍗曟嵁鍒楄〃</li>
- <li lay-id="2">婧愬崟鐢熷崟</li>
+ <li lay-id="1">缂撳瓨鍒楄〃</li>
+ <li lay-id="2">宸蹭笂浼犲垪琛�</li>
</ul>
<div class="layui-tab-content">
<div class="layui-tab-item layui-show">
diff --git "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_Fast.html" "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_Fast.html"
index d1e96cd..cd59f7b 100644
--- "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_Fast.html"
+++ "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_Fast.html"
@@ -237,6 +237,16 @@
<button type="button" lay-submit="" class="layui-btn" lay-filter="cmdDelete">鍒犻櫎</button>
<button type="button" lay-submit="" class="layui-btn" lay-filter="Cancel">閫�鍑�</button>
</div>
+ <div id="" style="display:none;">
+ <audio id="cs" hidden controls>
+ <source src="../../video/jingbao.wav" type="audio/ogg">
+ </audio>
+ </div>
+ <div id="" style="display:none;">
+ <audio id="cs2" hidden controls>
+ <source src="../../video/success.wav" type="audio/ogg">
+ </audio>
+ </div>
</form>
</div>
</div>
@@ -381,6 +391,8 @@
$("#HBillNo").val(d.data[0].HBillNo);
$("#HBillType").val(d.data[0].HSourceBillType);
$("#HSourceBillNo").val(d.data[0].HSourceBillNo);
+
+ HSourceFlag = true;
//$("#HWHID").val(d.data[0].HWhID);
//$("#HStockPlaceID").val(d.data[0].HSPID);
//$("#HKeeperID").val(d.data[0].HKeeperID);
@@ -436,6 +448,7 @@
//, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Webs_Json'
, url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json'
, toolbar: '#toolbarDemo'
+ , defaultToolbar: []
, where: { HBillID: sInterID, HBillType: '1205', sWhere: '' }
, cols: [[
{ type: 'radio' }
@@ -701,6 +714,7 @@
, url: GetWEBURL() + '/SellOut/DisBillEntryList_Webs_Json'
, cellMinWidth: 80
, toolbar: '#toolbarDemo'
+ , defaultToolbar: []
, where: { HBillID: sInterID, HBillType: '1205', sWhere: '' }
, cols: [[
{ type: 'radio' }
@@ -846,6 +860,7 @@
// , url: 'http://61.130.49.162:9090/WMSAPI///OtherInStockBill/DisBillEntryList_Webs_Json'
, url: GetWEBURL() + '/SellOut/DisBillEntryList_Webs_Json'
, toolbar: '#toolbarDemo'
+ , defaultToolbar: []
, where: { HBillID: sInterID, HBillType: '1205', sWhere: '' }
, cols: [[
{ type: 'radio' }
@@ -877,17 +892,22 @@
}
else {
layer.msg(data.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+
}
},
error: function (err) {
layer.msg('閿欒' + err, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+
}
});
}
else {
var sBarCode = $('#HBarCode').val()
if (sBarCode == '') {
+ //
+ playSound();
layer.msg("鏉$爜涓虹┖锛屼笉鑳芥壂鎻忥紒", { icon: 5, btn: ['纭畾'], time: 100000, offset: 't' });
+ //11
return false;
}
if (sBarCode != "") {
@@ -898,6 +918,7 @@
type: "GET",
data: { "sCode": sBarCode, "sInterID": sInterID, "HBillType": sBillType, "sBillNo": sBillNo, "sMaker": sMaker, "WhID": sHWHID, "SPID": sHSPID, "sQty": sQty, "sRedBlue": false, "SourceFlag": HSourceFlag, "sSourceBillNo": sSourceBillNo, "sSourceType": sHBillType, "HOWNERID": sessionStorage["OrganizationID"] },
success: function (result) {
+ playSound1();
if (result.count == 1) {
if (result.data.HBarType == '浠撳簱鏉$爜') {
$("#HWHNAME").val(result.data.HWhName);
@@ -977,6 +998,7 @@
// , url: 'http://61.130.49.162:9090/WMSAPI///OtherInStockBill/DisBillEntryList_Webs_Json'
, url: GetWEBURL() + '/SellOut/DisBillEntryList_Webs_Json'
, toolbar: '#toolbarDemo'
+ , defaultToolbar: []
, where: { HBillID: sInterID, HBillType: '1205', sWhere: '' }
, cols: [[
{ type: 'radio' }
@@ -1009,17 +1031,44 @@
else {
// $("#verifycode").click();
//layer.msg(result.Message, { icon: 5 });
+ //
+ playSound();
layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ //11
}
layer.closeAll("loading");
},
error: function (err) {
+ playSound();
layer.msg("鎺ュ彛璇锋眰澶辫触锛�" + err, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ //11
}
});
}
}
});
+
+ function playSound() {
+ console.log("playSound");
+ //var audio = document.getElementById("cs");
+ //$("appendAut").html("");
+ //if (audio == null)
+ //$("appendAut").append('<audio id="cs" hidden controls> <source src = "../../video/jingbao.wav" type = "audio/ogg"> </audio >');
+ //$("appendAut").attr("src","../../video/jingbao.wav")
+ var audio = document.getElementById("cs");
+ audio.play();
+ }
+
+ function playSound1() {
+ console.log("playSound1");
+ //var audio = document.getElementById("cs");
+ //$("appendAut").html("");
+ //if (audio == null)
+ //$("appendAut").append('<audio id="cs" hidden controls> <source src = "../../video/success.wav" type = "audio/ogg"> </audio >');
+ //$("appendAut").attr("src", "../../video/success.wav")
+ var audio = document.getElementById("cs2");
+ audio.play();
+ }
$('#HStockPlaceName').on('keydown', function (event) { //鎵粨浣�
var HBarCode = $('#HStockPlaceName').val()
@@ -1151,7 +1200,8 @@
table.render({
elem: '#wl-table'
, url: GetWEBURL() + '/SellOut/DisBillEntryList_Webs_Json'
- , toolbar: '#toolbarDemo'
+ , toolbar: '#toolbarDemo'
+ , defaultToolbar: []
, where: { HBillID: sInterID, HBillType: '1205', sWhere: '' }
, cols: [[
{ type: 'radio' }
diff --git "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_FastList.html" "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_FastList.html"
index 59c068e..e0cc7a5 100644
--- "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_FastList.html"
+++ "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_FastList.html"
@@ -36,8 +36,8 @@
</div>-->
<div class="layui-tab" lay-filter="tab-POStockInBillList">
<ul class="layui-tab-title" lay-filter="tab-all">
- <li lay-id="1">鍗曟嵁鍒楄〃</li>
- <li lay-id="2">婧愬崟鐢熷崟</li>
+ <li lay-id="1">缂撳瓨鍒楄〃</li>
+ <li lay-id="2">宸蹭笂浼犲垪琛�</li>
</ul>
<div class="layui-tab-content">
<div class="layui-tab-item layui-show">
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 73b2b93..6ebf3f0 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"
@@ -251,6 +251,7 @@
$("#HMakerID").hide();
$("#HBillerID").val(sessionStorage["HBillerID"]);
$("#HBillerID").hide();
+ var HSourceFlag = sessionStorage["SourceFlag"];
//鑾峰彇鍙傛暟
@@ -280,6 +281,8 @@
$("#HBillNo").val(d.data[0].HBillNo);
$("#HBillType").val(d.data[0].HSourceBillType);
$("#HSourceBillNo").val(d.data[0].HSourceBillNo);
+
+ HSourceFlag = true;
//$("#HWHID").val(d.data[0].HWhID);
//$("#HKeeperID").val(d.data[0].HKeeperID);
//$("#HSecManagerID").val(d.data[0].HSecManagerID);
@@ -703,6 +706,7 @@
}
if (event.keyCode == 13) {
if (sBarCode == '') {
+ playSound();
layer.msg("鏉$爜涓虹┖锛屼笉鑳芥壂鎻忥紒", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
return false;
}
@@ -714,6 +718,7 @@
}
if (sHWHID == "184154") {
if (sHSPID == "0") {
+ playSound();
layer.msg("浠撲綅涓虹┖锛岃閫夋嫨浠撲綅锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
return false;
}
@@ -722,7 +727,7 @@
url: GetWEBURL() + "/MateOutBill/get_CheckTypeByBarCode_Json",
type: "GET",
//data: { "sCode": '1001456360', "sInterID": 122554, "HBillType": '1204', "sBillNo": 'MATO00000055', "sMaker": sessionStorage["HUserName"], "WhID": 484080, "SPID": 0, "sQty": 0, "sRedBlue": false, "SourceFlag": sessionStorage["SourceFlag"], "sSourceBillNo": 'PPBOM202112226', "sSourceType": '3720', "HOWNERID": sessionStorage["OrganizationID"] },
- data: { "sCode": sBarCode, "sInterID": sInterID, "HBillType": sBillType, "sBillNo": sBillNo, "sMaker": sessionStorage["HUserName"], "WhID": sHWHID, "SPID": sHSPID, "sQty": sQty, "sRedBlue": false, "SourceFlag": sessionStorage["SourceFlag"], "sSourceBillNo": sSourceBillNo, "sSourceType": sHBillType, "HOWNERID": sessionStorage["OrganizationID"] },
+ data: { "sCode": sBarCode, "sInterID": sInterID, "HBillType": sBillType, "sBillNo": sBillNo, "sMaker": sessionStorage["HUserName"], "WhID": sHWHID, "SPID": sHSPID, "sQty": sQty, "sRedBlue": false, "SourceFlag": HSourceFlag, "sSourceBillNo": sSourceBillNo, "sSourceType": sHBillType, "HOWNERID": sessionStorage["OrganizationID"] },
success: function (result) {
if (result.count == 1) {
if (result.data.HBarType == '浠撳簱鏉$爜') {
@@ -820,6 +825,7 @@
});
}
else {
+ playSound();
layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
}
layer.closeAll("loading");
@@ -828,6 +834,15 @@
}
});
+
+ function playSound() {
+ var audio = document.getElementById("cs");
+ if (audio == null)
+ $("body").append('<audio id="cs" hidden controls> <source src = "../../video/jingbao.wav" type = "audio/ogg"> </audio >');
+ var audio = document.getElementById("cs");
+ audio.play();
+ }
+
//鎵簮鍗�
$('#HSourceBillNo').on('keydown', function (event) {
var HSourceBillNo = $('#HSourceBillNo').val()
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_FastList.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_FastList.html"
index 52487de..c87b658 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_FastList.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_FastList.html"
@@ -36,8 +36,8 @@
</div>-->
<div class="layui-tab" lay-filter="tab-POStockInBillList">
<ul class="layui-tab-title" lay-filter="tab-all">
- <li lay-id="1">鍗曟嵁鍒楄〃</li>
- <li lay-id="2">婧愬崟鐢熷崟</li>
+ <li lay-id="1">缂撳瓨鍒楄〃</li>
+ <li lay-id="2">宸蹭笂浼犲垪琛�</li>
</ul>
<div class="layui-tab-content">
<div class="layui-tab-item layui-show">
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 de1d3a9..c7a365b 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"
@@ -44,13 +44,14 @@
<label class="layui-form-label" style="width:60px;padding-left:0px;">鍗曟嵁绫诲瀷</label>
</div>
<div class="layui-col-xs8">
- <!--<input type="text" value="鐢熶骇璁㈠崟" name="HBillTypeCHN" id="HBillTypeCHN" lay-verify="HBillTypeCHN" autocomplete="off" class="layui-input" readonly>
- <input type="hidden" value="3710" name="HBillType" id="HBillType" lay-verify="HBillType" autocomplete="off" class="layui-input">-->
- <input type="text" value="鐢熶骇姹囨姤鍗�" name="HBillTypeCHN" id="HBillTypeCHN" lay-verify="HBillTypeCHN" autocomplete="off" class="layui-input" readonly>
- <input type="hidden" value="3711" name="HBillType" id="HBillType" lay-verify="HBillType" autocomplete="off" class="layui-input">
+ <input type="text" value="鐢熶骇璁㈠崟" name="HBillTypeCHN" id="HBillTypeCHN" lay-verify="HBillTypeCHN" autocomplete="off" class="layui-input" readonly>
+ <input type="hidden" value="3710" name="HBillType" id="HBillType" lay-verify="HBillType" autocomplete="off" class="layui-input">
+ <!--<input type="text" value="鐢熶骇姹囨姤鍗�" name="HBillTypeCHN" id="HBillTypeCHN" lay-verify="HBillTypeCHN" autocomplete="off" class="layui-input" readonly>
+ <input type=-->
+ <!--"hidden" value="3711" name="HBillType" id="HBillType" lay-verify="HBillType" autocomplete="off" class="layui-input">-->
<!--<select name="HBillType" id="HBillType">
- <option value="3711">鐢熶骇姹囨姤鍗�</option>
- </select>-->
+ <option value="3711">鐢熶骇姹囨姤鍗�</option>
+ </select>-->
</div>
</div>
</div>
@@ -212,8 +213,18 @@
<div class="layer-footer" style="z-index: 10; position: fixed; text-align: center; bottom: 0; width:100%; height:50px">
<button type="button" lay-submit="" class="layui-btn" lay-filter="Saver">鎻愪氦</button>
<button type="button" lay-submit="" class="layui-btn" lay-filter="cmdModify">缂栬緫</button>
- <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdDelete">鍒犻櫎</button>
+ <!-- <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdDelete">鍒犻櫎</button>-->
<button type="button" lay-submit="" class="layui-btn" lay-filter="Cancel">閫�鍑�</button>
+ </div>
+ <div id="" style="display:none;">
+ <audio id="cs" hidden controls>
+ <source src="../../video/jingbao.wav" type="audio/ogg">
+ </audio>
+ </div>
+ <div id="" style="display:none;">
+ <audio id="cs2" hidden controls>
+ <source src="../../video/success.wav" type="audio/ogg">
+ </audio>
</div>
</form>
</div>
@@ -343,6 +354,7 @@
//$("#HStockPlaceID").val(d.data[0].HSPID);
//$("#HKeeperID").val(d.data[0].HKeeperID);
//$("#HSecManagerID").val(d.data[0].HSecManagerID);
+ HSourceFlag = true;
}
})
}
@@ -358,6 +370,7 @@
//, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Webs_Json'
, url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json'
, toolbar: '#toolbarDemo'
+ , defaultToolbar: []
, where: { HBillID: sInterID, HBillType: '1202', sWhere: '' }
, cols: [[
{ type: 'radio' }
@@ -606,35 +619,61 @@
{
type: "Get",
//url: "http://61.130.49.162:9090/WMSAPI///ProductIn/Delete_Json", //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚�
- url: GetWEBURL() + "/ProductIn/Delete_Json",
+ url: GetWEBURL() + "/ProductIn/Delete_Json_AN",
async: true,
data: { "HInterID": sInterID, "HMaterID": sMaterID, "HAuxPropID": sAuxPropID, "HMTONo": sMTONo, "HSourceInterID": sSourceInterID, "HSourceEntryID": sSourceEntryID, "sHBillType": sBillType, },
dataType: "json",
success: function (data) {
if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜�
+ // table.render({
+ // elem: '#wl-table'
+ // //, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Mate_Webs_Json'
+ // , url: GetWEBURL() + '/ProductIn/DisPlayBarCodeList_Json'
+ //, cellMinWidth: 80
+ //, toolbar: '#toolbarDemo'
+ // , where: { HBillID: sInterID, HBillNo: HBillNo, HBillType: '1202', sMouldManagerCtl: sMouldManagerCtl, sFIFOCtl: sFIFOCtl}
+ //, cols: [[
+ // { type: 'radio' }
+ // , { field: 'HQty', title: '鏁伴噺', width: 80 }
+ // , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', width: 80 }
+ // , { field: 'HMaterNumber', title: '鐗╂枡浠g爜', width: 100 }
+ // , { field: 'HMaterName', title: '鐗╂枡鍚嶇О', width: 150 }
+ // , { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿', width: 100 }
+ // , { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', width: 100 }
+ // , { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', width: 100 }
+ // , { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 100 }
+ // , { field: 'HBatchNo', title: '鎵规', width: 100 }
+ // , { field: 'HAuxPropID', title: '杈呭姪灞炴��', width: 100 }
+ // , { field: 'HMTONo', title: '璁″垝璺熻釜鍙�', width: 100 }
+ // , { field: 'HMaterID', title: '鐗╂枡ID', width: 100 }
+ //]]
+ //, height: 500
+ // })
table.render({
elem: '#wl-table'
- //, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Mate_Webs_Json'
- , url: GetWEBURL() + '/ProductIn/DisPlayBarCodeList_Json'
- , cellMinWidth: 80
- , toolbar: '#toolbarDemo'
- , where: { HBillID: sInterID, HBillNo: HBillNo, HBillType: '1202', sMouldManagerCtl: sMouldManagerCtl, sFIFOCtl: sFIFOCtl}
- , cols: [[
- { type: 'radio' }
- , { field: 'HQty', title: '鏁伴噺', width: 80 }
- , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', width: 80 }
- , { field: 'HMaterNumber', title: '鐗╂枡浠g爜', width: 100 }
- , { field: 'HMaterName', title: '鐗╂枡鍚嶇О', width: 150 }
- , { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿', width: 100 }
- , { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', width: 100 }
- , { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', width: 100 }
- , { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 100 }
- , { field: 'HBatchNo', title: '鎵规', width: 100 }
- , { field: 'HAuxPropID', title: '杈呭姪灞炴��', width: 100 }
- , { field: 'HMTONo', title: '璁″垝璺熻釜鍙�', width: 100 }
- , { field: 'HMaterID', title: '鐗╂枡ID', width: 100 }
- ]]
- , height: 500
+ //, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Webs_Json'
+ , url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json'
+ , toolbar: '#toolbarDemo'
+ , defaultToolbar: []
+ , where: { HBillID: sInterID, HBillType: '1202', sWhere: '' }
+ , cols: [[
+ { type: 'radio' }
+ , { field: 'HQty', title: '鏁伴噺', width: 150 }
+ , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', width: 150 }
+ , { field: 'HMaterNumber', title: '鐗╂枡浠g爜', width: 150 }
+ , { field: 'HMaterName', title: '鐗╂枡鍚嶇О', width: 150 }
+ , { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿', width: 150 }
+ , { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', width: 150 }
+ , { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', width: 150 }
+ , { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 150 }
+ , { field: 'HBatchNo', title: '鎵规', width: 150 }
+ ]]
+ // , data: [linterid]
+ // , page: true
+ , height: 500
+ , done: function () {
+ layer.closeAll("loading");
+ }
})
}
else {
@@ -747,6 +786,7 @@
//, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Webs_Json'
, url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json'
, toolbar: '#toolbarDemo'
+ , defaultToolbar: []
, where: { HBillID: sInterID, HBillType: '1202', sWhere: '' }
, cols: [[
{ type: 'radio' }
@@ -783,9 +823,9 @@
if (sQty == "") {
sQty = 0;
}
-
- //鍒ゆ柇鏉$爜鏄惁涓虹┖ new
- if (sBarCode == '') {
+ //鍒ゆ柇鏉$爜鏄惁涓虹┖ new
+ if (sBarCode == '') {
+ playSound();
layer.msg("鏉$爜涓虹┖锛屼笉鑳芥壂鎻忥紒", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
return false;
}
@@ -809,6 +849,7 @@
data: { "sCode": sBarCode, "sInterID": sInterID, "sBillNo": sBillNo, "sBillType": sBillType, "sMaker": sessionStorage["HUserName"], "WhID": sHWHID, "SPID": sHSPID, "sQty": sQty, "sRedBlue": false, "SourceFlag": HSourceFlag, "sSourceBillNo": sSourceBillNo, "sSourceType": sHBillType, "HOWNERID": sessionStorage["OrganizationID"] },
success: function (result) {
//debugger;
+ playSound1();
if (result.count == 1) {
if (result.data.HBarType == '浠撳簱鏉$爜') {
$("#HWHNAME").val(result.data.HWhName);
@@ -882,6 +923,7 @@
//, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Webs_Json'
, url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json'
, toolbar: '#toolbarDemo'
+ , defaultToolbar: []
, where: { HBillID: sInterID, HBillType: '1202', sWhere: '' }
, cols: [[
{ type: 'radio' }
@@ -904,18 +946,43 @@
});
}
else {
+ playSound();
layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
}
layer.closeAll("loading");
},
error: function (err) {
+ playSound();
layer.msg("鎺ュ彛璇锋眰寮傚父:" + err, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
console.log(err);
}
});
}
}
- });
+ });
+
+
+ function playSound() {
+ console.log("playSound");
+ //var audio = document.getElementById("cs");
+ //$("appendAut").html("");
+ //if (audio == null)
+ //$("appendAut").append('<audio id="cs" hidden controls> <source src = "../../video/jingbao.wav" type = "audio/ogg"> </audio >');
+ //$("appendAut").attr("src","../../video/jingbao.wav")
+ var audio = document.getElementById("cs");
+ audio.play();
+ }
+
+ function playSound1() {
+ console.log("playSound1");
+ //var audio = document.getElementById("cs");
+ //$("appendAut").html("");
+ //if (audio == null)
+ //$("appendAut").append('<audio id="cs" hidden controls> <source src = "../../video/success.wav" type = "audio/ogg"> </audio >');
+ //$("appendAut").attr("src", "../../video/success.wav")
+ var audio = document.getElementById("cs2");
+ audio.play();
+ }
//鎵簮鍗�
$('#HSourceBillNo').on('keydown', function (event) { //鎵簮鍗�
@@ -944,7 +1011,8 @@
elem: '#wl-table'
//, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Webs_Json'
, url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json'
- , toolbar: '#toolbarDemo'
+ , toolbar: '#toolbarDemo'
+ , defaultToolbar: []
, where: { HBillID: sInterID, HBillType: '1202', sWhere: '' }
, cols: [[
{ type: 'radio' }
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_FastList.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_FastList.html"
index 1b2b437..28a6817 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_FastList.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_FastList.html"
@@ -36,8 +36,8 @@
</div>-->
<div class="layui-tab" lay-filter="tab-POStockInBillList">
<ul class="layui-tab-title" lay-filter="tab-all">
- <li lay-id="1">鍗曟嵁鍒楄〃</li>
- <li lay-id="2">婧愬崟鐢熷崟</li>
+ <li lay-id="1">缂撳瓨鍒楄〃</li>
+ <li lay-id="2">宸蹭笂浼犲垪琛�</li>
</ul>
<div class="layui-tab-content">
<div class="layui-tab-item layui-show">
@@ -221,6 +221,7 @@
elem: '#dj-table'
,url: GetWEBURL() + '/Web/chanpinruk'
, toolbar: '#toolbarDemo'
+ , defaultToolbar: []
, where: { HBillType: sBillType, sHMaker: sessionStorage["HUserName"], HOrgID: sessionStorage["OrganizationID"] }
, cols: [[
{ type: 'radio' }
@@ -242,6 +243,7 @@
elem: '#yd-table'
, url: GetWEBURL() + '/Web/DisBillUpdateLoad_Json'
, toolbar: '#toolbarDemo'
+ , defaultToolbar: []
, where: { HBillType: sBillType, HMaker: sessionStorage["HUserName"], HOrgID: sessionStorage["OrganizationID"] }
, cols: [[
{ type: 'radio' }
@@ -350,7 +352,8 @@
table.render({
elem: '#dj-table'
, url: GetWEBURL() + '/Web/chanpinruk'
- ,toolbar: '#toolbarDemo'
+ , toolbar: '#toolbarDemo'
+ , defaultToolbar: []
, where: { HBillType: sBillType, sHMaker: sessionStorage["HUserName"], HOrgID: sessionStorage["OrganizationID"]}
, cols: [[
{ type: 'radio' }
@@ -375,6 +378,7 @@
elem: '#yd-table'
, url: GetWEBURL() + '/Web/DisBillUpdateLoad_Json'
, toolbar: '#toolbarDemo'
+ , defaultToolbar: []
, where: { HBillType: sBillType, HMaker: sessionStorage["HUserName"], HOrgID: sessionStorage["OrganizationID"] }
, cols: [[
{ type: 'radio' }
diff --git "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\205\266\344\273\226\345\205\245\345\272\223/Kf_OtherInBill_Fast.html" "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\205\266\344\273\226\345\205\245\345\272\223/Kf_OtherInBill_Fast.html"
index 37c2ad4..af2dce0 100644
--- "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\205\266\344\273\226\345\205\245\345\272\223/Kf_OtherInBill_Fast.html"
+++ "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\205\266\344\273\226\345\205\245\345\272\223/Kf_OtherInBill_Fast.html"
@@ -719,6 +719,7 @@
}
if (event.keyCode == 13) {
if (sBarCode == '') {
+ playSound();
layer.msg("鏉$爜涓虹┖锛屼笉鑳芥壂鎻忥紒", { icon: 5, btn: ['纭畾'], time: 100000, offset: 't' });
return false;
}
@@ -842,6 +843,14 @@
//}
});
+ function playSound() {
+ var audio = document.getElementById("cs");
+ if (audio == null)
+ $("body").append('<audio id="cs" hidden controls> <source src = "../../video/jingbao.wav" type = "audio/ogg"> </audio >');
+ var audio = document.getElementById("cs");
+ audio.play();
+ }
+
$('#HStockPlaceName').on('keydown', function (event) { //鎵粨浣�
var HBarCode = $('#HStockPlaceName').val()
if (event.keyCode == 13) {
diff --git "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\205\266\344\273\226\345\205\245\345\272\223/Kf_OtherInBill_FastList.html" "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\205\266\344\273\226\345\205\245\345\272\223/Kf_OtherInBill_FastList.html"
index b53f063..2e0d858 100644
--- "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\205\266\344\273\226\345\205\245\345\272\223/Kf_OtherInBill_FastList.html"
+++ "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\205\266\344\273\226\345\205\245\345\272\223/Kf_OtherInBill_FastList.html"
@@ -36,8 +36,8 @@
</div>-->
<div class="layui-tab" lay-filter="tab-POStockInBillList">
<ul class="layui-tab-title" lay-filter="tab-all">
- <li lay-id="1">鍗曟嵁鍒楄〃</li>
- <li lay-id="2">婧愬崟鐢熷崟</li>
+ <li lay-id="1">缂撳瓨鍒楄〃</li>
+ <li lay-id="2">宸蹭笂浼犲垪琛�</li>
</ul>
<div class="layui-tab-content">
<div class="layui-tab-item layui-show">
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_POStockInBill_Fast.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_POStockInBill_Fast.html"
index 8e09e8a..eaa21c2 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_POStockInBill_Fast.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_POStockInBill_Fast.html"
@@ -333,6 +333,7 @@
//$("#HDeptID").val(d.data[0].HDeptID);
//$("#HBarCode").val(d.data[0].HBarCode);
//$("#HQty").val(d.data[0].HQty);
+ HSourceFlag = true;
RoadSup();
}
})
@@ -780,7 +781,7 @@
$.ajax({
url: GetWEBURL() + "/POStockInBill/get_CheckTypeByBarCode_Json",
type: "GET",
- data: { "sCode": sBarCode, "sInterID": sInterID, "sBillNo": sBillNo, "sBillType": sBillType, "sMaker": sessionStorage["HUserName"], "WhID": sHWHID, "SPID": sHSPID, "sQty": sQty, "sRedBlue": false, "SourceFlag": sessionStorage["SourceFlag"], "sSourceBillNo": sSourceBillNo, "sSourceType": '1103', "HOWNERID": sessionStorage["OrganizationID"] },
+ data: { "sCode": sBarCode, "sInterID": sInterID, "sBillNo": sBillNo, "sBillType": sBillType, "sMaker": sessionStorage["HUserName"], "WhID": sHWHID, "SPID": sHSPID, "sQty": sQty, "sRedBlue": false, "SourceFlag": true, "sSourceBillNo": sSourceBillNo, "sSourceType": '1103', "HOWNERID": sessionStorage["OrganizationID"] },
success: function (result) {
if (result.count == 1) {
if (result.data.HBarType == '浠撳簱鏉$爜') {
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_POStockInBill_FastList.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_POStockInBill_FastList.html"
index 3128434..61356ee 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_POStockInBill_FastList.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_POStockInBill_FastList.html"
@@ -36,8 +36,8 @@
</div>-->
<div class="layui-tab" lay-filter="tab-POStockInBillList">
<ul class="layui-tab-title" lay-filter="tab-all">
- <li lay-id="1">鍗曟嵁鍒楄〃</li>
- <li lay-id="2">婧愬崟鐢熷崟</li>
+ <li lay-id="1">缂撳瓨鍒楄〃</li>
+ <li lay-id="2">宸蹭笂浼犲垪琛�</li>
</ul>
<div class="layui-tab-content">
<div class="layui-tab-item layui-show">
diff --git "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\247\224\345\244\226\345\205\245\345\272\223/Kf_EntrustInBill_Fast.html" "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\247\224\345\244\226\345\205\245\345\272\223/Kf_EntrustInBill_Fast.html"
index c29b490..887d630 100644
--- "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\247\224\345\244\226\345\205\245\345\272\223/Kf_EntrustInBill_Fast.html"
+++ "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\247\224\345\244\226\345\205\245\345\272\223/Kf_EntrustInBill_Fast.html"
@@ -658,6 +658,7 @@
if (event.keyCode == 13) {
//鍒ゆ柇鏉$爜鏄惁涓虹┖ new
if (sBarCode == '') {
+ playSound();
layer.msg("鏉$爜涓虹┖锛屼笉鑳芥壂鎻忥紒", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
return false;
}
@@ -780,11 +781,13 @@
else {
// $("#verifycode").click();
//layer.msg(result.Message, { icon: 5 });
+ playSound();
layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
}
layer.closeAll("loading");
},
error: function (err) {
+ playSound();
layer.msg("閿欒:" + err, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
}
});
@@ -797,6 +800,15 @@
//}
});
+
+ function playSound() {
+ var audio = document.getElementById("cs");
+ if (audio == null)
+ $("body").append('<audio id="cs" hidden controls> <source src = "../../video/jingbao.wav" type = "audio/ogg"> </audio >');
+ var audio = document.getElementById("cs");
+ audio.play();
+ }
+
//鎵簮鍗曟柟娉�
$('#HSourceBillNo').on('keydown', function (event) {
var HSourceBillNo = $('#HSourceBillNo').val()
diff --git "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\247\224\345\244\226\345\205\245\345\272\223/Kf_EntrustInBill_FastList.html" "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\247\224\345\244\226\345\205\245\345\272\223/Kf_EntrustInBill_FastList.html"
index 6698b13..00d2c69 100644
--- "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\247\224\345\244\226\345\205\245\345\272\223/Kf_EntrustInBill_FastList.html"
+++ "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\247\224\345\244\226\345\205\245\345\272\223/Kf_EntrustInBill_FastList.html"
@@ -36,8 +36,8 @@
</div>-->
<div class="layui-tab" lay-filter="tab-POStockInBillList">
<ul class="layui-tab-title" lay-filter="tab-all">
- <li lay-id="1">鍗曟嵁鍒楄〃</li>
- <li lay-id="2">婧愬崟鐢熷崟</li>
+ <li lay-id="1">缂撳瓨鍒楄〃</li>
+ <li lay-id="2">宸蹭笂浼犲垪琛�</li>
</ul>
<div class="layui-tab-content">
<div class="layui-tab-item layui-show">
--
Gitblit v1.9.1