Commit f000abba by zenghuan

问题修改

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