|
@ -168,6 +168,7 @@ |
|
|
{ label: '生产日期', name: 'ProductDate', width: 150, align: 'left' }, |
|
|
{ label: '生产日期', name: 'ProductDate', width: 150, align: 'left' }, |
|
|
{ label: '数量', name: 'Quantity', width: 100, align: 'left' }, |
|
|
{ label: '数量', name: 'Quantity', width: 100, align: 'left' }, |
|
|
{ label: '本次发料数量', name: 'CurrentQuantity', width: 200, align: 'left', editable: true }, |
|
|
{ label: '本次发料数量', name: 'CurrentQuantity', width: 200, align: 'left', editable: true }, |
|
|
|
|
|
{ label: '辅计量', name: 'Amount', width: 100, align: 'left' }, |
|
|
{ label: '项目号', name: 'ProjectCode', width: 200, align: 'left', hidden: true }, |
|
|
{ label: '项目号', name: 'ProjectCode', width: 200, align: 'left', hidden: true }, |
|
|
{ label: '批次', name: 'BatchCode', width: 200, align: 'left', hidden: true }, |
|
|
{ label: '批次', name: 'BatchCode', width: 200, align: 'left', hidden: true }, |
|
|
{ label: '版本', name: 'Version', width: 200, align: 'left', hidden: true }, |
|
|
{ label: '版本', name: 'Version', width: 200, align: 'left', hidden: true }, |
|
@ -320,6 +321,10 @@ |
|
|
$.modalAlert(data.msg); |
|
|
$.modalAlert(data.msg); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
|
|
|
var cQuantity = data.dt[0].Quantity; |
|
|
|
|
|
if (data.dt[0].AmountEnable == true) { |
|
|
|
|
|
cQuantity = data.dt[0].Amount; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
//最后一行新增数据 |
|
|
//最后一行新增数据 |
|
|
var obj = { |
|
|
var obj = { |
|
@ -331,7 +336,8 @@ |
|
|
InvUnit: data.dt[0].InvUnit, |
|
|
InvUnit: data.dt[0].InvUnit, |
|
|
ProductDate: data.dt[0].ProductDate, |
|
|
ProductDate: data.dt[0].ProductDate, |
|
|
Quantity: data.dt[0].Quantity, |
|
|
Quantity: data.dt[0].Quantity, |
|
|
CurrentQuantity: data.dt[0].Quantity, |
|
|
|
|
|
|
|
|
CurrentQuantity: cQuantity, |
|
|
|
|
|
Amount: data.dt[0].Amount, |
|
|
ProjectCode: data.dt[0].ProjectCode, |
|
|
ProjectCode: data.dt[0].ProjectCode, |
|
|
BatchCode: data.dt[0].BatchCode, |
|
|
BatchCode: data.dt[0].BatchCode, |
|
|
Version: data.dt[0].Version, |
|
|
Version: data.dt[0].Version, |
|
|