其他出
This commit is contained in:
1 parent
f15b26fcc5
commit
e9f154bd06
46 files changed
+3178
No files matched your search
@@ -0,0 +1,31 @@
|
||||
@model HHWMS.Web.ShipmentHeader2ListVM
|
||||
@inject IStringLocalizer<Program> Localizer;
|
||||
|
||||
<wt:searchpanel vm="@Model" reset-btn="true">
|
||||
<wt:row items-per-row="ItemsPerRowEnum.Three" grid-id="ShipmentHeader2">
|
||||
<wt:textbox field="Searcher.Code" />
|
||||
<wt:textbox field="Searcher.SourceCode" />
|
||||
<wt:textbox field="Searcher.Type" />
|
||||
<wt:textbox field="Searcher.ShipTo" />
|
||||
</wt:row>
|
||||
</wt:searchpanel>
|
||||
<wt:grid vm="@Model" id="ShipmentHeader2" url="/xwms/ShipmentHeader2/Search" limit="6" />
|
||||
<wt:grid vm="@Model.ShipmentDetails" id="ShipmentDetail2" url="/xwms/ShipmentDetail2/Search2" height="400"
|
||||
hidden-checkbox need-show-filter="false" need-show-print="false" />
|
||||
<script>
|
||||
var headerId = 0;
|
||||
function details(id) {
|
||||
headerId = id;
|
||||
layui.table.reload('ShipmentDetail2', { where: { "Searcher.ShipmentId": id } });
|
||||
}
|
||||
|
||||
function CreateDetail() {
|
||||
if (headerId == 0) {
|
||||
layui.layer.alert('请选择一个单据');
|
||||
}
|
||||
else {
|
||||
|
||||
ff.OpenDialog('/xwms/ShipmentDetail2/Create/' + headerId, '@Guid.NewGuid()', '添加明细', 600);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in new issue
Block a user