|
|
@ -95,7 +95,7 @@ |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
@ -159,7 +159,7 @@ |
|
|
|
label: '删除', width: 100, align: 'left', |
|
|
|
formatter: btnDelete |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
{ label: '料品编码', name: 'InvCode', width: 150, align: 'left' }, |
|
|
|
{ label: '料品名称', name: 'InvName', width: 100, align: 'left' }, |
|
|
|
{ label: '规格型号', name: 'InvStd', width: 100, align: 'left' }, |
|
|
@ -168,6 +168,7 @@ |
|
|
|
{ label: '生产日期', name: 'ProductDate', width: 150, align: 'left' }, |
|
|
|
{ label: '数量', name: 'Quantity', width: 100, align: 'left' }, |
|
|
|
{ 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: 'BatchCode', width: 200, align: 'left', hidden: true }, |
|
|
|
{ label: '版本', name: 'Version', width: 200, align: 'left', hidden: true }, |
|
|
@ -195,9 +196,9 @@ |
|
|
|
//查看子件信息 |
|
|
|
function BtnLookPick(cellvalue, options, rowObject) { |
|
|
|
debugger; |
|
|
|
|
|
|
|
|
|
|
|
return cellvalue = "<a class=\"btn btn-info dropdown-text\" onclick=\"GridListClick('" + rowObject.ID + "','" + rowObject.MODetailID + "','" + rowObject.Sequence + "','" + rowObject.Quantity + "','" + rowObject.Amount + "')\">选择</a>"; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
function BtnPick(cellvalue, options, rowObject) { |
|
|
@ -302,8 +303,8 @@ |
|
|
|
WorkPoint: WorkPoint, |
|
|
|
User: User, |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$.ajax({ |
|
|
|
url: "/OMAY/OMAYMoOutbound/GetLotNotInfo" + "?" + Math.random(), |
|
|
|
data: { keyValue: JSON.stringify(keyValue) }, |
|
|
@ -320,6 +321,10 @@ |
|
|
|
$.modalAlert(data.msg); |
|
|
|
return; |
|
|
|
} |
|
|
|
var cQuantity = data.dt[0].Quantity; |
|
|
|
if (data.dt[0].AmountEnable == true) { |
|
|
|
cQuantity = data.dt[0].Amount; |
|
|
|
} |
|
|
|
|
|
|
|
//最后一行新增数据 |
|
|
|
var obj = { |
|
|
@ -331,7 +336,8 @@ |
|
|
|
InvUnit: data.dt[0].InvUnit, |
|
|
|
ProductDate: data.dt[0].ProductDate, |
|
|
|
Quantity: data.dt[0].Quantity, |
|
|
|
CurrentQuantity: data.dt[0].Quantity, |
|
|
|
CurrentQuantity: cQuantity, |
|
|
|
Amount: data.dt[0].Amount, |
|
|
|
ProjectCode: data.dt[0].ProjectCode, |
|
|
|
BatchCode: data.dt[0].BatchCode, |
|
|
|
Version: data.dt[0].Version, |
|
|
@ -430,7 +436,7 @@ |
|
|
|
<div class="btn-group"> |
|
|
|
|
|
|
|
<a id="NF-Submit" authorize="yes" style="margin-left:3px;" class="btn btn-primary" onclick="submitForm()"><i class="fa fa-pencil-square-o"></i>确定出库</a> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
@*<script>$('.toolbar').authorizeButton()</script>*@ |
|
|
@ -449,13 +455,13 @@ |
|
|
|
<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> |
|
|
|
</td> |
|
|
|
<td style="width:20px"></td> |
|
|
|
<td style="width:20px"></td> |
|
|
|
<td> |
|
|
|
<label>条码:</label> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<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> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|