From d471b1453ab4c599c7324f777ffb28c8505a7903 Mon Sep 17 00:00:00 2001
From: 杨乐 <yang.le.192@qq.com>
Date: 星期二, 15 二月 2022 10:32:34 +0800
Subject: [PATCH] 库存查询模块扫描完条码后没有显示仓库
---
WebTM/views/仓存管理/条码库存/KF_ICInventoryByMaterID.html | 79 +++++++++++++++++++--------------------
1 files changed, 39 insertions(+), 40 deletions(-)
diff --git "a/WebTM/views/\344\273\223\345\255\230\347\256\241\347\220\206/\346\235\241\347\240\201\345\272\223\345\255\230/KF_ICInventoryByMaterID.html" "b/WebTM/views/\344\273\223\345\255\230\347\256\241\347\220\206/\346\235\241\347\240\201\345\272\223\345\255\230/KF_ICInventoryByMaterID.html"
index c3d47cf..97b40da 100644
--- "a/WebTM/views/\344\273\223\345\255\230\347\256\241\347\220\206/\346\235\241\347\240\201\345\272\223\345\255\230/KF_ICInventoryByMaterID.html"
+++ "b/WebTM/views/\344\273\223\345\255\230\347\256\241\347\220\206/\346\235\241\347\240\201\345\272\223\345\255\230/KF_ICInventoryByMaterID.html"
@@ -167,7 +167,7 @@
, { field: 'HBatchNo', title: '鎵规', width: 150 }
, { field: 'HAuxPropName', title: '杈呭姪灞炴��', width: 150 }
, { field: 'HAuxPropID', title: 'HAuxPropID', width: 150, hide: true }
- , { field: 'HWhName', title: '浠撳簱', width: 150}
+ , { field: 'HWHName', title: '浠撳簱', width: 150}
, { field: 'HWhID', title: 'HWhID', width: 150, hide: true }
, { field: 'HSPName', title: '浠撲綅', width: 150 }
, { field: 'HSPID', title: 'HSPID', width: 150, hide: true }
@@ -364,7 +364,7 @@
, { field: 'HBatchNo', title: '鎵规', width: 150 }
, { field: 'HAuxPropName', title: '杈呭姪灞炴��', width: 150 }
, { field: 'HAuxPropID', title: 'HAuxPropID', width: 150, hide: true }
- , { field: 'HWhName', title: '浠撳簱', width: 150 }
+ , { field: 'HWHName', title: '浠撳簱', width: 150 }
, { field: 'HWhID', title: 'HWhID', width: 150, hide: true }
, { field: 'HSPName', title: '浠撲綅', width: 150 }
, { field: 'HSPID', title: 'HSPID', width: 150, hide: true }
@@ -401,45 +401,44 @@
//var Flag = sessionStorage["SourceFlag"];
//鍒ゆ柇鏉$爜鏄惁涓虹┖ new
if (HBarCode == '') {
- playSound();
- layer.msg("鏉$爜涓虹┖锛屼笉鑳芥壂鎻忥紒", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
- return false;
- }
- if (HBarCode != "") {
- $('#HBarCode').val("");
+ playSound();
+ layer.msg("鏉$爜涓虹┖锛屼笉鑳芥壂鎻忥紒", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ return false;
}
- layer.load(3)
- table.render({
- elem: '#wl-table'
- , url: GetWEBURL() + '/KF_ICInventoryByMaterID/GetBillEntry_TmpList_Pack'
- , toolbar: '#toolbarDemo'
- , defaultToolbar: []
- , where: { HBarCode: HBarCode, sHWHID: sHWHID, sHSPID: sHSPID,HOWNERID: sessionStorage["OrganizationID"], sWhere: '' }
- , cols: [[
- { type: 'radio' }
- , { field: 'HQty', title: '鏁伴噺', width: 150 }
- , { field: 'HMaterNumber', title: '鐗╂枡浠g爜', width: 150 }
- , { field: 'HMaterName', title: '鐗╂枡鍚嶇О', width: 150 }
- , { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿', width: 150 }
- , { field: 'HMaterID', title: '鐗╂枡ID', width: 150, hide: true }
- , { field: 'HBatchNo', title: '鎵规', width: 150 }
- , { field: 'HAuxPropName', title: '杈呭姪灞炴��', width: 150 }
- , { field: 'HAuxPropID', title: 'HAuxPropID', width: 150, hide: true }
- , { field: 'HWhName', title: '浠撳簱', width: 150 }
- , { field: 'HWhID', title: 'HWhID', width: 150, hide: true }
- , { field: 'HSPName', title: '浠撲綅', width: 150 }
- , { field: 'HSPID', title: 'HSPID', width: 150, hide: true }
- , { field: 'HOWNERName', title: '缁勭粐', width: 150 }
- ]]
- // , data: [linterid]
- // , page: true
- , height: 500
- , done: function () {
- layer.closeAll("loading");
- }
- });
- layer.closeAll("loading");
-
+ if (HBarCode != "") {
+ $('#HBarCode').val("");
+ }
+ layer.load(3)
+ table.render({
+ elem: '#wl-table'
+ , url: GetWEBURL() + '/KF_ICInventoryByMaterID/GetBillEntry_TmpList_Pack'
+ , toolbar: '#toolbarDemo'
+ , defaultToolbar: []
+ , where: { HBarCode: HBarCode, sHWHID: sHWHID, sHSPID: sHSPID, HOWNERID: sessionStorage["OrganizationID"], sWhere: '' }
+ , cols: [[
+ { type: 'radio' }
+ , { field: 'HQty', title: '鏁伴噺', width: 150 }
+ , { field: 'HMaterNumber', title: '鐗╂枡浠g爜', width: 150 }
+ , { field: 'HMaterName', title: '鐗╂枡鍚嶇О', width: 150 }
+ , { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿', width: 150 }
+ , { field: 'HMaterID', title: '鐗╂枡ID', width: 150, hide: true }
+ , { field: 'HBatchNo', title: '鎵规', width: 150 }
+ , { field: 'HAuxPropName', title: '杈呭姪灞炴��', width: 150 }
+ , { field: 'HAuxPropID', title: 'HAuxPropID', width: 150, hide: true }
+ , { field: 'HWHName', title: '浠撳簱', width: 150 }
+ , { field: 'HWhID', title: 'HWhID', width: 150, hide: true }
+ , { field: 'HSPName', title: '浠撲綅', width: 150 }
+ , { field: 'HSPID', title: 'HSPID', width: 150, hide: true }
+ , { field: 'HOWNERName', title: '缁勭粐', width: 150 }
+ ]]
+ // , data: [linterid]
+ // , page: true
+ , height: 500
+ , done: function () {
+ layer.closeAll("loading");
+ }
+ });
+ layer.closeAll("loading");
}
});
--
Gitblit v1.9.1