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