From 0069b25d77cf2dd36b030fa4c86d4f3738f552e8 Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期二, 13 五月 2025 08:44:37 +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