From 779c4e1f1435695462e922d3135a6b3224edfdbd Mon Sep 17 00:00:00 2001
From: 1 <1@123>
Date: 星期五, 09 五月 2025 14:13:01 +0800
Subject: [PATCH] #
---
src/main/webapp/static/wms/js/crnOperate/crnOperate.js | 32 ++++++++++++++++++++++++++++++++
1 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/src/main/webapp/static/wms/js/crnOperate/crnOperate.js b/src/main/webapp/static/wms/js/crnOperate/crnOperate.js
index f931f02..1bf52c0 100644
--- a/src/main/webapp/static/wms/js/crnOperate/crnOperate.js
+++ b/src/main/webapp/static/wms/js/crnOperate/crnOperate.js
@@ -40,6 +40,34 @@
}
}
})
+
+ $.ajax({
+ url: baseUrl + "/crn/table/crn/" + crnNo + "/msg",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code == 200) {
+ layer.msg('杩炴帴鎴愬姛')
+ console.log(res)
+ let data = res.data
+ $("#__sourceStaNo").val(data.sourceStaNo)
+ $("#__staNo").val(data.staNo)
+ $("#__sourceLocNo").val(data.sourceLocNo)
+ $("#__locNo").val(data.locNo)
+ $("#xspeed").val(data.xspeed)
+ $("#yspeed").val(data.yspeed)
+ $("#zspeed").val(data.zspeed)
+ $("#xdistance").val(data.xdistance)
+ $("#ydistance").val(data.ydistance)
+ $("#xduration").val(data.xduration)
+ $("#yduration").val(data.yduration)
+ $("#__workNo").val(data.workNo)
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
}
// 鍏ュ簱
@@ -92,6 +120,10 @@
}
function getReqParam() {
+ if (crnNo == null || crnNo == "") {
+ layer.msg('璇烽�夋嫨鍫嗗灈鏈�');
+ return false;
+ }
var sourceStaNo = $('#sourceStaNo').val();
var sourceRow = $('#sourceRow').val();
var sourceBay = $('#sourceBay').val();
--
Gitblit v1.9.1