| | |
| | | if (res.code == 0) { //成功 |
| | | $("#BillCode").empty(); |
| | | $("#BillCode").append("<option value =''></option>"); |
| | | console.log(res); |
| | | for (var i = 0; i < res.data.length; i++) { |
| | | $("#BillCode").append('<option value =' + res.data[i].ASNNo + '>' + res.data[i].ASNNo + |
| | | $("#BillCode").append('<option value =' + res.data[i] + '>' + res.data[i] + |
| | | '</option>'); |
| | | } |
| | | form.render('select'); |
| | |
| | | {field: 'BoxNo',title: '箱码',align: 'center',fixed: 'left',width:220}, |
| | | {field: 'SkuNo',title: '物料编号',align: 'center',width:150}, |
| | | {field: 'SkuName',title: '物料名称',align: 'center'}, |
| | | {field: 'LotNo',templet: '#buttonTpl',title: '批次号',align: 'center',width:150}, |
| | | {field: 'LotNo',templet: '#buttonTpl',title: '进厂编号',align: 'center',width:150}, |
| | | {field: 'Qty',title: '实际数量',align: 'center',width:150}, |
| | | // {field: 'Standard',title: '物品规格',align: 'center'}, |
| | | //{title: '操作',width: 100,align: 'center',toolbar: '#table-content-list'} |
| | |
| | | AsnNo: $("#BillCode").val(), |
| | | PalletNo: $("#palletNo").val(), |
| | | AsnDetailId: parseInt($("#detail").val()), |
| | | LotNo: $("#detail").find("option:selected").text(), |
| | | BoxNo: $("#boxNo").val(), |
| | | IsContinue :IsContinue, |
| | | TailBoxNo: $("#boxNo2").val(), |
| | | Origin:"WMS" |
| | | } |
| | | |
| | | console.i |
| | | |
| | | if (doing) { |
| | | doing = false; |
| | | //组盘 |