#
luxiaotao1123
2022-04-07 ae74235d8d7776d4db335c460529c929b0c00eb7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 
function DataShow(type, uuid) {
    this.type = type;
    this.uuid = uuid;
}
 
DataShow.prototype.showHint = function(){
    let htmlText='';
    switch (type) {
        case 'locNo':
            htmlText += '<p>库位编号:'+ this.uuid +'</p>';
            $.ajax({
                url: top.baseUrl + '/three/query/loc/detl/v1?locNo=' + this.uuid,
                type: "GET",
                success: function (res) {
                    console.log(res);
                }
            })
            break
        case "wrkNo":
            htmlText+='<p>任务编号:'+ this.uuid +'</p>';
 
            break
        default:
            break
    }
 
    return htmlText;
}