|
|
@ -7,12 +7,6 @@ |
|
|
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content"> |
|
|
|
<form class="form-horizontal m" id="form-model-edit" th:object="${sysProductModel}"> |
|
|
|
<input name="pid" th:field="*{pid}" type="hidden"> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-3 control-label">产品型号ID:</label> |
|
|
|
<div class="col-sm-8"> |
|
|
|
<input name="pcode" th:field="*{pcode}" class="form-control" type="text"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-3 control-label">设备型号:</label> |
|
|
|
<div class="col-sm-8"> |
|
|
@ -44,16 +38,23 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-3 control-label">更新人:</label> |
|
|
|
<label class="col-sm-3 control-label">照片:</label> |
|
|
|
<div class="col-sm-8"> |
|
|
|
<input name="udpateBy" th:field="*{udpateBy}" class="form-control" type="text"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-3 control-label">图片地址:</label> |
|
|
|
<div class="col-sm-8"> |
|
|
|
<input name="photoUrl" th:field="*{photoUrl}" class="form-control" type="text"> |
|
|
|
</div> |
|
|
|
<el-upload |
|
|
|
:action="fileUploadUrl" |
|
|
|
:on-success="uploadSuccess" |
|
|
|
:on-remove="uploadRemove" |
|
|
|
:file-list="fileList" |
|
|
|
list-type="picture" |
|
|
|
accept=".jpg,.png" |
|
|
|
multiple> |
|
|
|
<el-button size="small" type="primary">点击上传</el-button> |
|
|
|
<div slot="tip" class="el-upload__tip">只能上传jpg/png文件,第一张图片为主图</div> |
|
|
|
</el-upload> |
|
|
|
</div> |
|
|
|
<input id="photoAttachId" name = "photoAttachId" hidden th:field="*{photoAttachId}"> |
|
|
|
<input id="fileIdStr" type="text" name="fileIdStr" th:field="*{fileIdStr}" hidden> |
|
|
|
<input id="removeFileIdStr" type="text" name="removeFileIdStr" hidden> |
|
|
|
</div> |
|
|
|
</form> |
|
|
|
</div> |
|
|
|