Commit 679e4336 by lianyang

保函getamc/getset金额框报必输项解决

parent a22bc36f
...@@ -21,9 +21,9 @@ export default { ...@@ -21,9 +21,9 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"gidgrp.cbs.max.amt":[ "gidgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 17,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"gidgrp.apl.pts.nam":[ "gidgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -34,9 +34,9 @@ export default { ...@@ -34,9 +34,9 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"gidgrp.cbs.opn1.amt":[ "gidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 17,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -76,9 +76,9 @@ export default { ...@@ -76,9 +76,9 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"gidgrp.cbs.cnf.amt":[ "gidgrp.cbs.cnf.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 17,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"gidgrp.rec.partcon":[ "gidgrp.rec.partcon":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
...@@ -21,9 +21,9 @@ export default { ...@@ -21,9 +21,9 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"gidgrp.cbs.opn1.amt":[ "gidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 17,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"gcdgrp.rec.ownref":[ "gcdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -47,9 +47,9 @@ export default { ...@@ -47,9 +47,9 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"gcdgrp.cbs.max.amt":[ "gcdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 17,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"gcdgrp.apl.pts.ref":[ "gcdgrp.apl.pts.ref":[
...@@ -61,9 +61,9 @@ export default { ...@@ -61,9 +61,9 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"gcdgrp.cbs.opn1.amt":[ "gcdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 17,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"gcdgrp.apl.pts.nam":[ "gcdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -94,9 +94,9 @@ export default { ...@@ -94,9 +94,9 @@ export default {
], ],
"gcdgrp.cbs.max2.amt":[ "gcdgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 17,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"gctp.prbp.ptsget.sdamod.dadsnd":[ "gctp.prbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
...@@ -415,7 +415,7 @@ ...@@ -415,7 +415,7 @@
<c-input <c-input
v-if="model.gitp.swiftflg == 'Y'" v-if="model.gitp.swiftflg == 'Y'"
v-model="model.gidgrp.blk.apprultxt" v-model="model.gidgrp.blk.apprultxt"
style="margin: 0 0 0 5px; width: 100%" style="margin: 0 0 0 5px; width: 90%"
placeholder="请输入申请条款" placeholder="请输入申请条款"
disabled disabled
></c-input> ></c-input>
......
...@@ -69,11 +69,11 @@ ...@@ -69,11 +69,11 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-form-item label-width="5px" prop="gcdgrp.cbs.max.amt"> <c-form-item label-width="5px" prop="gcdgrp.cbs.max.amt">
<c-input <c-input-currency
disabled disabled
v-model="model.gcdgrp.cbs.max.amt" v-model="model.gcdgrp.cbs.max.amt"
placeholder="请输入" placeholder="请输入"
></c-input> ></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -91,11 +91,12 @@ ...@@ -91,11 +91,12 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-form-item label-width="5px" prop="gcdgrp.cbs.opn1.amt"> <c-form-item label-width="5px" prop="gcdgrp.cbs.opn1.amt">
<c-input <!-- 不确定此空是否能输负数,因此空disabled,暂用可显示负数的标签-min -->
<c-input-currency-min
disabled disabled
v-model="model.gcdgrp.cbs.opn1.amt" v-model="model.gcdgrp.cbs.opn1.amt"
placeholder="请输入" placeholder="请输入"
></c-input> ></c-input-currency-min>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -139,11 +140,12 @@ ...@@ -139,11 +140,12 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-form-item label-width="5px" prop="gidgrp.cbs.opn1.amt"> <c-form-item label-width="5px" prop="gidgrp.cbs.opn1.amt">
<c-input <!-- 不确定此空是否能输负数,因此空disabled,暂用可显示负数的标签-min -->
<c-input-currency-min
disabled disabled
v-model="model.gidgrp.cbs.opn1.amt" v-model="model.gidgrp.cbs.opn1.amt"
placeholder="请输入" placeholder="请输入"
></c-input> ></c-input-currency-min>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -225,11 +227,11 @@ ...@@ -225,11 +227,11 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-form-item label-width="5px" prop="gcdgrp.cbs.max.amt"> <c-form-item label-width="5px" prop="gcdgrp.cbs.max.amt">
<c-input <c-input-currency
disabled disabled
v-model="model.gcdgrp.cbs.max.amt" v-model="model.gcdgrp.cbs.max.amt"
placeholder="请输入" placeholder="请输入"
></c-input> ></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -247,11 +249,11 @@ ...@@ -247,11 +249,11 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-form-item label-width="5px" prop="gcdgrp.cbs.max2.amt"> <c-form-item label-width="5px" prop="gcdgrp.cbs.max2.amt">
<c-input <c-input-currency
disabled disabled
v-model="model.gcdgrp.cbs.max2.amt" v-model="model.gcdgrp.cbs.max2.amt"
placeholder="" placeholder=""
></c-input> ></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<!-- 结算 --> <!-- 结算 -->
<m-setpan :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item v-if="this.flag" title="会计分录" name="glepan"> <el-collapse-item title="会计分录" name="glepan">
<!-- 会计分录 --> <!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" /> <m-glepan :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
...@@ -274,9 +274,6 @@ export default { ...@@ -274,9 +274,6 @@ export default {
if (name === "basp1") { if (name === "basp1") {
rulePath = "bopmod.dbdp.basp"; rulePath = "bopmod.dbdp.basp";
} }
if (name === "setpan") {
this.flag = true;
}
if (!!rulePath) { if (!!rulePath) {
this.executeRule(rulePath).then((res) => { this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
......
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