Commit 20d7b81f by liuxin

面函缺陷处理

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