自动化立体仓库 - WMS系统
#
luxiaotao1123
2020-07-10 9e735e0ee69c8874c1248c7fe16500db11e1086c
src/main/webapp/views/pdaCe/index.html
@@ -230,7 +230,7 @@
            type: 'post',
            headers: [
                {token: getCookie('token')}
                ,{"Content-type":'application/json;charset=UTF-8',}
                ,{'Content-type':'application/json;charset=UTF-8',}
                ],
            data: JSON.stringify({
                barcode: barcode,
@@ -410,7 +410,7 @@
            requestData += name + '='+ paramData[name] + '&';
        }
        requestData = requestData === '' ? '' : requestData.substring(0,requestData.length - 1);
        console.log(requestData)
        /*请求接收*/
        xmlhttp.onreadystatechange = function() {
            if(xmlhttp.readyState === 4 && xmlhttp.status === 200) {
@@ -441,8 +441,7 @@
            if (defaultContentType) {
                xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
            }
            console.log(JSON.stringify(requestData))
            xmlhttp.send(requestData);
            xmlhttp.send(defaultContentType?requestData:paramData);
        }
    }