mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-25 14:17:54 +08:00
加入打印名称
This commit is contained in:
parent
94d9331207
commit
79b8fd1acd
@ -1,5 +1,5 @@
|
||||
<div id="addFeePrintSpecModel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
|
||||
aria-hidden="true">
|
||||
aria-hidden="true">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-body">
|
||||
@ -17,12 +17,19 @@
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-2 col-form-label">名称</label>
|
||||
<div class="col-sm-10">
|
||||
<input v-model="addFeePrintSpecInfo.printName" type="text" placeholder="必填,请填写名称"
|
||||
class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-2 col-form-label">图片</label>
|
||||
<div class="col-sm-10">
|
||||
<vc:create path="frame/uploadImage" callBackListener="addFeePrintSpec"
|
||||
callBackFunction="notifyUploadImage" imageCount="1"
|
||||
namespace="addFeePrintSpec">
|
||||
callBackFunction="notifyUploadImage" imageCount="1" namespace="addFeePrintSpec">
|
||||
</vc:create>
|
||||
</div>
|
||||
</div>
|
||||
@ -30,16 +37,16 @@
|
||||
<label class="col-sm-2 col-form-label">内容</label>
|
||||
<div class="col-sm-10">
|
||||
<textarea v-model="addFeePrintSpecInfo.content" placeholder="必填,请填写内容"
|
||||
class="form-control" rows="5"></textarea>
|
||||
class="form-control" rows="5"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ibox-content">
|
||||
<button class="btn btn-primary float-right" type="button"
|
||||
v-on:click="saveFeePrintSpecInfo()">
|
||||
v-on:click="saveFeePrintSpecInfo()">
|
||||
<i class="fa fa-check"></i> 保存
|
||||
</button>
|
||||
<button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
|
||||
data-dismiss="modal">
|
||||
data-dismiss="modal">
|
||||
<i class="fa fa-times"></i> 取消
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@ -10,6 +10,7 @@
|
||||
specCd: '',
|
||||
content: '',
|
||||
qrImg: '',
|
||||
printName: '',
|
||||
}
|
||||
},
|
||||
_initMethod: function () {
|
||||
@ -39,6 +40,18 @@
|
||||
errInfo: "规格不是有效数字"
|
||||
},
|
||||
],
|
||||
'addFeePrintSpecInfo.printName': [
|
||||
{
|
||||
limit: "required",
|
||||
param: "",
|
||||
errInfo: "名称不能为空"
|
||||
},
|
||||
{
|
||||
limit: "maxLength",
|
||||
param: "128",
|
||||
errInfo: "名称太长"
|
||||
},
|
||||
],
|
||||
'addFeePrintSpecInfo.content': [
|
||||
{
|
||||
limit: "required",
|
||||
@ -100,6 +113,7 @@
|
||||
specCd: '',
|
||||
content: '',
|
||||
qrImg: '',
|
||||
printName: '',
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@ -16,6 +16,13 @@
|
||||
<option value="2020">收据打印说明</option>
|
||||
</select> </div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-2 col-form-label">名称</label>
|
||||
<div class="col-sm-10">
|
||||
<input v-model="editFeePrintSpecInfo.printName" type="text" placeholder="必填,请填写名称"
|
||||
class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-2 col-form-label">必填</label>
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
specCd: '',
|
||||
content: '',
|
||||
qrImg: '',
|
||||
|
||||
printName:'',
|
||||
}
|
||||
},
|
||||
_initMethod: function () {
|
||||
@ -49,6 +49,18 @@
|
||||
errInfo: "规格不是有效数字"
|
||||
},
|
||||
],
|
||||
'editFeePrintSpecInfo.printName': [
|
||||
{
|
||||
limit: "required",
|
||||
param: "",
|
||||
errInfo: "名称不能为空"
|
||||
},
|
||||
{
|
||||
limit: "maxLength",
|
||||
param: "128",
|
||||
errInfo: "名称太长"
|
||||
},
|
||||
],
|
||||
'editFeePrintSpecInfo.content': [
|
||||
{
|
||||
limit: "required",
|
||||
@ -106,7 +118,7 @@
|
||||
specCd: '',
|
||||
content: '',
|
||||
qrImg: '',
|
||||
|
||||
printName:'',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -16,6 +16,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-center">图片</th>
|
||||
<th class="text-center">名称</th>
|
||||
<th class="text-center">规格</th>
|
||||
<th class="text-center">编码</th>
|
||||
<th class="text-center">操作</th>
|
||||
@ -27,6 +28,7 @@
|
||||
<img :src="feePrintSpec.qrImg" style="border-radius: 5px;" width="100px"
|
||||
height="100px"/>
|
||||
</td>
|
||||
<td class="text-center">{{feePrintSpec.printName}}</td>
|
||||
<td class="text-center">{{feePrintSpec.specCd == '1010'?'催缴打印说明':'收据打印说明'}}</td>
|
||||
<td class="text-center">{{feePrintSpec.printId}}</td>
|
||||
<td class="text-center">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user