|
@ -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, |
|
@ -449,13 +455,13 @@ |
|
|
<td> |
|
|
<td> |
|
|
<a id="Search" authorize="yes" style="margin-left:3px;" class="btn btn-primary" onclick="SeachMO()"><i class="fa fa-pencil-square-o"></i>查询</a> |
|
|
<a id="Search" authorize="yes" style="margin-left:3px;" class="btn btn-primary" onclick="SeachMO()"><i class="fa fa-pencil-square-o"></i>查询</a> |
|
|
</td> |
|
|
</td> |
|
|
<td style="width:20px"></td> |
|
|
|
|
|
|
|
|
<td style="width:20px"></td> |
|
|
<td> |
|
|
<td> |
|
|
<label>条码:</label> |
|
|
<label>条码:</label> |
|
|
</td> |
|
|
</td> |
|
|
<td> |
|
|
<td> |
|
|
<div class="input-group"> |
|
|
<div class="input-group"> |
|
|
<input id="LotNo" type="text" class="form-control" placeholder="条码" style="width: 500px;" οnkeydοwn="LotNoBinding()"> |
|
|
|
|
|
|
|
|
<input id="LotNo" type="text" class="form-control" placeholder="条码" style="width: 500px;" οnkeydοwn="LotNoBinding()"> |
|
|
</div> |
|
|
</div> |
|
|
</td> |
|
|
</td> |
|
|
</tr> |
|
|
</tr> |
|
|