From 2b35a7bc0ee4cae4016692386a9d073870becdf6 Mon Sep 17 00:00:00 2001
From: admin <qiutairan163@163.com>
Date: 星期四, 04 十二月 2025 16:35:57 +0800
Subject: [PATCH] 格式化代码
---
HTML/views/StatisticalReport/AdventSlot.html | 18 +++++-------------
1 files changed, 5 insertions(+), 13 deletions(-)
diff --git a/HTML/views/StatisticalReport/AdventSlot.html b/HTML/views/StatisticalReport/AdventSlot.html
index e483692..3359bb5 100644
--- a/HTML/views/StatisticalReport/AdventSlot.html
+++ b/HTML/views/StatisticalReport/AdventSlot.html
@@ -91,13 +91,6 @@
</select>
</div>
</div>
- <div class="layui-inline mingxi">
- <label class="layui-form-label" style="width: 60px;">鍌ㄤ綅鍦板潃</label>
- <div class="layui-input-inline" style="width: 170px; margin-right: 0px;">
- <input type="text" id="LocatNo" name="LocatNo" placeholder="鍌ㄤ綅鍦板潃" autocomplete="off"
- class="layui-input">
- </div>
- </div>
<div class="layui-inline">
<button class="layui-btn layui-btn-sm layuiadmin-btn-list" lay-submit
@@ -321,10 +314,10 @@
{ field: 'WareHouseName', title: '浠撳簱', align: 'center', width: 100 },
{ field: 'RoadwayName', title: '宸烽亾', align: 'center', width: 100 },
{ field: 'AreaName', title: '鍖哄煙', align: 'center', width: 100 },
- { field: 'PalletNo', title: '鎵樼洏鍙�', align: 'center', width: 100 },
+ { field: 'PalletNo', title: '鎵樼洏鍙�', align: 'center', width: 100, sort: true },
{ field: 'LocatNo', title: '鍌ㄤ綅鍦板潃', align: 'center', width: 100 },
{ field: 'BoxNo', title: '绠卞彿', align: 'center', width: 220 },
- { field: 'SkuNo', title: '鐗╂枡缂栫爜', align: 'center', width: 100 },
+ { field: 'SkuNo', title: '鐗╂枡缂栫爜', align: 'center', width: 100, sort: true },
{ field: 'SkuName', title: '鐗╂枡鍚嶇О', align: 'center', width: 100 },
{ field: 'Qty', title: '搴撳瓨鏁伴噺', align: 'center', width: 100 },
{ field: 'Standard', title: '鐗╂枡瑙勬牸', align: 'center', width: 130 },
@@ -341,7 +334,7 @@
console.log(TotalColsSysArr);
//#endregion
//鑾峰彇鎬婚噺淇℃伅
- function refreshTable(SkuNo, SkuName, LotNo, PalletNo, Status, InspectMark, InspectStatus, LocatNo, IsBale, IsBelt) {
+ function refreshTable(SkuNo, SkuName, LotNo, PalletNo, Status, InspectMark, InspectStatus, IsBale, IsBelt) {
//#region 鑷畾涔夎〃澶�
var colsJson
var param1 = {
@@ -365,6 +358,7 @@
limit: pageCnt,
limits: pageLimits,
cellMinWidth: 60, //鍏ㄥ眬瀹氫箟甯歌鍗曞厓鏍肩殑鏈�灏忓搴︼紝layui 2.2.1 鏂板
+ autoSort: false, //鍓嶇鎺掑簭
done: function () {
//鑷畾涔夊垪瀹�
SetTableColW('LAY-app-content-list', 'Statistical/GetEmergencyWarning', TotalColsSysArr);
@@ -380,7 +374,6 @@
Status: Status,
InspectMark: InspectMark,
InspectStatus: InspectStatus,
- LocatNo: LocatNo,
};
sendData(IP + "/Statistical/GetEmergencyWarning", param, 'get', function (res) {
console.log(res);
@@ -415,10 +408,9 @@
var Status = data.field.Status;
var InspectMark = data.field.InspectMark;
var InspectStatus = data.field.InspectStatus;
- var LocatNo = data.field.LocatNo;
var IsBale = data.field.IsBale;
var IsBelt = data.field.IsBelt;
- refreshTable(SkuNo, SkuName, LotNo, PalletNo, Status, InspectMark, InspectStatus, LocatNo, IsBale, IsBelt);
+ refreshTable(SkuNo, SkuName, LotNo, PalletNo, Status, InspectMark, InspectStatus, IsBale, IsBelt);
});
form.on('submit(daochu)', function () {
--
Gitblit v1.8.0