Commit 38e9cdde by WF1020

gitopn修改

parent a60907fb
......@@ -153,7 +153,7 @@ export default {
{max: 14,message:"长度不能超过14"}
],
"gidgrp.rec.orcamtc":[
{type: "number", required: false, message: "必输项"},
{required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -727,7 +727,7 @@ export default {
{required: false, message: "输入正确的日期"}
],
"gidgrp.cbs.mac.amt":[
{type: "number", required: false, message: "必输项"},
{required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -913,7 +913,7 @@ export default {
{max: 12,message:"长度不能超过12"}
],
"cfagit.recgrp.bas.guaranamount":[
{type: "number", required: false, message: "必输项"},
{required: false, message: "必输项"},
{max: 22,message:"整数位不能超过19位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
......
......@@ -145,11 +145,10 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.con.dbfadrblkcn">
<el-form-item label="地址名称" prop="gidgrp.con.pts.dbfadrblkcn">
<c-input
disabled
type="textarea"
v-model="model.gidgrp.con.dbfadrblkcn"
v-model="model.gidgrp.con.pts.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入"
......
......@@ -77,7 +77,6 @@
prop="cfagit.recgrp.bas.guaranamount"
>
<c-input
disabled
v-model="model.cfagit.recgrp.bas.guaranamount"
placeholder="请输入保函金额"
></c-input>
......@@ -358,7 +357,7 @@
placeholder="请选择发行/上市方式"
>
</c-select>
<template slot="footer" class="centerLable">
<template slot="footer">
<c-checkbox disabled v-model="model.cfagit.recp.pubp.acp" style="margin-left:10px;"
>确认</c-checkbox
>
......
......@@ -120,7 +120,6 @@
<c-col :span="12">
<el-form-item label="合同币种和金额 " prop="gidgrp.rec.orccurc">
<c-select
disabled
v-model="model.gidgrp.rec.orccurc"
style="width: 100%"
placeholder="请选择合同币种"
......@@ -138,7 +137,6 @@
<c-col :span="12">
<el-form-item label-width="5px" prop="gidgrp.rec.orcamtc">
<c-input
disabled
v-model="model.gidgrp.rec.orcamtc"
placeholder="请输入合同金额 "
></c-input>
......
......@@ -75,7 +75,6 @@
<c-col :span="24">
<el-form-item label="交付地址" prop="gidgrp.blk.deltoadr">
<c-input
:disabled="model.gidgrp.rec.delto == '' && model.gidgrp.rec.purpos != ''"
rows="4"
type="textarea"
v-model="model.gidgrp.blk.deltoadr"
......@@ -89,7 +88,6 @@
<c-col :span="24">
<el-form-item label="转让条件" prop="gidgrp.blk.trfcond">
<c-input
disabled
type="textarea"
rows="4"
v-model="model.gidgrp.blk.trfcond"
......
......@@ -75,7 +75,6 @@
prop="gidgrp.blk.trfcondc"
>
<c-input
disabled
rows="5"
type="textarea"
v-model="model.gidgrp.blk.trfcondc"
......
......@@ -76,17 +76,18 @@ export default {
let params = {
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
selirn: [this.$route.query.trn]
}
let rtnmsg = await Api.post('/service/trnrel/relrow', params);
if (rtnmsg.respCode === SUCCESS) {
let errorMsg = '';
let fieldErrorsFlag = JSON.stringify(rtnmsg.fieldErrors) == '{}';
let fieldErrorsFlag = JSON.stringify(rtnmsg.data.fieldErrors) == '{}';
if (!fieldErrorsFlag) {
let errorMsgkey = '';
let errorMsgVal = '';
for (const key in rtnmsg.fieldErrors) {
for (const key in rtnmsg.data.fieldErrors) {
errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key];
errorMsgVal = rtnmsg.data.fieldErrors[key];
}
errorMsg = errorMsgkey + ':' + errorMsgVal;
this.$notify.error({
......@@ -108,13 +109,13 @@ export default {
}
} else {
let errorMsg = '';
let fieldErrorsFlag = JSON.stringify(rtnmsg.fieldErrors) == '{}';
let fieldErrorsFlag = JSON.stringify(rtnmsg.data.fieldErrors) == '{}';
if (!fieldErrorsFlag) {
let errorMsgkey = '';
let errorMsgVal = '';
for (const key in rtnmsg.fieldErrors) {
for (const key in rtnmsg.data.fieldErrors) {
errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key];
errorMsgVal = rtnmsg.data.fieldErrors[key];
errorMsg = errorMsg + errorMsgkey + ':' + errorMsgVal + ';';
}
} else if (rtnmsg.respMsg) {
......
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