Commit a5ad4888 by liuxin

Detopn远期付款指示修改

parent 2910a4e6
...@@ -551,6 +551,10 @@ const CodeTable = { ...@@ -551,6 +551,10 @@ const CodeTable = {
{ label: "议付", value: "N" }, { label: "议付", value: "N" },
{ label: "即期付款", value: "P" }, { label: "即期付款", value: "P" },
], ],
avbbyDetopn: [
{ label: "远期付款", value: "D" },
{ label: "即期付款", value: "P" },
],
avbwth: [ avbwth: [
{ label: "Issuing Bank", value: "I" }, { label: "Issuing Bank", value: "I" },
{ label: "Specified Bank", value: "S" }, { label: "Specified Bank", value: "S" },
......
...@@ -269,7 +269,7 @@ export default { ...@@ -269,7 +269,7 @@ export default {
* @param {Boolean} required 是否必填 * @param {Boolean} required 是否必填
*/ */
changeFormItemRequired(property, required) { changeFormItemRequired(property, required) {
this.pattern[property][0].required = required this.getRoot().pattern[property][0].required = required
}, },
/** /**
* 在 A 交易中打开 B 交易视图(详情、开立...)。 * 在 A 交易中打开 B 交易视图(详情、开立...)。
......
...@@ -18,7 +18,9 @@ export default { ...@@ -18,7 +18,9 @@ export default {
onSeainf() {}, onSeainf() {},
onExtkey() {}, onExtkey() {},
mytypeChange() {}, mytypeChange() {},
avbbykeyEvent() {}, avbbykeyEvent() {
this.changeFormItemRequired('dedgrp.blk.defdet', this.model.dedgrp.rec.avbby == 'D')
},
recTratypChange() {}, recTratypChange() {},
async onBenpDet() { async onBenpDet() {
let rtnmsg = await this.executeRule("benp.det") let rtnmsg = await this.executeRule("benp.det")
......
...@@ -149,7 +149,7 @@ export default { ...@@ -149,7 +149,7 @@ export default {
{required: true, message: "必输项"} {required: true, message: "必输项"}
], ],
"dedgrp.blk.defdet":[ "dedgrp.blk.defdet":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.apl.adrelc":[ "dedgrp.apl.adrelc":[
......
...@@ -460,7 +460,7 @@ ...@@ -460,7 +460,7 @@
placeholder="请选择" placeholder="请选择"
> >
<el-option <el-option
v-for="item in codes.avbby0" v-for="item in codes.avbbyDetopn"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
...@@ -482,10 +482,10 @@ ...@@ -482,10 +482,10 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="远期付款指示" prop="dedgrp.blk.dftat"> <el-form-item label="远期付款指示" prop="dedgrp.blk.defdet">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.dedgrp.blk.dftat" v-model="model.dedgrp.blk.defdet"
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入远期付款指示" placeholder="请输入远期付款指示"
......
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