更新数据关联查询,以及基本的数据的编辑,部分有待进一步完善。
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<div class="layui-form">
|
||||
<!-- // 自定义搜索参数 -->
|
||||
<div id="laytable-search" class="layui-form-item">
|
||||
<div class="layui-inline">
|
||||
<!-- <div class="layui-inline">
|
||||
<div class="layui-form-label">{:__('ID')}</div>
|
||||
<div class="layui-input-inline ">
|
||||
<input name="id" class="layui-input" type="text" placeholder="{:__('ID')}" />
|
||||
@@ -26,7 +26,7 @@
|
||||
<div class="layui-input-inline ">
|
||||
<input name="sort" class="layui-input" type="text" placeholder="{:__('排序')}" />
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<div class="layui-inline">
|
||||
<div class="layui-form-label">{:__('SymbolID')}</div>
|
||||
@@ -151,17 +151,22 @@
|
||||
, url: "{:url('/PdmPartitemRelation/index')}"
|
||||
, toolbar: '#tableButton'
|
||||
, defaultToolbar: ['filter', 'exports', 'print', 'search']
|
||||
, cellMinWidth: 160
|
||||
, cellMinWidth: 80
|
||||
, page: true
|
||||
, limit: 18
|
||||
, cols: [[
|
||||
{ type: 'checkbox', width: 50 },
|
||||
//{ type: 'checkbox', width: 50 },
|
||||
{ field: 'id', align: 'center', sort: true, width: 80, title: 'ID' },
|
||||
{ field: 'partnumber', title: '{:__("PartNumber")}' },
|
||||
{ field: 'symbolid', title: '{:__("SymbolID")}' },
|
||||
{ field: 'footprintid', title: '{:__("FootprintID")}' },
|
||||
{ field: 'creatorid', title: '{:__("创建者ID")}' },
|
||||
{ field: 'departmentid', title: '{:__("部门ID")}' },
|
||||
{ field: 'partnumber', width: 180, title: '{:__("PartNumber")}' },
|
||||
//{ field: 'symbolid', title: '{:__("SymbolID")}' },
|
||||
{ field: 'symbolname', width: 180,title: '{:__("Symbol")}' },
|
||||
//{ field: 'footprintid', title: '{:__("FootprintID")}' },
|
||||
{ field: 'footprint', width: 180,title: '{:__("Footprint")}' },
|
||||
{ field: 'manufacture', width: 120,title: '{:__("Manufacture")}' },
|
||||
//{ field: 'creatorid', title: '{:__("创建者ID")}' },
|
||||
{ field: 'creator', title: '{:__("创建者")}' },
|
||||
//{ field: 'departmentid', title: '{:__("部门ID")}' },
|
||||
{ field: 'departmenttitle', title: '{:__("部门")}' },
|
||||
{ field: 'status', templet: '#columnStatus', title: '{:__("状态")}' },
|
||||
{ align: 'center', toolbar: '#tableBar', width: 160, fixed: 'right', title: '{:__("操作")}' },
|
||||
]]
|
||||
|
||||
Reference in New Issue
Block a user