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/home/console.html | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/WebTM/views/home/console.html b/WebTM/views/home/console.html index 10cd98e..edcba28 100644 --- a/WebTM/views/home/console.html +++ b/WebTM/views/home/console.html @@ -228,6 +228,25 @@ } }); + table.on('tool(mainTable)', function (obj) { + var data = obj.data; + if (obj.event == '涓婚') { + var linterid = data.HInterID.toString(); + var HEntryID = data.HEntryID.toString(); + layer.open({ + type: 2 + , area: ['100%', '100%'] + , title: '缂栬緫鍏憡' + , shift: 0//寮瑰嚭鍔ㄧ敾 + , content: '../绯荤粺绠$悊/鍏憡/GG_NoticeBillEdit.html?OperationType=3&linterid=' + linterid + '&HEntryID=' + HEntryID+'&HSouceBillType=' + , btn: ['纭畾'], + // 鎸夐挳1 鐨勫洖璋� + end: function (index, layero, that) { + } + }) + } + }); + $('.FastMenu_1').on('click', 'ul li', function (event) { // 杩欓噷鍐欎綘鐨勭偣鍑讳簨浠跺鐞嗕唬鐮� console.log('List item clicked:', $(this).text()); @@ -385,6 +404,13 @@ if ($.inArray(data[i].name, titleData) > -1) { col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //闅愯棌id鍒� } + else if (data[i].name == '涓婚') {//娣诲姞瓒呴摼鎺� + col.push({ + field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200, event: '涓婚', templet: function (d) { + return '<span style="color: blue;">' + d.涓婚 + '</span>' + }, style: 'cursor: pointer;' + }); + } else { switch (data[i].Type) { //int -- Gitblit v1.9.1