From 78f07b997b726ade5153f3468f0555c38fbd2bc8 Mon Sep 17 00:00:00 2001
From: ch <37327@LLOOCCY>
Date: 星期二, 27 十二月 2022 09:42:53 +0800
Subject: [PATCH] 把所有扫码模块刷新表体信息时 批次号字段隐藏
---
WebTM/views/验收入库/外购入库/Kf_POStockInBill_Fast.html | 20 +-
WebTM/views/home/console.html | 6
WebTM/views/验收入库/外购入库/Kf_POStockInBill_FastList.html | 2
WebTM/views/车间管理/工序出站汇报单/Cj_StationOutBill.html | 2
WebTM/views/验收入库/产品入库/Kf_ProductInBill_Fast.html | 20 +
WebTM/views/仓存管理/仓库调拨/Kf_MoveStockBill_Fast.html | 6
WebTM/views/home/console_Mobile.html | 6
WebTM/views/质量管理/来料检验单/Kf_SCStockInCheckBill_Fast.html | 12 +
WebTM/views/领料发货/其他出库/Kf_OtherOutBill_Fast.html | 10
WebTM/views/质量管理/来料检验单/Kf_QCStockInCheckBill_Fast.html | 60 ++++-
WebTM/WebTM.csproj | 1
WebTM/views/领料发货/收料入库/Kf_ReciveBill_Fast_AR.html | 444 ++++++++++++++++++++++++++++++++++++++++++++
12 files changed, 544 insertions(+), 45 deletions(-)
diff --git a/WebTM/WebTM.csproj b/WebTM/WebTM.csproj
index 3217f97..423915c 100644
--- a/WebTM/WebTM.csproj
+++ b/WebTM/WebTM.csproj
@@ -1094,6 +1094,7 @@
<Content Include="views\棰嗘枡鍙戣揣\鍒嗘寮忚皟鍑哄崟\Fb_StepFoldOutBillList.html" />
<Content Include="views\棰嗘枡鍙戣揣\濮斿鍑哄簱\Kf_EntrustOutBillList.html" />
<Content Include="views\棰嗘枡鍙戣揣\鏀舵枡鍏ュ簱\Kf_ReciveBill_Check.html" />
+ <Content Include="views\棰嗘枡鍙戣揣\鏀舵枡鍏ュ簱\Kf_ReciveBill_Fast_AR.html" />
<Content Include="views\棰嗘枡鍙戣揣\鏀舵枡鍏ュ簱\Kf_ReciveBill_Fast.html" />
<Content Include="views\棰嗘枡鍙戣揣\鐢熶骇琛ユ枡\Kf_MateReplenishOutBill_Check_New.html" />
<Content Include="views\棰嗘枡鍙戣揣\鐢熶骇琛ユ枡\Kf_MateReplenishOutBill_CheckList_New.html" />
diff --git a/WebTM/views/home/console.html b/WebTM/views/home/console.html
index d0f45b0..862531f 100644
--- a/WebTM/views/home/console.html
+++ b/WebTM/views/home/console.html
@@ -111,6 +111,12 @@
<cite>鏉ユ枡妫�楠屽崟</cite>
</a>
</li>
+ <li class="layui-col-xs3">
+ <a href="../棰嗘枡鍙戣揣/鏀舵枡鍏ュ簱/Kf_ReciveBill_Fast_AR.html" target="main_self_frame">
+ <i class="layui-icon layui-icon-find-fill"></i>
+ <cite>鍒拌揣纭(瀹夌憺)</cite>
+ </a>
+ </li>
<!--<li class="layui-col-xs3">
<a lay-href="set/user/info.html">
<i class="layui-icon layui-icon-set"></i>
diff --git a/WebTM/views/home/console_Mobile.html b/WebTM/views/home/console_Mobile.html
index cc11353..213136b 100644
--- a/WebTM/views/home/console_Mobile.html
+++ b/WebTM/views/home/console_Mobile.html
@@ -160,6 +160,12 @@
<cite>鐢熶骇妫�楠屽崟</cite>
</a>
</li>
+ <li class="layui-col-xs3">
+ <a href="../棰嗘枡鍙戣揣/鏀舵枡鍏ュ簱/Kf_ReciveBill_Fast_AR.html" target="main_self_frame">
+ <i class="layui-icon layui-icon-find-fill"></i>
+ <cite>鍒拌揣纭(瀹夌憺)</cite>
+ </a>
+ </li>
</ul>
</div>
</div>
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 c2f9bd3..90158a4 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"
@@ -495,7 +495,7 @@
, { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', width: 150 }
, { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', width: 150 }
, { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 150 }
- , { field: 'HBatchNo', title: '鎵规', width: 150 }
+ //, { field: 'HBatchNo', title: '鎵规', width: 150 }
, { field: 'HMaterID', title: '鐗╂枡鍐呯爜', width: 150, hide: true }
, { field: 'HAuxPropID', title: '', width: 150, hide: true }
, { field: 'HMTONo', title: '璁″垝璺熻釜鍙�', width: 150, hide: true }
@@ -863,7 +863,7 @@
, { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', width: 100 }
, { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', width: 100 }
, { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 100 }
- , { field: 'HBatchNo', title: '鎵规', width: 100 }
+ //, { field: 'HBatchNo', title: '鎵规', width: 100 }
, { field: 'HAuxPropID', title: '杈呭姪灞炴��', width: 100 }
, { field: 'HMTONo', title: '璁″垝璺熻釜鍙�', width: 100 }
, { field: 'HMaterID', title: '鐗╂枡ID', width: 100 }
@@ -1443,7 +1443,7 @@
, { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿', width: 150 }
, { field: 'HAuxPropName', title: '杈呭姪灞炴��', width: 150 }
, { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 150 }
- , { field: 'HBatchNo', title: '鎵规', width: 150, hide: true }
+ //, { field: 'HBatchNo', title: '鎵规', width: 150, hide: true }
, { field: 'HPieceQty', title: '鏉$爜鏁伴噺', width: 150, hide: true }
, { field: 'HMaterID', title: 'HMaterID', width: 150, hide: true }
, { field: 'HAuxPropID', title: 'HAuxPropID', width: 150, hide: true }
diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\235\245\346\226\231\346\243\200\351\252\214\345\215\225/Kf_QCStockInCheckBill_Fast.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\235\245\346\226\231\346\243\200\351\252\214\345\215\225/Kf_QCStockInCheckBill_Fast.html"
index b7d5670..cc56dc9 100644
--- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\235\245\346\226\231\346\243\200\351\252\214\345\215\225/Kf_QCStockInCheckBill_Fast.html"
+++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\235\245\346\226\231\346\243\200\351\252\214\345\215\225/Kf_QCStockInCheckBill_Fast.html"
@@ -37,15 +37,15 @@
<div class="layui-tab-item layui-show">
<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="HBillType" id="HBillType">
- <option value="1103">鏀舵枡閫氱煡鍗�</option>
- </select>
- </div>
- </div>-->
+ <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="HBillType" id="HBillType">
+ <option value="1103">鏀舵枡閫氱煡鍗�</option>
+ </select>
+ </div>
+ </div>-->
<div class="layui-row">
<div class="layui-col-xs3">
<label class="layui-form-label" style="width:60px;padding-left:0px;">鐗╂枡鏉$爜</label>
@@ -77,11 +77,17 @@
</div>
<div class="layui-col-xs6">
<input type="text" name="HBillNo" id="HBillNo" lay-verify="HBillNo" disabled="disabled" autocomplete="off" class="layui-input mobile">
+
</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>
+ <!--<input id="upload" type="file" accept="image/*" @change="changePic" />-->
+ <input id="takepicture" type="file" accept="image/*">
+ <div>
+ <img id="blah" src="#" alt="鏄剧ず鎮ㄤ笂浼犵殑鍟嗗搧鍥剧墖" />
</div>
</div>
</div>
@@ -327,6 +333,7 @@
<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="Cancel">閫�鍑�</button>
+ <!-- <button id="capture">鎷嶇収</button>-->
</div>
<div id="" style="display:none;">
<audio id="cs" hidden controls>
@@ -349,7 +356,6 @@
</script>
-
<script src="../../../layuiadmin/layui/layui.js"></script>
<script src="../../../layuiadmin/Scripts/json2.js"></script>
<script src="../../../layuiadmin/Scripts/jquery-1.4.1.js"></script>
@@ -367,6 +373,19 @@
, form = layui.form
, element = layui.element;
//娓呯┖鐣岄潰 new
+
+ function readURL(input) {
+ if (input.files && input.files[0]) {
+ var reader = new FileReader();
+ reader.onload = function (e) {
+ $('#blah').attr('src', e.target.result);
+ }
+ reader.readAsDataURL(input.files[0]);
+ }
+ }
+ $("#takepicture").change(function () {
+ readURL(this);
+ });
//琛ㄥご鍒濆鍖栬祴鍊硷紙鏍规嵁鐧诲綍鐢ㄦ埛鑾峰彇 榛樿浠撳簱銆侀儴闂ㄣ�侀獙鏀躲�佷繚绠°�侀噾铦剁敤鎴凤級 new
@@ -399,6 +418,9 @@
var params = getUrlVars();
var linterid = params[params[0]]; //浠庡弬鏁颁腑鑾峰彇 鍗曟嵁鍐呯爜
var lSourceBillType = params[params[2]]; //浠庡崟鎹幏鍙� 婧愬崟绫诲瀷
+
+
+
//鍔犺浇琛ㄥご
function RoadBillMain(linterid) {
@@ -748,6 +770,7 @@
var HSLEntryID = $("#HSLEntryID").val(); //鏀舵枡閫氱煡鍗曞瓙ID
var HSLBillNo = $("#HSLBillNo").val(); //鏀舵枡閫氱煡鍗曞崟鍙�
var HSLSeQ = $("#HSLSeQ").val(); //鏀舵枡閫氱煡鍗曡鍙�
+ var HBatchNo = $("#HBatchNo").val(); //鎵瑰彿
if (HBadQty == "") {
HBadQty = 0;
@@ -763,6 +786,12 @@
}
if (HWHNumber == "") {
HWHNumber = '';
+ }
+ if (HBatchNo == "") {
+ HBatchNo = '';
+ }
+ if (HKeeperID == "") {
+ HKeeperID = 0;
}
//var sSourceType = $("#HBillType").val();
@@ -780,7 +809,7 @@
, "HBadQty": HBadQty, "HCheckResult": HCheckResult, "HSupNumber": HSupNumber, "HWHNumber": HWHNumber
, "HUseResult": HUseResult, "HSeQ": HSeQ, "HSourceInterID": HSourceInterID, "HSourceEntryID": HSourceEntryID, "HSourceBillNo": HSourceBillNo
, "user": sessionStorage["HUserName"], "HWHID": HWHID, "HSPID": HSPID, "HSupID": HSupID, "HKeeperID": HKeeperID
- , "HMaterID": HMaterID, "HSourceBillType": HSourceBillType, "HSLInterID": HSLInterID, "HSLEntryID": HSLEntryID, "HSLBillNo": HSLBillNo, "HSLSeQ": HSLSeQ
+ , "HMaterID": HMaterID, "HSourceBillType": HSourceBillType, "HSLInterID": HSLInterID, "HSLEntryID": HSLEntryID, "HSLBillNo": HSLBillNo, "HSLSeQ": HSLSeQ
},
dataType: "json",
success: function (data) {
@@ -956,7 +985,7 @@
$.ajax({
url: GetWEBURL() + '/QCStockInCheckBill/DisBillEntryList_Webs_New_Json1',
type: "GET",
- data: { HInterID: linterid, HEntryID: lentryid},
+ data: { HInterID: linterid, HEntryID: lentryid },
success: function (result) {
if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
listOption.data = result.data.list;
@@ -988,6 +1017,7 @@
$("#HSLEntryID").val(result.data[0].HSLEntryID);
$("#HSLBillNo").val(result.data[0].HSLBillNo);
$("#HSLSeQ").val(result.data[0].HSLSeQ);
+ $("#HCheckQty").val(result.data[0].hqty);
}
else {
layer.msg(result.Message);
@@ -1005,9 +1035,9 @@
//鎵潯鐮�
function GetMeesageByBarCode(obj) { //杩斿洖宸ヤ綔涓績
var sBarCode = $('#HBarCode').val()
-
-
+
+
//鍒ゆ柇鏉$爜鏄惁涓虹┖ new
if (sBarCode == '') {
@@ -1044,7 +1074,7 @@
layer.closeAll("loading");
}
});
-
+
}
var listOption = {
elem: '#wl-table'
diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\235\245\346\226\231\346\243\200\351\252\214\345\215\225/Kf_SCStockInCheckBill_Fast.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\235\245\346\226\231\346\243\200\351\252\214\345\215\225/Kf_SCStockInCheckBill_Fast.html"
index 729646e..65fdf17 100644
--- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\235\245\346\226\231\346\243\200\351\252\214\345\215\225/Kf_SCStockInCheckBill_Fast.html"
+++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\235\245\346\226\231\346\243\200\351\252\214\345\215\225/Kf_SCStockInCheckBill_Fast.html"
@@ -748,7 +748,7 @@
var HSLEntryID = $("#HSLEntryID").val(); //鏀舵枡閫氱煡鍗曞瓙ID
var HSLBillNo = $("#HSLBillNo").val(); //鏀舵枡閫氱煡鍗曞崟鍙�
var HSLSeQ = $("#HSLSeQ").val(); //鏀舵枡閫氱煡鍗曡鍙�
-
+ var HBatchNo = $("#HBatchNo").val(); //鎵瑰彿
if (HBadQty == "") {
HBadQty = 0;
}
@@ -764,7 +764,16 @@
if (HSPNumber == "") {
HSPNumber = '';
}
+ if (HWHNumber == "") {
+ HWHNumber = '';
+ }
+ if (HWHID == "") {
+ HWHID = 0;
+ }
+ if (HBatchNo == "") {
+ HBatchNo = '';
+ }
//var sSourceType = $("#HBillType").val();
if (AllowLoadData() != false)//闈炵┖楠岃瘉
{
@@ -988,6 +997,7 @@
$("#HSLEntryID").val(result.data[0].HSLEntryID);
$("#HSLBillNo").val(result.data[0].HSLBillNo);
$("#HSLSeQ").val(result.data[0].HSLSeQ);
+ $("#HCheckQty").val(result.data[0].hqty);
}
else {
layer.msg(result.Message);
diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\345\207\272\347\253\231\346\261\207\346\212\245\345\215\225/Cj_StationOutBill.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\345\207\272\347\253\231\346\261\207\346\212\245\345\215\225/Cj_StationOutBill.html"
index c1f32ad..62973e0 100644
--- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\345\207\272\347\253\231\346\261\207\346\212\245\345\215\225/Cj_StationOutBill.html"
+++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\345\207\272\347\253\231\346\261\207\346\212\245\345\215\225/Cj_StationOutBill.html"
@@ -1263,7 +1263,7 @@
//鎶ュ簾
form.on('submit(btn-BF)', function (data) {
- var BillNo = $("#HBillNo").val();
+ var BillNo = $("#HProcExchBillNo").val();
$.ajax({
type: "GET",
url: GetWEBURL() + "/Sc_ProcessMangement/SaveBFBill", //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚�
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 3267f66..48bae3c 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"
@@ -370,7 +370,7 @@
, { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', width: 150 }
, { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', width: 150 }
, { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 150 }
- , { field: 'HBatchNo', title: '鎵规', width: 150 }
+ //, { field: 'HBatchNo', title: '鎵规', width: 150 }
]]
, height: 500
, done: function () {
@@ -773,7 +773,7 @@
form.on('submit(QueDin3)', function () {//
layer.open({
type: 2
- , area: ['80%', '80%']
+ , area: ['100%', '100%']
, title: '鍑哄簱鐢宠鍗曞垪琛�'
, shade: 0.6 //閬僵閫忔槑搴�
//, maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
@@ -988,7 +988,7 @@
, { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', width: 100 }
, { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', width: 100 }
, { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 100 }
- , { field: 'HBatchNo', title: '鎵规', width: 100 }
+ //, { field: 'HBatchNo', title: '鎵规', width: 100 }
, { field: 'HAuxPropID', title: '杈呭姪灞炴��', width: 100 }
, { field: 'HMTONo', title: '璁″垝璺熻釜鍙�', width: 100 }
, { field: 'HWHID', title: 'ck', width: 100 }
@@ -1128,7 +1128,7 @@
, { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿', width: 150 }
, { field: 'HAuxPropName', title: '杈呭姪灞炴��', width: 150 }
, { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 150 }
- , { field: 'HBatchNo', title: '鎵规', width: 150, hide: true }
+ //, { field: 'HBatchNo', title: '鎵规', width: 150, hide: true }
, { field: 'HPieceQty', title: '鏉$爜鏁伴噺', width: 150, hide: true }
, { field: 'HMaterID', title: 'HMaterID', width: 150, hide: true }
, { field: 'HAuxPropID', title: 'HAuxPropID', width: 150, hide: true }
@@ -1154,7 +1154,7 @@
, { field: 'HSPName', title: '浠撲綅', width: 150 }
, { field: 'HMaterName', title: '鐗╂枡鍚嶇О', width: 150 }
, { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿', width: 150 }
- , { field: 'HBatchNo', title: '鎵规', width: 150 }
+ //, { field: 'HBatchNo', title: '鎵规', width: 150 }
, { field: 'HAuxPropName', title: '杈呭姪灞炴��', width: 150 }
]]
, height: 500
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_AR.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_AR.html"
new file mode 100644
index 0000000..a1d21d6
--- /dev/null
+++ "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_AR.html"
@@ -0,0 +1,444 @@
+锘�<!DOCTYPE html>
+<html>
+<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, maximum-scale=1">
+ <!--寮曠敤layui鏍峰紡鏂囦欢-->
+ <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
+ <!--寮曠敤layui js鏂囦欢-->
+ <script src="../../../layuiadmin/layui/layui.js"></script>
+ <script src="../../../layuiadmin/Scripts/json2.js"></script>
+ <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js"></script>
+ <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
+ <!--鑷畾涔夋牱寮�-->
+ <style>
+ .maintitle {
+ background-color: #1492ff;
+ color: #fff;
+ padding: 5px 10px;
+ border: none;
+ border-radius: 4px;
+ }
+
+ .title {
+ border-left: 4px solid #1492ff;
+ padding-left: 6px;
+ margin: 20px 10px 4px;
+ font-size: 16px;
+ color: #333;
+ }
+
+ .buttom_box_little {
+ width: 60px;
+ height: 36px;
+ color: #fff;
+ background-color: #1492ff;
+ border-radius: 4px;
+ border: none;
+ margin: 10px;
+ }
+
+ .layui-input {
+ width: 50%;
+ }
+
+ .layui-inline, img {
+ display: block;
+ vertical-align: middle
+ }
+
+ .layui-input, .layui-textarea {
+ display: inline-block;
+ width: 50%;
+ padding-left: 10px;
+ }
+
+ .laydate-time-list ol {
+ overflow-x: hidden !important;
+ overflow-y: auto !important;
+ }
+
+ .layui-form-label {
+ padding: 9px 5px;
+ width: 85px;
+ }
+
+ .layui-input-block {
+ margin-left: 85px;
+ min-height: 36px;
+ }
+ </style>
+</head>
+<body>
+ <div class="layui-fluid" style="padding: 0;">
+ <div class="layui-card" style="padding: 15px;background-color: #efefef;">
+ <div class="layui-card-body" style="padding: 1px;">
+ <form class="layui-form" action="" lay-filter="formData" id="formData" style="background-color:white;">
+ <div class="maintitle">鍒拌揣纭</div>
+ <div class="layui-form-item" style="padding-top: 10px;">
+ <div class="layui-row">
+ <label class="layui-form-label" style="width: 85px;"><span style="color:red;">*</span>鏉$爜</label>
+ <div class="layui-input-block" style="margin-left: 100px;width:46%;">
+ <input type="text" name="HBarCode" id="HBarCode" placeholder="璇烽敭鍏ュ悗鍥炶溅" autocomplete="off" class="layui-input"><!--lay-verify="required"-->
+ <button type="button" lay-submit="" class="layui-btn" lay-filter="QueDin" name="QueDin" id="QueDin" style="width: 70px; background-color: #1492ff;color:white">纭畾</button>
+ </div>
+ </div>
+ </div>
+
+ <div class="layui-tab layui-tab-card" lay-filter="TabTest">
+ <ul class="layui-tab-title">
+ <!--<li class="layui-this">琛ㄥご淇℃伅</li>
+ <li>鏄庣粏淇℃伅</li>-->
+ <li lay-id="1" style="padding:1px;" class="layui-this">琛ㄥご淇℃伅</li>
+ <li lay-id="2" style="padding:1px;">鏄庣粏淇℃伅</li>
+ </ul>
+ <div class="layui-tab-content">
+ <div class="layui-tab-item layui-show">
+ <div class="layui-form-item" style="padding-top: 10px;">
+ <div class="layui-row">
+ <div class="layui-inline">
+ <label class="layui-form-label" style="width: 75px;">鍗曟嵁鍙�:</label>
+ <div class="layui-input-block" style="margin-left: 85px;">
+ <input type="text" class="layui-input" name="HBillNo" id="HBillNo">
+ <button type="button" lay-submit="" class="layui-btn" lay-filter="QueDin2">纭畾</button>
+ <input type="hidden" class="layui-input" name="HInterID" id="HInterID" style="width:100px">
+ </div>
+ </div>
+ </div>
+ <div class="layui-row">
+ <div class="layui-inline">
+ <label class="layui-form-label" style="width: 75px;padding: 9px 5px;">渚涘簲鍟�:</label>
+ <div class="layui-input-block">
+ <input type="text" name="HSupName" id="HSupName" class="layui-input" disabled="disabled">
+ </div>
+ </div>
+ </div>
+ <div class="layui-row">
+ <div class="layui-inline">
+ <label class="layui-form-label" style="width: 75px;padding: 9px 5px;">閮ㄩ棬:</label>
+ <div class="layui-input-block">
+ <input type="text" name="HDeptName" id="HDeptName" class="layui-input" disabled="disabled">
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <div class="layui-tab-item">
+ <table class="" id="mainTable" lay-filter="mainTable"></table>
+ <script type="text/html" id="xuhao">
+ {{d.LAY_TABLE_INDEX+1}}
+ </script>
+ <script type="text/html" id="barDemo">
+ <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">鍒犻櫎</a>
+ </script>
+ </div>
+ </div>
+ </div>
+
+ <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" lay-submit="" class="layui-btn buttom_box_little" lay-filter="btn_Cancel" id="btn_Cancel">閫�鍑�</button>
+ </div>
+ </form>
+ </div>
+ </div>
+ </div>
+
+ <script>
+ layui.config({
+ base: '../../../layuiadmin/' //闈欐�佽祫婧愭墍鍦ㄨ矾寰�
+ }).extend({
+ index: 'lib/index' //涓诲叆鍙fā鍧�
+ }).use(['index', 'form', 'laydate', 'table', 'element'], function () {
+ var $ = layui.$
+ , admin = layui.admin
+ , layer = layui.layer
+ , table = layui.table
+ , form = layui.form
+ , laydate = layui.laydate
+ , element = layui.element;
+ var option = [];
+ //鍒濆鍖栬〃鏍�
+ set_InitGrid();
+
+
+
+ //鑾峰彇鍙傛暟
+ 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 linterid = params[params[0]]; //浠庡弬鏁颁腑鑾峰彇 鍗曟嵁鍐呯爜
+
+
+ //鍔ㄦ�佸姞杞芥簮鍗曠被鍨嬪垪琛� new
+
+
+
+
+
+
+
+ //鍒ゆ柇鏄惁鏂板
+ if (linterid == null || linterid == 0) {
+ //鑾峰彇鏈�澶у崟鎹彿 new
+ $("#HInterID").val("");
+ $("#HBillNo").val("");
+ $.ajax({
+ url: GetWEBURL() + "/Web/GetMAXNumPDA",
+ type: "GET",
+ data: { "HBillType": '1103' },
+ success: function (d) {
+ //console.log(d.data);
+ $("#HInterID").val(d.data[0].HInterID);
+ $("#HBillNo").val(d.data[0].HBillNo);
+ }
+ });
+ }
+ else {//濡傛灉淇敼鍒欒蛋涓嬮潰 new
+
+ }
+
+
+
+ //琛屽唴浜嬩欢
+ table.on('tool(mainTable)', function (obj) {
+ set_GridDelete(obj); //琛屽唴鍒犻櫎
+ });
+
+ //杩涘叆椤甸潰榛樿鍏夋爣鍦ㄦ潯褰㈢爜涓�
+ $("#HBarCode").focus();
+
+ //鏉″舰鐮佸洖杞︽柟娉�
+ $('#HBarCode').on('keydown', function (event) {
+ if (event.keyCode == 13) {
+ GetMeesageByBarCode();
+ }
+ });
+ //鏉″舰鐮佺‘璁�
+ form.on('submit(QueDin)', function (data) {
+ GetMeesageByBarCode();
+ });
+ //鎵弿鏉″舰鐮佹柟娉�
+ function GetMeesageByBarCode() {
+ var HBarCode = $('#HBarCode').val();
+ if (!HBarCode) {
+ layer.msg("鏉″舰鐮佷笉鑳戒负绌猴紒")
+ return;
+ }
+ //var HInterID = $('#HInterID').val();
+ //if (!HInterID) {
+ // layer.msg("璇峰厛杈撳叆鏀舵枡閫氱煡鍗曞崟鎹彿锛�")
+ // return;
+ //}
+ var HInterID = $('#HInterID').val();
+ var HBillNo = $('#HBillNo').val();
+
+
+ var index = layer.load();
+ $.ajax({
+ url: GetWEBURL() + "/POStockInBillList/Get_ReciveBillByBarcode_AR",
+ type: "GET",
+ data: { "HBarCode": HBarCode, "HOrgID": sessionStorage["OrganizationID"], HInterID: HInterID, HBillNo: HBillNo },
+ success: function (result) {
+ if (result.code == "1") {
+
+ element.tabChange('TabTest', '2'); //璺宠浆椤电
+ //var sSubStr =;
+ option.data = result.data;
+ table.render(option);
+ //for (var i = 0; i < sSubStr.length; i++) {
+ // //if (sSubStr[i].HEntryID == result.data[0]["HSourceEntryID"]) {
+ // // sSubStr[i].HSQty += parseInt(result.data[0]["HQty"]);
+
+ // // break;
+ // //}
+ //}
+ layer.close(index);
+ }
+ else {
+ layer.close(index);
+ layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ }
+ },
+ error: function (err) {
+ layer.close(index);
+ layer.msg("鎺ュ彛璇锋眰澶辫触锛�" + err, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ }
+ });
+ $('#HBarCode').val("");
+ $("#HBarCode").focus();
+ }
+ form.on('submit(btn_Cancel)', function () {
+ parent.location.href = "../../../views/index.html"
+ })
+ //瀹℃牳
+ form.on('submit(btn_Check)', function (data) {//瀹℃牳
+ var sSubStr = table.cache['mainTable'];
+ for (var i = 0; i < sSubStr.length; i++) {
+ if (parseInt(sSubStr[i].HSQty) > parseInt(sSubStr[i].HQty)) {
+ layer.msg("鏄庣粏璁板綍绗�" + (i + 1) + "琛�,鎵爜鏁伴噺涓嶈兘瓒呭嚭璁㈠崟鏁伴噺!", { icon: 5, btn: ['纭'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ return;
+ }
+ if (parseInt(sSubStr[i].HSQty) == 0) {
+ layer.msg("鏄庣粏璁板綍绗�" + (i + 1) + "琛�,鎵爜鏁伴噺涓�0", { icon: 5, btn: ['纭'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ return;
+ }
+ }
+
+ var index = layer.load();
+ var HInterID = $('#HInterID').val();
+ var HBillNo = $('#HBillNo').val();
+ $.ajax({
+ url: GetWEBURL() + "/POStockInBillList/AuditPOInStockBillPost_AR",
+ type: "Post",
+ data: { "msg": JSON.stringify(sSubStr) },
+ success: function (result) {
+ if (result.code == "1") {
+ //layer.msg("瀹℃牳鎴愬姛", { icon: 1, btn: ['纭'], time: 1000000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ //layer.close(index);
+ layer.confirm("瀹℃牳鎴愬姛" + data.Message + $("#HBillNo").val(), {
+ icon: 1, skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず", closeBtn: 0, btn: ['鏂板'],
+ btn2: function () {
+ //parent.layui.admin.events.closeThisTabs();鍏抽棴椤电
+ //window.close();//鍏抽棴椤甸潰锛屾祻瑙堝櫒鏈夋晥锛孭DA鏃犳晥
+ parent.location.href = "../../../views/index.html"
+ }//鍏抽棴
+ }, function () { window.location.reload(); });//鏂板
+
+ }
+ else {
+ layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ layer.close(index);
+ }
+ },
+ error: function (err) {
+ layer.msg("鎺ュ彛璇锋眰澶辫触锛�" + err, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ layer.close(index);
+ }
+ });
+ });
+
+ //鍒濆鍖栬〃鏍�
+ function set_InitGrid() {
+ //琛ㄥご
+ columns = [
+ //{ templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left' }
+ //, { field: 'HSQty', title: '鏁伴噺', edit: 'text', totalRow: true }
+ //, { field: 'HQty', title: '璁㈠崟鏁伴噺' }
+ //, { field: 'HMaterID', title: 'HMaterID' }
+ //, { field: 'HMaterNum', title: '鐗╂枡浠g爜' }
+ //, { field: 'HMaterName', title: '鐗╂枡鍚嶇О' }
+ //, { field: 'HModel', title: '瑙勬牸鍨嬪彿' }
+ //, { field: 'HInterID', title: '涓诲唴鐮�', sort: true, width: 200 }
+ //, { field: 'HEntryID', title: '瀛愬唴鐮�', sort: true, width: 200 }
+ //, { field: 'HPieceQty', title: '鏉$爜鏁伴噺', width: 150 }
+ , { field: 'HQty', title: '鏁伴噺', edit: 'text', totalRow: true }
+ , { field: 'HQtyMust', title: '璁㈠崟鏁伴噺' }
+ , { field: 'HMaterID', title: 'HMaterID', sort: true, width: 200 }
+ , { field: 'HNumber', title: '鐗╂枡浠g爜' }
+ , { field: 'HName', title: '鐗╂枡鍚嶇О' }
+ , { field: 'HModel', title: '瑙勬牸鍨嬪彿' }
+ , { field: 'HSourceBillNo', title: '璁㈠崟鍗曞彿', width: 150 }
+ , { field: 'HInterID', title: '涓诲唴鐮�', sort: true, width: 200 }
+ , { field: 'HEntryID', title: '瀛愬唴鐮�', sort: true, width: 200 }
+ , { field: 'HBillNo', title: '鏀舵枡閫氱煡鍗曞彿', sort: true, width: 200 }
+
+ ];
+ option = {
+ id: 'mainTable'
+ , elem: '#mainTable'
+ , page: true
+ , cellMinWidth: 120
+ , height: 500
+ , cols: [columns]
+ , done: function (res, curr, count) {
+ }
+ };
+ //option.data = [{ "鏁伴噺": 0, "鐗╂枡浠g爜": 0, "鐗╂枡鍚嶇О": "", "瑙勬牸鍨嬪彿": "" }];
+ table.render(option);
+ }
+ // 琛ㄦ牸琛屽唴浜嬩欢鍒犻櫎
+ function set_GridDelete(obj) {
+ var data = obj.data;
+ var index = layer.load();
+ var rowIndex = $(obj.tr).attr("data-index");
+ if (obj.event === 'del') {
+ layer.confirm('鐪熺殑鍒犻櫎琛屼箞', function (index) {
+ console.log("绱㈠紩涓�:" + rowIndex);
+ if (rowIndex === '0') {
+ layer.msg('棣栬鏃犳硶鍒犻櫎锛侊紒锛�');
+ } else {
+ //obj.del();
+ layer.close(index);
+ var oldData = table.cache["mainTable"];
+ oldData.splice(obj.tr.data('index'), 1);
+ table.reload('mainTable', { data: oldData });
+ layer.close(index);
+ }
+ });
+ }
+ }
+ //婧愬崟鍥炶溅鏂规硶
+ $('#HBillNo').on('keydown', function (event) {
+ if (event.keyCode == 13) {
+ GetMeesageBySourceBillNo();
+ }
+ });
+ //婧愬崟纭
+ form.on('submit(QueDin2)', function (data) {
+ GetMeesageBySourceBillNo();
+ });
+ //鎵簮鍗�
+ function GetMeesageBySourceBillNo(obj) { //杩斿洖宸ヤ綔涓績
+ var HBarCode = $('#HBillNo').val();//鏉″舰鐮侊紙娴佽浆鍗″彿锛夛紙鏁版嵁搴撲腑涓哄崟鎹彿锛�
+ if (!HBarCode) {
+ layer.msg("鍗曟嵁鍙蜂笉鑳戒负绌猴紒")
+ return;
+ }
+ var index = layer.load();
+ $.ajax({
+ url: GetWEBURL() + "/POStockInBillList/Get_ReciveBill",
+ type: "GET",
+ data: { "HBillno": HBarCode },
+ success: function (result) {
+ if (result.code == "1") {
+ var data = result.data[0];
+ $("#HSupName").val(data.HSupName);
+ $("#HDeptName").val(data.HDeptName);
+ $("#HBillNo").val(data.HBillNo);
+ $("#HInterID").val(data.HInterID);
+ option.data = result.data;
+ table.render(option);
+ layer.close(index);
+ }
+ else {
+ layer.close(index);
+ layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ }
+ },
+ error: function (err) {
+ layer.close(index);
+ layer.msg("鎺ュ彛璇锋眰澶辫触锛�" + err, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ }
+ });
+ }
+ //浠ヤ笂涓簂ayui妯″潡
+ });
+ </script>
+</body>
+</html>
\ No newline at end of file
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 3e7c6bf..9f86600 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"
@@ -79,9 +79,9 @@
</div>
<div class="layui-col-xs8">
<select name="HBillType" id="HBillType">
+ <option value="3714">宸ュ簭姹囨姤鍗�</option>
<option value="3711">鐢熶骇姹囨姤鍗�</option>
<option value="3710">鐢熶骇璁㈠崟</option>
- <option value="3714">宸ュ簭姹囨姤鍗�</option>
</select>
</div>
</div>
@@ -363,7 +363,7 @@
, { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', width: 150 }
, { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', width: 150 }
, { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 150 }
- , { field: 'HBatchNo', title: '鎵规', width: 150 }
+ //, { field: 'HBatchNo', title: '鎵规', width: 150 }
, { field: 'HInterID', title: '鍗曟嵁ID', width: 150, hide: true }
, { field: 'HBilltype', title: '鍗曟嵁绫诲瀷', width: 150, hide: true }
, { field: 'Hbarcode', title: '鏉$爜缂栧彿', width: 150, hide: true }
@@ -455,7 +455,7 @@
, { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', width: 150 }
, { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', width: 150 }
, { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 150 }
- , { field: 'HBatchNo', title: '鎵规', width: 150 }
+ //, { field: 'HBatchNo', title: '鎵规', width: 150 }
]]
// , data: [linterid]
// , page: true
@@ -511,6 +511,8 @@
//鑾峰彇鏈�澶у崟鎹彿 new
$("#HInterID").val("");
$("#HBillNo").val("");
+ $("#HBillType").val("3714");
+ form.render('select');
$.ajax({
url: GetWEBURL() + "/Web/GetMAXNumPDA",
type: "GET",
@@ -738,7 +740,7 @@
, { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', width: 150 }
, { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', width: 150 }
, { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 150 }
- , { field: 'HBatchNo', title: '鎵规', width: 150 }
+ //, { field: 'HBatchNo', title: '鎵规', width: 150 }
, { field: 'HBarcodeQtys', title: '鏉$爜鏁伴噺', width: 150 }
]]
// , data: [linterid]
@@ -923,7 +925,7 @@
var sMainStr = JSON.stringify(data.field);
var sSubStr = table.cache['wl-table'];
//var sSourceType = $("#HBillType").val();
- var sSourceType = "3711";
+ var sSourceType = "3714";
if (AllowLoadData(sSubStr) != false)//闈炵┖楠岃瘉
{
layer.load(3);
@@ -1129,7 +1131,7 @@
, { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', width: 150 }
, { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', width: 150 }
, { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 150 }
- , { field: 'HBatchNo', title: '鎵规', width: 150 }
+ //, { field: 'HBatchNo', title: '鎵规', width: 150 }
, { field: 'HBarcodeQtys', title: '鏉$爜鏁伴噺', width: 150 }
]]
// , data: [linterid]
@@ -1245,7 +1247,7 @@
$("#HDeptName").val(result.data.hDeptNameField);
}
$("#HSourceBillNo").val(result.data.hSourceBillNoField);
- $("#HBillType").val(result.data.hSourceBillTypeField)
+ $("#HBillType").val(result.data.hSourceBillTypeField == null ? "3714" : result.data.hSourceBillTypeField);
HSourceFlag = true;
//鑾峰彇婧愬崟绫诲瀷銆佹簮鍗曞崟鍙�
if (result.data.hSourceBillTypeField == "3711") {
@@ -1378,7 +1380,7 @@
, { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', width: 150 }
, { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', width: 150 }
, { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 150 }
- , { field: 'HBatchNo', title: '鎵规', width: 150 }
+ //, { field: 'HBatchNo', title: '鎵规', width: 150 }
, { field: 'HPieceQty', title: '鏉$爜鏁伴噺', width: 150 }
]]
, height: 500
@@ -1398,7 +1400,7 @@
, { field: 'HMaterNumber', title: '鐗╂枡浠g爜', width: 150 }
, { field: 'HMaterName', title: '鐗╂枡鍚嶇О', width: 150 }
, { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿', width: 150 }
- , { field: 'HBatchNo', title: '鎵瑰彿', width: 150 }
+ //, { field: 'HBatchNo', title: '鎵瑰彿', width: 150 }
//, { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', width: 150 }
//, { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', width: 150 }
, { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 150 }
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 3d6954c..1052ef0 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"
@@ -1070,15 +1070,15 @@
if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
listOption.data = result.data.list;
table.render(listOption);
- $("#HBarCode_B").val(result.data.list2[0].HBarCode);
- $("#HMaterName_B").val(result.data.list2[0].HMaterName);
- $("#HMaterModel_B").val(result.data.list2[0].HMaterModel);
- $("#HBatchNo_B").val(result.data.list2[0].HBatchNo);
- $("#HUnitName_B").val(result.data.list2[0].HUnitName);
- $("#HQty_B").val(result.data.list2[0].HQty);
- $("#HTMQty_B").val(result.data.list2[0].HTMQty);
- $("#HWHName_B").val(result.data.list2[0].HWHName);
- $("#HSPName_B").val(result.data.list2[0].HSPName);
+ //$("#HBarCode_B").val(result.data.list2[0].HBarCode);
+ //$("#HMaterName_B").val(result.data.list2[0].HMaterName);
+ //$("#HMaterModel_B").val(result.data.list2[0].HMaterModel);
+ //$("#HBatchNo_B").val(result.data.list2[0].HBatchNo);
+ //$("#HUnitName_B").val(result.data.list2[0].HUnitName);
+ //$("#HQty_B").val(result.data.list2[0].HQty);
+ //$("#HTMQty_B").val(result.data.list2[0].HTMQty);
+ //$("#HWHName_B").val(result.data.list2[0].HWHName);
+ //$("#HSPName_B").val(result.data.list2[0].HSPName);
var count = 0;
var count1 = 0;
@@ -1120,7 +1120,7 @@
, { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', width: 150 }
, { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', width: 150 }
, { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 150 }
- , { field: 'HBatchNo', title: '鎵规', width: 150 }
+ //, { field: 'HBatchNo', title: '鎵规', width: 150 }
, { field: 'HPieceQty', title: '鏉$爜鏁伴噺', width: 150 }
]]
, height: 500
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 dfe4c64..e134266 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"
@@ -271,7 +271,7 @@
dataType: "json",
success: function (data) {
if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
- layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () {
+ layer.msg(data.Message, { time: 1 * 1000, icon: 1 }, function () {
// 寰楀埌frame绱㈠紩
var index = layer.getFrameIndex(window.name);
//鍏抽棴褰撳墠frame
--
Gitblit v1.9.1