| | |
| | | function pakoutPreview(ids,amount) { |
| | | let loadIndex = layer.load(2); |
| | | $.ajax({ |
| | | url: baseUrl + "/out/pakout/preview/auth/sxk", |
| | | url: baseUrl + "/out/pakout/OrderOutGetLoc/auth", |
| | | headers: {'token': localStorage.getItem('token')}, |
| | | contentType: 'application/json;charset=UTF-8', |
| | | data: JSON.stringify(ids), |
| | |
| | | cols: [[ |
| | | // {type: 'checkbox', merge: ['orderNo']}, |
| | | {field: 'orderNo', title: '单据编号', merge: true, align: 'center'}, |
| | | {field: 'title', title: '商品', merge: true, align: 'center', width: 350}, |
| | | {field: 'title', title: '商品', merge: true, align: 'center'}, |
| | | {field: 'batch', title: '批次', align: 'center'}, |
| | | {field: 'supp', align: 'center',title: '供应商', hide: false} |
| | | ,{field: 'sku', align: 'center',title: '客户名称', hide: false} |
| | |
| | | json.ids = ids |
| | | json.amount = amount |
| | | $.ajax({ |
| | | url: baseUrl + "/out/pakout/previewCustomQuantity/auth/sxk", |
| | | url: baseUrl + "/out/pakout/OrderOutGetLoc.number/auth", |
| | | headers: {'token': localStorage.getItem('token')}, |
| | | contentType: 'application/json;charset=UTF-8', |
| | | data: JSON.stringify(json), |