From 1ed3a8d72dff60d472ece399084e2b33f3e98cdf Mon Sep 17 00:00:00 2001
From: yusijie <ysj@hz-kingdee.com>
Date: 星期五, 15 八月 2025 13:52:03 +0800
Subject: [PATCH] 流转卡派工单排序重置;生产汇报单添加生产日期;车间定位库存查询添加批号字段,仓位代码加宽;小车锁定添加必填控制
---
WebTM/views/生产管理/生产汇报单/Sc_ICMOReportBill_FastNew.html | 53 ++++++++++++++++++++++++++++++++++++-----------------
1 files changed, 36 insertions(+), 17 deletions(-)
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_ICMOReportBill_FastNew.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_ICMOReportBill_FastNew.html"
index 4be4822..46e309a 100644
--- "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_ICMOReportBill_FastNew.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_ICMOReportBill_FastNew.html"
@@ -17,8 +17,8 @@
</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;">
+ <div class="layui-card">
+ <div class="layui-card-body" style="padding: 0px; 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>
@@ -100,14 +100,14 @@
<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>
+ <button type="button" lay-submit="" class="layui-btn" lay-filter="HSpID-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>
+ <label class="layui-form-label" style="width:30px;padding-left:0px;">鐝粍</label>
</div>
<div class="layui-col-xs6">
<input type="text" name="HGroupName" id="HGroupName" lay-verify="HGroupName" autocomplete="off" class="layui-input" disabled="disabled">
@@ -156,7 +156,7 @@
<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">
+ <input type="text" name="HQty" id="HQty" lay-verify="HQty" onkeyup="if(!this.value.match(/^[\+\-]?\d*?\.?\d*?$/)){if(!this.t_value>0){this.value=''}else{this.value=this.t_value;}}else this.t_value=this.value;if(this.value.match(/^(?:[\+\-]?\d+(?:\.\d+)?)?$/))this.o_value=this.value" autocomplete="off" class="layui-input" onfocus="this.select();">
</div>
</div>
</div>
@@ -553,7 +553,7 @@
//parent.location.href = "../../../views/index.html"
//window.close();//鍏抽棴褰撳墠椤�
layer.confirm('鎮ㄧ‘瀹氳閫�鍑哄悧锛�', { icon: 3, title: '鎻愮ず' }, function (index) {
- window.close();
+ parent.location.href = "../../../views/index_Mobile.html";
});
})
@@ -816,11 +816,12 @@
elem: '#wl-table'
, url: GetWEBURL() + '/POStockInBill/DisBillEntryList_Webs_Json'
, where: { HBillID: sInterID, HBillType: '3711', sWhere: '' }
- , cellMinWidth : 115
+ , cellMinWidth: 115
+ , totalRow: true
, cols: [[
{ type: 'radio' }
- , { field: 'HQty', title: '鏁伴噺', sort: true }
- , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', sort: true }
+ , { field: 'HQty', title: '鏁伴噺', sort: true, totalRow: true}
+ , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', sort: true, totalRow: true}
, { field: 'HMaterNumber', title: '鐗╂枡浠g爜', sort: true }
, { field: 'HMaterName', title: '鐗╂枡鍚嶇О', sort: true }
, { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿', sort: true }
@@ -881,21 +882,23 @@
table.render({
elem: '#wl-table'
, cellMinWidth: 80
+ , totalRow: true
//, url: 'http://61.130.49.162:9090/WMSAPI///POStockInBill/DisBillEntryList_Webs_Json'
, url: GetWEBURL() + '/POStockInBill/DisBillEntryList_Webs_Json'
//, toolbar: '#toolbarDemo'
, where: { HBillID: sInterID, HBillType: '3711', sWhere: '' }
, cols: [[
{ type: 'radio' }
- , { field: 'HQty', title: '鏁伴噺', sort: true }
- , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', sort: true }
+ , { field: 'HQty', title: '鏁伴噺', sort: true, totalRow: true}
+ , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', sort: true, totalRow: 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: '鎵规'}
+ , { field: 'HBatchNo', title: '鎵规' }
+ , { field: 'HPieceQty', title: '鏉$爜鏁伴噺', width: 150 }
]]
// , data: [linterid]
// , page: true
@@ -1008,11 +1011,13 @@
$("#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 GetHSpValue(obj) { //杩斿洖璋冨叆浠撲綅
+ $("#HStockPlaceName").val(obj[0].HName);
+ $("#HStockPlaceID").val(obj[0].HItemID);
+ $("#HWHNAME").val(obj[0].HWhName);
+ $("#HWHID").val(obj[0].HWHID);
+ }
function GetHSupValue(obj) { //杩斿洖渚涘簲鍟�
$("#HSupName").val(obj[0].HName);
$("#HSupID").val(obj[0].HItemID);
@@ -1034,6 +1039,20 @@
// layer.msg("璇峰厛鎵簮鍗�!", { icon: 5 });
// return false;
//}
+ //鏁板瓧姝e垯(鍖呭惈灏忔暟)
+ var reg = /^\d+(\.\d+)?$/;
+ //if (reg.test($("#HQty").val()) == false || $("#HQty").val() == '') {
+ // layer.msg("鏁伴噺蹇呴』涓烘暟閲忔垨灏忔暟", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ // return false;
+ //}
+ //if (reg.test($("#HBarcodeQtys").val()) == false || $("#HBarcodeQtys").val() == '') {
+ // layer.msg("鏉$爜鏁伴噺蹇呴』涓烘暟閲忔垨灏忔暟", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ // return false;
+ //}
+ //if (reg.test($("#HSumQtys").val()) == false || $("#HSumQtys").val() == '') {
+ // layer.msg("鎬绘暟閲忓繀椤讳负鏁伴噺鎴栧皬鏁�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ // return false;
+ //}
if($("#HDeptName").val()=='')
{
layer.msg("閮ㄩ棬娌℃湁閫夋嫨", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
--
Gitblit v1.9.1