|
@@ -21,10 +21,10 @@
|
|
|
.add-list>li{margin: 10px 0;}
|
|
|
.cp-list{list-style-type: none;margin: 0;padding: 0;}
|
|
|
.cp-list>li{position: relative; cursor: pointer;clear: both;padding: 15px 0;}
|
|
|
- .my-select{border: 1px solid rgba(0,0,0,.1);padding:6px 50px 6px 15px;height: 34px;margin: 0 10px; -webkit-appearance:none;appearance:none;background: url(/common/images/pts/select-1.png) right center no-repeat;background-size:auto 100%;}
|
|
|
- input[type=radio]{-webkit-appearance:none;appearance:none;background: url(/common/images/pts/radio-1.png) center center no-repeat;background-size:auto 100%;width: 20px;height: 20px;margin-right: 10px;}
|
|
|
- input[type=radio]:checked{-webkit-appearance:none;appearance:none;background: url(/common/images/pts/radio-2.png) center center no-repeat;background-size:auto 100%;width: 20px;height: 20px;margin-right: 10px;}
|
|
|
- select{border: 1px solid rgba(0,0,0,.1);border-radius: 5px;padding:6px 35px 6px 5px;height: 32px;-webkit-appearance:none;appearance:none;background: url(/common/images/pts/select-1.png) right center no-repeat !important;background-size:auto 100% !important;margin-right: 10px;width: 85px;}
|
|
|
+ .my-select{border: 1px solid rgba(0,0,0,.1);padding:6px 50px 6px 15px;height: 34px;margin: 0 10px; -webkit-appearance:none;appearance:none;background: url(${path}/common/images/pts/select-1.png) right center no-repeat;background-size:auto 100%;}
|
|
|
+ input[type=radio]{-webkit-appearance:none;appearance:none;background: url(${path}/common/images/pts/radio-1.png) center center no-repeat;background-size:auto 100%;width: 20px;height: 20px;margin-right: 10px;}
|
|
|
+ input[type=radio]:checked{-webkit-appearance:none;appearance:none;background: url(${path}/common/images/pts/radio-2.png) center center no-repeat;background-size:auto 100%;width: 20px;height: 20px;margin-right: 10px;}
|
|
|
+ select{border: 1px solid rgba(0,0,0,.1);border-radius: 5px;padding:6px 35px 6px 5px;height: 32px;-webkit-appearance:none;appearance:none;background: url(${path}/common/images/pts/select-1.png) right center no-repeat !important;background-size:auto 100% !important;margin-right: 10px;width: 85px;}
|
|
|
</style>
|
|
|
<title>添加生产产品- 生产产品管理 - RST</title>
|
|
|
</head>
|
|
@@ -34,72 +34,73 @@
|
|
|
<span class="c-gray en">></span> 添加产品
|
|
|
<a class="btn radius r" style="line-height:1.6em;margin-top:3px;background: #58d2ea;color: #fff;" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont"></i></a>
|
|
|
</nav>
|
|
|
-<article class="page-container">
|
|
|
- <form class="form form-horizontal" id="form-admin-addProduce">
|
|
|
- <div style="padding: 10px;width: 600px;margin: 0 auto;" class="">
|
|
|
- <div class="my-title">产品信息</div>
|
|
|
- <div class="input-box"><span class="input-dic">产品名称</span><input class="my-input" name="produceName" id="produceName" type="text" value="" placeholder="请输入产品名称,2-20位字符" required maxlength="20" minlength="2"/> </div>
|
|
|
- <div class="input-box"><span class="input-dic">产品描述</span><input class="my-input" type="text" name="produceRemake" id="produceRemake" value="" placeholder="请输入产品描述,2-100位字符" required maxlength="100" minlength="2"/> </div>
|
|
|
+<form class="form form-horizontal" id="form-admin-addProduce">
|
|
|
+ <article class="page-container" style="padding-bottom: 80px;">
|
|
|
|
|
|
- <div class="input-box "><span class="input-dic">产品特性</span>
|
|
|
- <select class="" style="width: 290px;" id="produceFeature" name="produceFeature">
|
|
|
- <option value="A" selected>国内(A)</option>
|
|
|
- <option value="B">美国(B)</option>
|
|
|
- <option value="C">欧洲(C)</option>
|
|
|
- <option value="D">其他(D)</option>
|
|
|
- </select>
|
|
|
- </div>
|
|
|
- <div class="input-box"><span class="input-dic">产品型号</span><input class="my-input" style="width: 120px;" type="text" name="producePattern" id="producePattern" value="" placeholder="2-3位英文、数字组合" required maxlength="3" minlength="2"/>-<input class="my-input" style="width: 120px;" type="text" name="produceModel" id="produceModel" value="" placeholder="2-3位英文、数字组合" required maxlength="3" minlength="2"/> </div>
|
|
|
+ <div style="padding: 10px;width: 600px;margin: 0 auto;" class="">
|
|
|
+ <div class="my-title">产品信息</div>
|
|
|
+ <div class="input-box"><span class="input-dic">产品名称</span><input class="my-input" name="produceName" id="produceName" type="text" value="" placeholder="请输入产品名称,2-20位字符" required maxlength="20" minlength="2"/> </div>
|
|
|
+ <div class="input-box"><span class="input-dic">产品描述</span><input class="my-input" type="text" name="produceRemake" id="produceRemake" value="" placeholder="请输入产品描述,2-100位字符" required maxlength="100" minlength="2"/> </div>
|
|
|
|
|
|
- <div class="input-box"><span class="input-dic">产品类型</span>
|
|
|
- <label><input type="radio" name="produceType" value="1" checked>净水机</label>
|
|
|
- <label><input type="radio" name="produceType" value="2">冲奶机</label>
|
|
|
- </div>
|
|
|
+ <div class="input-box "><span class="input-dic">产品特性</span>
|
|
|
+ <select class="" style="width: 290px;" id="produceFeature" name="produceFeature">
|
|
|
+ <option value="A" selected>国内(A)</option>
|
|
|
+ <option value="B">美国(B)</option>
|
|
|
+ <option value="C">欧洲(C)</option>
|
|
|
+ <option value="D">其他(D)</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ <div class="input-box"><span class="input-dic">产品型号</span><input class="my-input" style="width: 120px;" type="text" name="producePattern" id="producePattern" value="" placeholder="1-3位英文、数字组合" required maxlength="3" minlength="1"/>-<input class="my-input" style="width: 120px;" type="text" name="produceModel" id="produceModel" value="" placeholder="1-3位英文、数字组合" required maxlength="3" minlength="1"/> </div>
|
|
|
|
|
|
- <div class="input-box"><span class="input-dic">产品状态</span>
|
|
|
- <label><input type="radio" name="produceStatus" value="1" checked>正在使用</label>
|
|
|
- <label><input type="radio" name="produceStatus" value="0">停止使用</label>
|
|
|
- </div>
|
|
|
- <div style="background-color:rgba(0,0,0,.1);height: 1px;margin: 15px 0;width: 93%;"></div>
|
|
|
+ <div class="input-box"><span class="input-dic">产品类型</span>
|
|
|
+ <label><input type="radio" name="produceType" value="1" checked>净水机</label>
|
|
|
+ <label><input type="radio" name="produceType" value="2">冲奶机</label>
|
|
|
+ </div>
|
|
|
|
|
|
- <div class="my-title">节点信息</div>
|
|
|
+ <div class="input-box"><span class="input-dic">产品状态</span>
|
|
|
+ <label><input type="radio" name="produceStatus" value="1" checked>正在使用</label>
|
|
|
+ <label><input type="radio" name="produceStatus" value="0">停止使用</label>
|
|
|
+ </div>
|
|
|
+ <div style="background-color:rgba(0,0,0,.1);height: 1px;margin: 15px 0;width: 93%;"></div>
|
|
|
|
|
|
- <ul class="cp-list onrTheProcess" id="sortable">
|
|
|
- <li id="1" class="processList">
|
|
|
- <input type="hidden" class="processNumber" value="1">
|
|
|
- <div class="input-box pro-height">
|
|
|
- <span class="input-dic process-type process-sp">节点类型</span>
|
|
|
- <label><input type="radio" name="processType_p1" value="1" checked>生产工序</label>
|
|
|
- <label><input type="radio" name="processType_p1" value="2">修理工序</label>
|
|
|
- <button type="button" class="my-btn-edit" onclick="delProcess(this)">删除节点</button>
|
|
|
- </div>
|
|
|
- <div class="input-box"><span class="input-dic">节点名称</span><input class="my-input" name="processName" type="text" value="" placeholder="请输入节点名称,2-20位字符" required maxlength="20" minlength="2"/> </div>
|
|
|
- <div class="input-box"><span class="input-dic">节点操作</span>
|
|
|
- <ul class="add-list oneTheNode" >
|
|
|
- <li class="nodeList">
|
|
|
- <#--<select class="my-select"><option>1</option></select>-->
|
|
|
- <label><input type="radio" name="nodeStatus_p1_n1" value="1" checked>正常</label>
|
|
|
- <label><input type="radio" name="nodeStatus_p1_n1" value="0">异常</label>
|
|
|
- <input class="my-input" name="nodeDes" type="text" value="" placeholder="请输入节点操作描述,2-20位字符" required minlength="2" maxlength="20" />
|
|
|
- <i class="Hui-iconfont" onclick="delNode(this)"></i>
|
|
|
- </li>
|
|
|
- <li>
|
|
|
- <button type="button" class="my-btn-edit" onclick="addProNode(this)">增加节点操作</button>
|
|
|
- </li>
|
|
|
- </ul>
|
|
|
- </div>
|
|
|
- </li>
|
|
|
- </ul>
|
|
|
+ <div class="my-title">节点信息</div>
|
|
|
|
|
|
- <div style="clear: both;"></div>
|
|
|
- <div style="padding-top: 15px;"><button type="button" class="my-btn-edit" onclick="addProcess(this)">增加节点</button></div>
|
|
|
- <div>
|
|
|
- <button type="reset" class="my-btn-reset" >重置</button><button type="submit" class="my-btn-submit">确认提交</button>
|
|
|
+ <ul class="cp-list onrTheProcess" id="sortable">
|
|
|
+ <li id="1" class="processList">
|
|
|
+ <input type="hidden" class="processNumber" value="1">
|
|
|
+ <div class="input-box pro-height">
|
|
|
+ <span class="input-dic process-type process-sp">节点类型</span>
|
|
|
+ <label><input type="radio" name="processType_p1" value="1" checked>生产工序</label>
|
|
|
+ <label><input type="radio" name="processType_p1" value="2">修理工序</label>
|
|
|
+ <button type="button" class="my-btn-edit" onclick="delProcess(this)">删除节点</button>
|
|
|
+ </div>
|
|
|
+ <div class="input-box"><span class="input-dic">节点名称</span><input class="my-input" name="processName" type="text" value="" placeholder="请输入节点名称,2-20位字符" required maxlength="20" minlength="2"/> </div>
|
|
|
+ <div class="input-box"><span class="input-dic">节点操作</span>
|
|
|
+ <ul class="add-list oneTheNode" >
|
|
|
+ <li class="nodeList">
|
|
|
+ <#--<select class="my-select"><option>1</option></select>-->
|
|
|
+ <label><input type="radio" name="nodeStatus_p1_n1" value="1" checked>正常</label>
|
|
|
+ <label><input type="radio" name="nodeStatus_p1_n1" value="0">异常</label>
|
|
|
+ <input class="my-input" name="nodeDes" type="text" value="" placeholder="请输入节点操作描述,2-20位字符" required minlength="2" maxlength="20" />
|
|
|
+ <i class="Hui-iconfont" onclick="delNode(this)"></i>
|
|
|
+ </li>
|
|
|
+ <li>
|
|
|
+ <button type="button" class="my-btn-edit" onclick="addProNode(this)">增加节点操作</button>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+ <div style="clear: both;"></div>
|
|
|
+ <div style="padding-top: 15px;"><button type="button" class="my-btn-edit" onclick="addProcess(this)">增加节点</button></div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </article>
|
|
|
|
|
|
- </form>
|
|
|
-</article>
|
|
|
+ <div style="width: 100%;height: 80px;position: fixed;bottom: 0px;background: #f5f5f5;text-align: center;line-height: 80px;">
|
|
|
+ <button type="reset" class="my-btn-reset" >重置</button><button type="submit" class="my-btn-submit">确认提交</button>
|
|
|
+ </div>
|
|
|
+</form>
|
|
|
<#--<script type="text/javascript" src="${path}/common/lib/ueditor/1.4.3/ueditor.config.js"></script>-->
|
|
|
<#--<script type="text/javascript" src="${path}/common/lib/ueditor/1.4.3/ueditor.all.js"></script>-->
|
|
|
<script type="text/javascript" src="${path}/common/lib/jquery.ui/jquery-ui.js"></script>
|