From 2588ff8fd840d6e8eb5b7e1b4208f644d5a52324 Mon Sep 17 00:00:00 2001
From: dubin <bindu_bean@163.com>
Date: 星期四, 06 十一月 2025 13:39:25 +0800
Subject: [PATCH] 并板调整
---
src/main/webapp/static/js/locDetl/locDetl.js | 76 +++++++++++++++++++++++++++++++++----
1 files changed, 67 insertions(+), 9 deletions(-)
diff --git a/src/main/webapp/static/js/locDetl/locDetl.js b/src/main/webapp/static/js/locDetl/locDetl.js
index cdb1c74..2aca998 100644
--- a/src/main/webapp/static/js/locDetl/locDetl.js
+++ b/src/main/webapp/static/js/locDetl/locDetl.js
@@ -3,13 +3,13 @@
var cols = [
{field: 'locNo$', align: 'center',title: '搴撲綅鍙�'}
,{field: 'storeDate', align: 'center',title: '搴撻緞(澶�)', sort:true}
- ,{field: 'matnr', align: 'center',title: '鍟嗗搧缂栧彿', sort:true}
- ,{field: 'model', align: 'center',title: '浠g爜'}
- ,{field: 'maktx', align: 'center',title: '鍟嗗搧鍚嶇О', sort:true}
- ,{field: 'spgNO', align: 'center',title: '娲惧伐鍗曞彿', sort:true}
- ,{field: 'orderNo', align: 'center',title: '鍗曟嵁缂栧彿', hide: true}
- ,{field: 'batch', align: 'center',title: '鎵瑰彿', width: 200, sort:true}
- ,{field: 'outOrderNo', align: 'center',title: '璁㈠崟鍙�'}
+ ,{field: 'matnr', align: 'center',title: '鍟嗗搧妯″叿鍚嶇О', sort:true}
+ ,{field: 'model', align: 'center',title: '濂楀彿'}
+ ,{field: 'maktx', align: 'center',title: '鍟嗗搧鍨嬫潗鍨嬪彿', sort:true}
+ ,{field: 'spgNO', align: 'center',title: '娲惧伐鍗曞彿', hide:true,sort:true}
+ ,{field: 'orderNo', align: 'center',title: '鍗曟嵁缂栧彿', hide: false}
+ ,{field: 'batch', align: 'center',title: '鎵瑰彿', width: 200,hide:true, sort:true}
+ ,{field: 'outOrderNo', align: 'center',title: '鍚堝悓鍙�', hide: true}
,{field: 'anfme', align: 'center',title: '鏁伴噺'}
,{field: 'zpallet', align: 'center',title: '鎵樼洏鏉$爜'}
,{field: 'specs', align: 'center',title: '瑙勬牸'}
@@ -17,7 +17,20 @@
,{field: 'brand', align: 'center',title: '鍝佺墝', hide: true}
,{field: 'unit', align: 'center',title: '鍗曚綅', hide: true}
,{field: 'price', align: 'center',title: '鍗曚环', hide: true}
- ,{field: 'sku', align: 'center',title: 'sku', hide: true}
+ //,{fixed: 'right', title:'绠�鍥�', align: 'center', toolbar: '#operate1', width: 300}
+ // ,{fixed: 'right', align: 'center',title: '绠�鍥�', templet:function(row){
+ // var html = "<img src='http://127.0.0.1:8080/czkhasrs/previewImage?maktx=" +row.maktx+"'/>";
+ // return html;
+ // }}
+
+
+
+ // ,{fixed: 'right', align: 'center', title: '绠�鍥�', templet: function(row){
+ // var html = "<a href='http://127.0.0.1:8080/czkhasrs/previewImage?maktx=" + row.maktx + "' target='_blank' rel='noopener noreferrer'>鏌ョ湅绠�鍥�</a>";
+ // return html;
+ // }}
+
+
,{field: 'units', align: 'center',title: '鍗曚綅閲�', hide: true}
,{field: 'barcode', align: 'center',title: '鏉$爜', hide: true}
,{field: 'origin', align: 'center',title: '浜у湴', hide: true}
@@ -25,7 +38,7 @@
,{field: 'manuDate', align: 'center',title: '鐢熶骇鏃ユ湡', hide: true}
,{field: 'itemNum', align: 'center',title: '鍝侀」鏁�', hide: true}
,{field: 'safeQty', align: 'center',title: '瀹夊叏搴撳瓨閲�', hide: true}
- ,{field: 'weight', align: 'center',title: '鍗曠鍑�閲�', hide: true}
+ ,{field: 'weight', align: 'center',title: '鎬婚噸', hide: true}
,{field: 'length', align: 'center',title: '鍗曠姣涢噸', hide: true}
,{field: 'volume', align: 'center',title: '鍗曠浣撶Н', hide: true}
,{field: 'threeCode', align: 'center',title: '绠卞瓙灏哄', hide: true}
@@ -37,6 +50,9 @@
,{field: 'source$', align: 'center',title: '鍒惰喘', hide: true}
,{field: 'check$', align: 'center',title: '瑕佹眰妫�楠�', hide: true}
,{field: 'danger$', align: 'center',title: '鍗遍櫓鍝�', hide: true}
+ ,{field: 'proType', align: 'center',title: '灞炴��', hide: false}
+ ,{field: 'temp1', align: 'center',title: '鍚嶇О鎬荤О', hide: true}
+ ,{field: 'temp2', align: 'center',title: '瀹㈡埛鍥惧彿', hide: true}
];
@@ -368,6 +384,48 @@
});
}
break;
+ // 鏌ョ湅绠�鍥�
+ // case 'showPic':
+ // let imgHtml = '<div style="height:100%;display: flex;justify-content: space-around;align-items: center;flex-wrap: wrap;">';
+ // $.ajax({
+ // url: baseUrl+"/previewImage",
+ // headers: {'token': localStorage.getItem('token')},
+ // data: {
+ // maktx: data.maktx
+ // },
+ // method: 'GET',
+ // traditional:true,
+ // success: function (res) {
+ // if (res.code === 200){
+ // res.data.forEach((item) => {
+ // let maktx = item.maktx;
+ // let pics = item.pics;
+ // pics.forEach((pic) => {
+ // let tmp = '<div><div><img width="600" src="' + pic + '" /></div><div>' + maktx + '</div></div>';
+ // imgHtml += tmp;
+ // })
+ // })
+ // imgHtml += "</div>";
+ //
+ // layer.open({
+ // type: 1,
+ // title: '鏌ョ湅绠�鍥�',
+ // area: [top.detailWidth, top.detailHeight],
+ // shadeClose: true,
+ // content: imgHtml,
+ // success: function(layero, index){
+ // }
+ // });
+ //
+ // } else if (res.code === 403){
+ // top.location.href = baseUrl+"/";
+ // } else {
+ // layer.msg(res.msg)
+ // }
+ // }
+ // });
+ // console.log(imgHtml)
+ // break;
}
});
--
Gitblit v1.9.1