From 2f1f90ffe0a142bf02c28b9a450e36d20c0b79b9 Mon Sep 17 00:00:00 2001
From: llj <132905093+newwwwwwtree@users.noreply.github.com>
Date: 星期二, 05 八月 2025 15:08:39 +0800
Subject: [PATCH] pda 界面 需要把样品销售出库单和缓存(新增进去左上角把样品加上)网页端 价目表 价目表新添加的价目显示在最后一页,查阅不方便,需要改一下排序网页端 价目表 价目表页面没有”按钮设置“选项。没有导出功能,需要添加。PDA 其他出库 其他出库单里“退出“按键报错,网页端 用户列表 编辑完信息点保存后,页面会崩掉网页端 价目表 价目表编辑里的仓库改为必填项,不填写不让保存。
---
WebTM/views/Baseset/SRM_OpenTmpList.html | 33 +++++++++++++++++++++------------
1 files changed, 21 insertions(+), 12 deletions(-)
diff --git a/WebTM/views/Baseset/SRM_OpenTmpList.html b/WebTM/views/Baseset/SRM_OpenTmpList.html
index b02e4d3..f7fa5ab 100644
--- a/WebTM/views/Baseset/SRM_OpenTmpList.html
+++ b/WebTM/views/Baseset/SRM_OpenTmpList.html
@@ -35,7 +35,7 @@
<div class="layui-tab-content">
<div class="layui-tab-item layui-show">
- <table class="layui-hide" id="mainTable"></table>
+ <table class="layui-hide" id="mainTable" lay-filter="mainTable"></table>
</div>
</div>
</div>
@@ -66,10 +66,10 @@
, loading: false
, cols: [[
{ type: 'radio' }
- , { field: 'HItemID', width: 150, title: 'ID', hide: true }
- , { field: 'HNumber', width: 150, title: '妯″潡浠g爜' }
- , { field: 'HName', width: 150, title: '妯″潡鍚嶇О', hide: true }
- , { field: '妯℃澘鍚嶇О', width: 150, title: '妯℃澘鍚嶇О' }
+ , { field: 'HItemID', title: 'ID', hide: true }
+ , { field: 'HNumber', title: '妯″潡浠g爜' }
+ , { field: 'HName', title: '妯″潡鍚嶇О', hide: true }
+ , { field: '妯℃澘鍚嶇О', title: '妯℃澘鍚嶇О' }
]]
, page: true
, limits: [50, 500, 5000, 50000]
@@ -78,12 +78,21 @@
DisPlay_HideColumn();
- table.on('row(mainTable)', function (obj) {////娉細test鏄痶able鍘熷瀹瑰櫒鐨勫睘鎬� lay-filter="瀵瑰簲鐨勫��"
- obj.tr.addClass('layui-table-click').siblings().removeClass('layui-table-click');//閫変腑琛屾牱寮�
- obj.tr.find('input[lay-type="layTableRadio"]').prop("checked", true);
- form.render('radio');
- });
+ //table.on('row(mainTable)', function (obj) {////娉細test鏄痶able鍘熷瀹瑰櫒鐨勫睘鎬� lay-filter="瀵瑰簲鐨勫��"
+ // obj.tr.addClass('layui-table-click').siblings().removeClass('layui-table-click');//閫変腑琛屾牱寮�
+ // obj.tr.find('input[lay-type="layTableRadio"]').prop("checked", true);
+ // form.render('radio');
+ //});
+ //#region 鐐瑰嚮琛岄�変腑楂樹寒
+ table.on('row(mainTable)', function (obj) {
+ //閫変腑琛屾敼鍙橀鑹�
+ $(".layui-table-body tr ").attr({ "style": "background:" }); //鍏朵粬tr鎭㈠鍘熸牱
+ obj.tr.addClass('layui-table-click').siblings().removeClass('layui-table-click'); //閫変腑琛屾牱寮�
+ obj.tr.find('i[class="layui-anim layui-icon"]').trigger("click"); //閫変腑radio鏍峰紡
+ $(obj.tr.selector).attr({ "style": "background:#ceedfa;color:black" }); //鏀瑰彉褰撳墠tr鑳屾櫙棰滆壊鍜屽瓧浣撻鑹�
+ })
+ //#endregion
function getUrlVars() {
var vars = [], hash;
@@ -104,8 +113,8 @@
///鍔犺浇鏄剧ず鏁版嵁
function RoadList(Where) {
var Value = Where;
- if (Value == null) {
- Value = '';
+ if (Value == null || Value == undefined) {
+ Value = "";
}
$.ajax({
type: "get",
--
Gitblit v1.9.1