From f011af757d1fa898742f69211f02139ab3847869 Mon Sep 17 00:00:00 2001
From: admin <qiutairan163@163.com>
Date: 星期二, 02 十二月 2025 17:02:47 +0800
Subject: [PATCH] 修改表格内容溢出破坏页面布局
---
HTML/views/BaseSetting/Materials.html | 46 +++++++++++++++++++++++++++++++++++-----------
1 files changed, 35 insertions(+), 11 deletions(-)
diff --git a/HTML/views/BaseSetting/Materials.html b/HTML/views/BaseSetting/Materials.html
index b329135..d03ed42 100644
--- a/HTML/views/BaseSetting/Materials.html
+++ b/HTML/views/BaseSetting/Materials.html
@@ -254,7 +254,7 @@
table.render({
elem: '#LAY-app-content-list',
- url: IP +"/Basis/GetMateList",
+ url: IP + "/Basis/GetMateList",
method: 'POST',
height: h1,//'full-'+hei1
id: 'LAY-app-content-list',
@@ -339,17 +339,9 @@
{
title: '鎿嶄綔', fixed: 'right', align: 'center', toolbar: '#table-content-list', width: 170
}
- ]],parseData: function(res) { // 鏁版嵁瑙f瀽鍥炶皟
- console.log('鍘熷杩斿洖鏁版嵁:', res);
- return {
- "code": res.code, // 瑙f瀽鎺ュ彛鐘舵��
- "msg": res.msg, // 瑙f瀽鎻愮ず鏂囨湰
- "count": res.count, // 瑙f瀽鏁版嵁闀垮害
- "data": res.data // 瑙f瀽鏁版嵁鍒楄〃
- };
- },
+ ]]
});
-
+
}
@@ -453,6 +445,22 @@
Price: Number(field.Price),
AdventTime: Number(field.AdventTime), //涓存湡
LowInventory: Number(field.LowInventory), //浣庡簱瀛�
+
+ //CAS鍙�
+ CasNo: field.CasNo,
+ //鏄惁鎵规绠$悊
+ IsLotManage: field.IsLotManage,
+ //鐣欐牱鏃堕棿
+ LeaveTime: field.LeaveTime,
+ //娑蹭綋鐗╂枡闂偣
+ LiquidFlashPoint: field.LiquidFlashPoint,
+ //鍗遍櫓璐т綅淇℃伅
+ DangerLocatInfo: field.DangerLocatInfo,
+ //鐏伀鏂瑰紡
+ OutFireMethod: field.OutFireMethod,
+ //鐗╂枡绂佸繉
+ MaterialTaboo: field.MaterialTaboo,
+
Demo: field.Demo
};
if (doing) {
@@ -625,6 +633,22 @@
Price: Number(field.Price),
AdventTime: Number(field.AdventTime), //涓存湡
LowInventory: Number(field.LowInventory), //浣庡簱瀛�
+
+ //CAS鍙�
+ CasNo: field.CasNo,
+ //鏄惁鎵规绠$悊
+ IsLotManage: field.IsLotManage,
+ //鐣欐牱鏃堕棿
+ LeaveTime: field.LeaveTime,
+ //娑蹭綋鐗╂枡闂偣
+ LiquidFlashPoint: field.LiquidFlashPoint,
+ //鍗遍櫓璐т綅淇℃伅
+ DangerLocatInfo: field.DangerLocatInfo,
+ //鐏伀鏂瑰紡
+ OutFireMethod: field.OutFireMethod,
+ //鐗╂枡绂佸繉
+ MaterialTaboo: field.MaterialTaboo,
+
Demo: field.Demo
};
if (doing) {
--
Gitblit v1.8.0