Commit 5196bc71 by sheyinchen

bttsnd checkbox触发事件更改

parent 5197d8f5
......@@ -3481,6 +3481,14 @@ const CodeTable = {
{ label: "Accept/ Settle Document now", value: "A" },
{ label: "Send and Accept/ Settle Documents", value: "B" },
],
folwupopt2: [
{ label: "Register to Send and Settle Docs", value: "S" },
{ label: "Register 1st Ben. to Replace Docs", value: "R" },
{ label: "Send Advice of Discrepancy", value: "P" },
{ label: "Wait for Response", value: "W" },
{ label: "Send Documents", value: "C" },
],
fpdsta: [
{ label: "Agreement Under Negotiation", value: "N" },
{ label: "Purchase agreement Closed", value: "L" },
......
......@@ -17,7 +17,11 @@ export default class Bttdck{
dadsnd:"", // Drag Drop Sender .bttp.ltdget.sdamod.dadsnd
},
},
docgrdm:{
docgrdmbe1:{
docgrd:"",
docdsclab:"",
},
docgrdmbe2:{
docgrd:"",
docdsclab:"",
},
......@@ -134,7 +138,8 @@ export default class Bttdck{
dbfadrblkcn:"", // Chinese address .btdgrp.prp.dbfadrblkcn
},
blk:{
docpre:"",
prsdocbe1:"", //加表格字段////path字段
prsdocbe2:"", //加表格字段////path字段
intdis:"", // Internal Discrepancies .btdgrp.blk.intdis
comcon:"", // Comments and Conclusions .btdgrp.blk.comcon
setinsbt:"", // Settlement Instructions transaction field .btdgrp.blk.setinsbt
......
......@@ -71,10 +71,12 @@
<c-col :span="24">
<c-docpre
:model="model"
rol="docgrdmbe2"
:argadr="{
path: 'btdgrp.blk.prsdocbe2',
grp: 'bttp',
code: 'docpre',
}"
></c-docpre>
</c-col>
......@@ -82,10 +84,12 @@
<c-col :span="24">
<c-docpre
:model="model"
rol="docgrdmbe1"
:argadr="{
path: 'btdgrp.blk.prsdocbe1',
grp: 'bttp',
code: 'docpre',
}"
></c-docpre>
</c-col>
......@@ -95,12 +99,12 @@
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-checkbox v-model="model.btdgrp.blk.docdisflg">discrepancies modified</c-checkbox>
<c-checkbox v-model="model.btdgrp.blk.docdisflg" disabled>discrepancies modified</c-checkbox>
</c-col>
<c-col :span="24">
<el-form-item label="Further Identification" prop="bttp.furide">
<c-select v-model="model.bttp.furide" style="width:100%" placeholder="请选择Further Identification">
<el-form-item label="Further Handling" prop="bttp.futhndflg">
<c-select v-model="model.bttp.futhndflg" style="width:100%" placeholder="请选择Further Handling" :code="codes.folwupopt2">
</c-select>
</el-form-item>
</c-col>
......@@ -110,13 +114,13 @@
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.bttp.cre752flg" @change="change">Receive MT 752</c-checkbox>
<c-checkbox v-model="model.bttp.cre752flg">Receive MT 752</c-checkbox>
</c-col>
<c-col :span="24">
<el-form-item label="Further Identification" prop="btdgrp.rec.furide">
<c-select v-model="model.btdgrp.rec.furide" style="width:100%"
placeholder="请选择Further Identification" :code="codes.furide">
placeholder="请选择Further Identification" :code="codes.furide" :disabled="model.bttp.cre752flg !== ''">
</c-select>
</el-form-item>
</c-col>
......@@ -124,12 +128,12 @@
<c-col :span="24">
<el-form-item label="Date of Advise" prop="btdgrp.rec.disdat">
<c-date-picker type="date" v-model="model.btdgrp.rec.disdat" style="width:100%"
placeholder="请选择Date of Advise" disabled="disabled"></c-date-picker>
placeholder="请选择Date of Advise" :disabled="model.bttp.cre752flg == ''"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.btdsnd.snd732">Create MT 732</c-checkbox>
<c-checkbox v-model="model.btdsnd.snd732" disabled>Create MT 732</c-checkbox>
</c-col>
<c-col :span="24">
......@@ -137,7 +141,7 @@
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.rmbclmnow">Claim Reimbursement now</c-checkbox>
<c-checkbox v-model="model.rmbclmnow" :disabled="model.rmbclmlate !== ''">Claim Reimbursement now</c-checkbox>
</c-col>
......
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