提交 3f76d9f6 authored 作者: chengye's avatar chengye

抄表单上传支持多种格式

上级 f0073ec8
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
<div class="layui-col-md5"> <div class="layui-col-md5">
<div class="layui-form-item"> <div class="layui-form-item">
<label class="layui-form-label"> <label class="layui-form-label">
<span class="x-red">*</span>电表水印照片 <span class="x-red">*</span>抄表凭证
</label> </label>
<div class="layui-input-inline"> <div class="layui-input-inline">
<button type="button" class="layui-btn" id="up_photo"> <button type="button" class="layui-btn" id="up_photo">
...@@ -240,6 +240,7 @@ ...@@ -240,6 +240,7 @@
elem: '#up_photo' , elem: '#up_photo' ,
url: '/upFile', url: '/upFile',
field: 'up_file', field: 'up_file',
accept: 'file',
done: function (res) { done: function (res) {
if(res.status == 1){ if(res.status == 1){
layMsg(res.message) layMsg(res.message)
......
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
<div class="layui-col-md5"> <div class="layui-col-md5">
<div class="layui-form-item"> <div class="layui-form-item">
<label class="layui-form-label"> <label class="layui-form-label">
<span class="x-red">*</span>电表水印照片 <span class="x-red">*</span>抄表凭证
</label> </label>
<div class="layui-input-inline"> <div class="layui-input-inline">
<a href="{$useage.photo.src}" target="_blank" class="layui-btn" disabled="disabled"> <a href="{$useage.photo.src}" target="_blank" class="layui-btn" disabled="disabled">
......
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
<div class="layui-col-md5"> <div class="layui-col-md5">
<div class="layui-form-item"> <div class="layui-form-item">
<label class="layui-form-label"> <label class="layui-form-label">
<span class="x-red">*</span>电表水印照片 <span class="x-red">*</span>抄表凭证
</label> </label>
<div class="layui-input-inline"> <div class="layui-input-inline">
<a href="{$useage.photo.src}" target="_blank" class="layui-btn" disabled="disabled"> <a href="{$useage.photo.src}" target="_blank" class="layui-btn" disabled="disabled">
......
...@@ -140,7 +140,7 @@ ...@@ -140,7 +140,7 @@
<div class="layui-col-md5"> <div class="layui-col-md5">
<div class="layui-form-item"> <div class="layui-form-item">
<label class="layui-form-label"> <label class="layui-form-label">
<span class="x-red">*</span>账单凭证 <span class="x-red">*</span>抄表凭证
</label> </label>
<div class="layui-input-inline"> <div class="layui-input-inline">
<button type="button" class="layui-btn" id="up_photo"> <button type="button" class="layui-btn" id="up_photo">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论