|
楼主 |
发表于 2017-11-20 14:47:24
|
显示全部楼层
<div class="tab-pane" xid="contractNumContent"><div component="$UI/system/components/justep/toolBar/toolBar" class="x-toolbar form-inline x-toolbar-spliter" xid="toolBar1">
<a component="$UI/system/components/justep/button/button" class="btn btn-link btn-icon-left" onClick='newCodeData' xid="newCode" label="新增" icon="icon-plus-round">
<i xid="i2" class="icon-plus-round"></i>
<span xid="span10">新增</span></a>
<a component="$UI/system/components/justep/button/button" class="btn btn-link btn-icon-left" onClick='deleteCodeClick' xid="deleteCode" label="删除" icon="e-commerce e-commerce-jianhao">
<i xid="i4" class="e-commerce e-commerce-jianhao"></i>
<span xid="span8">删除</span></a>
<a component="$UI/system/components/justep/button/button" class="btn btn-link btn-icon-left" onClick='{"operation":"codeData.refresh"}' xid="refreshCode" label="刷新" icon="linear linear-redo">
<i xid="i3" class="linear linear-redo"></i>
<span xid="span9">刷新</span></a>
<div class="pull-right input-group" component="$UI/system/components/justep/smartFilter/smartFilter" xid="searchCode" filterData="codeData" filterCols="contract_type,contract_code,salesman,product_type">
<input type="text" class="form-control" placeholder="搜索" data-bind="valueUpdate: ['input', 'afterkeydown']" bind-value="$model.comp($element.parentElement).searchText" bind-change="$model.comp($element.parentElement).onInputChange.bind($model.comp($element.parentElement))" xid="input2"></input></div>
<a component="$UI/system/components/justep/button/button" class="btn btn-link btn-icon-left" onClick='saveCodeClick' xid="saveCode" label="保存" icon="icon-android-note">
<i xid="i7" class="icon-android-note"></i>
<span xid="span21">保存</span></a></div>
<div component="$UI/system/components/justep/grid/grid" hiddenCaptionbar="true" altRows="false" class="x-grid-no-bordered" xid="codeGrid" data="codeData" width="100%" height="auto">
<columns xid="columns2"><column name="contract_type" xid="column11" editable="true" editor="component" align="left" disableEditorDisplay="false" width="200"><editor xid="editor2">
<div bind-ref="ref('contract_type')" class="x-gridSelect" component="$UI/system/components/justep/gridSelect/gridSelect" xid="gridSelect2">
<option xid="option2" data="contractTypeData" value="order_number" label="select_value"></option></div> </editor></column>
<column width="200" name="product_type" multiRowEditor="false" disableEditorDisplay="false" editable="true" editor="component" xid="column15">
<editor xid="editor3">
<div class="x-gridSelect" component="$UI/system/components/justep/gridSelect/gridSelect" bind-ref="ref('product_type')" xid="gridSelect3">
<option xid="option3"></option></div> </editor> </column><column name="salesman" xid="column13" editable="true" editor="component" align="left" disableEditorDisplay="false" width="200"><editor xid="editor1">
<div bind-ref='ref("salesman_id")' class="x-gridSelect" component="$UI/system/components/justep/gridSelect/gridSelect" xid="gridSelect1" bind-labelRef='ref("salesman")'>
<option xid="option1" data="personData" value="SA_OPPerson" label="sName"></option></div> </editor></column><column name="contract_code" xid="column12" editable="true" editor="input" align="left" width="200"></column>
<column width="200" name="status" editable="false" editor="input" xid="column14" hidden="false" label="单号状态"></column>
</columns></div><div component="$UI/system/components/justep/pagerBar/pagerBar" class="x-pagerbar container-fluid" data="codeData" xid="codePage">
<div class="row" xid="div14">
<div class="col-sm-3" xid="div13">
<div class="x-pagerbar-length" xid="div12">
<label component="$UI/system/components/justep/pagerLimitSelect/pagerLimitSelect" class="x-pagerlimitselect" xid="pagerLimitSelect2" defaultValue="10">
<span xid="span20">显示</span>
<select component="$UI/system/components/justep/select/select" class="form-control input-sm" xid="select2">
<option value="10" xid="default14">10</option>
<option value="20" xid="default12">20</option>
<option value="50" xid="default13">50</option>
<option value="100" xid="default11">100</option></select>
<span xid="span13">条</span></label> </div> </div>
<div class="col-sm-3" xid="div11">
<div class="x-pagerbar-info" xid="div10">当前显示0条,共0条</div></div>
<div class="col-sm-6" xid="div9">
<div class="x-pagerbar-pagination" xid="div1">
<ul class="pagination" component="$UI/system/components/bootstrap/pagination/pagination" xid="pagination2">
<li class="prev" xid="li1">
<a href="#" xid="a3">
<span aria-hidden="true" xid="span14">«</span>
<span class="sr-only" xid="span17">Previous</span></a> </li>
<li class="next" xid="li2">
<a href="#" xid="a4">
<span aria-hidden="true" xid="span18">»</span>
<span class="sr-only" xid="span19">Next</span></a> </li> </ul> </div> </div> </div> </div>
</div>js,
|
|