| | |
| | | form.render('select'); |
| | | |
| | | var param = { |
| | | Type: "0,1,3" |
| | | Type: "0" |
| | | }; |
| | | sendData(IP + "/PdaAsn/GetArrivalNotices", param, 'post', function (res) { |
| | | if (res.code == 0) { //成功 |
| | | for (var i = 0; i < res.data.length; i++) { |
| | | $("#bar").append('<option value =' + res.data[i].ASNNo + '>' + res.data[i] |
| | | .ASNNo + |
| | | '</option>'); |
| | | $("#bar").append('<option value =' + res.data[i] + '>' + res.data[i] + '</option>'); |
| | | } |
| | | form.render('select'); |
| | | |
| | |
| | | form.render('select'); |
| | | |
| | | var param = { |
| | | Type: "1,2,3,4,5,6,7" |
| | | Type: "1" |
| | | }; |
| | | sendData(IP + "/PdaAsn/GetArrivalNotices", param, 'post', function (res) { |
| | | if (res.code == 0) { //成功 |
| | | console.log(res.data); |
| | | for (var i = 0; i < res.data.length; i++) { |
| | | $("#bar1").append('<option value =' + res.data[i].ASNNo + '>' + res.data[i] |
| | | .ASNNo + |
| | | '</option>'); |
| | | $("#bar1").append('<option value =' + res.data[i] + '>' + res.data[i] +'</option>'); |
| | | } |
| | | form.render('select'); |
| | | |