Commit a4c2fb20 by nanrui

cltdav优化

parent 79deb300
......@@ -23,23 +23,6 @@ export default {
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() {
let rtnmsg = await this.executeRule("cltp.butgetref")
if (rtnmsg.respCode == SUCCESS) {
......
......@@ -19,7 +19,7 @@ export default {
{type: "date", required: true, message: "必输项"}
],
"rowcntr":[
{type: "string", required: false, message: "必输项"},
{type: "number", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
......@@ -28,16 +28,16 @@ export default {
{max: 16,message:"长度不能超过16"}
],
"amount":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 16,message:"整数位不能超过12位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cldgrp.rec.count":[
{type: "string", required: false, message: "必输项"},
{type: "number", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"items":[
{type: "string", required: false, message: "必输项"},
{type: "number", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
......
......@@ -17,7 +17,7 @@ export default class Cltdav {
credat: "", // Date of creation .cldgrp.rec.credat
colflg: "", // Payemnt Disposition .cldgrp.rec.colflg
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
nam: "", // Name of CC contract .cldgrp.rec.nam
creact: "", // Credit to Account .cldgrp.rec.creact
......@@ -30,10 +30,10 @@ export default class Cltdav {
setins: "", // Settlement Instructions .cldgrp.blk.setins
},
},
rowcntr: "", // Total Row Count .rowcntr
rowcntr: Number(), // Total Row Count .rowcntr
cur: "", // currency .cur
amount: "", // AMOUNT .amount
items: "", // Item Count .items
items: Number(), // Item Count .items
colbnk: "", // Collection Bank .colbnk
cltp: {
colp: {
......
......@@ -17,7 +17,9 @@
<!--PD000002 -->
<el-tab-pane label="内容" name="sel">
<m-sel :model="model" :codes="codes" />
<c-content>
<m-sel :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--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