| | |
| | | type: 1, |
| | | title: "数量修改", |
| | | content: $('#editDialog').html(), |
| | | area: '700px', |
| | | area: ['700px', top.detailHeight], |
| | | success: function (layero, dIndex) { |
| | | // 明细表格 |
| | | tableIns = table.render({ |
| | |
| | | data: dataList, |
| | | limit: 100, |
| | | even: true, |
| | | height: '400px', |
| | | cellMinWidth: 50, |
| | | cols: [[ |
| | | {field: 'batch', title: '批号', width: 160}, |
| | |
| | | } |
| | | |
| | | for (var i in checkData){ |
| | | checkData[i].type = 'sellOut'; |
| | | checkData[i].orderNo = $('#orderNoV').val(); |
| | | checkData[i].customer = $('#customer').val(); |
| | | checkData[i].phone = $('#phone').val(); |
| | |
| | | if (res.code === 200){ |
| | | layer.msg("修改成功"); |
| | | tableReload(true); |
| | | parent.clearTable(); |
| | | } else if (res.code === 403){ |
| | | layer.msg(res.msg, {icon: 2}) |
| | | return; |