优化流程

pull/1/head
Administrator 2020-03-30 19:45:29 +08:00
parent e21f492fa6
commit 1d98ad6125
2 changed files with 14 additions and 13 deletions

View File

@ -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=""
class="layui-input">
</div> </div>
<div class="layui-input-inline">
<button id="js-test-btn" class="layui-btn"><i class="layui-icon layui-icon-search "></i></button> <button id="js-test-btn" class="layui-btn"><i class="layui-icon layui-icon-search "></i></button>
</div> </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">
&emsp;上一步&emsp; &emsp;上一步&emsp;
</button> </button>
</div> </div>

View File

@ -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},