Commit a4c2fb20 by nanrui

cltdav优化

parent 79deb300
...@@ -23,23 +23,6 @@ export default { ...@@ -23,23 +23,6 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async handleReset() {
// this.model.infcon.seaownref = ""
// this.model.infcon.opndatfrom = new Date();
// this.model.infcon.opndatto = new Date();
// this.model.infcon.searef = "";
// this.model.infcon.pty.extkey = "";
// this.model.infcon.usr.extkey = "";
// this.model.infcon.searol = "";
// this.model.infcon.pty.nam = "";
// this.model.infcon.seapty = "";
// this.model.infcon.curtxt1 = "";
// this.model.infcon.nam = "";
// this.model.infcon.seaamtfr = "";
// this.model.infcon.seaamtto = "";
// this.model.infcon.seasta = "";
// this.model.infcon.doctypcod = "";
},
async onCltpButgetref() { async onCltpButgetref() {
let rtnmsg = await this.executeRule("cltp.butgetref") let rtnmsg = await this.executeRule("cltp.butgetref")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
......
...@@ -19,7 +19,7 @@ export default { ...@@ -19,7 +19,7 @@ export default {
{type: "date", required: true, message: "必输项"} {type: "date", required: true, message: "必输项"}
], ],
"rowcntr":[ "rowcntr":[
{type: "string", required: false, message: "必输项"}, {type: "number", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
...@@ -28,16 +28,16 @@ export default { ...@@ -28,16 +28,16 @@ export default {
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"amount":[ "amount":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"整数位不能超过12位"}, {max: 16,message:"整数位不能超过12位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"cldgrp.rec.count":[ "cldgrp.rec.count":[
{type: "string", required: false, message: "必输项"}, {type: "number", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"items":[ "items":[
{type: "string", required: false, message: "必输项"}, {type: "number", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
......
...@@ -17,7 +17,7 @@ export default class Cltdav { ...@@ -17,7 +17,7 @@ export default class Cltdav {
credat: "", // Date of creation .cldgrp.rec.credat credat: "", // Date of creation .cldgrp.rec.credat
colflg: "", // Payemnt Disposition .cldgrp.rec.colflg colflg: "", // Payemnt Disposition .cldgrp.rec.colflg
regref: "", // Register Ref. .cldgrp.rec.regref regref: "", // Register Ref. .cldgrp.rec.regref
count: "", // ITEM COUNT .cldgrp.rec.count count: Number(), // ITEM COUNT .cldgrp.rec.count
colref: "", // COLL BANK REF .cldgrp.rec.colref colref: "", // COLL BANK REF .cldgrp.rec.colref
nam: "", // Name of CC contract .cldgrp.rec.nam nam: "", // Name of CC contract .cldgrp.rec.nam
creact: "", // Credit to Account .cldgrp.rec.creact creact: "", // Credit to Account .cldgrp.rec.creact
...@@ -30,10 +30,10 @@ export default class Cltdav { ...@@ -30,10 +30,10 @@ export default class Cltdav {
setins: "", // Settlement Instructions .cldgrp.blk.setins setins: "", // Settlement Instructions .cldgrp.blk.setins
}, },
}, },
rowcntr: "", // Total Row Count .rowcntr rowcntr: Number(), // Total Row Count .rowcntr
cur: "", // currency .cur cur: "", // currency .cur
amount: "", // AMOUNT .amount amount: "", // AMOUNT .amount
items: "", // Item Count .items items: Number(), // Item Count .items
colbnk: "", // Collection Bank .colbnk colbnk: "", // Collection Bank .colbnk
cltp: { cltp: {
colp: { colp: {
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-form class="m-table-search-form" ref="paramsForm" :inline="true" label-position="right"
label-width="110px" size="small">
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<c-col :span="20"> <c-col :span="20">
<el-form-item label="Batch No." prop="cldgrp.rec.ownref" style="width:100%"> <el-form-item label="Batch No." prop="cldgrp.rec.ownref" style="width:100%">
<c-input v-model="model.cldgrp.rec.ownref" maxlength="16" <c-input v-model="model.cldgrp.rec.ownref" maxlength="16" placeholder="请输入Reference"
placeholder="请输入Reference" style="width:100%" disabled> style="width:100%" disabled>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -23,8 +18,7 @@ ...@@ -23,8 +18,7 @@
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<el-form-item label="Name" prop="cldgrp.rec.nam" style="width:100%"> <el-form-item label="Name" prop="cldgrp.rec.nam" style="width:100%">
<c-input v-model="model.cldgrp.rec.nam" maxlength="40" <c-input v-model="model.cldgrp.rec.nam" maxlength="40" placeholder="请输入Name of CC contract">
placeholder="请输入Name of CC contract">
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -104,8 +98,8 @@ ...@@ -104,8 +98,8 @@
<c-col :span="11"> <c-col :span="11">
<c-col :span="20"> <c-col :span="20">
<el-form-item label="Collection Bank" prop="colbnk" style="width:100%"> <el-form-item label="Collection Bank" prop="colbnk" style="width:100%">
<c-input v-model="model.colbnk" style="width:100%" <c-input v-model="model.colbnk" style="width:100%" placeholder="请选择Collection Bank"
placeholder="请选择Collection Bank" :disabled="model.cldgrp.rec.colflg == 'G'"> :disabled="model.cldgrp.rec.colflg == 'G'">
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -117,8 +111,8 @@ ...@@ -117,8 +111,8 @@
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<el-form-item label="Collection Method" prop="colmet" style="width:100%"> <el-form-item label="Collection Method" prop="colmet" style="width:100%">
<c-input v-model="model.colmet" style="width:100%" <c-input v-model="model.colmet" style="width:100%" placeholder="请选择Collection Method">
placeholder="请选择Collection Method" disabled></c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -147,21 +141,23 @@ ...@@ -147,21 +141,23 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<el-form-item label="Address Block" prop="cldgrp.col.pts.nam" style="width:100%"> <el-form-item label="Address Block" prop="cldgrp.col.pts.nam" style="width:100%">
<c-input type="textarea" :rows="4" v-model="model.cldgrp.col.pts.nam" maxlength="35" <c-input type="textarea" :rows="4" v-model="model.cldgrp.col.pts.nam" maxlength="35" disabled
disabled show-word-limit placeholder="请输入Address Block"></c-input> show-word-limit placeholder="请输入Address Block"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<el-form-item label="Coll Bank Ref" prop="cldgrp.rec.colref" style="width:100%"> <el-form-item label="Coll Bank Ref" prop="cldgrp.rec.colref" style="width:100%">
<c-input v-model="model.cldgrp.rec.colref" maxlength="16" <c-input v-model="model.cldgrp.rec.colref" maxlength="16" placeholder="请输入COLL BANK REF">
placeholder="请输入COLL BANK REF"></c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</c-row> </c-row>
</el-form> <c-row>
</template> <c-col :span="4" :offset="20" style="text-align:center">
</c-list-search> <el-button type="primary" @click="handleSearch">查询</el-button>
</c-col>
</c-row>
<c-col :span="24"> <c-col :span="24">
<c-edit-table :model="model" v-bind="docgrd"> <c-edit-table :model="model" v-bind="docgrd">
</c-edit-table> </c-edit-table>
...@@ -235,10 +231,22 @@ export default { ...@@ -235,10 +231,22 @@ export default {
...Event, ...Event,
multipleSelect() { multipleSelect() {
console.log(123); console.log(123);
},
checkedChange() {
console.log(456);
} }
}, },
created: function () { created: function () {
},
watch: {
// "model.bptbck.bptbckg": {
// async handler(){
// console.log(4456);
// let rtnmsg = await this.executeRule("butsea")
// this.model.bptbck.bptbckg = rtnmsg.data.ccdbatg;
// }
// }
} }
} }
</script> </script>
......
...@@ -17,7 +17,9 @@ ...@@ -17,7 +17,9 @@
<!--PD000002 --> <!--PD000002 -->
<el-tab-pane label="内容" name="sel"> <el-tab-pane label="内容" name="sel">
<c-content>
<m-sel :model="model" :codes="codes" /> <m-sel :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment