From c2164a1cc7ebdd7086733ae92bb9ecf67d782e8c Mon Sep 17 00:00:00 2001 From: WYB <908761037@qq.com> Date: 星期一, 29 三月 2021 20:18:56 +0800 Subject: [PATCH] 列表展示 --- WebTM/views/领料发货/委外出库/Kf_EntrustOutBackBill_FastList.html | 6 WebTM/views/验收入库/其他入库/Kf_OtherInBill_Fast.html | 10 WebTM/views/领料发货/领料出库/Kf_MateOutBackBill_Fast.html | 8 WebTM/views/验收入库/委外入库/Kf_EntrustInBackBillList.html | 6 WebTM/views/领料发货/其他出库/Kf_OtherOutBackBill_Fast.html | 8 WebTM/views/领料发货/领料出库/Kf_MateOutBill_Fast.html | 8 WebTM/views/基础资料/公用基础资料/Gy_Material.html | 2 WebTM/views/基础资料/工资基础资料/Gy_Group.html | 2 WebTM/views/计划管理/工艺路线/Gy_RoutingBillList.html | 2 WebTM/views/领料发货/其他出库/Kf_OtherOutBill_FastList.html | 6 WebTM/views/验收入库/委外入库/Kf_EntrustInBackBill.html | 6 WebTM/views/领料发货/委外出库/Kf_EntrustOutBill_FastList.html | 6 WebTM/views/领料发货/销售出库/Kf_SellOutBackBill_FastList.html | 6 WebTM/views/领料发货/领料出库/Kf_MateOutBill_FastList.html | 6 WebTM/views/验收入库/其他入库/Kf_OtherInBackBill_Fast.html | 8 WebTM/views/模治具管理/模治具管理/Sc_CheckToolsRepairWorkBillList.html | 2 WebTM/views/领料发货/委外出库/Kf_EntrustOutBackBill_Fast.html | 6 WebTM/views/生产管理/生产汇报单/Sc_ICMOReportBillList.html | 205 + WebTM/views/验收入库/产品入库/Kf_ProductInBackBillList.html | 6 WebTM/views/验收入库/外购入库/Kf_POStockInBill_Fast.html | 2189 ++++++++++---------- WebTM/views/验收入库/其他入库/Kf_OtherInBill_FastList.html | 6 WebTM/views/领料发货/销售出库/Kf_SellOutBackBill_Fast.html | 8 WebTM/views/验收入库/产品入库/Kf_ProductInBill_Fast.html | 8 WebTM/views/仓存管理/仓库调拨/Kf_MoveStockBill_Fast.html | 6 WebTM/views/领料发货/其他出库/Kf_OtherOutBackBill_FastList.html | 6 WebTM/views/验收入库/外购入库/Kf_POStockInBackBill.html | 8 WebTM/views/基础资料/采购基础资料/Gy_Supplier.html | 2 WebTM/views/车间管理/工序流转/MES_StationOutBillList.html | 2 WebTM/views/领料发货/销售出库/Kf_SellOutBill_FastList.html | 6 WebTM/views/基础资料/公用基础资料/Gy_Employee.html | 2 WebTM/views/车间管理/不良品评审单/Cj_NoPassProcList.html | 2 WebTM/layuiadmin/Scripts/webConfig.js | 4 WebTM/views/领料发货/委外出库/Kf_EntrustOutBill_Fast.html | 6 WebTM/views/验收入库/产品入库/Kf_ProductInBackBill.html | 8 WebTM/WebTM.csproj | 8 WebTM/views/基础资料/生产基础资料/Gy_BadReason.html | 2 WebTM/views/验收入库/产品入库/Kf_ProductInBill_FastList.html | 8 WebTM/views/基础资料/生产基础资料/Gy_Process.html | 2 WebTM/views/基础资料/生产基础资料/Gy_Source.html | 2 WebTM/views/组装单/Sc_AssemblyBill_Fast.html | 6 WebTM/Properties/PublishProfiles/JFTM.pubxml.user | 1289 ++++++++++++ WebTM/views/验收入库/其他入库/Kf_OtherInBackBill_FastList.html | 6 WebTM/views/领料发货/其他出库/Kf_OtherOutBill_Fast.html | 8 WebTM/views/验收入库/委外入库/Kf_EntrustInBill_Fast.html | 2055 +++++++++--------- WebTM/views/仓存管理/仓库调拨/Cc_LookingForReturnBillList.html | 2 WebTM/views/基础资料/销售基础资料/Gy_Customer.html | 2 WebTM/views/领料发货/销售出库/Kf_SellOutBill_Fast.html | 10 WebTM/views/仓存管理/仓库调拨/Kf_UpMoveStockBill.html | 6 WebTM/views/index.html | 12 WebTM/views/基础资料/公用基础资料/Gy_Department.html | 2 WebTM/views/基础资料/公用基础资料/Gy_Warehouse.html | 2 WebTM/views/验收入库/外购入库/Kf_POStockInBackBillList.html | 8 WebTM/views/领料发货/领料出库/Kf_MateOutBackBill_FastList.html | 6 WebTM/views/验收入库/委外入库/Kf_EntrustInBill_FastList.html | 6 WebTM/views/车间管理/工序流转/MES_StationInBill.html | 4 WebTM/views/验收入库/外购入库/Kf_POStockInBill_FastList.html | 6 WebTM/views/生产管理/生产投料单/Sc_PPBomBillList.html | 208 + WebTM/views/仓存管理/仓库调拨/Kf_MoveStockBill_FastList.html | 6 WebTM/views/仓存管理/仓库调拨/Kf_LookingForBillList.html | 2 WebTM/Properties/PublishProfiles/JFTM.pubxml | 17 60 files changed, 3,997 insertions(+), 2,260 deletions(-) diff --git a/WebTM/Properties/PublishProfiles/JFTM.pubxml b/WebTM/Properties/PublishProfiles/JFTM.pubxml new file mode 100644 index 0000000..70a8712 --- /dev/null +++ b/WebTM/Properties/PublishProfiles/JFTM.pubxml @@ -0,0 +1,17 @@ +锘�<?xml version="1.0" encoding="utf-8"?> +<!-- +https://go.microsoft.com/fwlink/?LinkID=208121. +--> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <DeleteExistingFiles>True</DeleteExistingFiles> + <ExcludeApp_Data>False</ExcludeApp_Data> + <LaunchSiteAfterPublish>True</LaunchSiteAfterPublish> + <LastUsedBuildConfiguration>Debug</LastUsedBuildConfiguration> + <LastUsedPlatform>Any CPU</LastUsedPlatform> + <PublishProvider>FileSystem</PublishProvider> + <PublishUrl>D:\缃戠珯鍙戝竷\鏅轰簯MESWMS\LAYUI</PublishUrl> + <WebPublishMethod>FileSystem</WebPublishMethod> + <SiteUrlToLaunchAfterPublish /> + </PropertyGroup> +</Project> \ No newline at end of file diff --git a/WebTM/Properties/PublishProfiles/JFTM.pubxml.user b/WebTM/Properties/PublishProfiles/JFTM.pubxml.user new file mode 100644 index 0000000..871ffc3 --- /dev/null +++ b/WebTM/Properties/PublishProfiles/JFTM.pubxml.user @@ -0,0 +1,1289 @@ +锘�<?xml version="1.0" encoding="utf-8"?> +<!-- +https://go.microsoft.com/fwlink/?LinkID=208121. +--> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <_PublishTargetUrl>D:\缃戠珯鍙戝竷\鏅轰簯MESWMS\LAYUI</_PublishTargetUrl> + </PropertyGroup> + <ItemGroup> + <File Include="bin/layuiadmin/style/admin.css"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="bin/layuiadmin/style/login.css"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="bin/WebTM.dll"> + <publishTime>03/29/2021 08:52:28</publishTime> + </File> + <File Include="bin/WebTM.pdb"> + <publishTime>03/29/2021 08:52:28</publishTime> + </File> + <File Include="layuiadmin/config.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/console/prograss.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/console/top-card.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/console/top-search.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/content/comment.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/content/list.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/content/tags.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/forum/list.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/forum/replys.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/layer/photos.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/layim/getList.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/layim/getMembers.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/mall/order.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/menu.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/menu1.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/message/all.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/message/detail.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/message/direct.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/message/new.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/message/notice.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/table/demo.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/table/demo2.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/table/demo3.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/table/user.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/table/user30.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/upload/demo.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/user/forget.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/user/login.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/user/logout.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/user/reg.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/user/resetpass.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/user/session.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/user/sms.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/useradmin/mangadmin.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/useradmin/role.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/useradmin/webuser.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/workorder/demo.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/json/璇存槑.txt"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/css/layui.css"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/css/layui.mobile.css"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/css/modules/code.css"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/css/modules/laydate/default/font.css"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/css/modules/laydate/default/laydate.css"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/css/modules/layer/default/icon-ext.png"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/css/modules/layer/default/icon.png"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/css/modules/layer/default/layer.css"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/css/modules/layer/default/loading-0.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/css/modules/layer/default/loading-1.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/css/modules/layer/default/loading-2.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/css/modules/layim/html/chatlog.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/css/modules/layim/html/find.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/css/modules/layim/html/getmsg.json"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/css/modules/layim/html/msgbox.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/css/modules/layim/layim.css"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/css/modules/layim/mobile/layim.css"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/css/modules/layim/skin/1.jpg"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/css/modules/layim/skin/2.jpg"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/css/modules/layim/skin/3.jpg"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/css/modules/layim/skin/4.jpg"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/css/modules/layim/skin/5.jpg"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/css/modules/layim/skin/logo.jpg"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/css/modules/layim/voice/default.mp3"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/font/iconfont.eot"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/font/iconfont.svg"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/font/iconfont.ttf"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/font/iconfont.woff"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/0.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/1.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/10.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/11.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/12.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/13.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/14.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/15.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/16.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/17.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/18.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/19.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/2.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/20.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/21.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/22.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/23.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/24.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/25.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/26.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/27.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/28.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/29.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/3.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/30.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/31.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/32.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/33.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/34.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/35.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/36.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/37.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/38.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/39.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/4.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/40.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/41.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/42.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/43.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/44.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/45.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/46.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/47.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/48.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/49.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/5.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/50.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/51.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/52.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/53.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/54.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/55.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/56.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/57.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/58.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/59.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/6.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/60.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/61.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/62.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/63.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/64.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/65.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/66.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/67.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/68.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/69.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/7.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/70.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/71.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/8.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/images/face/9.gif"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/lay/all-mobile.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/lay/all.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/lay/modules/carousel.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/lay/modules/code.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/lay/modules/colorpicker.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/lay/modules/element.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/lay/modules/flow.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/lay/modules/form.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/lay/modules/jquery.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/lay/modules/laydate.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/lay/modules/layedit.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/lay/modules/layer.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/lay/modules/layim.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/lay/modules/laypage.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/lay/modules/laytpl.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/lay/modules/mobile.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/lay/modules/mobile/layer-mobile.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/lay/modules/mobile/layim-mobile-open.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/lay/modules/mobile/layim-mobile.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/lay/modules/mobile/upload-mobile.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/lay/modules/mobile/zepto.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/lay/modules/rate.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/lay/modules/slider.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/lay/modules/table.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/lay/modules/tree.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/lay/modules/upload.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/lay/modules/util.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/layui.all.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/layui/layui.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/lib/admin.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/lib/extend/echarts.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/lib/extend/echartsTheme.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/lib/index.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/lib/view.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/modules/common.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/modules/console.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/modules/contlist.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/modules/forum.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/modules/im.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/modules/message.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/modules/sample.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/modules/senior.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/modules/set.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/modules/user.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/modules/useradmin.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/modules/workorder.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/Scripts/jquery-1.4.1.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/Scripts/jquery-1.4.1.min.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/Scripts/jquery-3.5.1.min.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/Scripts/json2.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/Scripts/webConfig.js"> + <publishTime>03/29/2021 10:49:14</publishTime> + </File> + <File Include="layuiadmin/style/admin.css"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/style/login.css"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/style/res/bg-none.jpg"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/style/res/layui-logo.jpg"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/style/res/logo-black.png"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/style/res/logo.png"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/style/res/template/character.jpg"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/style/res/template/huge.jpg"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/style/res/template/portrait.png"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/style/template.css"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/timeFormat/timeFormat.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/tpl/layim/demo.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/tpl/system/about.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/tpl/system/get.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/tpl/system/more.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/tpl/system/theme.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/tpl/system/璇存槑.txt"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/tpl/璇存槑.txt"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="layuiadmin/zgqCustom/zgqCustom.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/app/content/comment.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/app/content/contform.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/app/content/list.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/app/content/listform.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/app/content/tags.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/app/content/tagsform.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/app/forum/list.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/app/forum/listform.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/app/forum/replys.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/app/forum/replysform.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/app/mall/category.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/app/mall/list.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/app/mall/specs.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/app/message/detail.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/app/message/index.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/app/workorder/list.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/app/workorder/listform.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/app/璇存槑.txt"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/Baseset/SRM_OpenTmpList.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/Baseset/鍩虹璧勬枡/Gy_CustomerList.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/Baseset/鍩虹璧勬枡/Gy_DepartmentList.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/Baseset/鍩虹璧勬枡/Gy_GetProductionResourcesList.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/Baseset/鍩虹璧勬枡/Gy_GetProductionTeamList.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/Baseset/鍩虹璧勬枡/Gy_StockPlaceList.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/Baseset/鍩虹璧勬枡/Gy_SupplierList.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/Baseset/鍩虹璧勬枡/Gy_WarehouseList.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/Baseset/鍩虹璧勬枡/Gy_WorkCenterList.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/anim/index.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/auxiliar/index.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/badge/index.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/button/index.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/carousel/index.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/code/index.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/colorpicker/index.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/flow/index.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/form/element.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/form/group.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/grid/all.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/grid/list.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/grid/mobile-pc.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/grid/mobile.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/grid/speed-dial.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/grid/stack.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/laydate/demo1.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/laydate/demo2.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/laydate/index.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/laydate/special-demo.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/laydate/theme.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/layer/list.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/layer/special-demo.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/layer/theme.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/laypage/demo1.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/laypage/demo2.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/laypage/index.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/laytpl/index.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/nav/index.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/panel/index.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/progress/index.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/rate/index.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/slider/index.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/table/auto.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/table/cellEdit.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/table/cellEvent.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/table/checkbox.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/table/data.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/table/fixed.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/table/form.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/table/height.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/table/index.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/table/initSort.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/table/onrow.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/table/operate.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/table/page.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/table/parseData.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/table/radio.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/table/reload.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/table/resetPage.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/table/simple.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/table/static.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/table/style.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/table/thead.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/table/toolbar.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/table/tostatic.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/table/totalRow.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/tabs/index.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/temp.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/timeline/index.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/upload/demo1.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/upload/demo2.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/upload/index.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/util/index.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/component/璇存槑.txt"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/home/console.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/home/homepage1.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/home/homepage2.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/iframe/layer/iframe.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/index.html"> + <publishTime>03/29/2021 10:44:50</publishTime> + </File> + <File Include="views/senior/echarts/bar.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/senior/echarts/line.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/senior/echarts/map.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/senior/im/index.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/senior/璇存槑.txt"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/set/system/email.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/set/system/website.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/set/user/info.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/set/user/password.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/set/璇存槑.txt"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/system/about.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/system/get.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/system/more.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/system/theme.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/system/璇存槑.txt"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/template/addresslist.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/template/caller.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/template/goodslist.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/template/msgboard.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/template/personalpage.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/template/search.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/template/temp.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/template/tips/404.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/template/tips/error.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/template/璇存槑.txt"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/Test/qrscan.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/Test/Test.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/user/administrators/adminform.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/user/administrators/list.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/user/administrators/role.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/user/administrators/roleform.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/user/forget.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/user/login.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/user/reg.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/user/user/list.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/user/user/userform.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/user/璇存槑.txt"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/涓嶈壇姹囨姤/Xs_SeOrderPickUp.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/浠撳瓨绠$悊/浠撳簱璋冩嫧/Cc_LookingForBill.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/浠撳瓨绠$悊/浠撳簱璋冩嫧/Cc_LookingForReturnBill.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/浠撳瓨绠$悊/浠撳簱璋冩嫧/Cc_LookingForReturnBillList.html"> + <publishTime>03/29/2021 10:46:35</publishTime> + </File> + <File Include="views/浠撳瓨绠$悊/浠撳簱璋冩嫧/Kf_LookingForBillList.html"> + <publishTime>03/29/2021 10:46:43</publishTime> + </File> + <File Include="views/浠撳瓨绠$悊/浠撳簱璋冩嫧/Kf_MoveStockBill_Fast.html"> + <publishTime>03/29/2021 10:47:09</publishTime> + </File> + <File Include="views/浠撳瓨绠$悊/浠撳簱璋冩嫧/Kf_MoveStockBill_FastList.html"> + <publishTime>03/29/2021 10:47:31</publishTime> + </File> + <File Include="views/浠撳瓨绠$悊/浠撳簱璋冩嫧/Kf_UpMoveStockBill.html"> + <publishTime>03/29/2021 10:48:38</publishTime> + </File> + <File Include="views/鍏叡椤甸潰/Kf_BarCodeEditDlg.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_Department.html"> + <publishTime>03/29/2021 10:48:22</publishTime> + </File> + <File Include="views/鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_Employee.html"> + <publishTime>03/29/2021 10:48:22</publishTime> + </File> + <File Include="views/鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_Material.html"> + <publishTime>03/29/2021 10:48:22</publishTime> + </File> + <File Include="views/鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_Warehouse.html"> + <publishTime>03/29/2021 10:48:23</publishTime> + </File> + <File Include="views/鍩虹璧勬枡/宸ヨ祫鍩虹璧勬枡/Gy_Group.html"> + <publishTime>03/29/2021 10:48:22</publishTime> + </File> + <File Include="views/鍩虹璧勬枡/鐢熶骇鍩虹璧勬枡/Gy_BadReason.html"> + <publishTime>03/29/2021 10:48:23</publishTime> + </File> + <File Include="views/鍩虹璧勬枡/鐢熶骇鍩虹璧勬枡/Gy_Process.html"> + <publishTime>03/29/2021 10:48:23</publishTime> + </File> + <File Include="views/鍩虹璧勬枡/鐢熶骇鍩虹璧勬枡/Gy_Source.html"> + <publishTime>03/29/2021 10:48:23</publishTime> + </File> + <File Include="views/鍩虹璧勬枡/鐢熶骇鍩虹璧勬枡/H_ProcessDetail.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/鍩虹璧勬枡/鐢熶骇鍩虹璧勬枡/H_ProcessList.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/鍩虹璧勬枡/閲囪喘鍩虹璧勬枡/Gy_Supplier.html"> + <publishTime>03/29/2021 10:48:22</publishTime> + </File> + <File Include="views/鍩虹璧勬枡/閿�鍞熀纭�璧勬枡/Gy_Customer.html"> + <publishTime>03/29/2021 10:48:23</publishTime> + </File> + <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_CheckToolsRepairWorkBillList.html"> + <publishTime>03/29/2021 10:48:24</publishTime> + </File> + <File Include="views/鐢熶骇宸ュ簭绠$悊/濮斿宸ュ崟/WW_EntrustWorkOrderBillMainList.html"> + <publishTime>03/29/2021 08:48:21</publishTime> + </File> + <File Include="views/鐢熶骇宸ュ簭绠$悊/濮斿宸ュ簭姹囨姤鍗�/Sc_StationOutBillMainList.html"> + <publishTime>03/29/2021 08:48:21</publishTime> + </File> + <File Include="views/鐢熶骇宸ュ簭绠$悊/宸ュ簭姹囨姤鍗�/Sc_ProcessReportList.html"> + <publishTime>03/29/2021 08:48:21</publishTime> + </File> + <File Include="views/鐢熶骇宸ュ簭绠$悊/宸ュ簭娲惧伐鍗�/Sc_ProcessSendWorkList.html"> + <publishTime>03/29/2021 08:48:21</publishTime> + </File> + <File Include="views/鐢熶骇宸ュ簭绠$悊/宸ュ簭璁″垝鍗�/Sc_ProcessPlanList.html"> + <publishTime>03/29/2021 08:48:21</publishTime> + </File> + <File Include="views/鐢熶骇绠$悊/鐢熶骇浠诲姟鍗�/Sc_ICMOBillList.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/鐢熶骇绠$悊/鐢熶骇鎶曟枡鍗�/Sc_PPBomBillList.html"> + <publishTime>03/29/2021 10:46:21</publishTime> + </File> + <File Include="views/鐢熶骇绠$悊/鐢熶骇姹囨姤鍗�/Sc_ICMOReportBillList.html"> + <publishTime>03/29/2021 10:46:02</publishTime> + </File> + <File Include="views/缁勮鍗�/Sc_AssemblyBill_Fast.html"> + <publishTime>03/29/2021 10:48:24</publishTime> + </File> + <File Include="views/璁″垝绠$悊/宸ヨ壓璺嚎/Gy_RoutingBillList.html"> + <publishTime>03/29/2021 10:48:23</publishTime> + </File> + <File Include="views/杞﹂棿绠$悊/涓嶈壇鍝佽瘎瀹″崟/Cj_NoPassProcList.html"> + <publishTime>03/29/2021 10:48:22</publishTime> + </File> + <File Include="views/杞﹂棿绠$悊/宸ュ簭娴佽浆/MES_StationInBill.html"> + <publishTime>03/29/2021 10:48:22</publishTime> + </File> + <File Include="views/杞﹂棿绠$悊/宸ュ簭娴佽浆/MES_StationInBillList.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/杞﹂棿绠$悊/宸ュ簭娴佽浆/MES_StationInBill_PDA.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/杞﹂棿绠$悊/宸ュ簭娴佽浆/MES_StationOutBill.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/杞﹂棿绠$悊/宸ュ簭娴佽浆/MES_StationOutBillList.html"> + <publishTime>03/29/2021 10:48:22</publishTime> + </File> + <File Include="views/杞﹂棿绠$悊/宸ュ簭娴佽浆/MES_StationOutBill_PDA.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/杞﹂棿绠$悊/宸ュ簭娴佽浆鍗�/Sc_ProcessExchangeBill.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/杞﹂棿绠$悊/宸ュ簭娴佽浆鍗�/Sc_ProcessExchangeBillList.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/杞﹂棿绠$悊/鎶ヨ〃鍒嗘瀽/Qk_OutProcessList.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/杞﹂棿绠$悊/鎶ヨ〃鍒嗘瀽/Sc_ProductionProcessDetailsReport.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/杞﹂棿绠$悊/鎶ヨ〃鍒嗘瀽/Sc_WorkShopReport.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/棰嗘枡鍙戣揣/鍏朵粬鍑哄簱/Kf_OtherOutBackBill_Fast.html"> + <publishTime>03/29/2021 10:48:23</publishTime> + </File> + <File Include="views/棰嗘枡鍙戣揣/鍏朵粬鍑哄簱/Kf_OtherOutBackBill_FastList.html"> + <publishTime>03/29/2021 10:48:23</publishTime> + </File> + <File Include="views/棰嗘枡鍙戣揣/鍏朵粬鍑哄簱/Kf_OtherOutBill_Fast.html"> + <publishTime>03/29/2021 10:48:23</publishTime> + </File> + <File Include="views/棰嗘枡鍙戣揣/鍏朵粬鍑哄簱/Kf_OtherOutBill_FastList.html"> + <publishTime>03/29/2021 10:48:23</publishTime> + </File> + <File Include="views/棰嗘枡鍙戣揣/濮斿鍑哄簱/Kf_EntrustOutBackBill_Fast.html"> + <publishTime>03/29/2021 10:48:23</publishTime> + </File> + <File Include="views/棰嗘枡鍙戣揣/濮斿鍑哄簱/Kf_EntrustOutBackBill_FastList.html"> + <publishTime>03/29/2021 10:48:23</publishTime> + </File> + <File Include="views/棰嗘枡鍙戣揣/濮斿鍑哄簱/Kf_EntrustOutBill_Fast.html"> + <publishTime>03/29/2021 10:48:23</publishTime> + </File> + <File Include="views/棰嗘枡鍙戣揣/濮斿鍑哄簱/Kf_EntrustOutBill_FastList.html"> + <publishTime>03/29/2021 10:48:23</publishTime> + </File> + <File Include="views/棰嗘枡鍙戣揣/閿�鍞嚭搴�/Kf_SellOutBackBill_Fast.html"> + <publishTime>03/29/2021 10:48:23</publishTime> + </File> + <File Include="views/棰嗘枡鍙戣揣/閿�鍞嚭搴�/Kf_SellOutBackBill_FastList.html"> + <publishTime>03/29/2021 10:48:23</publishTime> + </File> + <File Include="views/棰嗘枡鍙戣揣/閿�鍞嚭搴�/Kf_SellOutBill_Fast.html"> + <publishTime>03/29/2021 10:48:24</publishTime> + </File> + <File Include="views/棰嗘枡鍙戣揣/閿�鍞嚭搴�/Kf_SellOutBill_FastList.html"> + <publishTime>03/29/2021 10:48:24</publishTime> + </File> + <File Include="views/棰嗘枡鍙戣揣/棰嗘枡鍑哄簱/Kf_MateOutBackBill_Fast.html"> + <publishTime>03/29/2021 10:48:23</publishTime> + </File> + <File Include="views/棰嗘枡鍙戣揣/棰嗘枡鍑哄簱/Kf_MateOutBackBill_FastList.html"> + <publishTime>03/29/2021 10:48:23</publishTime> + </File> + <File Include="views/棰嗘枡鍙戣揣/棰嗘枡鍑哄簱/Kf_MateOutBill_Fast.html"> + <publishTime>03/29/2021 10:48:23</publishTime> + </File> + <File Include="views/棰嗘枡鍙戣揣/棰嗘枡鍑哄簱/Kf_MateOutBill_FastList.html"> + <publishTime>03/29/2021 10:48:23</publishTime> + </File> + <File Include="views/楠屾敹鍏ュ簱/浜у搧鍏ュ簱/Kf_ProductInBackBill.html"> + <publishTime>03/29/2021 10:48:24</publishTime> + </File> + <File Include="views/楠屾敹鍏ュ簱/浜у搧鍏ュ簱/Kf_ProductInBackBillList.html"> + <publishTime>03/29/2021 10:48:24</publishTime> + </File> + <File Include="views/楠屾敹鍏ュ簱/浜у搧鍏ュ簱/Kf_ProductInBill_Fast.html"> + <publishTime>03/29/2021 10:48:24</publishTime> + </File> + <File Include="views/楠屾敹鍏ュ簱/浜у搧鍏ュ簱/Kf_ProductInBill_FastList.html"> + <publishTime>03/29/2021 10:48:24</publishTime> + </File> + <File Include="views/楠屾敹鍏ュ簱/浜у搧鍏ュ簱/Xs_SeOrderPickUp_New.html"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/楠屾敹鍏ュ簱/鍏朵粬鍏ュ簱/Kf_OtherInBackBill_Fast.html"> + <publishTime>03/29/2021 10:48:24</publishTime> + </File> + <File Include="views/楠屾敹鍏ュ簱/鍏朵粬鍏ュ簱/Kf_OtherInBackBill_FastList.html"> + <publishTime>03/29/2021 10:48:24</publishTime> + </File> + <File Include="views/楠屾敹鍏ュ簱/鍏朵粬鍏ュ簱/Kf_OtherInBill_Fast.html"> + <publishTime>03/29/2021 10:48:24</publishTime> + </File> + <File Include="views/楠屾敹鍏ュ簱/鍏朵粬鍏ュ簱/Kf_OtherInBill_FastList.html"> + <publishTime>03/29/2021 10:48:24</publishTime> + </File> + <File Include="views/楠屾敹鍏ュ簱/澶栬喘鍏ュ簱/Kf_POStockInBackBill.html"> + <publishTime>03/29/2021 10:48:24</publishTime> + </File> + <File Include="views/楠屾敹鍏ュ簱/澶栬喘鍏ュ簱/Kf_POStockInBackBillList.html"> + <publishTime>03/29/2021 10:48:24</publishTime> + </File> + <File Include="views/楠屾敹鍏ュ簱/澶栬喘鍏ュ簱/Kf_POStockInBill_Fast.html"> + <publishTime>03/29/2021 10:48:24</publishTime> + </File> + <File Include="views/楠屾敹鍏ュ簱/澶栬喘鍏ュ簱/Kf_POStockInBill_FastList.html"> + <publishTime>03/29/2021 10:48:24</publishTime> + </File> + <File Include="views/楠屾敹鍏ュ簱/澶栬喘鍏ュ簱/qrscan.js"> + <publishTime>03/23/2021 14:14:38</publishTime> + </File> + <File Include="views/楠屾敹鍏ュ簱/濮斿鍏ュ簱/Kf_EntrustInBackBill.html"> + <publishTime>03/29/2021 10:48:24</publishTime> + </File> + <File Include="views/楠屾敹鍏ュ簱/濮斿鍏ュ簱/Kf_EntrustInBackBillList.html"> + <publishTime>03/29/2021 10:48:24</publishTime> + </File> + <File Include="views/楠屾敹鍏ュ簱/濮斿鍏ュ簱/Kf_EntrustInBill_Fast.html"> + <publishTime>03/29/2021 10:48:24</publishTime> + </File> + <File Include="views/楠屾敹鍏ュ簱/濮斿鍏ュ簱/Kf_EntrustInBill_FastList.html"> + <publishTime>03/29/2021 10:48:24</publishTime> + </File> + <File Include="Web.config"> + <publishTime>03/29/2021 08:52:29</publishTime> + </File> + </ItemGroup> +</Project> \ No newline at end of file diff --git a/WebTM/WebTM.csproj b/WebTM/WebTM.csproj index 1ba3080..4258807 100644 --- a/WebTM/WebTM.csproj +++ b/WebTM/WebTM.csproj @@ -435,13 +435,9 @@ <Content Include="views\鍩虹璧勬枡\鐢熶骇鍩虹璧勬枡\Gy_Process.html" /> <Content Include="views\鍩虹璧勬枡\鐢熶骇鍩虹璧勬枡\H_ProcessDetail.html" /> <Content Include="views\鍩虹璧勬枡\鐢熶骇鍩虹璧勬枡\H_ProcessList.html" /> - <Content Include="views\鐢熶骇宸ュ簭绠$悊\濮斿宸ュ崟\WW_EntrustWorkOrderBillMainList.html" /> - <Content Include="views\鐢熶骇宸ュ簭绠$悊\濮斿宸ュ簭姹囨姤鍗昞Sc_StationOutBillMainList.html" /> - <Content Include="views\鐢熶骇宸ュ簭绠$悊\宸ュ簭姹囨姤鍗昞Sc_ProcessReportList.html" /> - <Content Include="views\鐢熶骇宸ュ簭绠$悊\宸ュ簭娲惧伐鍗昞Sc_Add_ProcessSendWork.html" /> - <Content Include="views\鐢熶骇宸ュ簭绠$悊\宸ュ簭娲惧伐鍗昞Sc_ProcessSendWorkList.html" /> - <Content Include="views\鐢熶骇宸ュ簭绠$悊\宸ュ簭璁″垝鍗昞Sc_ProcessPlanList.html" /> <Content Include="views\鐢熶骇绠$悊\鐢熶骇浠诲姟鍗昞Sc_ICMOBillList.html" /> + <Content Include="views\鐢熶骇绠$悊\鐢熶骇鎶曟枡鍗昞Sc_PPBomBillList.html" /> + <Content Include="views\鐢熶骇绠$悊\鐢熶骇姹囨姤鍗昞Sc_ICMOReportBillList.html" /> <Content Include="views\缁勮鍗昞Sc_AssemblyBill_Fast.html" /> <Content Include="views\璁″垝绠$悊\宸ヨ壓璺嚎\Gy_RoutingBillList.html" /> <Content Include="views\杞﹂棿绠$悊\涓嶈壇鍝佽瘎瀹″崟\Cj_NoPassProcList.html" /> diff --git a/WebTM/layuiadmin/Scripts/webConfig.js b/WebTM/layuiadmin/Scripts/webConfig.js index 3cf4596..5483d60 100644 --- a/WebTM/layuiadmin/Scripts/webConfig.js +++ b/WebTM/layuiadmin/Scripts/webConfig.js @@ -1,8 +1,8 @@ 锘縡unction GetWEBURL() { //var WEBURL = "http://192.168.16.80:8011/"; //鍔炲叕瀹ゆ湇鍔″櫒 //var WEBURL = "http://localhost:8081/SWEAPI/"; //ch鏈湴 - /*var WEBURL = "http://localhost:8081/JFAPI/"; */ //zgq鏈湴 - var WEBURL = "http://localhost:8081/lubaoWebAPI/";//鐜嬫案娉㈡湰鍦伴厤缃� + var WEBURL = "http://localhost:8081/JFAPI/"; //zgq鏈湴 + //var WEBURL = "http://localhost:8081/lubaoWebAPI/";//鐜嬫案娉㈡湰鍦伴厤缃� return WEBURL } diff --git a/WebTM/views/index.html b/WebTM/views/index.html index e468a0b..70ab6e0 100644 --- a/WebTM/views/index.html +++ b/WebTM/views/index.html @@ -182,6 +182,18 @@ <dd><a lay-href="鐢熶骇绠$悊/鐢熶骇浠诲姟鍗�/Sc_ICMOBillList.html">鐢熶骇浠诲姟鍗曞垪琛�</a></dd> </dl> </dd> + <dd class="layui-nav-itemed"> + <a>鐢熶骇鎶曟枡鍗�</a> + <dl class="layui-nav-child"> + <dd><a lay-href="鐢熶骇绠$悊/鐢熶骇鎶曟枡鍗�/Sc_PPBomBillList.html">鐢熶骇鐢ㄦ枡娓呭崟鍒楄〃</a></dd> + </dl> + </dd> + <dd class="layui-nav-itemed"> + <a>鐢熶骇姹囨姤鍗�</a> + <dl class="layui-nav-child"> + <dd><a lay-href="鐢熶骇绠$悊/鐢熶骇姹囨姤鍗�/Sc_ICMOReportBillList.html">鐢熶骇姹囨姤鍗曞垪琛�</a></dd> + </dl> + </dd> </dl> </li> <li data-name="set" class="layui-nav-item"> 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/Cc_LookingForReturnBillList.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/Cc_LookingForReturnBillList.html" index 30516a0..4383393 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/Cc_LookingForReturnBillList.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/Cc_LookingForReturnBillList.html" @@ -193,7 +193,7 @@ } $.ajax({ //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", - url: GetWEBURL1() + '/LEMS/MES_Gy_RoutingBillList_Json', + url: GetWEBURL() + '/LEMS/MES_Gy_RoutingBillList_Json', type: "GET", data: { "sWhere": sWhere }, success: function (data1) { 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_LookingForBillList.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_LookingForBillList.html" index 5e10fc2..845f790 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_LookingForBillList.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_LookingForBillList.html" @@ -203,7 +203,7 @@ var index = layer.load(0); $.ajax({ //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", - url: GetWEBURL1() + '/LookingFor/GetLookingForBillList', + url: GetWEBURL() + '/LookingFor/GetLookingForBillList', type: "GET", data: { "sWhere": sWhere, "HBillType": HBillType }, success: function (data1) { 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 266d526..e781039 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" @@ -352,7 +352,7 @@ { table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/MoveStockBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/MoveStockBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: linterid, HBillType: '1207', sWhere: '' } , cols: [[ @@ -576,7 +576,7 @@ if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜� table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/MoveStockBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/MoveStockBill/DisBillEntryList_Webs_Json' , cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1207', sWhere: '' } @@ -725,7 +725,7 @@ layer.load(3) table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/MoveStockBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/MoveStockBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , totalRow: true , where: { HBillID: sInterID, HBillType: '1207', sWhere: '' } 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 99e5fe9..4392c60 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" @@ -159,7 +159,7 @@ var sBillType = '1207' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ @@ -207,7 +207,7 @@ //layer.msg(data.Message, { icon: 1 }); table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' , cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HBillType: '1207', sWhere: '' } @@ -245,7 +245,7 @@ var sBillType = '1207' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ 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_UpMoveStockBill.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_UpMoveStockBill.html" index 453f9f9..3f0b744 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_UpMoveStockBill.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_UpMoveStockBill.html" @@ -350,7 +350,7 @@ { table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/MoveStockBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/MoveStockBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: linterid, HBillType: '1207', sWhere: '' } , cols: [[ @@ -582,7 +582,7 @@ if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜� table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/MoveStockBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/MoveStockBill/DisBillEntryList_Webs_Json' , cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1207', sWhere: '' } @@ -729,7 +729,7 @@ layer.load(3) table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/MoveStockBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/MoveStockBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , totalRow: true , where: { HBillID: sInterID, HBillType: '1207', sWhere: '' } diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Department.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Department.html" index fe1e0b3..3cf6554 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Department.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Department.html" @@ -140,7 +140,7 @@ } $.ajax({ //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", - url: GetWEBURL1() + '/Gy_Department/list', + url: GetWEBURL() + '/Gy_Department/list', type: "GET", data: { "sWhere": sWhere }, success: function (data1) { diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Employee.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Employee.html" index b802901..4316094 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Employee.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Employee.html" @@ -144,7 +144,7 @@ } $.ajax({ //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", - url: GetWEBURL1() + '/Gy_Employee/list', + url: GetWEBURL() + '/Gy_Employee/list', type: "GET", data: { "sWhere": sWhere }, success: function (data1) { diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Material.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Material.html" index a7c989a..a26a281 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Material.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Material.html" @@ -148,7 +148,7 @@ } $.ajax({ //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", - url: GetWEBURL1() + '/Gy_Material/list', + url: GetWEBURL() + '/Gy_Material/list', type: "GET", data: { "sWhere": sWhere }, success: function (data1) { diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Warehouse.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Warehouse.html" index 91e80eb..d0a55d1 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Warehouse.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Warehouse.html" @@ -139,7 +139,7 @@ } $.ajax({ //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", - url: GetWEBURL1() + '/Gy_Warehouse/list', + url: GetWEBURL() + '/Gy_Warehouse/list', type: "GET", data: { "sWhere": sWhere }, success: function (data1) { diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\267\245\350\265\204\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Group.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\267\245\350\265\204\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Group.html" index cfccbd7..5ed3a41 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\267\245\350\265\204\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Group.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\267\245\350\265\204\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Group.html" @@ -143,7 +143,7 @@ } $.ajax({ //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", - url: GetWEBURL1() + '/Gy_Group/list', + url: GetWEBURL() + '/Gy_Group/list', type: "GET", data: { "sWhere": sWhere }, success: function (data1) { diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Gy_BadReason.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Gy_BadReason.html" index 3f266d6..6da278b 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Gy_BadReason.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Gy_BadReason.html" @@ -138,7 +138,7 @@ } $.ajax({ //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", - url: GetWEBURL1() + '/Gy_BadReason/list', + url: GetWEBURL() + '/Gy_BadReason/list', type: "GET", data: { "sWhere": sWhere }, success: function (data1) { diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Process.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Process.html" index 486fa0c..e6ee197 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Process.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Process.html" @@ -153,7 +153,7 @@ } $.ajax({ //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", - url: GetWEBURL1() + '/Gy_Process/list', + url: GetWEBURL() + '/Gy_Process/list', type: "GET", data: { "sWhere": sWhere }, success: function (data1) { diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Source.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Source.html" index e118a10..1fea3f2 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Source.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Source.html" @@ -141,7 +141,7 @@ } $.ajax({ //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", - url: GetWEBURL1() + '/Gy_Source/list', + url: GetWEBURL() + '/Gy_Source/list', type: "GET", data: { "sWhere": sWhere }, success: function (data1) { diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\351\207\207\350\264\255\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Supplier.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\351\207\207\350\264\255\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Supplier.html" index 8240ab5..ac9a084 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\351\207\207\350\264\255\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Supplier.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\351\207\207\350\264\255\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Supplier.html" @@ -140,7 +140,7 @@ } $.ajax({ //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", - url: GetWEBURL1() + '/Gy_Supplier/list', + url: GetWEBURL() + '/Gy_Supplier/list', type: "GET", data: { "sWhere": sWhere }, success: function (data1) { diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\351\224\200\345\224\256\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Customer.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\351\224\200\345\224\256\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Customer.html" index 4bb6441..96c1abb 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\351\224\200\345\224\256\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Customer.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\351\224\200\345\224\256\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Customer.html" @@ -140,7 +140,7 @@ } $.ajax({ //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", - url: GetWEBURL1() + '/Gy_Customer/list', + url: GetWEBURL() + '/Gy_Customer/list', type: "GET", data: { "sWhere": sWhere }, success: function (data1) { diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_CheckToolsRepairWorkBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_CheckToolsRepairWorkBillList.html" index 9714b16..45e7958 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_CheckToolsRepairWorkBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_CheckToolsRepairWorkBillList.html" @@ -235,7 +235,7 @@ var index = layer.load(0); $.ajax({ //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", - url: GetWEBURL1() + '/Sc_CheckToolsRepair/GetCheckToolsRepairWorkBillList', + url: GetWEBURL() + '/Sc_CheckToolsRepair/GetCheckToolsRepairWorkBillList', type: "GET", data: {}, success: function (data1) { diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\346\212\225\346\226\231\345\215\225/Sc_PPBomBillList.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\346\212\225\346\226\231\345\215\225/Sc_PPBomBillList.html" new file mode 100644 index 0000000..fc2fc1d --- /dev/null +++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\346\212\225\346\226\231\345\215\225/Sc_PPBomBillList.html" @@ -0,0 +1,208 @@ +锘�<!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, maximum-scale=1"> + <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all"> + <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all"> + <script src="../../../layuiadmin/layui/layui.js"></script> + +</head> +<body> + <div class="layui-fluid"> + <div class="layui-col-md12"> + <div class="layui-card" style="padding: 1px"> + <div class="layui-card-body" style="padding: 1px;"> + <form class="layui-form" action="" lay-filter="component-form-group"> + <div class="layui-collapse"> + <div class="layui-colla-item"> + <div class="layui-colla-title layui-inline"> + <div class="layui-inline"> + <span></span> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label" style="width: 85px;">鍗曟嵁鍙�</label> + <div class="layui-input-block" style="margin-left: 120px;"> + <input type="text" class="layui-input" name="HBillNo" id="HBillNo"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label" style="width: 85px;">鐗╂枡鍚嶇О</label> + <div class="layui-input-block" style="margin-left: 120px;"> + <input type="text" class="layui-input" name="HMaterialName" id="HMaterialName"> + </div> + </div> + <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> + <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> + </button> + <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">閲嶇疆</button> + + </div> + </div> + <table class="" id="mainTable" lay-filter="mainTable"></table> + <script type="text/html" id="toolbarDemo"> + <div class="layui-btn-container"> + <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-getCheckData"><i class="layui-icon layui-icon-tips"></i>棰勮</button>--> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>鍒锋柊</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>纭</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>椹冲洖</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>璇︽儏</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>鐢熸垚閫佽揣鍗�</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>閫�鍑�</button> + + </div> + </script> + </form> + </div> + </div> + </div> + </div> + <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> + <script> + layui.config({ + base: '../../../layuiadmin/' //闈欐�佽祫婧愭墍鍦ㄨ矾寰� + }).extend({ + index: 'lib/index', //涓诲叆鍙fā鍧� + }).use(['index', 'form', 'table', 'element', 'laypage','laydate'], function () { + var $ = layui.$ + , admin = layui.admin + , layer = layui.layer + , table = layui.table + , form = layui.form + , element = layui.element + , laypage = layui.laypage + , laydate = layui.laydate + var sWhere = ""; + + var option = { + elem: '#mainTable' + //, toolbar: '#toolbarDemo' + ,height: 'full-50' + , page: true + ,cellMinWidth: 90 + , cols: [[ + { field: 'hmainid', title: 'hmainid', sort: true, hide: true } + , { field: '鏃ユ湡', title: '鏃ユ湡' } + , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�' } + , { field: 'HDeptID', title: 'HDeptID', hide: true } + , { field: '閮ㄩ棬浠g爜', title: '閮ㄩ棬浠g爜' } + , { field: '閮ㄩ棬', title: '閮ㄩ棬' } + , { field: 'HMaterID', title: 'HMaterID', hide: true } + , { field: '浜у搧浠g爜', title: '浜у搧浠g爜' } + , { field: '浜у搧鍚嶇О', title: '浜у搧鍚嶇О' } + , { field: '浜у搧瑙勬牸', title: '浜у搧瑙勬牸' } + , { field: 'HUnitID', title: 'HUnitID', hide: true } + , { field: '涓昏〃璁¢噺鍗曚綅浠g爜', title: '涓昏〃璁¢噺鍗曚綅浠g爜' } + , { field: '涓昏〃璁¢噺鍗曚綅', title: '涓昏〃璁¢噺鍗曚綅' } + , { field: '鐢熶骇鏁伴噺', title: '鐢熶骇鏁伴噺' } + , { field: 'hsubid', title: 'hsubid', hide: true } + , { field: 'hmaterid2', title: 'hmaterid2', hide: true } + , { field: '鐗╂枡浠g爜', title: '鐗╂枡浠g爜' } + , { field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О' } + , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿' } + , { field: 'hunitid2', title: 'hunitid2', hide: true } + , { field: '璁¢噺鍗曚綅浠g爜', title: '璁¢噺鍗曚綅浠g爜' } + , { field: '璁¢噺鍗曚綅', title: '璁¢噺鍗曚綅' } + , { field: '鏁伴噺', title: '鏁伴噺' } + , { field: '鎹熻�楃巼', title: '鎹熻�楃巼' } + , { field: 'HWHID', title: 'HWHID', hide: true } + , { field: '浠撳簱浠g爜', title: '浠撳簱浠g爜' } + , { field: '浠撳簱', title: '浠撳簱' } + , { field: 'HSPID', title: 'HSPID', hide: true } + , { field: '浠撲綅浠g爜', title: '浠撲綅浠g爜' } + , { field: '浠撲綅', title: '浠撲綅' } + , { field: '鐢熶骇浠诲姟鍗曞彿', title: '鐢熶骇浠诲姟鍗曞彿' } + , { field: '鍒跺崟浜�', title: '鍒跺崟浜�' } + , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡' } + , { field: '瀹℃牳浜�', title: '瀹℃牳浜�' } + , { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡' } + , { field: '璁″垝璺熻釜鍙�', title: '璁″垝璺熻釜鍙�' } + , { field: '璁″垝妯″紡', title: '璁″垝妯″紡' } + ]] + }; + + var index = layer.load(0, { shade: false }); + //杩涘叆椤甸潰鏄剧ず鐨勭紦瀛樺垪琛� + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL() + '/Sc_PPBomBill/list', + type: "GET", + data: { "sWhere": sWhere }, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 }); + } + }); + + //閲嶇疆鎸夐挳 + form.on('submit(btnReSearch)', function (data) { + $("#HNumber").val(""); + $("#HName").val(""); + $("#btnSearch").click(); + }); + + //鏌ヨ鎸夐挳 + form.on('submit(btnSearch)', function (data) { + var HBillNo = $("#HBillNo").val(); + var HMaterialName = $("#HMaterialName").val(); + if (HBillNo) { + sWhere += " and 鍗曟嵁鍙� like '%" + HBillNo + "%'"; + } + if (HMaterialName) { + sWhere += " and 鐗╂枡鍚嶇О like '%" + HMaterialName + "%'"; + } + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL() + '/Sc_PPBomBill/list', + type: "GET", + data: { "sWhere": sWhere }, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.alert("鏌ヨ鎴愬姛", { icon: 1 }); + } else { + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 }); + } + }); + sWhere = "";//璋冪敤鎺ュ彛鍚庢竻绌簊Where缂撳瓨 + }); + + + //laydate.render({ + // elem: '#HDate' + // , type: 'datetime' + // , trigger: 'click' + // , format:'yyyy-MM-dd HH:mm' + //}); + + + //浠ヤ笂鏄痩ayui妯″潡 + }); + + + + + </script> + +</body> +</html> diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\346\261\207\346\212\245\345\215\225/Sc_ICMOReportBillList.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\346\261\207\346\212\245\345\215\225/Sc_ICMOReportBillList.html" new file mode 100644 index 0000000..e253b60 --- /dev/null +++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\346\261\207\346\212\245\345\215\225/Sc_ICMOReportBillList.html" @@ -0,0 +1,205 @@ +锘�<!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, maximum-scale=1"> + <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all"> + <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all"> + <script src="../../../layuiadmin/layui/layui.js"></script> + +</head> +<body> + <div class="layui-fluid"> + <div class="layui-col-md12"> + <div class="layui-card" style="padding: 1px"> + <div class="layui-card-body" style="padding: 1px;"> + <form class="layui-form" action="" lay-filter="component-form-group"> + <div class="layui-collapse"> + <div class="layui-colla-item"> + <div class="layui-colla-title layui-inline"> + <div class="layui-inline"> + <span></span> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label" style="width: 85px;">鍗曟嵁鍙�</label> + <div class="layui-input-block" style="margin-left: 120px;"> + <input type="text" class="layui-input" name="HBillNo" id="HBillNo"> + </div> + </div> + <!--<div class="layui-inline"> + <label class="layui-form-label" style="width: 85px;">鐗╂枡鍚嶇О</label> + <div class="layui-input-block" style="margin-left: 120px;"> + <input type="text" class="layui-input" name="HMaterialName" id="HMaterialName"> + </div> + </div>--> + <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> + <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> + </button> + <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">閲嶇疆</button> + + </div> + </div> + <table class="" id="mainTable" lay-filter="mainTable"></table> + <script type="text/html" id="toolbarDemo"> + <div class="layui-btn-container"> + <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-getCheckData"><i class="layui-icon layui-icon-tips"></i>棰勮</button>--> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>鍒锋柊</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>纭</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>椹冲洖</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>璇︽儏</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>鐢熸垚閫佽揣鍗�</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>閫�鍑�</button> + + </div> + </script> + </form> + </div> + </div> + </div> + </div> + <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> + <script> + layui.config({ + base: '../../../layuiadmin/' //闈欐�佽祫婧愭墍鍦ㄨ矾寰� + }).extend({ + index: 'lib/index', //涓诲叆鍙fā鍧� + }).use(['index', 'form', 'table', 'element', 'laypage','laydate'], function () { + var $ = layui.$ + , admin = layui.admin + , layer = layui.layer + , table = layui.table + , form = layui.form + , element = layui.element + , laypage = layui.laypage + , laydate = layui.laydate + var sWhere = ""; + + var option = { + elem: '#mainTable' + //, toolbar: '#toolbarDemo' + ,height: 'full-50' + , page: true + ,cellMinWidth: 90 + , cols: [[ + { field: 'hmainid', title: 'hmainid', sort: true, hide: true } + , { field: '鏃ユ湡', title: '鏃ユ湡' } + , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�' } + , { field: '鐝粍浠g爜', title: '鐝粍浠g爜' } + , { field: '鐝粍', title: '鐝粍' } + , { field: '鎿嶄綔鍛�', title: '鎿嶄綔鍛�' } + , { field: '鐢熶骇璧勬簮浠g爜', title: '鐢熶骇璧勬簮浠g爜' } + , { field: '鐢熶骇璧勬簮', title: '鐢熶骇璧勬簮' } + , { field: '琛ㄥご澶囨敞', title: '琛ㄥご澶囨敞' } + , { field: 'hsubid', title: 'hsubid', hide: true } + , { field: 'hmaterid', title: 'hmaterid', hide: true } + , { field: '鐗╂枡浠g爜', title: '鐗╂枡浠g爜' } + , { field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О' } + , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿' } + , { field: 'hunitid', title: 'hunitid', hide: true } + , { field: '璁¢噺鍗曚綅浠g爜', title: '璁¢噺鍗曚綅浠g爜' } + , { field: '璁¢噺鍗曚綅', title: '璁¢噺鍗曚綅' } + , { field: '鐢熶骇鏁伴噺', title: '鐢熶骇鏁伴噺' } + , { field: '鐢熶骇浠诲姟鍗曞彿', title: '鐢熶骇浠诲姟鍗曞彿' } + , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞' } + , { field: '鍒跺崟浜�', title: '鍒跺崟浜�' } + , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡' } + , { field: '瀹℃牳浜�', title: '瀹℃牳浜�' } + , { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡' } + , { field: '淇敼浜�', title: '淇敼浜�' } + , { field: '淇敼鏃ユ湡', title: '淇敼鏃ユ湡' } + , { field: '鍏抽棴浜�', title: '鍏抽棴浜�' } + , { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡' } + , { field: '浣滃簾浜�', title: '浣滃簾浜�' } + , { field: '浣滃簾鏃ユ湡', title: '浣滃簾鏃ユ湡' } + , { field: 'HICMOInterID', title: 'HICMOInterID', hide: true } + , { field: 'HEmpID', title: 'HEmpID', hide: true } + , { field: 'HEmpName', title: 'HEmpName', hide: true } + , { field: 'HSourceID', title: 'HSourceID', hide: true } + , { field: 'HSourceName', title: 'HSourceName', hide: true } + , { field: 'HGroupID', title: 'HGroupID', hide: true } + , { field: 'HGroupName', title: 'HGroupName', hide: true } + , { field: 'HEmpNumber', title: 'HEmpNumber', hide: true } + ]] + }; + + var index = layer.load(0, { shade: false }); + //杩涘叆椤甸潰鏄剧ず鐨勭紦瀛樺垪琛� + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL() + '/Sc_ICMOReportBill/list', + type: "GET", + data: { "sWhere": sWhere }, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 }); + } + }); + + //閲嶇疆鎸夐挳 + form.on('submit(btnReSearch)', function (data) { + $("#HNumber").val(""); + $("#HName").val(""); + $("#btnSearch").click(); + }); + + //鏌ヨ鎸夐挳 + form.on('submit(btnSearch)', function (data) { + var HBillNo = $("#HBillNo").val(); + if (HBillNo) { + sWhere += " and 鍗曟嵁鍙� like '%" + HBillNo + "%'"; + } + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL() + '/Sc_ICMOReportBill/list', + type: "GET", + data: { "sWhere": sWhere }, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.alert("鏌ヨ鎴愬姛", { icon: 1 }); + } else { + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 }); + } + }); + sWhere = "";//璋冪敤鎺ュ彛鍚庢竻绌簊Where缂撳瓨 + }); + + + //laydate.render({ + // elem: '#HDate' + // , type: 'datetime' + // , trigger: 'click' + // , format:'yyyy-MM-dd HH:mm' + //}); + + + //浠ヤ笂鏄痩ayui妯″潡 + }); + + + + + </script> + +</body> +</html> diff --git "a/WebTM/views/\347\273\204\350\243\205\345\215\225/Sc_AssemblyBill_Fast.html" "b/WebTM/views/\347\273\204\350\243\205\345\215\225/Sc_AssemblyBill_Fast.html" index 435f295..4d5f5b6 100644 --- "a/WebTM/views/\347\273\204\350\243\205\345\215\225/Sc_AssemblyBill_Fast.html" +++ "b/WebTM/views/\347\273\204\350\243\205\345\215\225/Sc_AssemblyBill_Fast.html" @@ -257,7 +257,7 @@ //layer.msg(data.Message, { icon: 1 }); table.render({ elem: '#mx-table-xx' - , url: GetWEBURL1() + '/Assembly/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Assembly/DisBillEntryList_Mate_Webs_Json' , cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HInterID: sInterID, sBillType: '3727', sWhere: '' } @@ -368,7 +368,7 @@ layer.load(3) table.render({ elem: '#mx-table-xx' - , url: GetWEBURL1() + '/Assembly/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Assembly/DisBillEntryList_Mate_Webs_Json' , cellMinWidth :80 , toolbar: '#toolbarDemo' , where: { HInterID: HInterID, sBillType: '3727', sWhere: '' } @@ -423,7 +423,7 @@ layer.load(3) table.render({ elem: '#mx-table-xx' - , url: GetWEBURL1() + '/Assembly/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Assembly/DisBillEntryList_Mate_Webs_Json' //, cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HInterID: sInterID, sBillType: '3727', sWhere: '' } diff --git "a/WebTM/views/\350\256\241\345\210\222\347\256\241\347\220\206/\345\267\245\350\211\272\350\267\257\347\272\277/Gy_RoutingBillList.html" "b/WebTM/views/\350\256\241\345\210\222\347\256\241\347\220\206/\345\267\245\350\211\272\350\267\257\347\272\277/Gy_RoutingBillList.html" index 7643d6e..70076c3 100644 --- "a/WebTM/views/\350\256\241\345\210\222\347\256\241\347\220\206/\345\267\245\350\211\272\350\267\257\347\272\277/Gy_RoutingBillList.html" +++ "b/WebTM/views/\350\256\241\345\210\222\347\256\241\347\220\206/\345\267\245\350\211\272\350\267\257\347\272\277/Gy_RoutingBillList.html" @@ -193,7 +193,7 @@ } $.ajax({ //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", - url: GetWEBURL1() + '/LEMS/MES_Gy_RoutingBillList_Json', + url: GetWEBURL() + '/LEMS/MES_Gy_RoutingBillList_Json', type: "GET", data: { "sWhere": sWhere }, success: function (data1) { diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\344\270\215\350\211\257\345\223\201\350\257\204\345\256\241\345\215\225/Cj_NoPassProcList.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\344\270\215\350\211\257\345\223\201\350\257\204\345\256\241\345\215\225/Cj_NoPassProcList.html" index b1eeaca..8b01325 100644 --- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\344\270\215\350\211\257\345\223\201\350\257\204\345\256\241\345\215\225/Cj_NoPassProcList.html" +++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\344\270\215\350\211\257\345\223\201\350\257\204\345\256\241\345\215\225/Cj_NoPassProcList.html" @@ -158,7 +158,7 @@ } $.ajax({ //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", - url: GetWEBURL1() + '/Cj_NoPassProc/list', + url: GetWEBURL() + '/Cj_NoPassProc/list', type: "GET", data: { "sWhere": sWhere }, success: function (data1) { diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\346\265\201\350\275\254/MES_StationInBill.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\346\265\201\350\275\254/MES_StationInBill.html" index abe81bf..d524ef8 100644 --- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\346\265\201\350\275\254/MES_StationInBill.html" +++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\346\265\201\350\275\254/MES_StationInBill.html" @@ -615,7 +615,7 @@ //寰呮帴鏀跺伐鍗曢〉绛� table.render({ elem: '#djs-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' , cols: [[ { field: 'HInterID', title: '搴忓彿' } , { field: 'HBillNo', title: '鐘舵��', sort: true } @@ -636,7 +636,7 @@ //浠婃棩杩涚珯椤电 table.render({ elem: '#jr-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' , cellMinWidth: 100 , cols: [[ { field: 'HInterID', title: '搴忓彿',width:80 } diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\346\265\201\350\275\254/MES_StationOutBillList.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\346\265\201\350\275\254/MES_StationOutBillList.html" index ca505be..2fa1e61 100644 --- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\346\265\201\350\275\254/MES_StationOutBillList.html" +++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\346\265\201\350\275\254/MES_StationOutBillList.html" @@ -224,7 +224,7 @@ } $.ajax({ //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", - url: GetWEBURL1() + '/api/newBill/getStationOutBillList', + url: GetWEBURL() + '/api/newBill/getStationOutBillList', type: "GET", data: { "sWhere": sWhere }, success: function (data1) { 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_OtherOutBackBill_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_OtherOutBackBill_Fast.html" index f9a1597..a722e11 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_OtherOutBackBill_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_OtherOutBackBill_Fast.html" @@ -301,7 +301,7 @@ { table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/OtherInStockBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/OtherInStockBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: linterid, HBillType: '1249', sWhere: '' } , cols: [[ @@ -470,7 +470,7 @@ //layer.msg(data.Message, { icon: 1 }); table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/OtherOutBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/OtherOutBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1249', sWhere: '' } , cols: [[{ type: 'radio' } @@ -696,7 +696,7 @@ layer.load(3) table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/OtherInStockBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/OtherInStockBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1249', sWhere: '' } , cols: [[ @@ -752,7 +752,7 @@ table.render({ elem: '#wl-table' //, url: 'http://61.130.49.162:9090/WMSAPI///OtherInStockBill/DisBillEntryList_Webs_Json' - , url: GetWEBURL1() + '/OtherInStockBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/OtherInStockBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1249', sWhere: '' } , cols: [[ 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_OtherOutBackBill_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_OtherOutBackBill_FastList.html" index c9dea43..dd6f1da 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_OtherOutBackBill_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_OtherOutBackBill_FastList.html" @@ -134,7 +134,7 @@ var sBillType = '1249' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ @@ -182,7 +182,7 @@ //layer.msg(data.Message, { icon: 1 }); table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' , cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HBillType: '1249', sWhere: '' } @@ -220,7 +220,7 @@ var sBillType = '1249' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ 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 3861072..32ff51a 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" @@ -303,7 +303,7 @@ { table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/OtherOutBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/OtherOutBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: linterid, HBillType: '1206', sWhere: '' } , cols: [[ @@ -497,7 +497,7 @@ //layer.msg(data.Message, { icon: 1 }); table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/OtherOutBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/OtherOutBill/DisBillEntryList_Webs_Json' , cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1206', sWhere: '' } @@ -701,7 +701,7 @@ layer.load(3) table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/OtherOutBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/OtherOutBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1206', sWhere: '' } , cellMinWidth: 90 @@ -757,7 +757,7 @@ table.render({ elem: '#wl-table' // , url: 'http://61.130.49.162:9090/WMSAPI///OtherOutBill/DisBillEntryList_Webs_Json' - , url: GetWEBURL1() + '/OtherOutBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/OtherOutBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1206', sWhere: '' } , cols: [[ 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 7ac19d9..94e9be8 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" @@ -133,7 +133,7 @@ var sBillType = '1206' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ @@ -181,7 +181,7 @@ //layer.msg(data.Message, { icon: 1 }); table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' , cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HBillType: '1206', sWhere: '' } @@ -219,7 +219,7 @@ var sBillType = '1206' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ 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_EntrustOutBackBill_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_EntrustOutBackBill_Fast.html" index 934568a..0aaed01 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_EntrustOutBackBill_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_EntrustOutBackBill_Fast.html" @@ -341,7 +341,7 @@ { table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/Kf_EntrustInBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/Kf_EntrustInBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: linterid, HBillType: '1238', sWhere: '' } , cols: [[{ type: 'radio' } @@ -674,7 +674,7 @@ layer.load(3) table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/Kf_EntrustInBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/Kf_EntrustInBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1238', sWhere: '' } , cols: [[ @@ -728,7 +728,7 @@ table.render({ elem: '#wl-table' //, url: 'http://l192.168.16.145:8011//Kf_EntrustInBill/DisBillEntryList_Webs_Json' - , url: GetWEBURL1() + '/Kf_EntrustInBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/Kf_EntrustInBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1238', sWhere: '' } , cols: [[ 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_EntrustOutBackBill_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_EntrustOutBackBill_FastList.html" index 44a71a7..2aa8670 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_EntrustOutBackBill_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_EntrustOutBackBill_FastList.html" @@ -133,7 +133,7 @@ var sBillType = '1238' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ @@ -181,7 +181,7 @@ //layer.msg(data.Message, { icon: 1 }); table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' , cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HBillType: '1238', sWhere: '' } @@ -219,7 +219,7 @@ var sBillType = '1238' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ 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 86b3c1e..2b3aeaa 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" @@ -316,7 +316,7 @@ { table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/EntrustOut/DisBillEntryList_Entrust_Webs_Json' + , url: GetWEBURL() + '/EntrustOut/DisBillEntryList_Entrust_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: linterid, HBillType: '1211', sWhere: '' } , cols: [[ @@ -631,7 +631,7 @@ layer.load(3) table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/EntrustOut/DisBillEntryList_Entrust_Webs_Json' + , url: GetWEBURL() + '/EntrustOut/DisBillEntryList_Entrust_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1211', sWhere: '' } , cellMinWidth: 90 @@ -684,7 +684,7 @@ table.render({ elem: '#wl-table' // , url: 'http://61.130.49.162:9090/WMSAPI///EntrustOut/DisBillEntryList_Entrust_Webs_Json' - , url: GetWEBURL1() + '/EntrustOut/DisBillEntryList_Entrust_Webs_Json' + , url: GetWEBURL() + '/EntrustOut/DisBillEntryList_Entrust_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sNewInterID, HBillType: '1211', sWhere: '' } , cols: [[ 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 b281070..e069701 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" @@ -133,7 +133,7 @@ var sBillType = '1211' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ @@ -181,7 +181,7 @@ //layer.msg(data.Message, { icon: 1 }); table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' , cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HBillType: '1211', sWhere: '' } @@ -219,7 +219,7 @@ var sBillType = '1211' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ 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_SellOutBackBill_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_SellOutBackBill_Fast.html" index 600054e..6471690 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_SellOutBackBill_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_SellOutBackBill_Fast.html" @@ -353,7 +353,7 @@ { table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/SellOutBack/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/SellOutBack/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: linterid, HBillType: '1247', sWhere: '' } , cols: [[ @@ -548,7 +548,7 @@ //layer.msg(data.Message, { icon: 1 }); table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/SellOutBack/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/SellOutBack/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1247', sWhere: '' } , cols: [[ @@ -682,7 +682,7 @@ layer.load(3); table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/SellOutBack/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/SellOutBack/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1247', sWhere: '' } , cols: [[ @@ -760,7 +760,7 @@ table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/SellOutBack/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/SellOutBack/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1247', sWhere: '' } , cols: [[ 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_SellOutBackBill_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_SellOutBackBill_FastList.html" index 5fc749c..f722fa0 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_SellOutBackBill_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_SellOutBackBill_FastList.html" @@ -133,7 +133,7 @@ var sBillType = '1247' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ @@ -181,7 +181,7 @@ //layer.msg(data.Message, { icon: 1 }); table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' , cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HBillType: '1247', sWhere: '' } @@ -219,7 +219,7 @@ var sBillType = '1247' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ 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 fae1203..c7e994f 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" @@ -390,7 +390,7 @@ { table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/SellOut/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/SellOut/DisBillEntryList_Webs_Json' , cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HBillID: linterid, HBillType: '1205', sWhere: '' } @@ -588,7 +588,7 @@ if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜� table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/SellOut/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/SellOut/DisBillEntryList_Webs_Json' , cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1205', sWhere: '' } @@ -801,7 +801,7 @@ table.render({ elem: '#wl-table' // , url: 'http://61.130.49.162:9090/WMSAPI///OtherInStockBill/DisBillEntryList_Webs_Json' - , url: GetWEBURL1() + '/SellOut/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/SellOut/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1205', sWhere: '' } , cols: [[ @@ -905,7 +905,7 @@ // table.render({ // elem: '#wl-table' // //, url: 'http://61.130.49.162:9090/WMSAPI///SellOut/DisBillEntryList_Webs_Json' - // , url: GetWEBURL1() + '/SellOut/DisBillEntryList_Webs_Json' + // , url: GetWEBURL() + '/SellOut/DisBillEntryList_Webs_Json' // , toolbar: '#toolbarDemo' // , where: { HBillID: sInterID, HBillType: '1205', sWhere: '' } // , cellMinWidth: 90 @@ -966,7 +966,7 @@ element.tabChange('tab-SellOutBill', '3'); table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/SellOut/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/SellOut/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1205', sWhere: '' } , cols: [[ 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 c59e1bd..8d00f10 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" @@ -133,7 +133,7 @@ var sBillType = '1205' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ @@ -181,7 +181,7 @@ //layer.msg(data.Message, { icon: 1 }); table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' , cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HBillType: '1205', sWhere: '' } @@ -219,7 +219,7 @@ var sBillType = '1205' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ 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_MateOutBackBill_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_MateOutBackBill_Fast.html" index c76c57f..1578dc1 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_MateOutBackBill_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_MateOutBackBill_Fast.html" @@ -301,7 +301,7 @@ { table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/MateOutBackBill/DisBillEntryListBack_Webs_Json' + , url: GetWEBURL() + '/MateOutBackBill/DisBillEntryListBack_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: linterid, HBillType: '1244', sWhere: '' } , cols: [[ @@ -485,7 +485,7 @@ //layer.msg(data.Message, { icon: 1 }); table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/MateOutBackBill/DisBillEntryListBack_Webs_Json' + , url: GetWEBURL() + '/MateOutBackBill/DisBillEntryListBack_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1244', sWhere: '' } , cols: [[ @@ -668,7 +668,7 @@ layer.load(3) table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/MateOutBackBill/DisBillEntryListBack_Webs_Json' + , url: GetWEBURL() + '/MateOutBackBill/DisBillEntryListBack_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1244', sWhere: '' } , cols: [[ @@ -718,7 +718,7 @@ layer.load(3) table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/MateOutBackBill/DisBillEntryListBack_Webs_Json' + , url: GetWEBURL() + '/MateOutBackBill/DisBillEntryListBack_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1244', sWhere: '' } , cols: [[ 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_MateOutBackBill_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_MateOutBackBill_FastList.html" index fd3dff5..3dc9b69 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_MateOutBackBill_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_MateOutBackBill_FastList.html" @@ -133,7 +133,7 @@ var sBillType = '1244' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ @@ -181,7 +181,7 @@ //layer.msg(data.Message, { icon: 1 }); table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' , cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HBillType: '1244', sWhere: '' } @@ -219,7 +219,7 @@ var sBillType = '1244' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ 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 5f91e0b..08cc359 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" @@ -295,7 +295,7 @@ { table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/MateOutBill/DisBillEntryList_Webs_New_Json' + , url: GetWEBURL() + '/MateOutBill/DisBillEntryList_Webs_New_Json' //, cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HBillID: linterid, HBillType: '1204', sWhere: '' } @@ -519,7 +519,7 @@ if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜� table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/MateOutBill/DisBillEntryList_Webs_New_Json' + , url: GetWEBURL() + '/MateOutBill/DisBillEntryList_Webs_New_Json' //, cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1204', sWhere: '' } @@ -712,7 +712,7 @@ layer.load(3) table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/MateOutBill/DisBillEntryList_Webs_New_Json' + , url: GetWEBURL() + '/MateOutBill/DisBillEntryList_Webs_New_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1204', sWhere: '' } , cellMinWidth: 90 @@ -764,7 +764,7 @@ layer.load(3) table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/MateOutBill/DisBillEntryList_Webs_New_Json' + , url: GetWEBURL() + '/MateOutBill/DisBillEntryList_Webs_New_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1204', sWhere: '' } , cols: [[ 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 d151eeb..f3968b9 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" @@ -133,7 +133,7 @@ var sBillType = '1204' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ @@ -181,7 +181,7 @@ //layer.msg(data.Message, { icon: 1 }); table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' , cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HBillType: '1204', sWhere: '' } @@ -219,7 +219,7 @@ var sBillType = '1204' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ 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_ProductInBackBill.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_ProductInBackBill.html" index f0a2726..3b1cdb4 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_ProductInBackBill.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_ProductInBackBill.html" @@ -297,7 +297,7 @@ { table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/ProductIn/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: linterid, HBillType: '1245', sWhere: '' } , cols: [[ @@ -468,7 +468,7 @@ //layer.msg(data.Message, { icon: 1 }); table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/ProductIn/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1245', sWhere: '' } , cols: [[ @@ -678,7 +678,7 @@ layer.load(3) table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/ProductIn/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1245', sWhere: '' } , cols: [[ @@ -733,7 +733,7 @@ table.render({ elem: '#wl-table' //, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Webs_Json' - , url: GetWEBURL1() + '/ProductInBackBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/ProductInBackBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1245', sWhere: '' } , cols: [[ 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_ProductInBackBillList.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_ProductInBackBillList.html" index 5f6eb85..a70346d 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_ProductInBackBillList.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_ProductInBackBillList.html" @@ -133,7 +133,7 @@ var sBillType = '1245' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ @@ -181,7 +181,7 @@ //layer.msg(data.Message, { icon: 1 }); table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' , cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HBillType: '1245', sWhere: '' } @@ -219,7 +219,7 @@ var sBillType = '1245' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ 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 502ed94..e89cab8 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" @@ -318,7 +318,7 @@ { table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/ProductIn/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json' , cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HBillID: linterid, HBillType: '1202', sWhere: '' } @@ -526,7 +526,7 @@ table.render({ elem: '#wl-table' //, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Mate_Webs_Json' - , url: GetWEBURL1() + '/ProductIn/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json' , cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1202', sWhere: '' } @@ -738,7 +738,7 @@ table.render({ elem: '#wl-table' //, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Webs_Json' - , url: GetWEBURL1() + '/ProductIn/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1202', sWhere: '' } , cols: [[ @@ -806,7 +806,7 @@ table.render({ elem: '#wl-table' //, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Webs_Json' - , url: GetWEBURL1() + '/ProductIn/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1202', sWhere: '' } , cols: [[ 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 5c45082..7f6b80f 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" @@ -159,7 +159,7 @@ var sBillType = '1202' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/ProductIn/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/ProductIn/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ @@ -208,8 +208,8 @@ table.render({ elem: '#dj-table' //, url: 'http://61.130.49.162:9090/WMSAPI///POStockInBill/DisBillEntryList_Mate_Webs_Json' - //, url: GetWEBURL1() + '/POStockInBill/DisBillEntryList_Mate_Webs_Json' - , url: GetWEBURL1() + '/ProductInBillList/DisBillEntryList_Mate_Webs_Json' + //, url: GetWEBURL() + '/POStockInBill/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/ProductInBillList/DisBillEntryList_Mate_Webs_Json' , cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HBillType: '1202', sWhere: '' } @@ -247,7 +247,7 @@ var sBillType = '1202' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/ProductIn/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/ProductIn/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ 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_OtherInBackBill_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_OtherInBackBill_Fast.html" index 5bee369..9de8768 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_OtherInBackBill_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_OtherInBackBill_Fast.html" @@ -314,7 +314,7 @@ { table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/OtherInStockBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/OtherInStockBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: linterid, HBillType: '1248', sWhere: '' } , cols: [[ @@ -478,7 +478,7 @@ //layer.msg(data.Message, { icon: 1 }); table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/OtherInStockBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/OtherInStockBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1248', sWhere: '' } , cols: [[ @@ -679,7 +679,7 @@ layer.load(3) table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/OtherInStockBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/OtherInStockBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1248', sWhere: '' } , cols: [[ @@ -730,7 +730,7 @@ layer.load(3) table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/OtherInStockBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/OtherInStockBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1248', sWhere: '' } , cols: [[ 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_OtherInBackBill_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_OtherInBackBill_FastList.html" index 205d0ab..e33f82b 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_OtherInBackBill_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_OtherInBackBill_FastList.html" @@ -133,7 +133,7 @@ var sBillType = '1248' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ @@ -181,7 +181,7 @@ //layer.msg(data.Message, { icon: 1 }); table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' , cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HBillType: '1248', sWhere: '' } @@ -220,7 +220,7 @@ var sBillType = '1248' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ 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 176e6eb..8911c1c 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" @@ -290,7 +290,7 @@ { table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/OtherInStockBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/OtherInStockBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: linterid, HBillType: '1203', sWhere: '' } , cols: [[ @@ -387,7 +387,7 @@ var sInterID = $("#HInterID").val() table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/OtherInStockBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/OtherInStockBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: linterid, HBillType: '1203', sWhere: '' } , cols: [[ @@ -551,7 +551,7 @@ if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝 table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/OtherInStockBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/OtherInStockBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1203', sWhere: '' } , cols: [[ @@ -771,7 +771,7 @@ layer.load(3) table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/OtherInStockBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/OtherInStockBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1203', sWhere: '' } , cellMinWidth: 90 @@ -853,7 +853,7 @@ table.render({ elem: '#wl-table' //, url: 'http://61.130.49.162:9090/WMSAPI///OtherInStockBill/DisBillEntryList_Webs_Json' - , url: GetWEBURL1() + '/OtherInStockBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/OtherInStockBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1203', sWhere: '' } , cols: [[ 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 90eac86..a0a5b70 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" @@ -133,7 +133,7 @@ var sBillType = '1203' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ @@ -181,7 +181,7 @@ //layer.msg(data.Message, { icon: 1 }); table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' , cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HBillType: '1203', sWhere: '' } @@ -220,7 +220,7 @@ var sBillType = '1203' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ 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_POStockInBackBill.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_POStockInBackBill.html" index 2db7186..958c717 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_POStockInBackBill.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_POStockInBackBill.html" @@ -376,7 +376,7 @@ { table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/POStockInBackBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/POStockInBackBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: linterid, HBillType: '1239', sWhere: '' } , cols: [[ @@ -587,7 +587,7 @@ //layer.msg(data.Message, { icon: 1 }); table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/POStockInBackBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/POStockInBackBill/DisBillEntryList_Webs_Json' , cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1239', sWhere: '' } @@ -807,7 +807,7 @@ layer.load(3) table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/POStockInBackBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/POStockInBackBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1239', sWhere: '' } , cols: [[ @@ -872,7 +872,7 @@ table.render({ elem: '#wl-table' //, url: 'http://61.130.49.162:9090/WMSAPI///POStockInBackBill/DisBillEntryList_Webs_Json' - , url: GetWEBURL1() + '/POStockInBackBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/POStockInBackBill/DisBillEntryList_Webs_Json' //, toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1239', sWhere: '' } , cols: [[ diff --git "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\244\226\350\264\255\345\205\245\345\272\223/Kf_POStockInBackBillList.html" "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\244\226\350\264\255\345\205\245\345\272\223/Kf_POStockInBackBillList.html" index ee70878..dac11d5 100644 --- "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\244\226\350\264\255\345\205\245\345\272\223/Kf_POStockInBackBillList.html" +++ "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\244\226\350\264\255\345\205\245\345\272\223/Kf_POStockInBackBillList.html" @@ -133,7 +133,7 @@ var sBillType = '1239' table.render({ elem: '#dj-table' - ,url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + ,url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ @@ -182,8 +182,8 @@ table.render({ elem: '#dj-table' //, url: 'http://61.130.49.162:9090/WMSAPI///POStockInBill/DisBillEntryList_Mate_Webs_Json' - //, url: GetWEBURL1() + '/POStockInBill/DisBillEntryList_Mate_Webs_Json' - , url: GetWEBURL1() + '/POStockInBillList/DisBillEntryList_Mate_Webs_Json' + //, url: GetWEBURL() + '/POStockInBill/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/POStockInBillList/DisBillEntryList_Mate_Webs_Json' , cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HBillType: '1239', sWhere: '' } @@ -221,7 +221,7 @@ var sBillType = '1239' table.render({ elem: '#dj-table' - ,url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + ,url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ 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 0bef8b6..7dcf0ab 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" @@ -1,1092 +1,1097 @@ -锘�<!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, maximum-scale=1"> - <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all"> - <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all"> - <style> - .layui-table-cell{ - height:auto; - white-space:normal; - } - </style> -</head> -<body> - <div class="layui-fluid" style="padding:0"> - <div class="layui-card" style="padding: 1px"> - <div class="layui-card-body" style="padding: 5px; height:800px;"> - <form class="layui-form" action="" lay-filter="component-form-group"> - <div style="background-color:#0085E8;"> - <span style="color: white;"><i class="layui-icon layui-icon-form"></i>澶栬喘鍏ュ簱鍗�</span> - </div> - <div class="layui-form-item" style="padding:15px;margin:0px"> - <div class="layui-row"> - <div class="layui-col-xs3"> - <label class="layui-form-label" style="width:60px;padding-left:0px;">MES搴撲綅</label> - </div> - <div class="layui-col-xs8"> - <input type="text" name="HMESSPName" id="HMESSPName" autocomplete="off" class="layui-input"> - <input type="hidden" name="HMESSPID" id="HMESSPID" value="0" autocomplete="off" class="layui-input"> - <input type="hidden" name="HExplanation" id="HExplanation" autocomplete="off" class="layui-input"> - </div> - </div> - <div class="layui-row"> - <div class="layui-col-xs3"> - <label class="layui-form-label" style="width:40px;padding-left:0px;">鏉$爜</label> - </div> - <div class="layui-col-xs8"> - <input type="text" name="HBarCode" id="HBarCode" lay-verify="HBarCode" autocomplete="off" class="layui-input"> - </div> - </div> - </div> - <div class="layui-tab layui-col-xs12" lay-filter="tab-POStockInBill"> - <ul class="layui-tab-title" lay-filter="tab-all"> - <li lay-id="1" style="padding:1px;" class="layui-this">婧愬崟淇℃伅</li> - <li lay-id="2" style="padding:1px;">鍗曟嵁淇℃伅</li> - <li lay-id="3" style="padding:1px;">鐗╂枡娓呭崟</li> - <li lay-id="4" style="padding:1px;">鍚堣淇℃伅</li> - </ul> - <div class="layui-tab-content"> - <!--婧愬崟淇℃伅--> - <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> - <option value="1102">閲囪喘璁㈠崟</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> - </div> - <div class="layui-col-xs8"> - <input type="text" name="HSourceBillNo" id="HSourceBillNo" lay-verify="HSourceBillNo" autocomplete="off" class="layui-input"> - </div> - </div> - </div> - </div> - <!--鍗曟嵁淇℃伅--> - <div class="layui-tab-item"> - <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="HWHNAME" id="HWHNAME" lay-verify="HWHNAME" autocomplete="off" class="layui-input"> - <input type="hidden" name="HWHID" id="HWHID" lay-verify="HWHID" value="0" autocomplete="off" class="layui-input"> - </div> - <div class="layui-col-xs2"> - <button type="button" lay-submit="" class="layui-btn" lay-filter="HWHID-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="HStockPlaceName" id="HStockPlaceName" lay-verify="HStockPlaceName" autocomplete="off" class="layui-input" style="background-color:#efefef4d;" readonly> - <input type="hidden" name="HStockPlaceID" id="HStockPlaceID" lay-verify="HStockPlaceID" value="0" autocomplete="off" class="layui-input"> - </div> - <div class="layui-col-xs3"> - <button type="button" lay-submit="" class="layui-btn" lay-filter="HSpID-BT" style="display:none">...</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:45px;padding-left:0px;">渚涘簲鍟�</label> - </div> - <div class="layui-col-xs6"> - <input type="text" name="HSupName" id="HSupName" lay-verify="HSupName" autocomplete="off" class="layui-input" disabled="disabled"> - <input type="hidden" name="HSupID" id="HSupID" lay-verify="HSupID" value="0" autocomplete="off" class="layui-input"> - </div> - <div class="layui-col-xs3"> - <button type="button" lay-submit="" class="layui-btn" lay-filter="HSupID-BT" disabled="disabled">...</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="HKeeper" id="HKeeper" lay-verify="HKeeper" autocomplete="off" class="layui-input"> - <input type="hidden" name="HKeeperID" id="HKeeperID" lay-verify="HKeeperID" value="0" autocomplete="off" class="layui-input"> - </div> - <div class="layui-col-xs3"> - <button type="button" lay-submit="" class="layui-btn" lay-filter="HKeeperID-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="HSecManager" id="HSecManager" lay-verify="HSecManager" autocomplete="off" class="layui-input"> - <input type="hidden" name="HSecManagerID" id="HSecManagerID" lay-verify="HSecManagerID" value="0" autocomplete="off" class="layui-input"> - </div> - <div class="layui-col-xs3"> - <button type="button" lay-submit="" class="layui-btn" lay-filter="HSecManagerID-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"> - <input type="text" name="HBillerID" id="HBillerID" lay-verify="HBillerID" autocomplete="off" class="layui-input"> - <input type="text" name="HMaker" id="HMaker" lay-verify="HMaker" autocomplete="off" class="layui-input"> - <input type="hidden" name="HMakerID" id="HMakerID" lay-verify="HMakerID" value="0" autocomplete="off" class="layui-input" style="display : none"> - </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="HDeptName" id="HDeptName" lay-verify="HDeptName" autocomplete="off" class="layui-input"> - <input type="hidden" name="HDeptID" id="HDeptID" lay-verify="HDeptID" value="0" autocomplete="off" class="layui-input"> - </div> - <div class="layui-col-xs3"> - <button type="button" lay-submit="" class="layui-btn" lay-filter="HDeptID-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:45px;padding-left:0px;">鍗曟嵁鍙�</label> - </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> - </div> - <!--鐗╂枡娓呭崟--> - <div class="layui-tab-item"> - <div class="layui-row"> - <div class="layui-col-xs12"> - <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:40px;padding-left:0px;">鏁伴噺</label> - </div> - <div class="layui-col-xs8"> - <input type="text" name="HQty" id="HQty" lay-verify="HQty" autocomplete="off" class="layui-input"> - </div> - </div> - </div> - <table class="layui-hide" id="wl-table" lay-filter="wl-table"></table> - </div> - </div> - </div> - <!--鍚堣淇℃伅--> - <div class="layui-tab-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 layui-input-inline mobile"> - <input type="text" name="HBarcodeQtys" id="HBarcodeQtys" lay-verify="HBarcodeQtys" value="0" autocomplete="off" class="layui-input"> - </div> - </div> - <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 layui-input-inline mobile"> - <input type="text" name="HSumQtys" id="HSumQtys" lay-verify="HSumQtys" value="0" autocomplete="off" class="layui-input"> - </div> - </div> - <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 layui-input-inline mobile"> - <input type="text" name="HNote" id="HNote" lay-verify="HNote" autocomplete="off" class="layui-input"> - </div> - </div> - </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="cmdDelete">鍒犻櫎</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> - </form> - </div> - </div> - </div> - <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> - <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 - , element = layui.element; - //娓呯┖鐣岄潰 new - - - //琛ㄥご鍒濆鍖栬祴鍊硷紙鏍规嵁鐧诲綍鐢ㄦ埛鑾峰彇 榛樿浠撳簱銆侀儴闂ㄣ�侀獙鏀躲�佷繚绠°�侀噾铦剁敤鎴凤級 new - $("#HWHID").val(sessionStorage["HWHID"]); - $("#HWHNAME").val(sessionStorage["HWHName"]); - $("#HStockPlaceID").val(sessionStorage["HSPID"]); - $("#HStockPlaceName").val(sessionStorage["HSPName"]); - //$("#HSupID").val(sessionStorage["HSupID"]); - //$("#HSupName").val(sessionStorage["HSupName"]); - $("#HDeptID").val(sessionStorage["HDeptID"]); - $("#HDeptName").val(sessionStorage["HDept"]); - $("#HSecManagerID").val(sessionStorage["HSecManagerID"]); - $("#HSecManager").val(sessionStorage["HSecManager"]); - $("#HKeeperID").val(sessionStorage["HKeeperID"]); - $("#HKeeper").val(sessionStorage["HKeeper"]); - $("#HMaker").val(sessionStorage["HUserName"]); - $("#HMaker").hide(); - $("#HMakerID").hide(); - $("#HBillerID").val(sessionStorage["HBillerID"]); - $("#HBillerID").hide(); - //榛樿甯﹀叆鐨勪粨搴擄紝濡傛灉鍚敤浠撲綅鍒欎粨浣嶆湁鏁堬紝濡傛灉娌℃湁鍚敤鍒欎粨浣嶇伆搴� new - - - //鑾峰彇鍙傛暟 - 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]]; //浠庡弬鏁颁腑鑾峰彇 鍗曟嵁鍐呯爜 - var lSourceBillType = params[params[2]]; //浠庡崟鎹幏鍙� 婧愬崟绫诲瀷 - - function RoadBillMain(linterid)//鍔犺浇琛ㄥご - { - $.ajax({ - url: GetWEBURL() + "/Web/GetPonderationBill", - type: "GET", - data: { "HInterID": linterid }, - success: function (d) { - // console.log(d.data); - $("#HInterID").val(d.data[0].HInterID); - $("#HBillNo").val(d.data[0].HBillNo); - $("#HBillType").val(d.data[0].HSourceBillType); - $("#HSourceBillNo").val(d.data[0].HSourceBillNo); - //$("#HWHID").val(d.data[0].HWhID); - //$("#HKeeperID").val(d.data[0].HKeeperID); - //$("#HSecManagerID").val(d.data[0].HSecManagerID); - //$("#HDeptID").val(d.data[0].HDeptID); - //$("#HBarCode").val(d.data[0].HBarCode); - //$("#HQty").val(d.data[0].HQty); - RoadSup(); - } - }) - } - - function RoadSup()//鏍规嵁婧愬崟绫诲瀷鍙婃簮鍗曞彿 鍔犺浇渚涘簲鍟� - { - //var sInterID = $("#HInterID").val() - var HSourceBillNo = $('#HSourceBillNo').val() - var sInterID = $("#HInterID").val() - var sBillNo = $("#HBillNo").val() - var HSourceBillType = $("#HBillType").val() - //鍒ゆ柇鏂囨湰妗嗘槸鍚︽湁鏁版嵁 new - if (HSourceBillNo == "" || sInterID <= 0) { - layer.msg($('#HSourceBillNo').val(), { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - return; - } - else { - $.ajax({ - url: GetWEBURL() + "/POStockInBill/get_GetCg_POOrderBillList", - type: "GET", - data: { "HSourceBillType": HSourceBillType, "HSourceBillNo": HSourceBillNo, "sInterID": sInterID, "sBillNo": sBillNo }, - success: function (result) { - if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝 - $("#HSupID").val(result.data[0].HSupID); - $("#HSupName").val(result.data[0].HSupName); - $("#HDeptID").val(result.data[0].HDeptID); - $("#HDeptName").val(result.data[0].HDeptName); - sessionStorage["SourceFlag"] = true; - element.tabChange('tab-POStockInBill', '2'); - layer.load(3); - } - else { - layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - } - layer.closeAll("loading"); - } - }); - } - } - - function RoadBillSub(linterid)//鍔犺浇琛ㄤ綋 - { - table.render({ - elem: '#wl-table' - , url: GetWEBURL1() + '/POStockInBill/DisBillEntryList_Webs_Json' - , where: { HBillID: linterid, HBillType: '1201', sWhere: '' } - , cols: [[ - { type: 'radio' } - , { field: 'HQty', title: '鏁伴噺', sort: true } - , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', sort: true } - , { field: 'HMaterNumber', title: '鐗╂枡浠g爜', sort: true } - , { field: 'HMaterName', title: '鐗╂枡鍚嶇О', sort: true } - , { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿', sort: true } - , { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', sort: true } - , { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', sort: true } - , { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', sort: true } - , { field: 'HBatchNo', title: '鎵规', sort: true } - ]] - , height: 500 - , done: function () { - layer.closeAll("loading"); - } - }); - } - - //鍔ㄦ�佸姞杞芥簮鍗曠被鍨嬪垪琛� new - - - - - - - - //鍒ゆ柇鏄惁鏂板 - if (linterid == null || linterid == 0) { - //鑾峰彇鏈�澶у崟鎹彿 new - $("#HInterID").val(""); - $("#HBillNo").val(""); - $.ajax({ - url: GetWEBURL() + "/Web/GetMAXNum", - //url: GetWEBURL() + "/Web/UpdatePOInStockBillPrintQty", //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚� - type: "GET", - data: { "HBillType": '1201' }, - success: function (d) { - //console.log(d.data); - $("#HInterID").val(d.data[0].HInterID); - $("#HBillNo").val(d.data[0].HBillNo); - } - }); - } - else {//濡傛灉淇敼鍒欒蛋涓嬮潰 new - RoadBillMain(linterid); - RoadBillSub(linterid); - } - //濡傛灉淇敼鍒欒蛋涓嬮潰 new - - - - - //杩涘叆鐗╂枡鏄庣粏椤电銆佹潯鐮佹 鍏夋爣鐒︾偣 new - if (1 == 2) - { - element.tabChange('tab-POStockInBill', '3'); - var pFocus = $("#HBarCode"); - pFocus.focus(); - pFocus.select(); - } - else - { - element.tabChange('tab-POStockInBill', '1'); - var pFocus = $("#HSourceBillNo"); - pFocus.focus(); - pFocus.select(); - } - // - // - form.on('submit(HWHID-BT)', function () {//閫夋嫨璋冨叆浠撳簱 - layer.open({ - type: 2 - , area: ['100%', '100%'] - , title: '浠撳簱鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_WarehouseList.html?Type=HWHID', 'yes'] - , resize: false - , cancel: function () { - //$(".layui-btn").removeClass("layui-btn-disabled"); - } - }) - }); - form.on('submit(HSpID-BT)', function () {//閫夋嫨璋冨叆浠撲綅 - layer.open({ - type: 2 - , area: ['100%', '100%'] - , title: '浠撲綅鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_StockPlaceList.html?HWhID=' + sessionStorage["HWHID"] + '&Type=HSpID', 'yes'] - , resize: false - , cancel: function () { - //$(".layui-btn").removeClass("layui-btn-disabled"); - } - }) - }); - form.on('submit(HSupID-BT)', function () {//閫夋嫨渚涘簲鍟� - layer.open({ - type: 2 - , area: ['100%', '100%'] - , title: '渚涘簲鍟嗗垪琛�' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_SupplierList.html', 'yes'] - , resize: false - , cancel: function () { - //$(".layui-btn").removeClass("layui-btn-disabled"); - } - }) - }); - form.on('submit(HKeeperID-BT)', function () {//閫夋嫨淇濈 - layer.open({ - type: 2 - , area: ['100%', '100%'] - , title: '淇濈鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes'] - , resize: false - , cancel: function () { - //$(".layui-btn").removeClass("layui-btn-disabled"); - } - }) - }); - form.on('submit(HSecManagerID-BT)', function (data) {//閫夋嫨楠屾敹 - var sMainStr = JSON.stringify(data.field); - layer.open({ - type: 2 - , area: ['100%', '100%'] - , title: '楠屾敹鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HSecManager', 'yes'] - , resize: false - , cancel: function () { - //$(".layui-btn").removeClass("layui-btn-disabled"); - } - }) - }); - form.on('submit(HDeptID-BT)', function () {//閫夋嫨閮ㄩ棬 - layer.open({ - type: 2 - , area: ['100%', '100%'] - , title: '閮ㄩ棬鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_DepartmentList.html', 'yes'] - , resize: false - , cancel: function () { - //$(".layui-btn").removeClass("layui-btn-disabled"); - } - }) - }); - - form.on('submit(Cancel)', function () { - sessionStorage["SourceFlag"] = false; - parent.location.href = "../../../views/index.html" - //window.close();//鍏抽棴褰撳墠椤� - }) - - form.on('submit(cmdModify)', function () {//缂栬緫 - var sSubStr = table.cache['wl-table']; - //if (AllowLoadData(sSubStr) != false) {//闈炵┖楠岃瘉 - layer.open({ - type: 2 - , area: ['100%', '100%'] - , title: '鏄庣粏鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/鍏叡椤甸潰/Kf_BarCodeEditDlg.html?table=' + JSON.stringify(sSubStr), 'yes'] - , resize: false - , cancel: function () { - //$(".layui-btn").removeClass("layui-btn-disabled"); - } - }) - // } - }); - - form.on('submit(cmdDelete)', function () {//鍒犻櫎 - var checkStatus = table.checkStatus('wl-table') - , data = checkStatus.data; - // console.log(data); - var sInterID = $('#HInterID').val() - var sMaterID = data[0].HMaterID - var sBillType = '1201' - var sAuxPropID = data[0].HAuxPropID - //var sMTONo = data[0].HMTONo - var sMTONo = '' - var sSourceInterID = data[0].HSourceInterID - var sSourceEntryID = data[0].HSourceEntryID - $.ajax( - { - type: "Get", - //url: "http://61.130.49.162:9090/WMSAPI///POStockInBill/Delete_Json", //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚� - url: GetWEBURL() + "/POStockInBill/Delete_Json", - async: true, - data: { "HInterID": sInterID, "HMaterID": sMaterID, "HAuxPropID": sAuxPropID, "HMTONo": sMTONo, "HSourceInterID": sSourceInterID, "HSourceEntryID": sSourceEntryID, "sHBillType": '1103', }, - dataType: "json", - success: function (data) { - if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝 - //layer.msg(data.Message, { icon: 1 }); - table.render({ - elem: '#wl-table' - //, url: 'http://61.130.49.162:9090/WMSAPI///POStockInBill/DisBillEntryList_Mate_Webs_Json' - //, url: GetWEBURL1() + '/POStockInBill/DisBillEntryList_Mate_Webs_Json' - , url: GetWEBURL1() + '/POStockInBill/DisBillEntryList_Webs_Json' - , cellMinWidth: 80 - , toolbar: '#toolbarDemo' - , where: { HBillID: sInterID, HBillType: '1201', sWhere: '' } - , 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 } - ]] - , height: 500 - }) - } - 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: "娓╅Θ鎻愮ず" }); - } - }); - }); - - //鎻愪氦 - form.on('submit(Saver)', function (data) {//鎻愪氦 - if ($("#HExplanation").val() == "") { - if ($("#HWHNAME").val() == "瀹藉箙鎴愬搧浠揘EW" || $("#HWHNAME").val() == "鏍锋湰浠揘EW") { - $("#HWHNAME").val(""); - $("#HWHID").val(""); - layer.msg("璇锋壂MES搴撲綅鐮侊紒", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - return; - } - } - var sMainStr = JSON.stringify(data.field); - var sSubStr = table.cache['wl-table']; - var sSourceType = $("#HBillType").val(); - if (AllowLoadData(sSubStr, 'Saver') != false)//闈炵┖楠岃瘉 - { - layer.load(3); - $.ajax( - { - type: "POST", - //url: "http://61.130.49.162:9090/WMSAPI///POStockInBill/set_SavePOStockInBill_Json", //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚� - url: GetWEBURL() + "/POStockInBill/set_SavePOStockInBill_Json", - async: true, - data: { "oMain": sMainStr}, - dataType: "json", - success: function (data) { - if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜� - sessionStorage["SourceFlag"] = false; - layer.confirm("鏀舵枡" + data.Message + $("#HBillNo").val(), { - icon: 1, - skin: 'layui-layer-lan', closeBtn: 0, btn: ['纭'], btn2: function () { - //parent.layui.admin.events.closeThisTabs();鍏抽棴椤电 - //window.close();//鍏抽棴椤甸潰锛屾祻瑙堝櫒鏈夋晥锛孭DA鏃犳晥 - //window.location.reload();//鏂板 - parent.location.href = "../../../views/index.html" - }//鍏抽棴 - } , function () { parent.location.href = "../../../views/index.html"; }//鏂板 ); - } - else { - //layer.msg(data.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't' }); - layer.msg(data.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - } - layer.closeAll("loading"); - layui.form.render(); - }, - error: function (err) { - //layer.msg("閿欒:" + err, { icon: 5, btn: ['纭'], time: 100000, offset: 't' }); - layer.msg("閿欒:" + err, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - } - }); - return false; - } - }); - //鐩戝惉鎻愪氦 - form.verify({ - numberOrEmpty: function (value, item) { - // if (value != '') { - if (!/^\d+$/.test(value)) { - return '涓嶈兘涓虹┖鎴栨暟瀛楁垨鑰�0'; - } - //} - } - }); - - //鎵潯鐮� - $('#HBarCode').on('keydown', function (event) { //鎵潯鐮� - var sSubStr = table.cache['wl-table']; - var sBarCode = $('#HBarCode').val() - var sInterID = $("#HInterID").val() - var sBillNo = $("#HBillNo").val() - var sQty = $("#HQty").val() - var sHBillType = $("#HBillType").val() //婧愬崟绫诲瀷 - var sBillType = '1201' - var sHWHID = $("#HWHID").val() - var sHSPID = $("#HStockPlaceID").val() - var sSourceBillNo = $("#HSourceBillNo").val() - // var Flag = sessionStorage["SourceFlag"]; - if (sQty == "") { - sQty = 0; - } - if (event.keyCode == 13) { - //鍒ゆ柇鏉$爜鏄惁涓虹┖ new - if (sBarCode == '') { - layer.msg("鏉$爜涓虹┖锛屼笉鑳芥壂鎻忥紒", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - return false; - } - if (sBarCode != "") { - $('#HBarCode').val(""); - } - if (sQty != "") { - $('#HQty').val(""); - } - if (sHWHID == "184154") { - if (sHSPID == "0") { - layer.msg("浠撲綅涓虹┖锛岃閫夋嫨浠撲綅锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - return false; - } - } - //if (AllowLoadData(sSubStr, 'HBarCode') != false) {//闈炵┖楠岃瘉 - $.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": 0 }, - success: function (result) { - if (result.count == 1) { - if (result.data.HBarType == '浠撳簱鏉$爜') { - $("#HWHNAME").val(result.data.HWhName); - $("#HWHID").val(result.data.HWhID); - $("#HStockPlaceName").val(""); - $("#HNote").val(";涓�閿壂鐮佷粨搴撴潯鐮�"); - element.tabChange('tab-POStockInBill', '2'); //璺宠浆椤电 - } - else if (result.data.HBarType == '浠撲綅鏉$爜') { - $("#HStockPlaceName").val(result.data.HSPName); - $("#HStockPlaceID").val(result.data.HSPID); - $("#HWHNAME").val(result.data.HWhName); - $("#HWHID").val(result.data.HWhID); - $("#HNote").val(";涓�閿壂鐮佷粨浣嶆潯鐮�"); - element.tabChange('tab-POStockInBill', '2');//璺宠浆椤电 - } - else if (result.data.HBarType == '閮ㄩ棬鏉$爜') { - $("#HDeptName").val(result.data.HDeptName); - $("#HDeptID").val(result.data.HDeptID); - $("#HNote").val(";涓�閿壂鐮侀儴闂ㄦ潯鐮�"); - element.tabChange('tab-POStockInBill', '2');//璺宠浆椤电 - } - else if (result.data.HBarType == '婧愬崟鏉$爜') { - $("#HSupName").val(result.data.HSupName); - $("#HSupID").val(result.data.HSupID); - $("#HDeptName").val(result.data.HDeptName); - $("#HDeptID").val(result.data.HDeptID); - $("#HSourceBillNo").val(result.data.HSourceBillNo); - sessionStorage["SourceFlag"] = true; - //鑾峰彇婧愬崟绫诲瀷銆佹簮鍗曞崟鍙� - if (result.data.HSourceBillType == "1102") { - $("#HBillType").val("1102"); - - } - else if (result.data.HSourceBillType == "1103") { - $("#HBillType").val("1103"); - } - else { - $("#HBillType").val("鎵嬪伐褰曞叆"); - } - $("#HNote").val(";涓�閿壂鐮佹簮鍗曟潯鐮�"); - element.tabChange('tab-POStockInBill', '3'); - } - else { - if (sessionStorage["SourceFlag"] == "true") { - element.tabChange('tab-POStockInBill', '3'); - } - else - { - $("#HSupName").val(result.data.hSupNameField); - $("#HSupID").val(result.data.hSupIDField); - //$("#HDeptName").val(result.data.HDept); - //$("#HDeptID").val(result.data.HDeptID); - $("#HSourceBillNo").val(result.data.hSourceBillNoField); - sessionStorage["SourceFlag"] = true; - //鑾峰彇婧愬崟绫诲瀷銆佹簮鍗曞崟鍙� - if (result.data.hSourceBillTypeField == "1102") { - $("#HBillType").val("1102"); - - } - else if (result.data.hSourceBillTypeField == "1103") { - $("#HBillType").val("1103"); - } - else { - $("#HBillType").val("鎵嬪伐褰曞叆"); - } - $("#HNote").val(";鐗╂枡鏉$爜"); - element.tabChange('tab-POStockInBill', '3'); - } - } - //$("#HSupID").val(result.data.HSupID); - //$("#HSupName").val(result.data.HSupName); - //$("#HDeptID").val(result.data.HDeptID); - //$("#HDeptName").val(result.data.HDeptName); - layer.load(3) - table.render({ - elem: '#wl-table' - , url: GetWEBURL1() + '/POStockInBill/DisBillEntryList_Webs_Json' - , where: { HBillID: sInterID, HBillType: '1201', sWhere: '' } - , cellMinWidth : 115 - , cols: [[ - { type: 'radio' } - , { field: 'HQty', title: '鏁伴噺', sort: true } - , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', sort: true } - , { field: 'HMaterNumber', title: '鐗╂枡浠g爜', sort: true } - , { field: 'HMaterName', title: '鐗╂枡鍚嶇О', sort: true } - , { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿', sort: true } - , { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', sort: true } - , { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', sort: true } - , { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', sort: true } - , { field: 'HBatchNo', title: '鎵规', sort: true } - ]] - , height: 500 - , done: function () { - layer.closeAll("loading"); - } - }); - } - else { - // $("#verifycode").click(); - //layer.msg(result.Message, { icon: 5 }); - layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - } - layer.closeAll("loading"); - } - }); - } - //else - //{ - // layer.msg(result.Message, { icon: 5 }); - //} - //layer.closeAll("loading"); - //} - }); - - //鎵簮鍗� - $('#HSourceBillNo').on('keydown', function (event) { //鎵簮鍗� - var HSourceBillNo = $('#HSourceBillNo').val() - var sInterID = $("#HInterID").val() - var sBillNo = $("#HBillNo").val() - var HSourceBillType = $("#HBillType").val() - if (event.keyCode == 13) { - //鍒ゆ柇鏂囨湰妗嗘槸鍚︽湁鏁版嵁 new - if (HSourceBillNo == "" || sInterID <= 0) { - layer.msg("婧愬崟鍙蜂负绌猴紝鎴栬�呭唴鐮佷笉瀛樺湪锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - return; - } - // - $.ajax({ - //url: "http://61.130.49.162:9090/WMSAPI///POStockInBill/set_SavePonderationBillMain_Temp_Source_Fast_Json", - url: GetWEBURL() + "/POStockInBill/set_SavePonderationBillMain_Temp_Source_Fast_Json", - type: "GET", - data: { "HSourceBillType": HSourceBillType, "HSourceBillNo": HSourceBillNo, "sInterID": sInterID, "sBillNo": sBillNo }, - success: function (result) { - if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝 - $("#HSupID").val(result.data[0].HSupID); - $("#HSupName").val(result.data[0].HSupName); - //$("#HDeptID").val(result.data[0].HDeptID); - //$("#HDeptName").val(result.data[0].HDeptName); - sessionStorage["SourceFlag"] = true; - layer.load(3); - element.tabChange('tab-POStockInBill', '2'); - table.render({ - elem: '#wl-table' - , cellMinWidth: 80 - //, url: 'http://61.130.49.162:9090/WMSAPI///POStockInBill/DisBillEntryList_Webs_Json' - , url: GetWEBURL1() + '/POStockInBill/DisBillEntryList_Webs_Json' - //, toolbar: '#toolbarDemo' - , where: { HBillID: sInterID, HBillType: '1201', sWhere: '' } - , cols: [[ - { type: 'radio' } - , { field: 'HQty', title: '鏁伴噺', sort: true } - , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', sort: true } - , { field: 'HMaterNumber', title: '鐗╂枡浠g爜', sort: true } - , { field: 'HMaterName', title: '鐗╂枡鍚嶇О', sort: true } - , { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿', sort: true } - , { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', sort: true } - , { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', sort: true } - , { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', sort: true } - , { field: 'HBatchNo', title: '鎵规'} - ]] - // , data: [linterid] - // , page: true - , height: 500 - , done: function () { - layer.closeAll("loading"); - } - }); - } - else { - // $("#verifycode").click(); - //layer.msg(result.Message, { icon: 5 }); - layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - } - layer.closeAll("loading"); - } - }); - // layer.msg($('#HSourceBillNo').val(), { icon: 1 }); - } - }); - - - $('#HStockPlaceName').on('keydown', function (event) { //鎵粨浣� - var HBarCode = $('#HStockPlaceName').val() - if (event.keyCode == 13) { - //鍒ゆ柇鏂囨湰妗嗘槸鍚︽湁鏁版嵁 new - $.ajax({ - url: GetWEBURL() + "/LookingFor/getSpName_Json", - type: "GET", - data: { "HBarCode": HBarCode}, - success: function (result) { - if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝 - $("#HStockPlaceName").val(result.data[0].HName); - $("#HStockPlaceID").val(result.data[0].HItemID); - $("#HWHID").val(result.data[0].HWHID); - $("#HWHNAME").val(result.data[0].HWhName); - element.tabChange('tab-POStockInBill', '2'); - } - else { - // $("#verifycode").click(); - //layer.msg(result.Message, { icon: 5 }); - layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - } - layer.closeAll("loading"); - } - }); - // layer.msg($('#HSourceBillNo').val(), { icon: 1 }); - } - }); - //鍒锋柊鏄庣粏椤电 - table.render({ - elem: '#mx-table' - // , url: 'http://localhost:8083/POStockInBill/GetHBarCodeShowBillSub' - //, toolbar: '#toolbarDemo' - // , where: { sMsg: linterid, sMsg2: lentryid } - , cols: [[ - , { field: 'HMaterID', title: '鐗╂枡ID', width: 100, hide: true } - ]] - , page: true - , height: 500 - , done: function () { - } - }); - - //鎵玀ES浠撲綅 - $('#HMESSPName').on('keydown', function (event) { //鎵粨浣� - var HBarCode = $('#HMESSPName').val(); - if (event.keyCode == 13) { - $.ajax({ - url: GetWEBURL() + "/LookingFor/getSpName_Json", - type: "GET", - data: { "HBarCode": HBarCode }, - success: function (result) { - if (result.count == 1) { - $("#HMESSPID").val(result.data[0].HWHID); - $("#HMESSPName").val(result.data[0].HWhName + "-" + result.data[0].HName); - $("#HExplanation").val(result.data[0].HName + "-" + result.data[0].HWhName); - $.ajax({ - url: GetWEBURL() + "/LookingFor/GetSpNameMES_Json", - type: "GET", - data: { "HERPWHID": result.data[0].HWHID }, - success: function (result) { - if (result.count == 1) { - $("#HWHID").val(result.data[0].HMESWHID); - $("#HWHNAME").val(result.data[0].HMESWHNAME); - $("#HMESSPName").attr("readonly", "readonly");//MES浠撲綅鍙HExplanation - $("#HMESSPName").css("background-color", "#efefef4d"); - } - else { - layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - } - layer.closeAll("loading"); - } - }); - } - else { - layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - } - layer.closeAll("loading"); - } - }); - } - }); - - //浠ヤ笂涓簂ayui妯″潡 - }); - - function GetHWHValue(obj) //杩斿洖璋冨叆浠撳簱 - { - $("#HWHNAME").val(obj[0].HName); - //sessionStorage["HWHID"] = obj[0].HItemID; - $("#HWHID").val(obj[0].HItemID); - } - function GetHSpValue(obj) { //杩斿洖璋冨叆浠撲綅 - $("#HStockPlaceName").val(obj[0].HName); - $("#HStockPlaceID").val(obj[0].HItemID); - } - function GetHSupValue(obj) { //杩斿洖渚涘簲鍟� - $("#HSupName").val(obj[0].HName); - $("#HSupID").val(obj[0].HItemID); - } - function GetHKeeperValue(obj) { //杩斿洖淇濈 - $("#HKeeper").val(obj[0].HName); - $("#HKeeperID").val(obj[0].HItemID); - } - function GetHSecManagerValue(obj) { //杩斿洖楠屾敹 - $("#HSecManager").val(obj[0].HName); - $("#HSecManagerID").val(obj[0].HItemID); - } - function GetHDeptNameValue(obj) { //杩斿洖閮ㄩ棬 - $("#HDeptName").val(obj[0].HName); - $("#HDeptID").val(obj[0].HItemID); - } - function AllowLoadData(sSubStr,bnt) { //闈炵┖楠岃瘉 - //if ($("#HSourceBillNo").val() == '') { - // layer.msg("璇峰厛鎵簮鍗�!", { icon: 5 }); - // return false; - //} - if($("#HDeptName").val()=='') - { - layer.msg("閮ㄩ棬娌℃湁閫夋嫨", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - return false; - } - if ($("#HSecManager").val() == '') { - layer.msg("楠屾敹浜烘病鏈夐�夋嫨", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - return false; - } - if ($("#HKeeper").val() == '') { - layer.msg("淇濈浜烘病鏈夐�夋嫨", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - return false; - } - //if ($("#HSupName").val() == '') { - // layer.msg("渚涘簲鍟嗘病鏈夐�夋嫨", { icon: 5, btn: ['纭畾'], time: 100000, offset: 't' }); - // return false; - //} - //if ($("#HWHNAME").val() == '') { - // layer.msg("浠撳簱娌℃湁閫夋嫨!", { icon: 5 }); - // return false; - //} - if ($("#HBillNo").val() == '') { - layer.msg("閿欒鐨勫崟鎹彿", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - return false; - } - if ($("#HInterID").val() == '') { - layer.msg("閿欒鐨勫唴鐮�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - return false; - } - if (typeof (sSubStr) == "undefined") - { - //layer.msg("娌℃湁鐗╂枡鏄庣粏璁板綍", { icon: 5, btn: ['纭畾'], time: 100000, offset: 't' }); - layer.msg("娌℃湁鐗╂枡鏄庣粏璁板綍", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - return false; - } - if (bnt == 'Saver') { - if (!typeof (sSubStr) == "undefined") { - //for (var i = 0; i <= sSubStr.length - 1; i++) { //鍒ゆ柇鎵爜鏁伴噺涓嶈兘澶т簬搴旀敹鏁伴噺 - // if (parseFloat(sSubStr[i].HQtyMust) > 0) { - // if (parseFloat(sSubStr[i].HQty) > parseFloat(sSubStr[i].HQtyMust)) { - // layer.msg("鏁伴噺涓嶈兘澶т簬搴旀敹鏁伴噺", { icon: 5, btn: ['纭畾'], time: 100000, offset: 't' }); - // return false; - // } - // } - //} - for (var i = 0; i <= sSubStr.length - 1; i++) { //鍒ゆ柇鎵爜鏁伴噺涓嶈兘涓�0 - if (parseFloat(sSubStr[i].HQty) > 0) { - s = 1; - } - } - if (s == 0) { - layer.msg("澶栬喘鍏ュ簱璁板綍鏈壂鐮�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - return false; - } - } - } - else { - return true; - } - } - </script> - -</body> -</html> +锘�<!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, maximum-scale=1"> + <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all"> + <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all"> + <style> + .layui-table-cell{ + height:auto; + white-space:normal; + } + </style> +</head> +<body> + <div class="layui-fluid" style="padding:0"> + <div class="layui-card" style="padding: 1px"> + <div class="layui-card-body" style="padding: 5px; height:800px;"> + <form class="layui-form" action="" lay-filter="component-form-group"> + <div style="background-color:#0085E8;"> + <span style="color: white;"><i class="layui-icon layui-icon-form"></i>澶栬喘鍏ュ簱鍗�</span> + </div> + <div class="layui-form-item" style="padding:15px;margin:0px"> + <div class="layui-row"> + <div class="layui-col-xs3"> + <label class="layui-form-label" style="width:60px;padding-left:0px;">MES搴撲綅</label> + </div> + <div class="layui-col-xs8"> + <input type="text" name="HMESSPName" id="HMESSPName" autocomplete="off" class="layui-input"> + <input type="hidden" name="HMESSPID" id="HMESSPID" value="0" autocomplete="off" class="layui-input"> + <input type="hidden" name="HExplanation" id="HExplanation" autocomplete="off" class="layui-input"> + </div> + </div> + <div class="layui-row"> + <div class="layui-col-xs3"> + <label class="layui-form-label" style="width:40px;padding-left:0px;">鏉$爜</label> + </div> + <div class="layui-col-xs8"> + <input type="text" name="HBarCode" id="HBarCode" lay-verify="HBarCode" autocomplete="off" class="layui-input"> + </div> + </div> + </div> + <div class="layui-tab layui-col-xs12" lay-filter="tab-POStockInBill"> + <ul class="layui-tab-title" lay-filter="tab-all"> + <li lay-id="1" style="padding:1px;" class="layui-this">婧愬崟淇℃伅</li> + <li lay-id="2" style="padding:1px;">鍗曟嵁淇℃伅</li> + <li lay-id="3" style="padding:1px;">鐗╂枡娓呭崟</li> + <li lay-id="4" style="padding:1px;">鍚堣淇℃伅</li> + </ul> + <div class="layui-tab-content"> + <!--婧愬崟淇℃伅--> + <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> + <option value="1102">閲囪喘璁㈠崟</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> + </div> + <div class="layui-col-xs8"> + <input type="text" name="HSourceBillNo" id="HSourceBillNo" lay-verify="HSourceBillNo" autocomplete="off" class="layui-input"> + </div> + </div> + </div> + </div> + <!--鍗曟嵁淇℃伅--> + <div class="layui-tab-item"> + <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="HWHNAME" id="HWHNAME" lay-verify="HWHNAME" autocomplete="off" class="layui-input"> + <input type="hidden" name="HWHID" id="HWHID" lay-verify="HWHID" value="0" autocomplete="off" class="layui-input"> + </div> + <div class="layui-col-xs2"> + <button type="button" lay-submit="" class="layui-btn" lay-filter="HWHID-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="HStockPlaceName" id="HStockPlaceName" lay-verify="HStockPlaceName" autocomplete="off" class="layui-input" style="background-color:#efefef4d;" readonly> + <input type="hidden" name="HStockPlaceID" id="HStockPlaceID" lay-verify="HStockPlaceID" value="0" autocomplete="off" class="layui-input"> + </div> + <div class="layui-col-xs3"> + <button type="button" lay-submit="" class="layui-btn" lay-filter="HSpID-BT" style="display:none">...</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:45px;padding-left:0px;">渚涘簲鍟�</label> + </div> + <div class="layui-col-xs6"> + <input type="text" name="HSupName" id="HSupName" lay-verify="HSupName" autocomplete="off" class="layui-input" disabled="disabled"> + <input type="hidden" name="HSupID" id="HSupID" lay-verify="HSupID" value="0" autocomplete="off" class="layui-input"> + </div> + <div class="layui-col-xs3"> + <button type="button" lay-submit="" class="layui-btn" lay-filter="HSupID-BT" disabled="disabled">...</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="HKeeper" id="HKeeper" lay-verify="HKeeper" autocomplete="off" class="layui-input"> + <input type="hidden" name="HKeeperID" id="HKeeperID" lay-verify="HKeeperID" value="0" autocomplete="off" class="layui-input"> + </div> + <div class="layui-col-xs3"> + <button type="button" lay-submit="" class="layui-btn" lay-filter="HKeeperID-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="HSecManager" id="HSecManager" lay-verify="HSecManager" autocomplete="off" class="layui-input"> + <input type="hidden" name="HSecManagerID" id="HSecManagerID" lay-verify="HSecManagerID" value="0" autocomplete="off" class="layui-input"> + </div> + <div class="layui-col-xs3"> + <button type="button" lay-submit="" class="layui-btn" lay-filter="HSecManagerID-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"> + <input type="text" name="HBillerID" id="HBillerID" lay-verify="HBillerID" autocomplete="off" class="layui-input"> + <input type="text" name="HMaker" id="HMaker" lay-verify="HMaker" autocomplete="off" class="layui-input"> + <input type="hidden" name="HMakerID" id="HMakerID" lay-verify="HMakerID" value="0" autocomplete="off" class="layui-input" style="display : none"> + </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="HDeptName" id="HDeptName" lay-verify="HDeptName" autocomplete="off" class="layui-input"> + <input type="hidden" name="HDeptID" id="HDeptID" lay-verify="HDeptID" value="0" autocomplete="off" class="layui-input"> + </div> + <div class="layui-col-xs3"> + <button type="button" lay-submit="" class="layui-btn" lay-filter="HDeptID-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:45px;padding-left:0px;">鍗曟嵁鍙�</label> + </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> + </div> + <!--鐗╂枡娓呭崟--> + <div class="layui-tab-item"> + <div class="layui-row"> + <div class="layui-col-xs12"> + <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:40px;padding-left:0px;">鏁伴噺</label> + </div> + <div class="layui-col-xs8"> + <input type="text" name="HQty" id="HQty" lay-verify="HQty" autocomplete="off" class="layui-input"> + </div> + </div> + </div> + <table class="layui-hide" id="wl-table" lay-filter="wl-table"></table> + </div> + </div> + </div> + <!--鍚堣淇℃伅--> + <div class="layui-tab-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 layui-input-inline mobile"> + <input type="text" name="HBarcodeQtys" id="HBarcodeQtys" lay-verify="HBarcodeQtys" value="0" autocomplete="off" class="layui-input"> + </div> + </div> + <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 layui-input-inline mobile"> + <input type="text" name="HSumQtys" id="HSumQtys" lay-verify="HSumQtys" value="0" autocomplete="off" class="layui-input"> + </div> + </div> + <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 layui-input-inline mobile"> + <input type="text" name="HNote" id="HNote" lay-verify="HNote" autocomplete="off" class="layui-input"> + </div> + </div> + </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="cmdDelete">鍒犻櫎</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> + </form> + </div> + </div> + </div> + <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> + <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 + , element = layui.element; + //娓呯┖鐣岄潰 new + + + //琛ㄥご鍒濆鍖栬祴鍊硷紙鏍规嵁鐧诲綍鐢ㄦ埛鑾峰彇 榛樿浠撳簱銆侀儴闂ㄣ�侀獙鏀躲�佷繚绠°�侀噾铦剁敤鎴凤級 new + $("#HWHID").val(sessionStorage["HWHID"]); + $("#HWHNAME").val(sessionStorage["HWHName"]); + $("#HStockPlaceID").val(sessionStorage["HSPID"]); + $("#HStockPlaceName").val(sessionStorage["HSPName"]); + //$("#HSupID").val(sessionStorage["HSupID"]); + //$("#HSupName").val(sessionStorage["HSupName"]); + $("#HDeptID").val(sessionStorage["HDeptID"]); + $("#HDeptName").val(sessionStorage["HDept"]); + $("#HSecManagerID").val(sessionStorage["HSecManagerID"]); + $("#HSecManager").val(sessionStorage["HSecManager"]); + $("#HKeeperID").val(sessionStorage["HKeeperID"]); + $("#HKeeper").val(sessionStorage["HKeeper"]); + $("#HMaker").val(sessionStorage["HUserName"]); + $("#HMaker").hide(); + $("#HMakerID").hide(); + $("#HBillerID").val(sessionStorage["HBillerID"]); + $("#HBillerID").hide(); + //榛樿甯﹀叆鐨勪粨搴擄紝濡傛灉鍚敤浠撲綅鍒欎粨浣嶆湁鏁堬紝濡傛灉娌℃湁鍚敤鍒欎粨浣嶇伆搴� new + + + //鑾峰彇鍙傛暟 + 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]]; //浠庡弬鏁颁腑鑾峰彇 鍗曟嵁鍐呯爜 + var lSourceBillType = params[params[2]]; //浠庡崟鎹幏鍙� 婧愬崟绫诲瀷 + + function RoadBillMain(linterid)//鍔犺浇琛ㄥご + { + $.ajax({ + url: GetWEBURL() + "/Web/GetPonderationBill", + type: "GET", + data: { "HInterID": linterid }, + success: function (d) { + // console.log(d.data); + $("#HInterID").val(d.data[0].HInterID); + $("#HBillNo").val(d.data[0].HBillNo); + $("#HBillType").val(d.data[0].HSourceBillType); + $("#HSourceBillNo").val(d.data[0].HSourceBillNo); + //$("#HWHID").val(d.data[0].HWhID); + //$("#HKeeperID").val(d.data[0].HKeeperID); + //$("#HSecManagerID").val(d.data[0].HSecManagerID); + //$("#HDeptID").val(d.data[0].HDeptID); + //$("#HBarCode").val(d.data[0].HBarCode); + //$("#HQty").val(d.data[0].HQty); + RoadSup(); + } + }) + } + + function RoadSup()//鏍规嵁婧愬崟绫诲瀷鍙婃簮鍗曞彿 鍔犺浇渚涘簲鍟� + { + //var sInterID = $("#HInterID").val() + var HSourceBillNo = $('#HSourceBillNo').val() + var sInterID = $("#HInterID").val() + var sBillNo = $("#HBillNo").val() + var HSourceBillType = $("#HBillType").val() + //鍒ゆ柇鏂囨湰妗嗘槸鍚︽湁鏁版嵁 new + if (HSourceBillNo == "" || sInterID <= 0) { + layer.msg($('#HSourceBillNo').val(), { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + return; + } + else { + $.ajax({ + url: GetWEBURL() + "/POStockInBill/get_GetCg_POOrderBillList", + type: "GET", + data: { "HSourceBillType": HSourceBillType, "HSourceBillNo": HSourceBillNo, "sInterID": sInterID, "sBillNo": sBillNo }, + success: function (result) { + if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝 + $("#HSupID").val(result.data[0].HSupID); + $("#HSupName").val(result.data[0].HSupName); + $("#HDeptID").val(result.data[0].HDeptID); + $("#HDeptName").val(result.data[0].HDeptName); + sessionStorage["SourceFlag"] = true; + element.tabChange('tab-POStockInBill', '2'); + layer.load(3); + } + else { + layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + } + layer.closeAll("loading"); + } + }); + } + } + + function RoadBillSub(linterid)//鍔犺浇琛ㄤ綋 + { + table.render({ + elem: '#wl-table' + , url: GetWEBURL() + '/POStockInBill/DisBillEntryList_Webs_Json' + , where: { HBillID: linterid, HBillType: '1201', sWhere: '' } + , cols: [[ + { type: 'radio' } + , { field: 'HQty', title: '鏁伴噺', sort: true } + , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', sort: true } + , { field: 'HMaterNumber', title: '鐗╂枡浠g爜', sort: true } + , { field: 'HMaterName', title: '鐗╂枡鍚嶇О', sort: true } + , { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿', sort: true } + , { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', sort: true } + , { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', sort: true } + , { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', sort: true } + , { field: 'HBatchNo', title: '鎵规', sort: true } + ]] + , height: 500 + , done: function () { + layer.closeAll("loading"); + } + }); + } + + //鍔ㄦ�佸姞杞芥簮鍗曠被鍨嬪垪琛� new + + + + + + + + //鍒ゆ柇鏄惁鏂板 + if (linterid == null || linterid == 0) { + //鑾峰彇鏈�澶у崟鎹彿 new + $("#HInterID").val(""); + $("#HBillNo").val(""); + $.ajax({ + url: GetWEBURL() + "/Web/GetMAXNum", + //url: GetWEBURL() + "/Web/UpdatePOInStockBillPrintQty", //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚� + type: "GET", + data: { "HBillType": '1201' }, + success: function (d) { + //console.log(d.data); + $("#HInterID").val(d.data[0].HInterID); + $("#HBillNo").val(d.data[0].HBillNo); + } + }); + } + else {//濡傛灉淇敼鍒欒蛋涓嬮潰 new + RoadBillMain(linterid); + RoadBillSub(linterid); + } + //濡傛灉淇敼鍒欒蛋涓嬮潰 new + + + + + //杩涘叆鐗╂枡鏄庣粏椤电銆佹潯鐮佹 鍏夋爣鐒︾偣 new + if (1 == 2) + { + element.tabChange('tab-POStockInBill', '3'); + var pFocus = $("#HBarCode"); + pFocus.focus(); + pFocus.select(); + } + else + { + element.tabChange('tab-POStockInBill', '1'); + var pFocus = $("#HSourceBillNo"); + pFocus.focus(); + pFocus.select(); + } + // + // + form.on('submit(HWHID-BT)', function () {//閫夋嫨璋冨叆浠撳簱 + layer.open({ + type: 2 + , area: ['100%', '100%'] + , title: '浠撳簱鍒楄〃' + , shade: 0.6 //閬僵閫忔槑搴� + , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 + , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� + , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_WarehouseList.html?Type=HWHID', 'yes'] + , resize: false + , cancel: function () { + //$(".layui-btn").removeClass("layui-btn-disabled"); + } + }) + }); + form.on('submit(HSpID-BT)', function () {//閫夋嫨璋冨叆浠撲綅 + layer.open({ + type: 2 + , area: ['100%', '100%'] + , title: '浠撲綅鍒楄〃' + , shade: 0.6 //閬僵閫忔槑搴� + , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 + , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� + , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_StockPlaceList.html?HWhID=' + sessionStorage["HWHID"] + '&Type=HSpID', 'yes'] + , resize: false + , cancel: function () { + //$(".layui-btn").removeClass("layui-btn-disabled"); + } + }) + }); + form.on('submit(HSupID-BT)', function () {//閫夋嫨渚涘簲鍟� + layer.open({ + type: 2 + , area: ['100%', '100%'] + , title: '渚涘簲鍟嗗垪琛�' + , shade: 0.6 //閬僵閫忔槑搴� + , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 + , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� + , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_SupplierList.html', 'yes'] + , resize: false + , cancel: function () { + //$(".layui-btn").removeClass("layui-btn-disabled"); + } + }) + }); + form.on('submit(HKeeperID-BT)', function () {//閫夋嫨淇濈 + layer.open({ + type: 2 + , area: ['100%', '100%'] + , title: '淇濈鍒楄〃' + , shade: 0.6 //閬僵閫忔槑搴� + , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 + , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� + , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes'] + , resize: false + , cancel: function () { + //$(".layui-btn").removeClass("layui-btn-disabled"); + } + }) + }); + form.on('submit(HSecManagerID-BT)', function (data) {//閫夋嫨楠屾敹 + var sMainStr = JSON.stringify(data.field); + layer.open({ + type: 2 + , area: ['100%', '100%'] + , title: '楠屾敹鍒楄〃' + , shade: 0.6 //閬僵閫忔槑搴� + , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 + , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� + , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HSecManager', 'yes'] + , resize: false + , cancel: function () { + //$(".layui-btn").removeClass("layui-btn-disabled"); + } + }) + }); + form.on('submit(HDeptID-BT)', function () {//閫夋嫨閮ㄩ棬 + layer.open({ + type: 2 + , area: ['100%', '100%'] + , title: '閮ㄩ棬鍒楄〃' + , shade: 0.6 //閬僵閫忔槑搴� + , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 + , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� + , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_DepartmentList.html', 'yes'] + , resize: false + , cancel: function () { + //$(".layui-btn").removeClass("layui-btn-disabled"); + } + }) + }); + + form.on('submit(Cancel)', function () { + sessionStorage["SourceFlag"] = false; + parent.location.href = "../../../views/index.html" + //window.close();//鍏抽棴褰撳墠椤� + }) + + form.on('submit(cmdModify)', function () {//缂栬緫 + var sSubStr = table.cache['wl-table']; + //if (AllowLoadData(sSubStr) != false) {//闈炵┖楠岃瘉 + layer.open({ + type: 2 + , area: ['100%', '100%'] + , title: '鏄庣粏鍒楄〃' + , shade: 0.6 //閬僵閫忔槑搴� + , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 + , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� + , content: ['../../../views/鍏叡椤甸潰/Kf_BarCodeEditDlg.html?table=' + JSON.stringify(sSubStr), 'yes'] + , resize: false + , cancel: function () { + //$(".layui-btn").removeClass("layui-btn-disabled"); + } + }) + // } + }); + + form.on('submit(cmdDelete)', function () {//鍒犻櫎 + var checkStatus = table.checkStatus('wl-table') + , data = checkStatus.data; + // console.log(data); + var sInterID = $('#HInterID').val() + var sMaterID = data[0].HMaterID + var sBillType = '1201' + var sAuxPropID = data[0].HAuxPropID + //var sMTONo = data[0].HMTONo + var sMTONo = '' + var sSourceInterID = data[0].HSourceInterID + var sSourceEntryID = data[0].HSourceEntryID + $.ajax( + { + type: "Get", + //url: "http://61.130.49.162:9090/WMSAPI///POStockInBill/Delete_Json", //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚� + url: GetWEBURL() + "/POStockInBill/Delete_Json", + async: true, + data: { "HInterID": sInterID, "HMaterID": sMaterID, "HAuxPropID": sAuxPropID, "HMTONo": sMTONo, "HSourceInterID": sSourceInterID, "HSourceEntryID": sSourceEntryID, "sHBillType": '1103', }, + dataType: "json", + success: function (data) { + if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝 + //layer.msg(data.Message, { icon: 1 }); + table.render({ + elem: '#wl-table' + //, url: 'http://61.130.49.162:9090/WMSAPI///POStockInBill/DisBillEntryList_Mate_Webs_Json' + //, url: GetWEBURL() + '/POStockInBill/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/POStockInBill/DisBillEntryList_Webs_Json' + , cellMinWidth: 80 + , toolbar: '#toolbarDemo' + , where: { HBillID: sInterID, HBillType: '1201', sWhere: '' } + , 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 } + ]] + , height: 500 + }) + } + 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: "娓╅Θ鎻愮ず" }); + } + }); + }); + + //鎻愪氦 + form.on('submit(Saver)', function (data) {//鎻愪氦 + if ($("#HExplanation").val() == "") { + if ($("#HWHNAME").val() == "瀹藉箙鎴愬搧浠揘EW" || $("#HWHNAME").val() == "鏍锋湰浠揘EW") { + $("#HWHNAME").val(""); + $("#HWHID").val(""); + layer.msg("璇锋壂MES搴撲綅鐮侊紒", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + return; + } + } + var sMainStr = JSON.stringify(data.field); + var sSubStr = table.cache['wl-table']; + var sSourceType = $("#HBillType").val(); + if (AllowLoadData(sSubStr, 'Saver') != false)//闈炵┖楠岃瘉 + { + layer.load(3); + $.ajax( + { + type: "POST", + //url: "http://61.130.49.162:9090/WMSAPI///POStockInBill/set_SavePOStockInBill_Json", //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚� + url: GetWEBURL() + "/POStockInBill/set_SavePOStockInBill_Json", + async: true, + data: { "oMain": sMainStr}, + dataType: "json", + success: function (data) { + if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜� + sessionStorage["SourceFlag"] = false; + layer.confirm("鏀舵枡" + data.Message + $("#HBillNo").val(), { + icon: 1, + skin: 'layui-layer-lan', + closeBtn: 0, + btn: ['纭'], + btn2: function () { + //parent.layui.admin.events.closeThisTabs();鍏抽棴椤电 + //window.close();//鍏抽棴椤甸潰锛屾祻瑙堝櫒鏈夋晥锛孭DA鏃犳晥 + //window.location.reload();//鏂板 + parent.location.href = "../../../views/index.html" + }//鍏抽棴 + } + , function () { parent.location.href = "../../../views/index.html"; }//鏂板 + ); + } + else { + //layer.msg(data.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't' }); + layer.msg(data.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + } + layer.closeAll("loading"); + layui.form.render(); + }, + error: function (err) { + //layer.msg("閿欒:" + err, { icon: 5, btn: ['纭'], time: 100000, offset: 't' }); + layer.msg("閿欒:" + err, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + } + }); + return false; + } + }); + //鐩戝惉鎻愪氦 + form.verify({ + numberOrEmpty: function (value, item) { + // if (value != '') { + if (!/^\d+$/.test(value)) { + return '涓嶈兘涓虹┖鎴栨暟瀛楁垨鑰�0'; + } + //} + } + }); + + //鎵潯鐮� + $('#HBarCode').on('keydown', function (event) { //鎵潯鐮� + var sSubStr = table.cache['wl-table']; + var sBarCode = $('#HBarCode').val() + var sInterID = $("#HInterID").val() + var sBillNo = $("#HBillNo").val() + var sQty = $("#HQty").val() + var sHBillType = $("#HBillType").val() //婧愬崟绫诲瀷 + var sBillType = '1201' + var sHWHID = $("#HWHID").val() + var sHSPID = $("#HStockPlaceID").val() + var sSourceBillNo = $("#HSourceBillNo").val() + // var Flag = sessionStorage["SourceFlag"]; + if (sQty == "") { + sQty = 0; + } + if (event.keyCode == 13) { + //鍒ゆ柇鏉$爜鏄惁涓虹┖ new + if (sBarCode == '') { + layer.msg("鏉$爜涓虹┖锛屼笉鑳芥壂鎻忥紒", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + return false; + } + if (sBarCode != "") { + $('#HBarCode').val(""); + } + if (sQty != "") { + $('#HQty').val(""); + } + if (sHWHID == "184154") { + if (sHSPID == "0") { + layer.msg("浠撲綅涓虹┖锛岃閫夋嫨浠撲綅锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + return false; + } + } + //if (AllowLoadData(sSubStr, 'HBarCode') != false) {//闈炵┖楠岃瘉 + $.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": 0 }, + success: function (result) { + if (result.count == 1) { + if (result.data.HBarType == '浠撳簱鏉$爜') { + $("#HWHNAME").val(result.data.HWhName); + $("#HWHID").val(result.data.HWhID); + $("#HStockPlaceName").val(""); + $("#HNote").val(";涓�閿壂鐮佷粨搴撴潯鐮�"); + element.tabChange('tab-POStockInBill', '2'); //璺宠浆椤电 + } + else if (result.data.HBarType == '浠撲綅鏉$爜') { + $("#HStockPlaceName").val(result.data.HSPName); + $("#HStockPlaceID").val(result.data.HSPID); + $("#HWHNAME").val(result.data.HWhName); + $("#HWHID").val(result.data.HWhID); + $("#HNote").val(";涓�閿壂鐮佷粨浣嶆潯鐮�"); + element.tabChange('tab-POStockInBill', '2');//璺宠浆椤电 + } + else if (result.data.HBarType == '閮ㄩ棬鏉$爜') { + $("#HDeptName").val(result.data.HDeptName); + $("#HDeptID").val(result.data.HDeptID); + $("#HNote").val(";涓�閿壂鐮侀儴闂ㄦ潯鐮�"); + element.tabChange('tab-POStockInBill', '2');//璺宠浆椤电 + } + else if (result.data.HBarType == '婧愬崟鏉$爜') { + $("#HSupName").val(result.data.HSupName); + $("#HSupID").val(result.data.HSupID); + $("#HDeptName").val(result.data.HDeptName); + $("#HDeptID").val(result.data.HDeptID); + $("#HSourceBillNo").val(result.data.HSourceBillNo); + sessionStorage["SourceFlag"] = true; + //鑾峰彇婧愬崟绫诲瀷銆佹簮鍗曞崟鍙� + if (result.data.HSourceBillType == "1102") { + $("#HBillType").val("1102"); + + } + else if (result.data.HSourceBillType == "1103") { + $("#HBillType").val("1103"); + } + else { + $("#HBillType").val("鎵嬪伐褰曞叆"); + } + $("#HNote").val(";涓�閿壂鐮佹簮鍗曟潯鐮�"); + element.tabChange('tab-POStockInBill', '3'); + } + else { + if (sessionStorage["SourceFlag"] == "true") { + element.tabChange('tab-POStockInBill', '3'); + } + else + { + $("#HSupName").val(result.data.hSupNameField); + $("#HSupID").val(result.data.hSupIDField); + //$("#HDeptName").val(result.data.HDept); + //$("#HDeptID").val(result.data.HDeptID); + $("#HSourceBillNo").val(result.data.hSourceBillNoField); + sessionStorage["SourceFlag"] = true; + //鑾峰彇婧愬崟绫诲瀷銆佹簮鍗曞崟鍙� + if (result.data.hSourceBillTypeField == "1102") { + $("#HBillType").val("1102"); + + } + else if (result.data.hSourceBillTypeField == "1103") { + $("#HBillType").val("1103"); + } + else { + $("#HBillType").val("鎵嬪伐褰曞叆"); + } + $("#HNote").val(";鐗╂枡鏉$爜"); + element.tabChange('tab-POStockInBill', '3'); + } + } + //$("#HSupID").val(result.data.HSupID); + //$("#HSupName").val(result.data.HSupName); + //$("#HDeptID").val(result.data.HDeptID); + //$("#HDeptName").val(result.data.HDeptName); + layer.load(3) + table.render({ + elem: '#wl-table' + , url: GetWEBURL() + '/POStockInBill/DisBillEntryList_Webs_Json' + , where: { HBillID: sInterID, HBillType: '1201', sWhere: '' } + , cellMinWidth : 115 + , cols: [[ + { type: 'radio' } + , { field: 'HQty', title: '鏁伴噺', sort: true } + , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', sort: true } + , { field: 'HMaterNumber', title: '鐗╂枡浠g爜', sort: true } + , { field: 'HMaterName', title: '鐗╂枡鍚嶇О', sort: true } + , { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿', sort: true } + , { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', sort: true } + , { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', sort: true } + , { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', sort: true } + , { field: 'HBatchNo', title: '鎵规', sort: true } + ]] + , height: 500 + , done: function () { + layer.closeAll("loading"); + } + }); + } + else { + // $("#verifycode").click(); + //layer.msg(result.Message, { icon: 5 }); + layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + } + layer.closeAll("loading"); + } + }); + } + //else + //{ + // layer.msg(result.Message, { icon: 5 }); + //} + //layer.closeAll("loading"); + //} + }); + + //鎵簮鍗� + $('#HSourceBillNo').on('keydown', function (event) { //鎵簮鍗� + var HSourceBillNo = $('#HSourceBillNo').val() + var sInterID = $("#HInterID").val() + var sBillNo = $("#HBillNo").val() + var HSourceBillType = $("#HBillType").val() + if (event.keyCode == 13) { + //鍒ゆ柇鏂囨湰妗嗘槸鍚︽湁鏁版嵁 new + if (HSourceBillNo == "" || sInterID <= 0) { + layer.msg("婧愬崟鍙蜂负绌猴紝鎴栬�呭唴鐮佷笉瀛樺湪锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + return; + } + // + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///POStockInBill/set_SavePonderationBillMain_Temp_Source_Fast_Json", + url: GetWEBURL() + "/POStockInBill/set_SavePonderationBillMain_Temp_Source_Fast_Json", + type: "GET", + data: { "HSourceBillType": HSourceBillType, "HSourceBillNo": HSourceBillNo, "sInterID": sInterID, "sBillNo": sBillNo }, + success: function (result) { + if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝 + $("#HSupID").val(result.data[0].HSupID); + $("#HSupName").val(result.data[0].HSupName); + //$("#HDeptID").val(result.data[0].HDeptID); + //$("#HDeptName").val(result.data[0].HDeptName); + sessionStorage["SourceFlag"] = true; + layer.load(3); + element.tabChange('tab-POStockInBill', '2'); + table.render({ + elem: '#wl-table' + , cellMinWidth: 80 + //, url: 'http://61.130.49.162:9090/WMSAPI///POStockInBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/POStockInBill/DisBillEntryList_Webs_Json' + //, toolbar: '#toolbarDemo' + , where: { HBillID: sInterID, HBillType: '1201', sWhere: '' } + , cols: [[ + { type: 'radio' } + , { field: 'HQty', title: '鏁伴噺', sort: true } + , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', sort: true } + , { field: 'HMaterNumber', title: '鐗╂枡浠g爜', sort: true } + , { field: 'HMaterName', title: '鐗╂枡鍚嶇О', sort: true } + , { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿', sort: true } + , { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', sort: true } + , { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', sort: true } + , { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', sort: true } + , { field: 'HBatchNo', title: '鎵规'} + ]] + // , data: [linterid] + // , page: true + , height: 500 + , done: function () { + layer.closeAll("loading"); + } + }); + } + else { + // $("#verifycode").click(); + //layer.msg(result.Message, { icon: 5 }); + layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + } + layer.closeAll("loading"); + } + }); + // layer.msg($('#HSourceBillNo').val(), { icon: 1 }); + } + }); + + + $('#HStockPlaceName').on('keydown', function (event) { //鎵粨浣� + var HBarCode = $('#HStockPlaceName').val() + if (event.keyCode == 13) { + //鍒ゆ柇鏂囨湰妗嗘槸鍚︽湁鏁版嵁 new + $.ajax({ + url: GetWEBURL() + "/LookingFor/getSpName_Json", + type: "GET", + data: { "HBarCode": HBarCode}, + success: function (result) { + if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝 + $("#HStockPlaceName").val(result.data[0].HName); + $("#HStockPlaceID").val(result.data[0].HItemID); + $("#HWHID").val(result.data[0].HWHID); + $("#HWHNAME").val(result.data[0].HWhName); + element.tabChange('tab-POStockInBill', '2'); + } + else { + // $("#verifycode").click(); + //layer.msg(result.Message, { icon: 5 }); + layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + } + layer.closeAll("loading"); + } + }); + // layer.msg($('#HSourceBillNo').val(), { icon: 1 }); + } + }); + //鍒锋柊鏄庣粏椤电 + table.render({ + elem: '#mx-table' + // , url: 'http://localhost:8083/POStockInBill/GetHBarCodeShowBillSub' + //, toolbar: '#toolbarDemo' + // , where: { sMsg: linterid, sMsg2: lentryid } + , cols: [[ + , { field: 'HMaterID', title: '鐗╂枡ID', width: 100, hide: true } + ]] + , page: true + , height: 500 + , done: function () { + } + }); + + //鎵玀ES浠撲綅 + $('#HMESSPName').on('keydown', function (event) { //鎵粨浣� + var HBarCode = $('#HMESSPName').val(); + if (event.keyCode == 13) { + $.ajax({ + url: GetWEBURL() + "/LookingFor/getSpName_Json", + type: "GET", + data: { "HBarCode": HBarCode }, + success: function (result) { + if (result.count == 1) { + $("#HMESSPID").val(result.data[0].HWHID); + $("#HMESSPName").val(result.data[0].HWhName + "-" + result.data[0].HName); + $("#HExplanation").val(result.data[0].HName + "-" + result.data[0].HWhName); + $.ajax({ + url: GetWEBURL() + "/LookingFor/GetSpNameMES_Json", + type: "GET", + data: { "HERPWHID": result.data[0].HWHID }, + success: function (result) { + if (result.count == 1) { + $("#HWHID").val(result.data[0].HMESWHID); + $("#HWHNAME").val(result.data[0].HMESWHNAME); + $("#HMESSPName").attr("readonly", "readonly");//MES浠撲綅鍙HExplanation + $("#HMESSPName").css("background-color", "#efefef4d"); + } + else { + layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + } + layer.closeAll("loading"); + } + }); + } + else { + layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + } + layer.closeAll("loading"); + } + }); + } + }); + + //浠ヤ笂涓簂ayui妯″潡 + }); + + function GetHWHValue(obj) //杩斿洖璋冨叆浠撳簱 + { + $("#HWHNAME").val(obj[0].HName); + //sessionStorage["HWHID"] = obj[0].HItemID; + $("#HWHID").val(obj[0].HItemID); + } + function GetHSpValue(obj) { //杩斿洖璋冨叆浠撲綅 + $("#HStockPlaceName").val(obj[0].HName); + $("#HStockPlaceID").val(obj[0].HItemID); + } + function GetHSupValue(obj) { //杩斿洖渚涘簲鍟� + $("#HSupName").val(obj[0].HName); + $("#HSupID").val(obj[0].HItemID); + } + function GetHKeeperValue(obj) { //杩斿洖淇濈 + $("#HKeeper").val(obj[0].HName); + $("#HKeeperID").val(obj[0].HItemID); + } + function GetHSecManagerValue(obj) { //杩斿洖楠屾敹 + $("#HSecManager").val(obj[0].HName); + $("#HSecManagerID").val(obj[0].HItemID); + } + function GetHDeptNameValue(obj) { //杩斿洖閮ㄩ棬 + $("#HDeptName").val(obj[0].HName); + $("#HDeptID").val(obj[0].HItemID); + } + function AllowLoadData(sSubStr,bnt) { //闈炵┖楠岃瘉 + //if ($("#HSourceBillNo").val() == '') { + // layer.msg("璇峰厛鎵簮鍗�!", { icon: 5 }); + // return false; + //} + if($("#HDeptName").val()=='') + { + layer.msg("閮ㄩ棬娌℃湁閫夋嫨", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + return false; + } + if ($("#HSecManager").val() == '') { + layer.msg("楠屾敹浜烘病鏈夐�夋嫨", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + return false; + } + if ($("#HKeeper").val() == '') { + layer.msg("淇濈浜烘病鏈夐�夋嫨", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + return false; + } + //if ($("#HSupName").val() == '') { + // layer.msg("渚涘簲鍟嗘病鏈夐�夋嫨", { icon: 5, btn: ['纭畾'], time: 100000, offset: 't' }); + // return false; + //} + //if ($("#HWHNAME").val() == '') { + // layer.msg("浠撳簱娌℃湁閫夋嫨!", { icon: 5 }); + // return false; + //} + if ($("#HBillNo").val() == '') { + layer.msg("閿欒鐨勫崟鎹彿", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + return false; + } + if ($("#HInterID").val() == '') { + layer.msg("閿欒鐨勫唴鐮�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + return false; + } + if (typeof (sSubStr) == "undefined") + { + //layer.msg("娌℃湁鐗╂枡鏄庣粏璁板綍", { icon: 5, btn: ['纭畾'], time: 100000, offset: 't' }); + layer.msg("娌℃湁鐗╂枡鏄庣粏璁板綍", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + return false; + } + if (bnt == 'Saver') { + if (!typeof (sSubStr) == "undefined") { + //for (var i = 0; i <= sSubStr.length - 1; i++) { //鍒ゆ柇鎵爜鏁伴噺涓嶈兘澶т簬搴旀敹鏁伴噺 + // if (parseFloat(sSubStr[i].HQtyMust) > 0) { + // if (parseFloat(sSubStr[i].HQty) > parseFloat(sSubStr[i].HQtyMust)) { + // layer.msg("鏁伴噺涓嶈兘澶т簬搴旀敹鏁伴噺", { icon: 5, btn: ['纭畾'], time: 100000, offset: 't' }); + // return false; + // } + // } + //} + for (var i = 0; i <= sSubStr.length - 1; i++) { //鍒ゆ柇鎵爜鏁伴噺涓嶈兘涓�0 + if (parseFloat(sSubStr[i].HQty) > 0) { + s = 1; + } + } + if (s == 0) { + layer.msg("澶栬喘鍏ュ簱璁板綍鏈壂鐮�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + return false; + } + } + } + else { + return true; + } + } + </script> + +</body> +</html> 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 c01e2ff..aa03ba0 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" @@ -133,7 +133,7 @@ var sBillType = '1201' table.render({ elem: '#dj-table' - ,url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + ,url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ @@ -181,7 +181,7 @@ //layer.msg(data.Message, { icon: 1 }); table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' , cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HBillType: '1201', sWhere: '' } @@ -219,7 +219,7 @@ var sBillType = '1201' table.render({ elem: '#dj-table' - ,url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + ,url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' ,toolbar: '#toolbarDemo' , where: { HBillType: sBillType,sWhere:''} , cols: [[ 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_EntrustInBackBill.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_EntrustInBackBill.html" index 1aa9dd7..d6afb5a 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_EntrustInBackBill.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_EntrustInBackBill.html" @@ -333,7 +333,7 @@ { table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/Kf_EntrustInBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/Kf_EntrustInBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: linterid, HBillType: '1246', sWhere: '' } , cols: [[ @@ -674,7 +674,7 @@ layer.load(3) table.render({ elem: '#wl-table' - , url: GetWEBURL1() + '/Kf_EntrustInBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/Kf_EntrustInBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1246', sWhere: '' } , cols: [[ @@ -732,7 +732,7 @@ table.render({ elem: '#wl-table' // , url: 'http://61.130.49.162:9090/WMSAPI///Kf_EntrustInBill/DisBillEntryList_Webs_Json' - , url: GetWEBURL1() + '/Kf_EntrustInBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/Kf_EntrustInBill/DisBillEntryList_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillID: sInterID, HBillType: '1246', sWhere: '' } , cols: [[ 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_EntrustInBackBillList.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_EntrustInBackBillList.html" index 14e1e1d..86e1a6e 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_EntrustInBackBillList.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_EntrustInBackBillList.html" @@ -133,7 +133,7 @@ var sBillType = '1246' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillType: sBillType, sWhere: '' } , cols: [[ @@ -181,7 +181,7 @@ //layer.msg(data.Message, { icon: 1 }); table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' , cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HBillType: '1246', sWhere: '' } @@ -219,7 +219,7 @@ var sBillType = '1246' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillType: sBillType, sWhere: '' } , cols: [[ 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 8153781..70fbd89 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" @@ -1,1025 +1,1030 @@ -锘�<!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, maximum-scale=1"> - <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" style="padding:0"> - <div class="layui-card"> - <div class="layui-card-body" style="padding: 5px; height:800px;"> - <form class="layui-form" action="" lay-filter="component-form-group"> - <div style="background-color:#0085E8;"> - <span style="color: white;"><i class="layui-icon layui-icon-form"></i>濮斿鍏ュ簱鍗�</span> - </div> - <div class="layui-form-item" style="padding:15px;margin:0px"> - <div class="layui-row"> - <div class="layui-col-xs3"> - <label class="layui-form-label" style="width:60px;padding-left:0px;">MES搴撲綅</label> - </div> - <div class="layui-col-xs8"> - <input type="text" name="HMESSPName" id="HMESSPName" autocomplete="off" class="layui-input"> - <input type="hidden" name="HMESSPID" id="HMESSPID" value="0" autocomplete="off" class="layui-input"> - <input type="hidden" name="HExplanation" id="HExplanation" autocomplete="off" class="layui-input"> - </div> - </div> - <div class="layui-row"> - <div class="layui-col-xs3"> - <label class="layui-form-label" style="width:40px;padding-left:0px;">鏉$爜</label> - </div> - <div class="layui-col-xs8"> - <input type="text" name="HBarCode" id="HBarCode" lay-verify="HBarCode" autocomplete="off" class="layui-input"> - </div> - </div> - </div> - <div class="layui-tab layui-col-xs12" lay-filter="tab-Kf_EntrustInBill"> - <ul class="layui-tab-title" lay-filter="tab-all"> - <li lay-id="1" style="padding:1px;" class="layui-this">婧愬崟淇℃伅</li> - <li lay-id="2" style="padding:1px;">鍗曟嵁淇℃伅</li> - <li lay-id="3" style="padding:1px;">鐗╂枡娓呭崟</li> - <li lay-id="4" style="padding:1px;">鍚堣淇℃伅</li> - </ul> - <div class="layui-tab-content"> - <!--婧愬崟淇℃伅--> - <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"> - <input type="text" value="鏀舵枡閫氱煡鍗�-濮斿" name="HBillTypeCHN" id="HBillTypeCHN" lay-verify="HBillTypeCHN" autocomplete="off" class="layui-input" readonly> - <input type="hidden" value="1103" name="HBillType" id="HBillType" lay-verify="HBillType" autocomplete="off" class="layui-input"> - - <!--<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> - </div> - <div class="layui-col-xs8"> - <input type="text" name="HSourceBillNo" id="HSourceBillNo" lay-verify="HSourceBillNo" autocomplete="off" class="layui-input"> - </div> - </div> - </div> - </div> - <!--鍗曟嵁淇℃伅--> - <div class="layui-tab-item"> - <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="HWHNAME" id="HWHNAME" lay-verify="HWHNAME" autocomplete="off" class="layui-input" readonly> - <input type="hidden" name="HWHID" id="HWHID" lay-verify="HWHID" autocomplete="off" class="layui-input"> - </div> - <div class="layui-col-xs2"> - <button type="button" lay-submit="" class="layui-btn" lay-filter="HWHID-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="HStockPlaceName" id="HStockPlaceName" lay-verify="HStockPlaceName" autocomplete="off" class="layui-input" style="background-color:#efefef4d;" readonly> - <input type="hidden" name="HStockPlaceID" id="HStockPlaceID" lay-verify="HStockPlaceID" value="0" autocomplete="off" class="layui-input"> - </div> - <div class="layui-col-xs3"> - <button type="button" lay-submit="" class="layui-btn" lay-filter="HSpID-BT" style="display:none">...</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:45px;padding-left:0px;">渚涘簲鍟�</label> - </div> - <div class="layui-col-xs6"> - <input type="text" name="HSupName" id="HSupName" lay-verify="HSupName" autocomplete="off" class="layui-input"> - <input type="hidden" name="HSupID" id="HSupID" lay-verify="HSupID" value="0" autocomplete="off" class="layui-input"> - </div> - <div class="layui-col-xs3"> - <button type="button" lay-submit="" class="layui-btn" lay-filter="HSupID-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="HKeeper" id="HKeeper" lay-verify="HKeeper" autocomplete="off" class="layui-input"> - <input type="hidden" name="HKeeperID" id="HKeeperID" lay-verify="HKeeperID" value="0" autocomplete="off" class="layui-input"> - </div> - <div class="layui-col-xs3"> - <button type="button" lay-submit="" class="layui-btn" lay-filter="HKeeperID-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="HSecManager" id="HSecManager" lay-verify="HSecManager" autocomplete="off" class="layui-input"> - <input type="hidden" name="HSecManagerID" id="HSecManagerID" lay-verify="HSecManagerID" value="0" autocomplete="off" class="layui-input"> - </div> - <div class="layui-col-xs3"> - <button type="button" lay-submit="" class="layui-btn" lay-filter="HSecManagerID-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"> - <input type="text" name="HBillerID" id="HBillerID" lay-verify="HBillerID" autocomplete="off" class="layui-input"> - <input type="text" name="HMaker" id="HMaker" lay-verify="HMaker" autocomplete="off" class="layui-input"> - <input type="hidden" name="HMakerID" id="HMakerID" lay-verify="HMakerID" value="0" autocomplete="off" class="layui-input" style="display : none"> - </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="HDeptName" id="HDeptName" lay-verify="HDeptName" autocomplete="off" class="layui-input"> - <input type="hidden" name="HDeptID" id="HDeptID" lay-verify="HDeptID" value="0" autocomplete="off" class="layui-input"> - </div> - <div class="layui-col-xs3"> - <button type="button" lay-submit="" class="layui-btn" lay-filter="HDeptID-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:45px;padding-left:0px;">鍗曟嵁鍙�</label> - </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> - </div> - <!--鐗╂枡娓呭崟--> - <div class="layui-tab-item"> - <div class="layui-row"> - <div class="layui-col-xs12"> - <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:40px;padding-left:0px;">鏁伴噺</label> - </div> - <div class="layui-col-xs8"> - <input type="text" name="HQty" id="HQty" lay-verify="HQty" autocomplete="off" class="layui-input"> - </div> - </div> - </div> - <table class="layui-hide" id="wl-table" lay-filter="wl-table"></table> - </div> - </div> - </div> - <!--鍚堣淇℃伅--> - <div class="layui-tab-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 layui-input-inline mobile"> - <input type="text" name="HBarcodeQtys" id="HBarcodeQtys" lay-verify="HBarcodeQtys" value="0" autocomplete="off" class="layui-input"> - </div> - </div> - <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 layui-input-inline mobile"> - <input type="text" name="HSumQtys" id="HSumQtys" lay-verify="HSumQtys" value="0" autocomplete="off" class="layui-input"> - </div> - </div> - <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 layui-input-inline mobile"> - <!--<input type="text" name="HNote" id="HNote" lay-verify="HNote" autocomplete="off" class="layui-input">--> - <textarea id="rizhi" style="height: 200px;width: 100%;"></textarea> - </div> - </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> - </form> - </div> - </div> - </div> - <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> - <script src="../../../layuiadmin/timeFormat/timeFormat.js"></script> - <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 - , element = layui.element; - - var RZ = ""; - var Flag = sessionStorage["SourceFlag"]; - //琛ㄥご鍒濆鍖栬祴鍊硷紙鏍规嵁鐧诲綍鐢ㄦ埛鑾峰彇 榛樿浠撳簱銆侀儴闂ㄣ�侀獙鏀躲�佷繚绠°�侀噾铦剁敤鎴凤級 new - $("#HWHID").val(sessionStorage["HWHID"]); - $("#HWHNAME").val(sessionStorage["HWHName"]); - $("#HStockPlaceID").val(sessionStorage["HSPID"]); - $("#HStockPlaceName").val(sessionStorage["HSPName"]); - //$("#HSupID").val(sessionStorage["HSupID"]); - //$("#HSupName").val(sessionStorage["HSupName"]); - $("#HDeptID").val(sessionStorage["HDeptID"]); - $("#HDeptName").val(sessionStorage["HDept"]); - $("#HSecManagerID").val(sessionStorage["HSecManagerID"]); - $("#HSecManager").val(sessionStorage["HSecManager"]); - $("#HKeeperID").val(sessionStorage["HKeeperID"]); - $("#HKeeper").val(sessionStorage["HKeeper"]); - $("#HMaker").val(sessionStorage["HUserName"]); - $("#HMaker").hide(); - $("#HMakerID").hide(); - $("#HBillerID").val(sessionStorage["HBillerID"]); - $("#HBillerID").hide(); - - - //榛樿甯﹀叆鐨勪粨搴擄紝濡傛灉鍚敤浠撲綅鍒欎粨浣嶆湁鏁堬紝濡傛灉娌℃湁鍚敤鍒欎粨浣嶇伆搴� new - - - //鑾峰彇鍙傛暟 - 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]]; //浠庡弬鏁颁腑鑾峰彇 鍗曟嵁鍐呯爜 - var lSourceBillType = params[params[2]]; //浠庡崟鎹幏鍙� 婧愬崟绫诲瀷 - - //鍔犺浇琛ㄥご - function RoadBillMain(linterid) - { - $.ajax({ - url: GetWEBURL() + "/Web/GetPonderationBill", - type: "GET", - data: { "HInterID": linterid }, - success: function (d) { - // console.log(d.data); - $("#HInterID").val(d.data[0].HInterID); - $("#HBillNo").val(d.data[0].HBillNo); - $("#HBillType").val(d.data[0].HSourceBillType); - $("#HSourceBillNo").val(d.data[0].HSourceBillNo); - //$("#HWHID").val(d.data[0].HWhID); - //$("#HKeeperID").val(d.data[0].HKeeperID); - //$("#HSecManagerID").val(d.data[0].HSecManagerID); - //$("#HDeptID").val(d.data[0].HDeptID); - //$("#HBarCode").val(d.data[0].HBarCode); - //$("#HQty").val(d.data[0].HQty); - } - }) - } - - //鍔犺浇琛ㄤ綋 - function RoadBillSub(linterid) - { - table.render({ - elem: '#wl-table' - , url: GetWEBURL1() + '/Kf_EntrustInBill/DisBillEntryList_Webs_Json' - , toolbar: '#toolbarDemo' - , where: { HBillID: linterid, HBillType: '1210', 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 } - ]] - , height: 500 - , done: function () { - layer.closeAll("loading"); - } - }); - } - - //鍔ㄦ�佸姞杞芥簮鍗曠被鍨嬪垪琛� new - - - - - - - - //鍒ゆ柇鏄惁鏂板 - if (linterid == null || linterid == 0) { - //鑾峰彇鏈�澶у崟鎹彿 new - $("#HInterID").val(""); - $("#HBillNo").val(""); - $.ajax({ - url: GetWEBURL() + "/Web/GetMAXNum", - type: "GET", - data: { "HBillType": '1210' }, - success: function (d) { - //console.log(d.data); - $("#HInterID").val(d.data[0].HInterID); - $("#HBillNo").val(d.data[0].HBillNo); - } - }); - } - else {//濡傛灉淇敼鍒欒蛋涓嬮潰 new - RoadBillMain(linterid); - RoadBillSub(linterid); - } - - //閫夋嫨璋冨叆浠撳簱 - form.on('submit(HWHID-BT)', function () { - layer.open({ - type: 2 - , area: ['100%', '100%'] - , title: '浠撳簱鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_WarehouseList.html?Type=HWHID', 'yes'] - , resize: false - , cancel: function () { - //$(".layui-btn").removeClass("layui-btn-disabled"); - } - }) - }); - - //閫夋嫨璋冨叆浠撲綅 - form.on('submit(HSpID-BT)', function () { - layer.open({ - type: 2 - , area: ['100%', '100%'] - , title: '浠撲綅鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_StockPlaceList.html?HWhID=' + sessionStorage["HWHID"] + '&Type=HSpID', 'yes'] - , resize: false - , cancel: function () { - //$(".layui-btn").removeClass("layui-btn-disabled"); - } - }) - }); - - //閫夋嫨渚涘簲鍟� - form.on('submit(HSupID-BT)', function () { - layer.open({ - type: 2 - , area: ['100%', '100%'] - , title: '渚涘簲鍟嗗垪琛�' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_SupplierList.html', 'yes'] - , resize: false - , cancel: function () { - //$(".layui-btn").removeClass("layui-btn-disabled"); - } - }) - }); - - //閫夋嫨淇濈 - form.on('submit(HKeeperID-BT)', function () { - layer.open({ - type: 2 - , area: ['100%', '100%'] - , title: '淇濈鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes'] - , resize: false - , cancel: function () { - //$(".layui-btn").removeClass("layui-btn-disabled"); - } - }) - }); - - //閫夋嫨楠屾敹 - form.on('submit(HSecManagerID-BT)', function (data) {//閫夋嫨楠屾敹 - var sMainStr = JSON.stringify(data.field); - layer.open({ - type: 2 - , area: ['100%', '100%'] - , title: '楠屾敹鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HSecManager', 'yes'] - , resize: false - , cancel: function () { - //$(".layui-btn").removeClass("layui-btn-disabled"); - } - }) - }); - - //閫夋嫨閮ㄩ棬 - form.on('submit(HDeptID-BT)', function () { - layer.open({ - type: 2 - , area: ['100%', '100%'] - , title: '閮ㄩ棬鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_DepartmentList.html', 'yes'] - , resize: false - , cancel: function () { - //$(".layui-btn").removeClass("layui-btn-disabled"); - } - }) - }); - - //缂栬緫鎸夐挳 - form.on('submit(cmdModify)', function () { - var sSubStr = table.cache['wl-table']; - //if (AllowLoadData(sSubStr) != false) {//闈炵┖楠岃瘉 - layer.open({ - type: 2 - , area: ['100%', '100%'] - , title: '鏄庣粏鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/鍏叡椤甸潰/Kf_BarCodeEditDlg.html?table=' + JSON.stringify(sSubStr), 'yes'] - , resize: false - , cancel: function () { - } - }) - }); - - //鍏抽棴鎸夐挳 - form.on('submit(Cancel)', function () { - Flag = false; - parent.location.href = "../../../views/index.html" - //window.close();//鍏抽棴褰撳墠椤� - }) - - //鎻愪氦鎸夐挳 - form.on('submit(Saver)', function (data) { - if ($("#HExplanation").val() == "") { - if ($("#HWHNAME").val() == "瀹藉箙鎴愬搧浠揘EW" || $("#HWHNAME").val() == "鏍锋湰浠揘EW") { - $("#HWHNAME").val(""); - $("#HWHID").val(""); - layer.msg("璇锋壂MES搴撲綅鐮侊紒", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - return; - } - } - var sMainStr = JSON.stringify(data.field); - var sSubStr = table.cache['wl-table']; - var sSourceType = $("#HBillType").val(); - if (AllowLoadData(sSubStr, 'Saver') != false)//闈炵┖楠岃瘉 - { - layer.load(3); - $.ajax( - { - type: "POST", - //url: "http://61.130.49.162:9090/WMSAPI///Kf_EntrustInBill/set_SaveEntrustInBill_Json", //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚� - //url: GetWEBURL() + "/Kf_EntrustInBill/set_SaveEntrustInBill_Json", - url: GetWEBURL() + "/Kf_EntrustInBill/set_SaveEntrustInBill_New_Json", - async: true, - data: { "oMain": sMainStr }, - dataType: "json", - success: function (data) { - if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜� - layer.confirm("鐢熸垚濮斿鍏ュ簱鍗�" + data.Message + $("#HBillNo").val(), { - icon: 1, - skin: 'layui-layer-lan', 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(data.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - } - layer.closeAll("loading"); - layui.form.render(); - }, - error: function (err) { - layer.msg("閿欒:" + err, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - } - }); - return false; - } - }); - - //鐩戝惉鎻愪氦 - form.verify({ - numberOrEmpty: function (value, item) { - // if (value != '') { - if (!/^\d+$/.test(value)) { - return '涓嶈兘涓虹┖鎴栨暟瀛楁垨鑰�0'; - } - //} - } - }); - - //鎵潯鐮� - $('#HBarCode').on('keydown', function (event) { - var sSubStr = table.cache['wl-table']; - var sBarCode = $('#HBarCode').val() - var sInterID = $("#HInterID").val() - var sBillNo = $("#HBillNo").val() - var sQty = $("#HQty").val() - var sHBillType = $("#HBillType").val() - var sHWHID = $("#HWHID").val() - var sHSPID = $("#HStockPlaceID").val() - var sSourceBillNo = $("#HSourceBillNo").val() - if (sQty == "") { - sQty = 0; - } - //if ($("#HSourceBillNo").val() == '') { - // layer.msg("璇峰厛鎵簮鍗�!", { icon: 5 }); - // return false; - //} - //if ($("#HDeptName").val() == '') { - // layer.msg("閮ㄩ棬娌℃湁閫夋嫨!", { icon: 5 }); - // return false; - //} - //if ($("#HSecManager").val() == '') { - // layer.msg("鍙戞枡浜烘病鏈夐�夋嫨!", { icon: 5 }); - // return false; - //} - //if ($("#HKeeper").val() == '') { - // layer.msg("棰嗘枡浜烘病鏈夐�夋嫨!", { icon: 5 }); - // return false; - //} - //if ($("#HSupName").val() == '') { - // layer.msg("渚涘簲鍟嗘病鏈夐�夋嫨!", { icon: 5 }); - // return false; - //} - //if ($("#HWHNAME").val() == '') { - // layer.msg("浠撳簱娌℃湁閫夋嫨!", { icon: 5 }); - // return false; - //} - if (event.keyCode == 13) { - //鍒ゆ柇鏉$爜鏄惁涓虹┖ new - if (sBarCode == '') { - layer.msg("鏉$爜涓虹┖锛屼笉鑳芥壂鎻忥紒", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - return false; - } - if (sBarCode != "") { - $('#HBarCode').val(""); - } - if (sQty != "") { - $('#HQty').val(""); - } - //if (AllowLoadData(sSubStr, 'HBarCode') != false) {//闈炵┖楠岃瘉 - $.ajax({ - //url: "http://61.130.49.162:9090/WMSAPI///Kf_EntrustInBill/get_CheckTypeByBarCode_Json", - url: GetWEBURL() + "/Kf_EntrustInBill/get_CheckTypeByBarCode_Json", - type: "GET", - data: { "sCode": sBarCode, "sInterID": sInterID, "sBillNo": sBillNo, "sMaker": sessionStorage["HUserName"], "WhID": sHWHID, "SPID": sHSPID, "sQty": sQty, "sRedBlue": false, "SourceFlag": Flag, "sSourceBillNo": sSourceBillNo, "sSourceType": sHBillType, "HOWNERID": 0 }, - success: function (result) { - if (result.count == 1) { - if (result.data.HBarType == '浠撳簱鏉$爜') { - $("#HWHNAME").val(result.data.HWhName); - $("#HWHID").val(result.data.HWhID); - $("#HStockPlaceName").val(""); - //$("#HNote").val(";涓�閿壂鐮佷粨搴撴潯鐮�"); - $("#rizhi").val(RZ += Format(new Date(), "yyyy-MM-dd hh:mm:ss.S") + "鎵潯鐮佷粨搴撴潯鐮侊紝鎴愬姛\n"); - element.tabChange('tab-Kf_EntrustInBill', '2'); //璺宠浆椤电 - } - else if (result.data.HBarType == '浠撲綅鏉$爜') { - $("#HStockPlaceName").val(result.data.HSPName); - $("#HStockPlaceID").val(result.data.HSPID); - $("#HWHNAME").val(result.data.HWhName); - $("#HWHID").val(result.data.HWhID); - //$("#HNote").val(";涓�閿壂鐮佷粨浣嶆潯鐮�"); - $("#rizhi").val(RZ += Format(new Date(), "yyyy-MM-dd hh:mm:ss.S") + "鎵潯鐮佷粨浣嶆潯鐮侊紝鎴愬姛\n"); - element.tabChange('tab-Kf_EntrustInBill', '2');//璺宠浆椤电 - } - else if (result.data.HBarType == '閮ㄩ棬鏉$爜') { - $("#HDeptName").val(result.data.HDeptName); - $("#HDeptID").val(result.data.HDeptID); - //$("#HNote").val(";涓�閿壂鐮侀儴闂ㄦ潯鐮�"); - $("#rizhi").val(RZ += Format(new Date(), "yyyy-MM-dd hh:mm:ss.S") + "鎵潯鐮侀儴闂ㄦ潯鐮侊紝鎴愬姛\n"); - element.tabChange('tab-Kf_EntrustInBill', '2');//璺宠浆椤电 - } - else if (result.data.HBarType == '婧愬崟鏉$爜') { - $("#HSupName").val(result.data.HSupName); - $("#HSupID").val(result.data.HSupID); - $("#HDeptName").val(result.data.HDeptName); - $("#HDeptID").val(result.data.HDeptID); - $("#HSourceBillNo").val(result.data.HSourceBillNo); - Flag = true; - //鑾峰彇婧愬崟绫诲瀷銆佹簮鍗曞崟鍙� - if (result.data.HSourceBillType == "1103") { - $("#HBillType").val("1103"); - - } - else if (result.data.HSourceBillType == "1601") { - $("#HBillType").val("1601"); - } - else { - $("#HBillType").val("鎵嬪伐褰曞叆"); - } - //$("#HNote").val(";涓�閿壂鐮佹簮鍗曟潯鐮�"); - $("#rizhi").val(RZ += Format(new Date(), "yyyy-MM-dd hh:mm:ss.S") + "鎵潯鐮佹簮鍗曟潯鐮侊紝鎴愬姛\n"); - element.tabChange('tab-Kf_EntrustInBill', '3'); - } - else { - if (Flag == "true") { - element.tabChange('tab-Kf_EntrustInBill', '3'); - } - else { - $("#HSupName").val(result.data.HSupName); - $("#HSupID").val(result.data.HSupID); - //$("#HDeptName").val(result.data.HDeptName); - //$("#HDeptID").val(result.data.HDeptID); - $("#HSourceBillNo").val(result.data.HSourceBillNo); - Flag = true; - //鑾峰彇婧愬崟绫诲瀷銆佹簮鍗曞崟鍙� - if (result.data.HSourceBillType == "1103") { - $("#HBillType").val("1103"); - - } - else if (result.data.HSourceBillType == "1601") { - $("#HBillType").val("1601"); - } - else { - $("#HBillType").val("鎵嬪伐褰曞叆"); - } - //$("#HNote").val(";鐗╂枡鏉$爜"); - $("#rizhi").val(RZ += Format(new Date(), "yyyy-MM-dd hh:mm:ss.S") + "鎵潯鐮佺墿鏂欐潯鐮侊紝鎴愬姛\n"); - element.tabChange('tab-Kf_EntrustInBill', '3'); - } - } - //$("#HSupID").val(result.data.HSupID); - //$("#HSupName").val(result.data.HSupName); - //$("#HDeptID").val(result.data.HDeptID); - //$("#HDeptName").val(result.data.HDeptName); - layer.load(3) - table.render({ - elem: '#wl-table' - , url: GetWEBURL1() + '/Kf_EntrustInBill/DisBillEntryList_Webs_Json' - , toolbar: '#toolbarDemo' - , where: { HBillID: sInterID, HBillType: '1210', sWhere: '' } - , cellMinWidth: 90 - , 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 } - ]] - , height: 500 - , done: function () { - layer.closeAll("loading"); - } - }); - } - else { - // $("#verifycode").click(); - //layer.msg(result.Message, { icon: 5 }); - layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - } - layer.closeAll("loading"); - }, - error: function (err) { - layer.msg("閿欒:" + err, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - } - }); - } - //else - //{ - // layer.msg(result.Message, { icon: 5 }); - //} - //layer.closeAll("loading"); - //} - }); - - //鎵簮鍗曟柟娉� - $('#HSourceBillNo').on('keydown', function (event) { - var HSourceBillNo = $('#HSourceBillNo').val() - var sInterID = $("#HInterID").val() - var sBillNo = $("#HBillNo").val() - var HSourceBillType = $("#HBillType").val() - if (event.keyCode == 13) { - $.ajax({ - //url: "http://61.130.49.162:9090/WMSAPI///Kf_EntrustInBill/set_SavePonderationBillMain_Temp_Source_Fast_Json", - url: GetWEBURL() + "/Kf_EntrustInBill/set_SavePonderationBillMain_Temp_Source_Fast_Json", - type: "GET", - data: { "HSourceBillType": HSourceBillType, "HSourceBillNo": HSourceBillNo, "sInterID": sInterID, "sBillNo": sBillNo }, - success: function (result) { - if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝 - $("#rizhi").val(RZ += Format(new Date(), "yyyy-MM-dd hh:mm:ss.S") + "鎵簮鍗曪紝鎴愬姛\n"); - $("#HSupID").val(result.data[0].HSupID); - $("#HSupName").val(result.data[0].HSupName); - //$("#HDeptID").val(result.data[0].HDeptID); - //$("#HDeptName").val(result.data[0].HDeptName); - Flag = true; - layer.load(3); - element.tabChange('tab-Kf_EntrustInBill', '2'); - table.render({ - elem: '#wl-table' - //, url: 'http://61.130.49.162:9090/WMSAPI///Kf_EntrustInBill/DisBillEntryList_Webs_Json' - , url: GetWEBURL1() + '/Kf_EntrustInBill/DisBillEntryList_Webs_Json' - , toolbar: '#toolbarDemo' - , where: { HBillID: sInterID, HBillType: '1210', 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 { - // $("#verifycode").click(); - //layer.msg(result.Message, { icon: 5 }); - layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - } - layer.closeAll("loading"); - } - }); - // layer.msg($('#HSourceBillNo').val(), { icon: 1 }); - } - }); - - //鎵粨浣� - $('#HStockPlaceName').on('keydown', function (event) { - var HBarCode = $('#HStockPlaceName').val() - if (event.keyCode == 13) { - //鍒ゆ柇鏂囨湰妗嗘槸鍚︽湁鏁版嵁 new - $.ajax({ - url: GetWEBURL() + "/LookingFor/getSpName_Json", - type: "GET", - data: { "HBarCode": HBarCode }, - success: function (result) { - if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝 - $("#HStockPlaceName").val(result.data[0].HName); - $("#HWHID").val(result.data[0].HWHID); - $("#HWHNAME").val(result.data[0].HWhName); - element.tabChange('tab-POStockInBill', '2'); - } - else { - layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - } - layer.closeAll("loading"); - } - }); - } - }); - - table.render({ - elem: '#mx-table' - // , url: 'http://localhost:8083/Kf_EntrustInBill/GetHBarCodeShowBillSub' - //, toolbar: '#toolbarDemo' - // , where: { sMsg: linterid, sMsg2: lentryid } - , cols: [[ - , { field: 'HMaterID', title: '鐗╂枡ID', width: 100, hide: true } - ]] - , page: true - , height: 500 - , done: function () { - } - }); - - //鎵玀ES浠撲綅 - $('#HMESSPName').on('keydown', function (event) { //鎵粨浣� - var HBarCode = $('#HMESSPName').val(); - if (event.keyCode == 13) { - $.ajax({ - url: GetWEBURL() + "/LookingFor/getSpName_Json", - type: "GET", - data: { "HBarCode": HBarCode }, - success: function (result) { - if (result.count == 1) { - $("#HMESSPID").val(result.data[0].HWHID); - $("#HMESSPName").val(result.data[0].HWhName + "-" + result.data[0].HName); - $("#HExplanation").val(result.data[0].HName + "-" + result.data[0].HWhName); - $.ajax({ - url: GetWEBURL() + "/LookingFor/GetSpNameMES_Json", - type: "GET", - data: { "HERPWHID": result.data[0].HWHID }, - success: function (result) { - if (result.count == 1) { - $("#HWHID").val(result.data[0].HMESWHID); - $("#HWHNAME").val(result.data[0].HMESWHNAME); - $("#HMESSPName").attr("readonly", "readonly");//MES浠撲綅鍙HExplanation - $("#HMESSPName").css("background-color", "#efefef4d"); - } - else { - layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - } - layer.closeAll("loading"); - } - }); - } - else { - layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - } - layer.closeAll("loading"); - } - }); - } - }); - - //浠ヤ笂涓簂ayui妯″潡 - }); - //娓呯┖琛ㄥご - //function f_ClearTitle() { - - // $("#HBarCode").val(""); - // $("#HSpName").val(""); - // $("#HSpID").val("0"); - // $("#HQty").val("0"); - // $("#HSourceBillNo").val(""); - // $("#HWHNAME").val(""); - // $("#HWHID").val("0"); - // $("#HSCWHNAME").val(""); - // $("#HSCWHID").val("0"); - // $("#HSupName").val(""); - // $("#HSupID").val("0"); - // $("#HKeeper").val(""); - // $("#HKeeperID").val("0"); - // $("#HSecManager").val("0"); - // $("#HSecManagerID").val(""); - // $("#HDeptName").val(""); - // $("#HDeptID").val("0"); - // $("#HBillNo").val(""); - // $("#HInterID").val("0"); - //} - function GetHWHValue(obj) //杩斿洖璋冨叆浠撳簱 - { - $("#HWHNAME").val(obj[0].HName); - //sessionStorage["HWHID"] = obj[0].HItemID; - $("#HWHID").val(obj[0].HItemID); - } - function GetHSpValue(obj) { //杩斿洖璋冨叆浠撲綅 - $("#HStockPlaceName").val(obj[0].HName); - $("#HStockPlaceID").val(obj[0].HItemID); - } - function GetHSupValue(obj) { //杩斿洖渚涘簲鍟� - $("#HSupName").val(obj[0].HName); - $("#HSupID").val(obj[0].HItemID); - } - function GetHKeeperValue(obj) { //杩斿洖淇濈 - $("#HKeeper").val(obj[0].HName); - $("#HKeeperID").val(obj[0].HItemID); - } - function GetHSecManagerValue(obj) { //杩斿洖楠屾敹 - $("#HSecManager").val(obj[0].HName); - $("#HSecManagerID").val(obj[0].HItemID); - } - function GetHDeptNameValue(obj) { //杩斿洖閮ㄩ棬 - $("#HDeptName").val(obj[0].HName); - $("#HDeptID").val(obj[0].HItemID); - } - //function Get_CheckWhAndSP(sInterID, sHBillType, sBarCode, sHWHID, sHSPID) { //杩斿洖閮ㄩ棬 - // $.ajax({ - // url: "http://61.130.49.162:9090/WMSAPI///Kf_EntrustInBill/Get_CheckWhAndSP_Josn", - // type: "GET", - // data: { "sHInterID": sInterID, "sHBillType": sHBillType, "sBarCode": sBarCode, "sHWHID": sHWHID, "sHSPID": sHSPID }, - // success: function (result) { - // if(result.count==1) - // { - // // layer.msg(result.Message, { icon: 1 }); - // return true; - // } - // else - // { - // layer.msg(result.Message, { icon: 5 }); - // return false; - // } - // } - // }) - //} - function AllowLoadData(sSubStr, bnt) { //闈炵┖楠岃瘉 - //if ($("#HSourceBillNo").val() == '') { - // layer.msg("璇峰厛鎵簮鍗�!", { icon: 5 }); - // return false; - //} - //if ($("#HDeptName").val() == '') { - // layer.msg("閮ㄩ棬娌℃湁閫夋嫨!", { icon: 5 }); - // return false; - //} - //if ($("#HSecManager").val() == '') { - // layer.msg("楠屾敹浜烘病鏈夐�夋嫨!", { icon: 5 }); - // return false; - //} - //if ($("#HKeeper").val() == '') { - // layer.msg("淇濈浜烘病鏈夐�夋嫨!", { icon: 5 }); - // return false; - //} - //if ($("#HSupName").val() == '') { - // layer.msg("渚涘簲鍟嗘病鏈夐�夋嫨!", { icon: 5 }); - // return false; - //} - //if ($("#HWHNAME").val() == '') { - // layer.msg("浠撳簱娌℃湁閫夋嫨!", { icon: 5 }); - // return false; - //} - if ($("#HBillNo").val() == '') { - layer.msg("閿欒鐨勫崟鎹彿!", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - return false; - } - if ($("#HInterID").val() == '') { - layer.msg("閿欒鐨勫唴鐮�!", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - return false; - } - if (typeof (sSubStr) == "undefined") { - layer.msg("娌℃湁鐗╂枡鏄庣粏璁板綍!", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - return false; - } - if (bnt == 'Saver') { - if (!typeof (sSubStr) == "undefined") { - for (var i = 0; i <= sSubStr.length - 1; i++) { //鍒ゆ柇鎵爜鏁伴噺涓嶈兘澶т簬搴旀敹鏁伴噺 - if (parseFloat(sSubStr[i].HQtyMust) > 0) { - if (parseFloat(sSubStr[i].HQty) > parseFloat(sSubStr[i].HQtyMust)) { - layer.msg("鏁伴噺涓嶈兘澶т簬搴旀敹鏁伴噺锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - return false; - } - } - } - for (var i = 0; i <= sSubStr.length - 1; i++) { //鍒ゆ柇鎵爜鏁伴噺涓嶈兘涓�0 - if (parseFloat(sSubStr[i].HQty) > 0) { - s = 1; - } - } - if (s == 0) { - layer.msg("濮斿鍏ュ簱璁板綍鏈壂鐮侊紒", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); - return false; - } - } - } - else { - return true; - } - } - </script> - -</body> -</html> +锘�<!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, maximum-scale=1"> + <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" style="padding:0"> + <div class="layui-card"> + <div class="layui-card-body" style="padding: 5px; height:800px;"> + <form class="layui-form" action="" lay-filter="component-form-group"> + <div style="background-color:#0085E8;"> + <span style="color: white;"><i class="layui-icon layui-icon-form"></i>濮斿鍏ュ簱鍗�</span> + </div> + <div class="layui-form-item" style="padding:15px;margin:0px"> + <div class="layui-row"> + <div class="layui-col-xs3"> + <label class="layui-form-label" style="width:60px;padding-left:0px;">MES搴撲綅</label> + </div> + <div class="layui-col-xs8"> + <input type="text" name="HMESSPName" id="HMESSPName" autocomplete="off" class="layui-input"> + <input type="hidden" name="HMESSPID" id="HMESSPID" value="0" autocomplete="off" class="layui-input"> + <input type="hidden" name="HExplanation" id="HExplanation" autocomplete="off" class="layui-input"> + </div> + </div> + <div class="layui-row"> + <div class="layui-col-xs3"> + <label class="layui-form-label" style="width:40px;padding-left:0px;">鏉$爜</label> + </div> + <div class="layui-col-xs8"> + <input type="text" name="HBarCode" id="HBarCode" lay-verify="HBarCode" autocomplete="off" class="layui-input"> + </div> + </div> + </div> + <div class="layui-tab layui-col-xs12" lay-filter="tab-Kf_EntrustInBill"> + <ul class="layui-tab-title" lay-filter="tab-all"> + <li lay-id="1" style="padding:1px;" class="layui-this">婧愬崟淇℃伅</li> + <li lay-id="2" style="padding:1px;">鍗曟嵁淇℃伅</li> + <li lay-id="3" style="padding:1px;">鐗╂枡娓呭崟</li> + <li lay-id="4" style="padding:1px;">鍚堣淇℃伅</li> + </ul> + <div class="layui-tab-content"> + <!--婧愬崟淇℃伅--> + <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"> + <input type="text" value="鏀舵枡閫氱煡鍗�-濮斿" name="HBillTypeCHN" id="HBillTypeCHN" lay-verify="HBillTypeCHN" autocomplete="off" class="layui-input" readonly> + <input type="hidden" value="1103" name="HBillType" id="HBillType" lay-verify="HBillType" autocomplete="off" class="layui-input"> + + <!--<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> + </div> + <div class="layui-col-xs8"> + <input type="text" name="HSourceBillNo" id="HSourceBillNo" lay-verify="HSourceBillNo" autocomplete="off" class="layui-input"> + </div> + </div> + </div> + </div> + <!--鍗曟嵁淇℃伅--> + <div class="layui-tab-item"> + <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="HWHNAME" id="HWHNAME" lay-verify="HWHNAME" autocomplete="off" class="layui-input" readonly> + <input type="hidden" name="HWHID" id="HWHID" lay-verify="HWHID" autocomplete="off" class="layui-input"> + </div> + <div class="layui-col-xs2"> + <button type="button" lay-submit="" class="layui-btn" lay-filter="HWHID-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="HStockPlaceName" id="HStockPlaceName" lay-verify="HStockPlaceName" autocomplete="off" class="layui-input" style="background-color:#efefef4d;" readonly> + <input type="hidden" name="HStockPlaceID" id="HStockPlaceID" lay-verify="HStockPlaceID" value="0" autocomplete="off" class="layui-input"> + </div> + <div class="layui-col-xs3"> + <button type="button" lay-submit="" class="layui-btn" lay-filter="HSpID-BT" style="display:none">...</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:45px;padding-left:0px;">渚涘簲鍟�</label> + </div> + <div class="layui-col-xs6"> + <input type="text" name="HSupName" id="HSupName" lay-verify="HSupName" autocomplete="off" class="layui-input"> + <input type="hidden" name="HSupID" id="HSupID" lay-verify="HSupID" value="0" autocomplete="off" class="layui-input"> + </div> + <div class="layui-col-xs3"> + <button type="button" lay-submit="" class="layui-btn" lay-filter="HSupID-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="HKeeper" id="HKeeper" lay-verify="HKeeper" autocomplete="off" class="layui-input"> + <input type="hidden" name="HKeeperID" id="HKeeperID" lay-verify="HKeeperID" value="0" autocomplete="off" class="layui-input"> + </div> + <div class="layui-col-xs3"> + <button type="button" lay-submit="" class="layui-btn" lay-filter="HKeeperID-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="HSecManager" id="HSecManager" lay-verify="HSecManager" autocomplete="off" class="layui-input"> + <input type="hidden" name="HSecManagerID" id="HSecManagerID" lay-verify="HSecManagerID" value="0" autocomplete="off" class="layui-input"> + </div> + <div class="layui-col-xs3"> + <button type="button" lay-submit="" class="layui-btn" lay-filter="HSecManagerID-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"> + <input type="text" name="HBillerID" id="HBillerID" lay-verify="HBillerID" autocomplete="off" class="layui-input"> + <input type="text" name="HMaker" id="HMaker" lay-verify="HMaker" autocomplete="off" class="layui-input"> + <input type="hidden" name="HMakerID" id="HMakerID" lay-verify="HMakerID" value="0" autocomplete="off" class="layui-input" style="display : none"> + </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="HDeptName" id="HDeptName" lay-verify="HDeptName" autocomplete="off" class="layui-input"> + <input type="hidden" name="HDeptID" id="HDeptID" lay-verify="HDeptID" value="0" autocomplete="off" class="layui-input"> + </div> + <div class="layui-col-xs3"> + <button type="button" lay-submit="" class="layui-btn" lay-filter="HDeptID-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:45px;padding-left:0px;">鍗曟嵁鍙�</label> + </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> + </div> + <!--鐗╂枡娓呭崟--> + <div class="layui-tab-item"> + <div class="layui-row"> + <div class="layui-col-xs12"> + <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:40px;padding-left:0px;">鏁伴噺</label> + </div> + <div class="layui-col-xs8"> + <input type="text" name="HQty" id="HQty" lay-verify="HQty" autocomplete="off" class="layui-input"> + </div> + </div> + </div> + <table class="layui-hide" id="wl-table" lay-filter="wl-table"></table> + </div> + </div> + </div> + <!--鍚堣淇℃伅--> + <div class="layui-tab-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 layui-input-inline mobile"> + <input type="text" name="HBarcodeQtys" id="HBarcodeQtys" lay-verify="HBarcodeQtys" value="0" autocomplete="off" class="layui-input"> + </div> + </div> + <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 layui-input-inline mobile"> + <input type="text" name="HSumQtys" id="HSumQtys" lay-verify="HSumQtys" value="0" autocomplete="off" class="layui-input"> + </div> + </div> + <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 layui-input-inline mobile"> + <!--<input type="text" name="HNote" id="HNote" lay-verify="HNote" autocomplete="off" class="layui-input">--> + <textarea id="rizhi" style="height: 200px;width: 100%;"></textarea> + </div> + </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> + </form> + </div> + </div> + </div> + <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> + <script src="../../../layuiadmin/timeFormat/timeFormat.js"></script> + <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 + , element = layui.element; + + var RZ = ""; + var Flag = sessionStorage["SourceFlag"]; + //琛ㄥご鍒濆鍖栬祴鍊硷紙鏍规嵁鐧诲綍鐢ㄦ埛鑾峰彇 榛樿浠撳簱銆侀儴闂ㄣ�侀獙鏀躲�佷繚绠°�侀噾铦剁敤鎴凤級 new + $("#HWHID").val(sessionStorage["HWHID"]); + $("#HWHNAME").val(sessionStorage["HWHName"]); + $("#HStockPlaceID").val(sessionStorage["HSPID"]); + $("#HStockPlaceName").val(sessionStorage["HSPName"]); + //$("#HSupID").val(sessionStorage["HSupID"]); + //$("#HSupName").val(sessionStorage["HSupName"]); + $("#HDeptID").val(sessionStorage["HDeptID"]); + $("#HDeptName").val(sessionStorage["HDept"]); + $("#HSecManagerID").val(sessionStorage["HSecManagerID"]); + $("#HSecManager").val(sessionStorage["HSecManager"]); + $("#HKeeperID").val(sessionStorage["HKeeperID"]); + $("#HKeeper").val(sessionStorage["HKeeper"]); + $("#HMaker").val(sessionStorage["HUserName"]); + $("#HMaker").hide(); + $("#HMakerID").hide(); + $("#HBillerID").val(sessionStorage["HBillerID"]); + $("#HBillerID").hide(); + + + //榛樿甯﹀叆鐨勪粨搴擄紝濡傛灉鍚敤浠撲綅鍒欎粨浣嶆湁鏁堬紝濡傛灉娌℃湁鍚敤鍒欎粨浣嶇伆搴� new + + + //鑾峰彇鍙傛暟 + 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]]; //浠庡弬鏁颁腑鑾峰彇 鍗曟嵁鍐呯爜 + var lSourceBillType = params[params[2]]; //浠庡崟鎹幏鍙� 婧愬崟绫诲瀷 + + //鍔犺浇琛ㄥご + function RoadBillMain(linterid) + { + $.ajax({ + url: GetWEBURL() + "/Web/GetPonderationBill", + type: "GET", + data: { "HInterID": linterid }, + success: function (d) { + // console.log(d.data); + $("#HInterID").val(d.data[0].HInterID); + $("#HBillNo").val(d.data[0].HBillNo); + $("#HBillType").val(d.data[0].HSourceBillType); + $("#HSourceBillNo").val(d.data[0].HSourceBillNo); + //$("#HWHID").val(d.data[0].HWhID); + //$("#HKeeperID").val(d.data[0].HKeeperID); + //$("#HSecManagerID").val(d.data[0].HSecManagerID); + //$("#HDeptID").val(d.data[0].HDeptID); + //$("#HBarCode").val(d.data[0].HBarCode); + //$("#HQty").val(d.data[0].HQty); + } + }) + } + + //鍔犺浇琛ㄤ綋 + function RoadBillSub(linterid) + { + table.render({ + elem: '#wl-table' + , url: GetWEBURL() + '/Kf_EntrustInBill/DisBillEntryList_Webs_Json' + , toolbar: '#toolbarDemo' + , where: { HBillID: linterid, HBillType: '1210', 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 } + ]] + , height: 500 + , done: function () { + layer.closeAll("loading"); + } + }); + } + + //鍔ㄦ�佸姞杞芥簮鍗曠被鍨嬪垪琛� new + + + + + + + + //鍒ゆ柇鏄惁鏂板 + if (linterid == null || linterid == 0) { + //鑾峰彇鏈�澶у崟鎹彿 new + $("#HInterID").val(""); + $("#HBillNo").val(""); + $.ajax({ + url: GetWEBURL() + "/Web/GetMAXNum", + type: "GET", + data: { "HBillType": '1210' }, + success: function (d) { + //console.log(d.data); + $("#HInterID").val(d.data[0].HInterID); + $("#HBillNo").val(d.data[0].HBillNo); + } + }); + } + else {//濡傛灉淇敼鍒欒蛋涓嬮潰 new + RoadBillMain(linterid); + RoadBillSub(linterid); + } + + //閫夋嫨璋冨叆浠撳簱 + form.on('submit(HWHID-BT)', function () { + layer.open({ + type: 2 + , area: ['100%', '100%'] + , title: '浠撳簱鍒楄〃' + , shade: 0.6 //閬僵閫忔槑搴� + , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 + , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� + , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_WarehouseList.html?Type=HWHID', 'yes'] + , resize: false + , cancel: function () { + //$(".layui-btn").removeClass("layui-btn-disabled"); + } + }) + }); + + //閫夋嫨璋冨叆浠撲綅 + form.on('submit(HSpID-BT)', function () { + layer.open({ + type: 2 + , area: ['100%', '100%'] + , title: '浠撲綅鍒楄〃' + , shade: 0.6 //閬僵閫忔槑搴� + , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 + , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� + , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_StockPlaceList.html?HWhID=' + sessionStorage["HWHID"] + '&Type=HSpID', 'yes'] + , resize: false + , cancel: function () { + //$(".layui-btn").removeClass("layui-btn-disabled"); + } + }) + }); + + //閫夋嫨渚涘簲鍟� + form.on('submit(HSupID-BT)', function () { + layer.open({ + type: 2 + , area: ['100%', '100%'] + , title: '渚涘簲鍟嗗垪琛�' + , shade: 0.6 //閬僵閫忔槑搴� + , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 + , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� + , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_SupplierList.html', 'yes'] + , resize: false + , cancel: function () { + //$(".layui-btn").removeClass("layui-btn-disabled"); + } + }) + }); + + //閫夋嫨淇濈 + form.on('submit(HKeeperID-BT)', function () { + layer.open({ + type: 2 + , area: ['100%', '100%'] + , title: '淇濈鍒楄〃' + , shade: 0.6 //閬僵閫忔槑搴� + , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 + , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� + , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes'] + , resize: false + , cancel: function () { + //$(".layui-btn").removeClass("layui-btn-disabled"); + } + }) + }); + + //閫夋嫨楠屾敹 + form.on('submit(HSecManagerID-BT)', function (data) {//閫夋嫨楠屾敹 + var sMainStr = JSON.stringify(data.field); + layer.open({ + type: 2 + , area: ['100%', '100%'] + , title: '楠屾敹鍒楄〃' + , shade: 0.6 //閬僵閫忔槑搴� + , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 + , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� + , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HSecManager', 'yes'] + , resize: false + , cancel: function () { + //$(".layui-btn").removeClass("layui-btn-disabled"); + } + }) + }); + + //閫夋嫨閮ㄩ棬 + form.on('submit(HDeptID-BT)', function () { + layer.open({ + type: 2 + , area: ['100%', '100%'] + , title: '閮ㄩ棬鍒楄〃' + , shade: 0.6 //閬僵閫忔槑搴� + , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 + , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� + , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_DepartmentList.html', 'yes'] + , resize: false + , cancel: function () { + //$(".layui-btn").removeClass("layui-btn-disabled"); + } + }) + }); + + //缂栬緫鎸夐挳 + form.on('submit(cmdModify)', function () { + var sSubStr = table.cache['wl-table']; + //if (AllowLoadData(sSubStr) != false) {//闈炵┖楠岃瘉 + layer.open({ + type: 2 + , area: ['100%', '100%'] + , title: '鏄庣粏鍒楄〃' + , shade: 0.6 //閬僵閫忔槑搴� + , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 + , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� + , content: ['../../../views/鍏叡椤甸潰/Kf_BarCodeEditDlg.html?table=' + JSON.stringify(sSubStr), 'yes'] + , resize: false + , cancel: function () { + } + }) + }); + + //鍏抽棴鎸夐挳 + form.on('submit(Cancel)', function () { + Flag = false; + parent.location.href = "../../../views/index.html" + //window.close();//鍏抽棴褰撳墠椤� + }) + + //鎻愪氦鎸夐挳 + form.on('submit(Saver)', function (data) { + if ($("#HExplanation").val() == "") { + if ($("#HWHNAME").val() == "瀹藉箙鎴愬搧浠揘EW" || $("#HWHNAME").val() == "鏍锋湰浠揘EW") { + $("#HWHNAME").val(""); + $("#HWHID").val(""); + layer.msg("璇锋壂MES搴撲綅鐮侊紒", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + return; + } + } + var sMainStr = JSON.stringify(data.field); + var sSubStr = table.cache['wl-table']; + var sSourceType = $("#HBillType").val(); + if (AllowLoadData(sSubStr, 'Saver') != false)//闈炵┖楠岃瘉 + { + layer.load(3); + $.ajax( + { + type: "POST", + //url: "http://61.130.49.162:9090/WMSAPI///Kf_EntrustInBill/set_SaveEntrustInBill_Json", //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚� + //url: GetWEBURL() + "/Kf_EntrustInBill/set_SaveEntrustInBill_Json", + url: GetWEBURL() + "/Kf_EntrustInBill/set_SaveEntrustInBill_New_Json", + async: true, + data: { "oMain": sMainStr }, + dataType: "json", + success: function (data) { + if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜� + layer.confirm("鐢熸垚濮斿鍏ュ簱鍗�" + data.Message + $("#HBillNo").val(), { + icon: 1, + skin: 'layui-layer-lan', + 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(data.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + } + layer.closeAll("loading"); + layui.form.render(); + }, + error: function (err) { + layer.msg("閿欒:" + err, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + } + }); + return false; + } + }); + + //鐩戝惉鎻愪氦 + form.verify({ + numberOrEmpty: function (value, item) { + // if (value != '') { + if (!/^\d+$/.test(value)) { + return '涓嶈兘涓虹┖鎴栨暟瀛楁垨鑰�0'; + } + //} + } + }); + + //鎵潯鐮� + $('#HBarCode').on('keydown', function (event) { + var sSubStr = table.cache['wl-table']; + var sBarCode = $('#HBarCode').val() + var sInterID = $("#HInterID").val() + var sBillNo = $("#HBillNo").val() + var sQty = $("#HQty").val() + var sHBillType = $("#HBillType").val() + var sHWHID = $("#HWHID").val() + var sHSPID = $("#HStockPlaceID").val() + var sSourceBillNo = $("#HSourceBillNo").val() + if (sQty == "") { + sQty = 0; + } + //if ($("#HSourceBillNo").val() == '') { + // layer.msg("璇峰厛鎵簮鍗�!", { icon: 5 }); + // return false; + //} + //if ($("#HDeptName").val() == '') { + // layer.msg("閮ㄩ棬娌℃湁閫夋嫨!", { icon: 5 }); + // return false; + //} + //if ($("#HSecManager").val() == '') { + // layer.msg("鍙戞枡浜烘病鏈夐�夋嫨!", { icon: 5 }); + // return false; + //} + //if ($("#HKeeper").val() == '') { + // layer.msg("棰嗘枡浜烘病鏈夐�夋嫨!", { icon: 5 }); + // return false; + //} + //if ($("#HSupName").val() == '') { + // layer.msg("渚涘簲鍟嗘病鏈夐�夋嫨!", { icon: 5 }); + // return false; + //} + //if ($("#HWHNAME").val() == '') { + // layer.msg("浠撳簱娌℃湁閫夋嫨!", { icon: 5 }); + // return false; + //} + if (event.keyCode == 13) { + //鍒ゆ柇鏉$爜鏄惁涓虹┖ new + if (sBarCode == '') { + layer.msg("鏉$爜涓虹┖锛屼笉鑳芥壂鎻忥紒", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + return false; + } + if (sBarCode != "") { + $('#HBarCode').val(""); + } + if (sQty != "") { + $('#HQty').val(""); + } + //if (AllowLoadData(sSubStr, 'HBarCode') != false) {//闈炵┖楠岃瘉 + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Kf_EntrustInBill/get_CheckTypeByBarCode_Json", + url: GetWEBURL() + "/Kf_EntrustInBill/get_CheckTypeByBarCode_Json", + type: "GET", + data: { "sCode": sBarCode, "sInterID": sInterID, "sBillNo": sBillNo, "sMaker": sessionStorage["HUserName"], "WhID": sHWHID, "SPID": sHSPID, "sQty": sQty, "sRedBlue": false, "SourceFlag": Flag, "sSourceBillNo": sSourceBillNo, "sSourceType": sHBillType, "HOWNERID": 0 }, + success: function (result) { + if (result.count == 1) { + if (result.data.HBarType == '浠撳簱鏉$爜') { + $("#HWHNAME").val(result.data.HWhName); + $("#HWHID").val(result.data.HWhID); + $("#HStockPlaceName").val(""); + //$("#HNote").val(";涓�閿壂鐮佷粨搴撴潯鐮�"); + $("#rizhi").val(RZ += Format(new Date(), "yyyy-MM-dd hh:mm:ss.S") + "鎵潯鐮佷粨搴撴潯鐮侊紝鎴愬姛\n"); + element.tabChange('tab-Kf_EntrustInBill', '2'); //璺宠浆椤电 + } + else if (result.data.HBarType == '浠撲綅鏉$爜') { + $("#HStockPlaceName").val(result.data.HSPName); + $("#HStockPlaceID").val(result.data.HSPID); + $("#HWHNAME").val(result.data.HWhName); + $("#HWHID").val(result.data.HWhID); + //$("#HNote").val(";涓�閿壂鐮佷粨浣嶆潯鐮�"); + $("#rizhi").val(RZ += Format(new Date(), "yyyy-MM-dd hh:mm:ss.S") + "鎵潯鐮佷粨浣嶆潯鐮侊紝鎴愬姛\n"); + element.tabChange('tab-Kf_EntrustInBill', '2');//璺宠浆椤电 + } + else if (result.data.HBarType == '閮ㄩ棬鏉$爜') { + $("#HDeptName").val(result.data.HDeptName); + $("#HDeptID").val(result.data.HDeptID); + //$("#HNote").val(";涓�閿壂鐮侀儴闂ㄦ潯鐮�"); + $("#rizhi").val(RZ += Format(new Date(), "yyyy-MM-dd hh:mm:ss.S") + "鎵潯鐮侀儴闂ㄦ潯鐮侊紝鎴愬姛\n"); + element.tabChange('tab-Kf_EntrustInBill', '2');//璺宠浆椤电 + } + else if (result.data.HBarType == '婧愬崟鏉$爜') { + $("#HSupName").val(result.data.HSupName); + $("#HSupID").val(result.data.HSupID); + $("#HDeptName").val(result.data.HDeptName); + $("#HDeptID").val(result.data.HDeptID); + $("#HSourceBillNo").val(result.data.HSourceBillNo); + Flag = true; + //鑾峰彇婧愬崟绫诲瀷銆佹簮鍗曞崟鍙� + if (result.data.HSourceBillType == "1103") { + $("#HBillType").val("1103"); + + } + else if (result.data.HSourceBillType == "1601") { + $("#HBillType").val("1601"); + } + else { + $("#HBillType").val("鎵嬪伐褰曞叆"); + } + //$("#HNote").val(";涓�閿壂鐮佹簮鍗曟潯鐮�"); + $("#rizhi").val(RZ += Format(new Date(), "yyyy-MM-dd hh:mm:ss.S") + "鎵潯鐮佹簮鍗曟潯鐮侊紝鎴愬姛\n"); + element.tabChange('tab-Kf_EntrustInBill', '3'); + } + else { + if (Flag == "true") { + element.tabChange('tab-Kf_EntrustInBill', '3'); + } + else { + $("#HSupName").val(result.data.HSupName); + $("#HSupID").val(result.data.HSupID); + //$("#HDeptName").val(result.data.HDeptName); + //$("#HDeptID").val(result.data.HDeptID); + $("#HSourceBillNo").val(result.data.HSourceBillNo); + Flag = true; + //鑾峰彇婧愬崟绫诲瀷銆佹簮鍗曞崟鍙� + if (result.data.HSourceBillType == "1103") { + $("#HBillType").val("1103"); + + } + else if (result.data.HSourceBillType == "1601") { + $("#HBillType").val("1601"); + } + else { + $("#HBillType").val("鎵嬪伐褰曞叆"); + } + //$("#HNote").val(";鐗╂枡鏉$爜"); + $("#rizhi").val(RZ += Format(new Date(), "yyyy-MM-dd hh:mm:ss.S") + "鎵潯鐮佺墿鏂欐潯鐮侊紝鎴愬姛\n"); + element.tabChange('tab-Kf_EntrustInBill', '3'); + } + } + //$("#HSupID").val(result.data.HSupID); + //$("#HSupName").val(result.data.HSupName); + //$("#HDeptID").val(result.data.HDeptID); + //$("#HDeptName").val(result.data.HDeptName); + layer.load(3) + table.render({ + elem: '#wl-table' + , url: GetWEBURL() + '/Kf_EntrustInBill/DisBillEntryList_Webs_Json' + , toolbar: '#toolbarDemo' + , where: { HBillID: sInterID, HBillType: '1210', sWhere: '' } + , cellMinWidth: 90 + , 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 } + ]] + , height: 500 + , done: function () { + layer.closeAll("loading"); + } + }); + } + else { + // $("#verifycode").click(); + //layer.msg(result.Message, { icon: 5 }); + layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + } + layer.closeAll("loading"); + }, + error: function (err) { + layer.msg("閿欒:" + err, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + } + }); + } + //else + //{ + // layer.msg(result.Message, { icon: 5 }); + //} + //layer.closeAll("loading"); + //} + }); + + //鎵簮鍗曟柟娉� + $('#HSourceBillNo').on('keydown', function (event) { + var HSourceBillNo = $('#HSourceBillNo').val() + var sInterID = $("#HInterID").val() + var sBillNo = $("#HBillNo").val() + var HSourceBillType = $("#HBillType").val() + if (event.keyCode == 13) { + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Kf_EntrustInBill/set_SavePonderationBillMain_Temp_Source_Fast_Json", + url: GetWEBURL() + "/Kf_EntrustInBill/set_SavePonderationBillMain_Temp_Source_Fast_Json", + type: "GET", + data: { "HSourceBillType": HSourceBillType, "HSourceBillNo": HSourceBillNo, "sInterID": sInterID, "sBillNo": sBillNo }, + success: function (result) { + if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝 + $("#rizhi").val(RZ += Format(new Date(), "yyyy-MM-dd hh:mm:ss.S") + "鎵簮鍗曪紝鎴愬姛\n"); + $("#HSupID").val(result.data[0].HSupID); + $("#HSupName").val(result.data[0].HSupName); + //$("#HDeptID").val(result.data[0].HDeptID); + //$("#HDeptName").val(result.data[0].HDeptName); + Flag = true; + layer.load(3); + element.tabChange('tab-Kf_EntrustInBill', '2'); + table.render({ + elem: '#wl-table' + //, url: 'http://61.130.49.162:9090/WMSAPI///Kf_EntrustInBill/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/Kf_EntrustInBill/DisBillEntryList_Webs_Json' + , toolbar: '#toolbarDemo' + , where: { HBillID: sInterID, HBillType: '1210', 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 { + // $("#verifycode").click(); + //layer.msg(result.Message, { icon: 5 }); + layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + } + layer.closeAll("loading"); + } + }); + // layer.msg($('#HSourceBillNo').val(), { icon: 1 }); + } + }); + + //鎵粨浣� + $('#HStockPlaceName').on('keydown', function (event) { + var HBarCode = $('#HStockPlaceName').val() + if (event.keyCode == 13) { + //鍒ゆ柇鏂囨湰妗嗘槸鍚︽湁鏁版嵁 new + $.ajax({ + url: GetWEBURL() + "/LookingFor/getSpName_Json", + type: "GET", + data: { "HBarCode": HBarCode }, + success: function (result) { + if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝 + $("#HStockPlaceName").val(result.data[0].HName); + $("#HWHID").val(result.data[0].HWHID); + $("#HWHNAME").val(result.data[0].HWhName); + element.tabChange('tab-POStockInBill', '2'); + } + else { + layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + } + layer.closeAll("loading"); + } + }); + } + }); + + table.render({ + elem: '#mx-table' + // , url: 'http://localhost:8083/Kf_EntrustInBill/GetHBarCodeShowBillSub' + //, toolbar: '#toolbarDemo' + // , where: { sMsg: linterid, sMsg2: lentryid } + , cols: [[ + , { field: 'HMaterID', title: '鐗╂枡ID', width: 100, hide: true } + ]] + , page: true + , height: 500 + , done: function () { + } + }); + + //鎵玀ES浠撲綅 + $('#HMESSPName').on('keydown', function (event) { //鎵粨浣� + var HBarCode = $('#HMESSPName').val(); + if (event.keyCode == 13) { + $.ajax({ + url: GetWEBURL() + "/LookingFor/getSpName_Json", + type: "GET", + data: { "HBarCode": HBarCode }, + success: function (result) { + if (result.count == 1) { + $("#HMESSPID").val(result.data[0].HWHID); + $("#HMESSPName").val(result.data[0].HWhName + "-" + result.data[0].HName); + $("#HExplanation").val(result.data[0].HName + "-" + result.data[0].HWhName); + $.ajax({ + url: GetWEBURL() + "/LookingFor/GetSpNameMES_Json", + type: "GET", + data: { "HERPWHID": result.data[0].HWHID }, + success: function (result) { + if (result.count == 1) { + $("#HWHID").val(result.data[0].HMESWHID); + $("#HWHNAME").val(result.data[0].HMESWHNAME); + $("#HMESSPName").attr("readonly", "readonly");//MES浠撲綅鍙HExplanation + $("#HMESSPName").css("background-color", "#efefef4d"); + } + else { + layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + } + layer.closeAll("loading"); + } + }); + } + else { + layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + } + layer.closeAll("loading"); + } + }); + } + }); + + //浠ヤ笂涓簂ayui妯″潡 + }); + //娓呯┖琛ㄥご + //function f_ClearTitle() { + + // $("#HBarCode").val(""); + // $("#HSpName").val(""); + // $("#HSpID").val("0"); + // $("#HQty").val("0"); + // $("#HSourceBillNo").val(""); + // $("#HWHNAME").val(""); + // $("#HWHID").val("0"); + // $("#HSCWHNAME").val(""); + // $("#HSCWHID").val("0"); + // $("#HSupName").val(""); + // $("#HSupID").val("0"); + // $("#HKeeper").val(""); + // $("#HKeeperID").val("0"); + // $("#HSecManager").val("0"); + // $("#HSecManagerID").val(""); + // $("#HDeptName").val(""); + // $("#HDeptID").val("0"); + // $("#HBillNo").val(""); + // $("#HInterID").val("0"); + //} + function GetHWHValue(obj) //杩斿洖璋冨叆浠撳簱 + { + $("#HWHNAME").val(obj[0].HName); + //sessionStorage["HWHID"] = obj[0].HItemID; + $("#HWHID").val(obj[0].HItemID); + } + function GetHSpValue(obj) { //杩斿洖璋冨叆浠撲綅 + $("#HStockPlaceName").val(obj[0].HName); + $("#HStockPlaceID").val(obj[0].HItemID); + } + function GetHSupValue(obj) { //杩斿洖渚涘簲鍟� + $("#HSupName").val(obj[0].HName); + $("#HSupID").val(obj[0].HItemID); + } + function GetHKeeperValue(obj) { //杩斿洖淇濈 + $("#HKeeper").val(obj[0].HName); + $("#HKeeperID").val(obj[0].HItemID); + } + function GetHSecManagerValue(obj) { //杩斿洖楠屾敹 + $("#HSecManager").val(obj[0].HName); + $("#HSecManagerID").val(obj[0].HItemID); + } + function GetHDeptNameValue(obj) { //杩斿洖閮ㄩ棬 + $("#HDeptName").val(obj[0].HName); + $("#HDeptID").val(obj[0].HItemID); + } + //function Get_CheckWhAndSP(sInterID, sHBillType, sBarCode, sHWHID, sHSPID) { //杩斿洖閮ㄩ棬 + // $.ajax({ + // url: "http://61.130.49.162:9090/WMSAPI///Kf_EntrustInBill/Get_CheckWhAndSP_Josn", + // type: "GET", + // data: { "sHInterID": sInterID, "sHBillType": sHBillType, "sBarCode": sBarCode, "sHWHID": sHWHID, "sHSPID": sHSPID }, + // success: function (result) { + // if(result.count==1) + // { + // // layer.msg(result.Message, { icon: 1 }); + // return true; + // } + // else + // { + // layer.msg(result.Message, { icon: 5 }); + // return false; + // } + // } + // }) + //} + function AllowLoadData(sSubStr, bnt) { //闈炵┖楠岃瘉 + //if ($("#HSourceBillNo").val() == '') { + // layer.msg("璇峰厛鎵簮鍗�!", { icon: 5 }); + // return false; + //} + //if ($("#HDeptName").val() == '') { + // layer.msg("閮ㄩ棬娌℃湁閫夋嫨!", { icon: 5 }); + // return false; + //} + //if ($("#HSecManager").val() == '') { + // layer.msg("楠屾敹浜烘病鏈夐�夋嫨!", { icon: 5 }); + // return false; + //} + //if ($("#HKeeper").val() == '') { + // layer.msg("淇濈浜烘病鏈夐�夋嫨!", { icon: 5 }); + // return false; + //} + //if ($("#HSupName").val() == '') { + // layer.msg("渚涘簲鍟嗘病鏈夐�夋嫨!", { icon: 5 }); + // return false; + //} + //if ($("#HWHNAME").val() == '') { + // layer.msg("浠撳簱娌℃湁閫夋嫨!", { icon: 5 }); + // return false; + //} + if ($("#HBillNo").val() == '') { + layer.msg("閿欒鐨勫崟鎹彿!", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + return false; + } + if ($("#HInterID").val() == '') { + layer.msg("閿欒鐨勫唴鐮�!", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + return false; + } + if (typeof (sSubStr) == "undefined") { + layer.msg("娌℃湁鐗╂枡鏄庣粏璁板綍!", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + return false; + } + if (bnt == 'Saver') { + if (!typeof (sSubStr) == "undefined") { + for (var i = 0; i <= sSubStr.length - 1; i++) { //鍒ゆ柇鎵爜鏁伴噺涓嶈兘澶т簬搴旀敹鏁伴噺 + if (parseFloat(sSubStr[i].HQtyMust) > 0) { + if (parseFloat(sSubStr[i].HQty) > parseFloat(sSubStr[i].HQtyMust)) { + layer.msg("鏁伴噺涓嶈兘澶т簬搴旀敹鏁伴噺锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + return false; + } + } + } + for (var i = 0; i <= sSubStr.length - 1; i++) { //鍒ゆ柇鎵爜鏁伴噺涓嶈兘涓�0 + if (parseFloat(sSubStr[i].HQty) > 0) { + s = 1; + } + } + if (s == 0) { + layer.msg("濮斿鍏ュ簱璁板綍鏈壂鐮侊紒", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" }); + return false; + } + } + } + else { + return true; + } + } + </script> + +</body> +</html> 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 9b2f92f..0540836 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" @@ -133,7 +133,7 @@ var sBillType = '1210' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillType: sBillType, sWhere: '' } , cols: [[ @@ -181,7 +181,7 @@ //layer.msg(data.Message, { icon: 1 }); table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' , cellMinWidth: 80 , toolbar: '#toolbarDemo' , where: { HBillType: '1210', sWhere: '' } @@ -219,7 +219,7 @@ var sBillType = '1210' table.render({ elem: '#dj-table' - , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' + , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json' , toolbar: '#toolbarDemo' , where: { HBillType: sBillType, sWhere: '' } , cols: [[ -- Gitblit v1.9.1