From b6bf5c99a551f042616c184313a9abb9cab1008a Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期一, 10 二月 2025 15:04:18 +0800
Subject: [PATCH] 导入聚乳酸明细时 牌号为161,171,181并且物资类别为改性树脂时指定主体为海正生物,生产车间为一车间
---
src/main/webapp/static/js/saasLog/saasLog.js | 30 ++++++++++++++++++++++--------
1 files changed, 22 insertions(+), 8 deletions(-)
diff --git a/src/main/webapp/static/js/saasLog/saasLog.js b/src/main/webapp/static/js/saasLog/saasLog.js
index 6d2833e..b6c5bf0 100644
--- a/src/main/webapp/static/js/saasLog/saasLog.js
+++ b/src/main/webapp/static/js/saasLog/saasLog.js
@@ -5,9 +5,16 @@
var table = layui.table;
var $ = layui.jquery;
var layer = layui.layer;
- var layDate = layui.laydate;
var form = layui.form;
var admin = layui.admin;
+ var laydate = layui.laydate;
+
+ // 鏃ユ湡鏃堕棿鑼冨洿
+ laydate.render({
+ elem: '#ID-laydate-range-datetime',
+ type: 'datetime',
+ range: true
+ });
// 鏁版嵁娓叉煋
tableIns = table.render({
@@ -15,22 +22,29 @@
headers: {token: localStorage.getItem('token')},
url: baseUrl+'/saasLog/list/auth',
page: true,
- limit: 15,
- limits: [15, 30, 50, 100, 200, 500],
- // toolbar: '#toolbar',
+ totalRow: true, // 寮�鍚悎璁¤
+ limit: 16,
+ limits: [16, 50, 100, 200, 500,2000,5000,10000],
+ toolbar: '#toolbar',
cellMinWidth: 50,
height: 'full-120',
cols: [[
- {type: 'checkbox'}
+ //{type: 'checkbox'}
,{field: 'id', align: 'center',title: 'id', hide:true}
,{field: 'locNo', align: 'center',title: '搴撲綅'}
,{field: 'type$', align: 'center',title: '鎿嶄綔绫诲瀷'}
- ,{field: 'matnr', align: 'center',title: '鐗╂枡鍙�'}
- ,{field: 'anfme', align: 'center',title: '鏁伴噺'}
+ ,{field: 'matnr', align: 'center',title: '鐗屽彿'}
+ ,{field: 'batch', align: 'center',title: '鎵瑰彿'}
+ ,{field: 'packageNo', align: 'center',title: '鍖呭彿'}
+ ,{field: 'targetLocNo', align: 'center',title: '鐩爣搴撲綅'}
+ ,{field: 'owner', align: 'center',title: '涓讳綋'}
+ ,{field: 'workshop', align: 'center',title: '杞﹂棿'}
+ ,{field: 'anfme', align: 'center',title: '鏁伴噺',totalRow:true}
+ ,{field: 'docType$', align: 'center',title: '鍗曟嵁绫诲瀷',totalRow:true}
+ // ,{field: 'createByName', align: 'center',title: '鎿嶄綔浜�'}
,{field: 'ioTime$', align: 'center',title: '鎿嶄綔鏃堕棿'}
,{field: 'createBy', align: 'center',title: '', hide:true}
- ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:120}
]],
request: {
pageName: 'curr',
--
Gitblit v1.9.1