修改
This commit is contained in:
1 parent
c494b7b1ef
commit
523dee5e38
15 files changed
+304
-128
No files matched your search
@@ -1,28 +1,28 @@
|
||||
@model HHWMS.Web.SysDictTypeListVM
|
||||
@inject IStringLocalizer<Program> Localizer;
|
||||
|
||||
<wt:searchpanel vm="@Model" reset-btn="true" grid-id="header">
|
||||
<wt:searchpanel vm="@Model" reset-btn="true" grid-id="SysDictType">
|
||||
<wt:row items-per-row="ItemsPerRowEnum.Three">
|
||||
<wt:textbox field="Searcher.DictName" />
|
||||
<wt:textbox field="Searcher.DictType" />
|
||||
<wt:textbox field="Searcher.Remark" />
|
||||
</wt:row>
|
||||
</wt:searchpanel>
|
||||
<wt:grid vm="@Model" id="header" url="/system/SysDictType/Search"/>
|
||||
<wt:grid vm="@Model.SysDictDatas" id="detail" url="/system/SysDictData/Search2" limit="8" height="300" />
|
||||
<wt:grid vm="@Model" id="SysDictType" url="/system/SysDictType/Search" />
|
||||
<wt:grid vm="@Model.SysDictDatas" id="SysDictData" url="/system/SysDictData/Search2" limit="8" height="300" />
|
||||
|
||||
<script>
|
||||
var headerId = 0;
|
||||
var DictType = "";
|
||||
function details(id) {
|
||||
headerId = id;
|
||||
var loaddata = layui.table.cache['header'];
|
||||
var loaddata = layui.table.cache['SysDictType'];
|
||||
loaddata.forEach(function (val, i) {
|
||||
if (val.ID == id) {
|
||||
DictType = val.DictType;
|
||||
}
|
||||
});
|
||||
layui.table.reload('detail', { where: { "Searcher.SysDictTypeId": id , "page": false} });
|
||||
layui.table.reload('SysDictData', { where: { "Searcher.SysDictTypeId": id, "page": false } });
|
||||
}
|
||||
|
||||
function CreateDictData() {
|
||||
|
||||
Reference in new issue
Block a user