Junjie
2023-05-24 9301d31986fb2a59970c665b3a64cbc9e37b086a
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)
            }
        }
    })
}
// 入库