Commit 20d7b81f by liuxin

面函缺陷处理

parent 5c6c5298
......@@ -335,7 +335,7 @@ export default {
],
"dedgrp.rec.fqtime":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"dedgrp.rec.shpto":[
{type: "string", required: false, message: "必输项"},
......@@ -345,7 +345,7 @@ export default {
"dedgrp.rec.sdsrfs":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"dedgrp.rec.shppro":[
{type: "string", required: false, message: "必输项"},
......
......@@ -2,7 +2,7 @@
<div class="eibs-tab">
<c-col :span="24" style="">
<c-istream-table-docpan :list="stmData.data" :columns="stmData.columns">
<el-table-column label="报文格式">
<el-table-column label="Medium">
<template slot-scope="scope">
<c-select
v-model="
......@@ -362,16 +362,23 @@
? 'Sender to Rec. information'
: 'Remark'
"
><el-input
type="textarea"
:rows="10"
:disabled="title == 'MT799'"
:v-model="
title == 'MT799'
? dialog.addtxt
: dialog.remark
"
/></el-form-item>
>
<div v-if="title == 'MT799'">
<el-input
type="textarea"
:rows="10"
disabled
v-model="dialog.remark"
/>
</div>
<div v-else>
<el-input
type="textarea"
:rows="10"
v-model="dialog.addtxt"
/>
</div>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="mini">... </c-button>
......@@ -444,10 +451,9 @@ export default {
methods: {
saveDialog() {
this.centerDialogVisible = false;
console.log(this.model);
this.model.trnmod.trndoc.doceot.splice(this.index, 1, this.dialog);
this.executeRule("trnmod.trndoc.doccur.butaddok").then(res => {
if(res.data.respCode==SUCCESS){
if(res.respCode==SUCCESS){
//TODO
}else{
......@@ -528,7 +534,8 @@ export default {
if (rtnmsg.respCode == SUCCESS) {
this.title = row.pandsc
this.centerDialogVisible = true,
this.dialog = rtnmsg.data.trnmod_trndoc_doceot[index]
this.updateModel(rtnmsg.data);
this.dialog = this.model.trnmod.trndoc.doceot[index]
this.index = index
}
}
......
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