From c206acfaedc69c390fb67daa81bc686f58a212ef Mon Sep 17 00:00:00 2001
From: CZT <czt18638530771@163.com>
Date: 星期一, 27 十一月 2023 16:12:11 +0800
Subject: [PATCH] 提交配置信息2

---
 igds-web/src/main/resources/static/admin/inout/in-check.js |   21 ++++++++++++++++-----
 1 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/igds-web/src/main/resources/static/admin/inout/in-check.js b/igds-web/src/main/resources/static/admin/inout/in-check.js
index bbc1403..af71497 100644
--- a/igds-web/src/main/resources/static/admin/inout/in-check.js
+++ b/igds-web/src/main/resources/static/admin/inout/in-check.js
@@ -362,7 +362,8 @@
             title: '澶囨敞璇存槑',
             align: 'center',
             edit: 'text'
-        }]]
+        }]],
+        limit: this.curCheckItems.length //鏄剧ず鐨勬暟閲�
     });
 
     $("thead tr").css({
@@ -490,6 +491,7 @@
 
 //淇濆瓨鎻愪氦
 function submit() {
+
     if (curCheckData.checkStatus == "NONE" || curCheckData.checkStatus == "NONE2") {
         layer.alert("璇风‘璁ゅ寲楠岀粨鏋滐紒锛�");
         return;
@@ -500,6 +502,10 @@
     }
     if (!curCheckData.foodLevel) {
         layer.alert("璇风‘璁ょ伯椋熺瓑绾э紒锛�");
+        return;
+    }
+    if (!curCheckData.foodType) {
+        layer.alert("璇风‘璁ょ伯椋熸�ц川锛侊紒");
         return;
     }
     if (!curCheckData.price) {
@@ -615,9 +621,14 @@
             width: '10%',
             style: 'color: #f67d06;font-weight: bold'
         }, {
+            field: 'plateNum',
+            title: '杞︾墝鍙�',
+            width: '9%',
+            style: 'font-weight: bold'
+        }, {
             field: 'registerTime',
             title: '鐧昏鏃堕棿',
-            width: '15%',
+            width: '13%',
             style: 'font-weight: bold'
         }, {
             field: 'sampleStatus',
@@ -642,12 +653,12 @@
         }, {
             field: 'sampleTime',
             title: '鎵︽牱鏃堕棿',
-            width: '15%',
+            width: '13%',
             style: 'font-weight: bold'
         }, {
             field: 'foodVariety',
             title: '绮鍝佺',
-            width: '11%',
+            width: '9%',
             templet: function (item) {
                 var result = item.foodVariety;
                 $.each(listFoodVariety, function (index, data) {
@@ -661,7 +672,7 @@
         }, {
             field: 'depotId',
             title: '瑁呭嵏浠撳簱',
-            width: '11%',
+            width: '10%',
             templet: function (item) {
                 var result = item.depotId;
                 $.each(listDepot, function (index, data) {

--
Gitblit v1.9.3