优化流程
parent
e21f492fa6
commit
1d98ad6125
|
@ -12,7 +12,7 @@
|
||||||
<body>
|
<body>
|
||||||
<div class="splayui-container">
|
<div class="splayui-container">
|
||||||
<div class="splayui-main">
|
<div class="splayui-main">
|
||||||
<div class="layui-carousel" id="stepForm" lay-filter="stepForm" style="margin: 0 auto;">
|
<div class="layui-carousel" id="stepForm" lay-filter="stepForm">
|
||||||
<div carousel-item>
|
<div carousel-item>
|
||||||
<div>
|
<div>
|
||||||
<form class="layui-form" style="margin: 0 auto;max-width: 460px;padding-top: 40px;">
|
<form class="layui-form" style="margin: 0 auto;max-width: 460px;padding-top: 40px;">
|
||||||
|
@ -22,28 +22,28 @@
|
||||||
<label for="js-bomCode" class="layui-form-label sp-required">BOM编码
|
<label for="js-bomCode" class="layui-form-label sp-required">BOM编码
|
||||||
</label>
|
</label>
|
||||||
<div class="layui-input-inline">
|
<div class="layui-input-inline">
|
||||||
<input type="text" id="js-bomCode" name="bomCode" lay-verify="required" autocomplete="off"
|
<input type="text" id="js-bomCode" name="bomCode" lay-verify="required"
|
||||||
|
autocomplete="off"
|
||||||
class="layui-input" value="${result.bomCode}">
|
class="layui-input" value="${result.bomCode}">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="layui-form-item">
|
||||||
<div class="layui-inline">
|
|
||||||
<label for="js-bomCode" class="layui-form-label sp-required">物料编码
|
<label for="js-bomCode" class="layui-form-label sp-required">物料编码
|
||||||
</label>
|
</label>
|
||||||
<div class="layui-input-inline">
|
<div class="layui-inline">
|
||||||
<input id="js-test-input" placeholder="搜索物料" autocomplete="off" value="" class="layui-input">
|
<input id="js-test-input" placeholder="搜索物料" autocomplete="off" value=""
|
||||||
</div>
|
class="layui-input">
|
||||||
<div class="layui-input-inline">
|
|
||||||
<button id="js-test-btn" class="layui-btn"><i class="layui-icon layui-icon-search "></i></button>
|
|
||||||
</div>
|
</div>
|
||||||
|
<button id="js-test-btn" class="layui-btn"><i class="layui-icon layui-icon-search "></i></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="layui-form-item">
|
<div class="layui-form-item">
|
||||||
<div class="layui-inline">
|
<div class="layui-inline">
|
||||||
<label for="js-bomCode" class="layui-form-label sp-required">版本号
|
<label for="js-bomCode" class="layui-form-label sp-required">版本号
|
||||||
</label>
|
</label>
|
||||||
<div class="layui-input-inline">
|
<div class="layui-input-inline">
|
||||||
<input type="text" id="js-bomCode" name="bomCode" lay-verify="required" autocomplete="off"
|
<input type="text" id="js-bomCode" name="bomCode" lay-verify="required"
|
||||||
|
autocomplete="off"
|
||||||
class="layui-input" value="${result.bomCode}">
|
class="layui-input" value="${result.bomCode}">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -107,7 +107,8 @@
|
||||||
|
|
||||||
<div class="layui-form-item">
|
<div class="layui-form-item">
|
||||||
<div class="layui-input-block">
|
<div class="layui-input-block">
|
||||||
<button class="layui-btn layui-bg-green layui-btn-primary pre" lay-submit lay-filter="formStep">
|
<button class="layui-btn layui-bg-green layui-btn-primary pre" lay-submit
|
||||||
|
lay-filter="formStep">
|
||||||
 上一步 
|
 上一步 
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -120,7 +121,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
layui.use(['form', 'util', 'step','spLayer'], function () {
|
layui.use(['form', 'util', 'step', 'spLayer'], function () {
|
||||||
var form = layui.form,
|
var form = layui.form,
|
||||||
spLayer = layui.spLayer,
|
spLayer = layui.spLayer,
|
||||||
step = layui.step;
|
step = layui.step;
|
||||||
|
|
|
@ -146,7 +146,7 @@
|
||||||
if (obj.event === 'edit') {
|
if (obj.event === 'edit') {
|
||||||
spLayer.open({
|
spLayer.open({
|
||||||
title: '编辑',
|
title: '编辑',
|
||||||
area: ['80%', '90%'],.
|
area: ['80%', '90%'],
|
||||||
|
|
||||||
// 请求url参数
|
// 请求url参数
|
||||||
spWhere: {id: data.id},
|
spWhere: {id: data.id},
|
||||||
|
|
Loading…
Reference in New Issue