Commit f000abba by zenghuan

问题修改

parent 952da0b5
...@@ -4845,10 +4845,10 @@ const CodeTable = { ...@@ -4845,10 +4845,10 @@ const CodeTable = {
{label: "Other", value: "OTH"}, {label: "Other", value: "OTH"},
], ],
msgtyp3: [ msgtyp3: [
{label: "mt", value: "mt"}, {label: "MT", value: "MT"},
{label: "iso", value: "iso"}, {label: "ISO", value: "ISO"},
{label: "fmt", value: "fmt"}, {label: "FMT", value: "FMT"},
{label: "cips", value: "cips"}, {label: "CIPS", value: "CIPS"},
], ],
mylx: [ mylx: [
{label: "服务贸易", value: "F"}, {label: "服务贸易", value: "F"},
......
...@@ -24,9 +24,9 @@ ...@@ -24,9 +24,9 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="报文标准" prop="" style="width: 100%"> <el-form-item label="报文标准" prop="msgtyp" style="width: 100%">
<c-select v-model="model.wlzp.stadat" style="width: 100%" placeholder="请选择报文标准" <c-select v-model="model.wlzp.msgtyp" style="width: 100%" :code="codes.msgtyp3">
:code="codes.subtyp"/> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -36,68 +36,70 @@ ...@@ -36,68 +36,70 @@
<el-row v-show="searchSlot.searchToggle"> <el-row v-show="searchSlot.searchToggle">
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="报文类型" prop="" style="width: 100%"> <el-form-item label="报文类型" prop="subtype" style="width: 100%">
<c-select v-model="model.wlzp.stadat" style="width: 100%" placeholder="请选择报文类型" <el-select v-model="model.wlzp.subtyp" placeholder="请选择报文类型">
:code="codes.subtyp"/> <el-option v-for="code in subtypCodes" :key="code.label" :label="code.label" :value="code.value">
</el-option>
</el-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="发报行BIC" prop="" style="width: 100%"> <el-form-item label="发报行BIC" prop="" style="width: 100%">
<c-input v-model="model.wlzp.stadat" style="width: 100%" placeholder="请输入发报行BIC"/> <c-input v-model="model.wlzp.sndbic" style="width: 100%" />
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="收报行BIC" prop="" style="width: 100%"> <el-form-item label="收报行BIC" prop="" style="width: 100%">
<c-input v-model="model.wlzp.stadat" style="width: 100%" placeholder="请输入收报行BIC"/> <c-input v-model="model.wlzp.rcvbic" style="width: 100%" />
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="报文标志号" prop="" style="width: 100%"> <el-form-item label="报文标志号" prop="" style="width: 100%">
<c-input v-model="model.wlzp.stadat" style="width: 100%" placeholder="请输入报文标志号"/> <c-input v-model="model.wlzp.bwbzh" style="width: 100%" />
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="关联参考号" prop="" style="width: 100%"> <el-form-item label="关联参考号" prop="" style="width: 100%">
<c-input v-model="model.wlzp.stadat" style="width: 100%" placeholder="请输入关联参考号"/> <c-input v-model="model.wlzp.glckh" style="width: 100%" />
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="币种" prop="" 币种style="width: 100%"> <el-form-item label="币种" prop="" style="width: 100%">
<c-select v-model="model.wlzp.stadat" style="width: 100%" placeholder="请选择币种" <c-select v-model="model.wlzp.cur" style="width: 100%"
:code="codes.subtyp"/> :code="codes.cur"/>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="账号" prop="" style="width: 100%"> <el-form-item label="账号" prop="" style="width: 100%">
<c-input v-model="model.wlzp.stadat" style="width: 100%" placeholder="请输入账号"/> <c-input v-model="model.wlzp.act" style="width: 100%" />
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="金额下限" prop="" style="width: 100%"> <el-form-item label="金额下限" prop="" style="width: 100%">
<c-input v-model="model.wlzp.stadat" style="width: 100%" placeholder="请输入金额下限"/> <c-input v-model="model.wlzp.amtmin" style="width: 100%" />
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="金额上限" prop="" style="width: 100%"> <el-form-item label="金额上限" prop="" style="width: 100%">
<c-input v-model="model.wlzp.stadat" style="width: 100%" placeholder="请输入金额上限"/> <c-input v-model="model.wlzp.amtmax" style="width: 100%" />
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="消息处理状态" prop="" style="width: 100%"> <el-form-item label="消息处理状态" prop="" style="width: 100%">
<c-select v-model="model.wlzp.stadat" style="width: 100%" placeholder="请选择消息处理状态" <c-select v-model="model.wlzp.rspsta" style="width: 100%"
:code="codes.subtyp"/> :code="codes.rspsta"/>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="行内系统" prop="" style="width: 100%"> <el-form-item label="行内系统" prop="" style="width: 100%">
<c-select v-model="model.wlzp.stadat" style="width: 100%" placeholder="请选择行内系统" <c-select v-model="model.wlzp.chnipt" style="width: 100%"
:code="codes.subtyp"/> :code="codes.chnipt"/>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -201,7 +203,7 @@ export default { ...@@ -201,7 +203,7 @@ export default {
width: "120px", width: "120px",
}, },
{ {
label: "关联参考", label: "关联参考",
prop: "stadat", prop: "stadat",
width: "120px", width: "120px",
}, },
...@@ -288,6 +290,25 @@ export default { ...@@ -288,6 +290,25 @@ export default {
return this.multipleSelection.length == 0; return this.multipleSelection.length == 0;
}, },
}, },
watch: {
'model.wlzp.msgtyp': {
handler: function (newTyp, oldTyp) {
// 把已经选择的 subtyp 重置
this.model.wlzp.subtyp= '';
const { codes } = this;
if (newTyp === 'MT') {
this.subtypCodes = codes.mttyp;
} else if (newTyp === 'ISO') {
this.subtypCodes = codes.isotyp;
} else if (newTyp === 'FMT') {
this.subtypCodes = codes.fmttyp;
} else {
this.subtypCodes = codes.cipstyp;
}
},
deep: true
}
},
methods: {}, methods: {},
mounted: function () {}, mounted: function () {},
}; };
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="账户行" prop="msgtyp" style="width: 100%"> <el-form-item label="账户行" prop="msgtyp" style="width: 100%">
<c-select v-model="model.ptpmod.pty.extkey" style="width: 100%" :code="codes.msgtyp3"> <c-input v-model="model.ptpmod.pty.extkey" style="width: 100%" :code="codes.msgtyp3">
</c-select> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
......
...@@ -296,11 +296,11 @@ export default { ...@@ -296,11 +296,11 @@ export default {
// 把已经选择的 subtyp 重置 // 把已经选择的 subtyp 重置
this.model.sndp.subtyp = ''; this.model.sndp.subtyp = '';
const { codes } = this; const { codes } = this;
if (newTyp === 'mt') { if (newTyp === 'MT') {
this.subtypCodes = codes.mttyp; this.subtypCodes = codes.mttyp;
} else if (newTyp === 'iso') { } else if (newTyp === 'ISO') {
this.subtypCodes = codes.isotyp; this.subtypCodes = codes.isotyp;
} else if (newTyp === 'fmt') { } else if (newTyp === 'FMT') {
this.subtypCodes = codes.fmttyp; this.subtypCodes = codes.fmttyp;
} else { } else {
this.subtypCodes = codes.cipstyp; this.subtypCodes = codes.cipstyp;
......
...@@ -201,11 +201,11 @@ export default { ...@@ -201,11 +201,11 @@ export default {
// 把已经选择的 subtyp 重置 // 把已经选择的 subtyp 重置
this.model.sndp.subtyp = ''; this.model.sndp.subtyp = '';
const { codes } = this; const { codes } = this;
if (newTyp === 'mt') { if (newTyp === 'MT') {
this.subtypCodes = codes.mttyp; this.subtypCodes = codes.mttyp;
} else if (newTyp === 'iso') { } else if (newTyp === 'ISO') {
this.subtypCodes = codes.isotyp; this.subtypCodes = codes.isotyp;
} else if (newTyp === 'fmt') { } else if (newTyp === 'FMT') {
this.subtypCodes = codes.fmttyp; this.subtypCodes = codes.fmttyp;
} else { } else {
this.subtypCodes = codes.cipstyp; this.subtypCodes = codes.cipstyp;
......
...@@ -296,11 +296,11 @@ export default { ...@@ -296,11 +296,11 @@ export default {
// 把已经选择的 subtyp 重置 // 把已经选择的 subtyp 重置
this.model.sndp.subtyp = ''; this.model.sndp.subtyp = '';
const { codes } = this; const { codes } = this;
if (newTyp === 'mt') { if (newTyp === 'MT') {
this.subtypCodes = codes.mttyp; this.subtypCodes = codes.mttyp;
} else if (newTyp === 'iso') { } else if (newTyp === 'ISO') {
this.subtypCodes = codes.isotyp; this.subtypCodes = codes.isotyp;
} else if (newTyp === 'fmt') { } else if (newTyp === 'FMT') {
this.subtypCodes = codes.fmttyp; this.subtypCodes = codes.fmttyp;
} else { } else {
this.subtypCodes = codes.cipstyp; this.subtypCodes = codes.cipstyp;
......
...@@ -179,16 +179,16 @@ export default { ...@@ -179,16 +179,16 @@ export default {
} }
}, },
watch: { watch: {
'model.sndp.msgtyp': { 'model.oftp.rel.msgtyp': {
handler: function (newTyp, oldTyp) { handler: function (newTyp, oldTyp) {
// 把已经选择的 subtyp 重置 // 把已经选择的 subtyp 重置
this.model.sndp.subtyp = ''; this.model.oftp.rel.mty = '';
const { codes } = this; const { codes } = this;
if (newTyp === 'mt') { if (newTyp === 'MT') {
this.subtypCodes = codes.mttyp; this.subtypCodes = codes.mttyp;
} else if (newTyp === 'iso') { } else if (newTyp === 'ISO') {
this.subtypCodes = codes.isotyp; this.subtypCodes = codes.isotyp;
} else if (newTyp === 'fmt') { } else if (newTyp === 'FMT') {
this.subtypCodes = codes.fmttyp; this.subtypCodes = codes.fmttyp;
} else { } else {
this.subtypCodes = codes.cipstyp; this.subtypCodes = codes.cipstyp;
......
...@@ -184,11 +184,11 @@ export default { ...@@ -184,11 +184,11 @@ export default {
// 把已经选择的 subtyp 重置 // 把已经选择的 subtyp 重置
this.model.sndp.subtyp = ''; this.model.sndp.subtyp = '';
const { codes } = this; const { codes } = this;
if (newTyp === 'mt') { if (newTyp === 'MT') {
this.subtypCodes = codes.mttyp; this.subtypCodes = codes.mttyp;
} else if (newTyp === 'iso') { } else if (newTyp === 'ISO') {
this.subtypCodes = codes.isotyp; this.subtypCodes = codes.isotyp;
} else if (newTyp === 'fmt') { } else if (newTyp === 'FMT') {
this.subtypCodes = codes.fmttyp; this.subtypCodes = codes.fmttyp;
} else { } else {
this.subtypCodes = codes.cipstyp; this.subtypCodes = codes.cipstyp;
......
...@@ -307,11 +307,11 @@ export default { ...@@ -307,11 +307,11 @@ export default {
// 把已经选择的 subtyp 重置 // 把已经选择的 subtyp 重置
this.model.rcvp.subtyp = ''; this.model.rcvp.subtyp = '';
const { codes } = this; const { codes } = this;
if (newTyp === 'mt') { if (newTyp === 'MT') {
this.subtypCodes = codes.mttyp; this.subtypCodes = codes.mttyp;
} else if (newTyp === 'iso') { } else if (newTyp === 'ISO') {
this.subtypCodes = codes.isotyp; this.subtypCodes = codes.isotyp;
} else if (newTyp === 'fmt') { } else if (newTyp === 'FMT') {
this.subtypCodes = codes.fmttyp; this.subtypCodes = codes.fmttyp;
} else { } else {
this.subtypCodes = codes.cipstyp; this.subtypCodes = codes.cipstyp;
......
...@@ -307,11 +307,11 @@ export default { ...@@ -307,11 +307,11 @@ export default {
// 把已经选择的 subtyp 重置 // 把已经选择的 subtyp 重置
this.model.rcvp.subtyp = ''; this.model.rcvp.subtyp = '';
const { codes } = this; const { codes } = this;
if (newTyp === 'mt') { if (newTyp === 'MT') {
this.subtypCodes = codes.mttyp; this.subtypCodes = codes.mttyp;
} else if (newTyp === 'iso') { } else if (newTyp === 'ISO') {
this.subtypCodes = codes.isotyp; this.subtypCodes = codes.isotyp;
} else if (newTyp === 'fmt') { } else if (newTyp === 'FMT') {
this.subtypCodes = codes.fmttyp; this.subtypCodes = codes.fmttyp;
} else { } else {
this.subtypCodes = codes.cipstyp; this.subtypCodes = codes.cipstyp;
......
...@@ -296,11 +296,11 @@ export default { ...@@ -296,11 +296,11 @@ export default {
// 把已经选择的 subtyp 重置 // 把已经选择的 subtyp 重置
this.model.sndp.subtyp = ''; this.model.sndp.subtyp = '';
const { codes } = this; const { codes } = this;
if (newTyp === 'mt') { if (newTyp === 'MT') {
this.subtypCodes = codes.mttyp; this.subtypCodes = codes.mttyp;
} else if (newTyp === 'iso') { } else if (newTyp === 'ISO') {
this.subtypCodes = codes.isotyp; this.subtypCodes = codes.isotyp;
} else if (newTyp === 'fmt') { } else if (newTyp === 'FMT') {
this.subtypCodes = codes.fmttyp; this.subtypCodes = codes.fmttyp;
} else { } else {
this.subtypCodes = codes.cipstyp; this.subtypCodes = codes.cipstyp;
......
...@@ -296,11 +296,11 @@ export default { ...@@ -296,11 +296,11 @@ export default {
// 把已经选择的 subtyp 重置 // 把已经选择的 subtyp 重置
this.model.sndp.subtyp = ''; this.model.sndp.subtyp = '';
const { codes } = this; const { codes } = this;
if (newTyp === 'mt') { if (newTyp === 'MT') {
this.subtypCodes = codes.mttyp; this.subtypCodes = codes.mttyp;
} else if (newTyp === 'iso') { } else if (newTyp === 'ISO') {
this.subtypCodes = codes.isotyp; this.subtypCodes = codes.isotyp;
} else if (newTyp === 'fmt') { } else if (newTyp === 'FMT') {
this.subtypCodes = codes.fmttyp; this.subtypCodes = codes.fmttyp;
} else { } else {
this.subtypCodes = codes.cipstyp; this.subtypCodes = codes.cipstyp;
......
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