| | |
| | | height: auto; |
| | | line-height: 23px; |
| | | } |
| | | |
| | | .layui-table-tool-panel{ |
| | | top: auto; |
| | | bottom: 29px; |
| | | } |
| | | |
| | | .layui-table-tool{ |
| | | padding-left: 5px; |
| | | } |
| | | |
| | | /* 表格下拉小箭头隐藏 */ |
| | | .layui-table-grid-down { |
| | | display: none; |
| | |
| | | <div class="layui-form layui-card-header layuiadmin-card-header-auto" id="top"> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">执行状态</label> |
| | | <div class="layui-input-inline"> |
| | | <select name="Status" id="Status" lay-filter="Status" lay-search> |
| | | <option value=""></option> |
| | | <option value="0">等待执行</option> |
| | | <option value="1">正在执行</option> |
| | | <option value="2">执行完成</option> |
| | | <option value="3">订单关闭</option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">物料编码</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" id="SkuNo" name="SkuNo" placeholder="物料编码" autocomplete="off" |
| | |
| | | class="layui-input"> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">客户名称</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" id="CustomerName" name="CustomerName" placeholder="客户名称" autocomplete="off" |
| | | class="layui-input"> |
| | | <input type="text" id="CustomerName" name="CustomerName" placeholder="客户名称" |
| | | autocomplete="off" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">执行状态</label> |
| | | <div class="layui-input-inline"> |
| | | <select name="Status" id="Status" lay-filter="Status" lay-search> |
| | | <option value=""></option> |
| | | <option value="0">等待执行</option> |
| | | <option value="1">正在执行</option> |
| | | <option value="2">执行完成</option> |
| | | <option value="3">订单关闭</option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | |
| | | {field: 'OrderCode',title: '采购单号',align: 'center'}, |
| | | {field: 'Status',title: '执行状态',align: 'center',templet: '#buttonTpl'}, |
| | | {field: 'CompleteTime',title: '完成时间',align: 'center',templet: '#templetCompleteTime'}, |
| | | { field: 'UserName', title: '制单人', align: 'center', width: 110 }, |
| | | {field: 'CreateUserName',title: '创建人',align: 'center',width: 110}, |
| | | {field: 'CreateTime',title: '创建时间',align: 'center',templet: '#templetCreateTime'}, |
| | | { field: 'CreateTime', title: '下发时间', align: 'center', templet: '#templetCreateTime' }, |
| | | {field: 'UpdateUserName',title: '修改人',align: 'center',width: 110}, |
| | | {field: 'UpdateTime',title: '修改时间',align: 'center',templet: '#templetUpdateTime'}, |
| | | {field: 'caozuo',title: '操作',fixed: 'right',width: 280,align: 'center',toolbar: '#toolbarDemo1', "disabled": true} |
| | |
| | | //#endregion |
| | | } |
| | | |
| | | function setRight() |
| | | { |
| | | function setRight() { |
| | | $(function() { |
| | | $(".clossClass").hide();//关单 |
| | | $(".createClass").hide();//生成入库单 |
| | |
| | | var ImportId = 0; |
| | | table.on('tool(LAY-app-content-list)', function (obj) { |
| | | var data = obj.data; |
| | | switch(obj.event) |
| | | { |
| | | switch (obj.event) { |
| | | case "closs" : |
| | | // 代码区域 |
| | | layer.confirm('确定关闭此单据吗?', function(index) { |
| | |
| | | table.on('tool(LAY-app-content-list2)', function (obj) { |
| | | var data = obj.data; |
| | | var id = data.Id; |
| | | switch(obj.event) |
| | | { |
| | | switch (obj.event) { |
| | | case "createOrd" : |
| | | // 代码区域 |
| | | layer.confirm('确定生成入库单据吗?', function(index) { |