From 262cee2e43059f55330b5efda849fcd1d445efd2 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期二, 28 五月 2024 10:16:21 +0800
Subject: [PATCH] 染厂产量报表:增加客户字段、增加根据用户关联客户过滤
---
WebTM/views/生产管理/日计划基础资料/JIT_NeedMaterPlanConfigBill_Add.html | 31 +++++++++++++++++--------------
1 files changed, 17 insertions(+), 14 deletions(-)
diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\227\245\350\256\241\345\210\222\345\237\272\347\241\200\350\265\204\346\226\231/JIT_NeedMaterPlanConfigBill_Add.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\227\245\350\256\241\345\210\222\345\237\272\347\241\200\350\265\204\346\226\231/JIT_NeedMaterPlanConfigBill_Add.html"
index 7516e6c..6f273db 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\227\245\350\256\241\345\210\222\345\237\272\347\241\200\350\265\204\346\226\231/JIT_NeedMaterPlanConfigBill_Add.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\227\245\350\256\241\345\210\222\345\237\272\347\241\200\350\265\204\346\226\231/JIT_NeedMaterPlanConfigBill_Add.html"
@@ -170,6 +170,7 @@
, toolbar: '#toolbarDemo'
, limit: 500 //姣忛〉榛樿鏄剧ず鐨勬暟閲�
, cellMinWidth: 120
+ , totalRow: true
, height: 'full-170'
, cols: [[ //琛ㄥご
{ type: 'checkbox', totalRowText: '鍚堣琛�' }
@@ -182,14 +183,14 @@
, { field: 'HMaterName', title: '鐗╂枡鍚嶇О' }
, { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿'}
, { field: 'HJITMaterGroup', title: 'JIT鐗╂枡鍒嗙被', edit: 'text' }
- , { field: 'HJITSafeStock', title: 'JIT鎷夊姩瀹夊叏搴撳瓨閲�', edit: 'text', width: 200 }
- , { field: 'HJITMaterDemand', title: 'JIT鐗╂枡闇�姹備緵璐у懆鏈�', edit: 'text', width:200}
- , { field: 'HJITBatchQty', title: 'JIT鎻愯揣鎵归噺', edit: 'text' }
- , { field: 'HDeliveryPeriod', title: 'JIT鎻愯揣鎵归噺瀵瑰簲鍛ㄦ湡锛堝ぉ锛�', edit: 'text', width: 200}
- , { field: 'HLeadTime', title: 'JIT渚涜揣鎻愬墠鏈燂紙澶╋級', edit: 'text', width: 200 }
- , { field: 'HLeadTime_Sec', title: 'JIT鍒拌揣鍓嶇疆鏈燂紙澶╋級', edit: 'text', width: 200}
+ , { field: 'HJITSafeStock', title: 'JIT鎷夊姩瀹夊叏搴撳瓨閲�', edit: 'text', width: 200, totalRow: true}
+ , { field: 'HJITMaterDemand', title: 'JIT鐗╂枡闇�姹備緵璐у懆鏈�', edit: 'text', width: 200, totalRow: true}
+ , { field: 'HJITBatchQty', title: 'JIT鎻愯揣鎵归噺', edit: 'text', totalRow: true }
+ , { field: 'HDeliveryPeriod', title: 'JIT鎻愯揣鎵归噺瀵瑰簲鍛ㄦ湡锛堝ぉ锛�', edit: 'text', width: 200, totalRow: true}
+ , { field: 'HLeadTime', title: 'JIT渚涜揣鎻愬墠鏈燂紙澶╋級', edit: 'text', width: 200, totalRow: true}
+ , { field: 'HLeadTime_Sec', title: 'JIT鍒拌揣鍓嶇疆鏈燂紙澶╋級', edit: 'text', width: 200, totalRow: true}
, { field: 'HDeliveryMode', title: 'JIT閫佽揣鏂瑰紡', edit: 'text' }
- , { field: 'HDeliveryDaysCtrl', title: 'JIT閫佽揣鎺у埗澶╂暟', edit: 'text', width: 200 }
+ , { field: 'HDeliveryDaysCtrl', title: 'JIT閫佽揣鎺у埗澶╂暟', edit: 'text', width: 200, totalRow: true }
, { field: 'HRemark', title: '澶囨敞', edit: 'text' }
, { fixed: 'right', title: '鎿嶄綔', toolbar: '#barDemo' }
]]
@@ -295,6 +296,7 @@
Organization += '<option style="color:blue;" value="' + data[i].ID + '">' + data[i].Name + '</option>';
}
$("#HPRDORGID").append(Organization);
+ $("#HPRDORGID").val(sessionStorage["OrganizationID"]);
form.render('select');
}
layer.closeAll("loading");
@@ -348,7 +350,7 @@
, shift: 2 //寮瑰嚭鍔ㄧ敾
, area: ["90%", "90%"] //绐椾綋澶у皬
, maxmin: true //璁剧疆鏈�澶ф渶灏忔寜閽槸鍚︽樉绀�
- , content: ["../../Baseset/鍩虹璧勬枡/Gy_DepartmentList.html", "yes"]
+ , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_DepartmentList.html', 'yes']
, btn: ["纭畾", "鍙栨秷"]
, btn1: function (index, laero) {
//鎸夐挳涓� 鐨勫洖璋�
@@ -361,8 +363,8 @@
//鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
obj.update({
"HWorkShopID": checkStatus.data[0].HItemID
- ,"HWorkShopNumber": checkStatus.data[0].HNumber
- , "HWorkShopName": checkStatus.data[0].HName
+ , "HWorkShopNumber": checkStatus.data[0].閮ㄩ棬浠g爜
+ , "HWorkShopName": checkStatus.data[0].閮ㄩ棬鍚嶇О
})
layer.close(index);//鍏抽棴寮圭獥
}
@@ -379,7 +381,7 @@
, shift: 2 //寮瑰嚭鍔ㄧ敾
, area: ["90%", "90%"] //绐椾綋澶у皬
, maxmin: true //璁剧疆鏈�澶ф渶灏忔寜閽槸鍚︽樉绀�
- , content: ["../../Baseset/鍩虹璧勬枡/Gy_MaterialList.html", "yes"]
+ , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_Material.html', 'yes']
, btn: ["纭畾", "鍙栨秷"]
, btn1: function (index, laero) {
//鎸夐挳涓� 鐨勫洖璋�
@@ -393,14 +395,15 @@
//鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
obj.update({
"HMaterID": checkStatus.data[0].HItemID
- , "HMaterNumber": checkStatus.data[0].HNumber
- , "HMaterName": checkStatus.data[0].HName
- , "HMaterModel": checkStatus.data[0].HModel
+ , "HMaterNumber": checkStatus.data[0].鐗╂枡浠g爜
+ , "HMaterName": checkStatus.data[0].鐗╂枡鍚嶇О
+ , "HMaterModel": checkStatus.data[0].瑙勬牸鍨嬪彿
})
layer.close(index);//鍏抽棴寮圭獥
}
})
}
+ obj.event = "";
return false;
}
--
Gitblit v1.9.1