From e7dd12d55e8c6aae18e2f3d5512340fcce1d8d4d Mon Sep 17 00:00:00 2001
From: zrg <z18737863051@163.com>
Date: 星期二, 06 八月 2024 17:29:11 +0800
Subject: [PATCH] 1.报工台里,点击 当前工单 汇报时, 根据 选择的工单 找到正在使用的 模具内码(在 生产状态表 里查), 填入到 出站汇报单 界面上,显示 模具编码,名称,型号 。保存时 保存进去 2.开班单 增加 子表网格 Sc_MESBeginWorkBillSub_RelationBill 点击 可选择 相同物料 相同工序的 非本单 的流转卡 记录

---
 WebTM/views/项目管理/报表分析/PM_ProjectBillMainMy.html |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git "a/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\346\212\245\350\241\250\345\210\206\346\236\220/PM_ProjectBillMainMy.html" "b/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\346\212\245\350\241\250\345\210\206\346\236\220/PM_ProjectBillMainMy.html"
index a55541b..1268a1b 100644
--- "a/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\346\212\245\350\241\250\345\210\206\346\236\220/PM_ProjectBillMainMy.html"
+++ "b/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\346\212\245\350\241\250\345\210\206\346\236\220/PM_ProjectBillMainMy.html"
@@ -205,6 +205,7 @@
                     , toolbar: '#toolbarDemo'
                     , page: true
                     , height: 300
+                    , totalRow: true
                     , cellMinWidth: 90
                     , limit: 50
                     , limits: [50, 500, 5000, 20000]
@@ -219,6 +220,7 @@
                     elem: '#mainTable2'
                     //, toolbar: '#toolbarDemo'
                     , page: false
+                    , totalRow: true
                     , height: 500
                     , cellMinWidth: 90
                     , limit: Number.MAX_VALUE//榛樿鏄剧ず鍏ㄩ儴
@@ -238,6 +240,7 @@
                     data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] },
                     success: function (data1) {
                         if (data1.count == 1) {
+                            var totalArray = ["杩涘害鍗犳瘮", "鍚堝悓瀹炴柦浜哄ぉ", "棰勪及浜屾寮�鍙戜汉澶�", "鑰楃敤澶╂暟"];
                             var data = [];
                             var col = [];
                             //缁欑┖鐨勬暟缁勮祴鍊�
@@ -250,6 +253,9 @@
                                 // if (data[i].name == 'HInterID' || data[i].name == 'HBillType' || data[i].name == 'hmainid') {
                                 if ($.inArray(data[i].name, titleData) > -1) {
                                     col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //闅愯棌id鍒�
+                                }
+                                else if ($.inArray(data[i].name, totalArray) > -1) {
+                                    col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, totalRow: true, width: 120 });
                                 }
                                 else {
                                     switch (data[i].Type) {
@@ -271,6 +277,7 @@
                                 , data: data1.data.h_p_My_PM_ProjectReportBill
                                 , height: 'full-80'
                                 , page: true
+                                , totalRow: true
                                 , limits: [50, 500, 5000, 50000]
                                 , limit: 50
                                 , cellMinWidth: 90
@@ -284,6 +291,7 @@
                                 , data: data1.data.h_p_My_PM_ProjectReportBill1
                                 , height: 'full-80'
                                 , page: true
+                                , totalRow: true
                                 , limits: [50, 500, 5000, 50000]
                                 , limit: 50
                                 , cellMinWidth: 90
@@ -485,6 +493,7 @@
             //#endregion
 
 
+
             //#region 闅愯棌鍒楄缃�
             function get_HideColumn() {
                 var colName = "";

--
Gitblit v1.9.1