From b610e067cf2c44fdcc99ec3a3190820d1a5b7bcb Mon Sep 17 00:00:00 2001
From: zjj <zjj123456>
Date: 星期三, 10 一月 2024 16:55:56 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/ghtzwcsOld' into ghtzwcsOld
---
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