From 534f548b031d42ccf20506f1810d57838cd94972 Mon Sep 17 00:00:00 2001
From: ytfl <ytfl@qq.com>
Date: 星期六, 30 八月 2025 16:12:41 +0800
Subject: [PATCH] #
---
src/main/webapp/static/js/pakStore/locCheckOut.js | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/src/main/webapp/static/js/pakStore/locCheckOut.js b/src/main/webapp/static/js/pakStore/locCheckOut.js
index 0649af5..061aca1 100644
--- a/src/main/webapp/static/js/pakStore/locCheckOut.js
+++ b/src/main/webapp/static/js/pakStore/locCheckOut.js
@@ -1,5 +1,6 @@
var locDetlLayerIdx;
var tableIns;
+var locDetlData = [];
function getCol() {
var cols = [
{field: 'locNo', align: 'center',title: '搴撲綅鍙�', merge: true, style: 'font-weight: bold'}
@@ -31,6 +32,7 @@
tableMerge.render(this);
limit();
getOutBound();
+ getCheckOrder();
}
});
@@ -42,12 +44,14 @@
layer.msg('璇峰厛娣诲姞鐩樼偣搴撳瓨', {icon: 2});
} else {
var staNo = $("#staNoSelect").val();
+ var checkId = $("#checkIdSelect").val();
if (staNo === "" || staNo === null){
layer.msg("璇烽�夋嫨鐩樼偣绔�", {icon: 2});
return;
}
let param = {
outSite: staNo,
+ checkId: checkId,
locDetls: locDetlData
}
$.ajax({
@@ -96,6 +100,30 @@
})
}
+
+ // 鑾峰彇鐩樼偣鍗�
+ function getCheckOrder(){
+ $.ajax({
+ url: baseUrl+"/inventoryCheckOrder/nav/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'POST',
+ async: false,
+ success: function (res) {
+ if (res.code === 200){
+ var tpl = $("#takeCheckSelectTemplate").html();
+ var template = Handlebars.compile(tpl);
+ var html = template(res);
+ $('#checkIdSelect').append(html);
+ form.render('select');
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+
$(document).on('click','#mat-query', function () {
let loadIndex = layer.msg('璇锋眰涓�...', {icon: 16, shade: 0.01, time: false});
locDetlLayerIdx = layer.open({
--
Gitblit v1.9.1