Commit 08947264 by 1377875331@qq.com

内容页面事件补充

parent 02adcdaa
......@@ -5707,6 +5707,11 @@ const CodeTable = {
litameadv:[
{label:"无特殊规定",value:"1" },
{label:"有特殊规定,条件为:",value:"2" },
],
swttlx:[
{label:"需要加押的SWIFT报文(MT999)",value:"M"},
{label:"需要加押的TELEX报文",value:"T"},
// {label:"正常",value:"N"}
]
}
......
......@@ -18,7 +18,8 @@ export default {
],
"didgrp.apl.pts.ref":[
{type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"}
{max: 16,message:"长度不能超过16"},
{pattern:/(^\d+$)/, message: "只能输入数字", trigger: 'blur'}
],
"ditp.usr.extkey":[
{type: "string", required: false, message: "必输项"},
......
......@@ -65,7 +65,8 @@ export default class Ditopn{
pts:new Pts().data,
namelc:"", // 名称 .didgrp.apl.namelc
adrelc:"", // 地址 .didgrp.apl.adrelc
dbfadrblkcn:"", // Chinese address .didgrp.apl.dbfadrblkcn
dbfadrblkcn:"", // Chinese address .didgrp.apl.dbfadrblkcn
rolsetflg:"", // 备查表相关字段
},
ben:{
pts:new Pts().data,
......
......@@ -53,7 +53,7 @@
<el-col :span="12">
<el-form-item label="交单期限" prop="didgrp.blk.preper">
<c-input type="textarea" v-model="model.didgrp.blk.preper" :readonly="true" style="width:70%;margin-right:20px;" maxlength="105" show-word-limit placeholder="请输入"></c-input>
<c-input type="textarea" v-model="model.didgrp.blk.preper" :readonly="this.flag" style="width:70%;margin-right:20px;" maxlength="105" show-word-limit placeholder="请输入"></c-input>
<c-button size="small" type="primary" icon="el-icon-search" @click="onPreperButtxmsel">
...
</c-button>
......@@ -71,7 +71,7 @@
<el-col :span="12">
<el-form-item label="" prop="didgrp.blk.preperflg">
<c-checkbox v-model="model.didgrp.blk.preperflg">修改交单期限文本</c-checkbox>
<c-checkbox v-model="model.didgrp.blk.preperflg" :click="preperflgExtkeyEvent()">修改交单期限文本</c-checkbox>
</el-form-item>
</el-col>
......@@ -149,10 +149,16 @@ export default {
props:["model","codes"],
data(){
return {
flag:false,
}
},
methods:{...Event},
methods:{...Event,
preperflgExtkeyEvent(){
this.flag = !this.model.didgrp.blk.preperflg
console.log(this.flag)
},
},
created:function(){
}
......
......@@ -46,6 +46,15 @@
</c-input>
</template>
</el-table-column>
<el-table-column label="">
<template slot-scope="scope">
<c-select v-model="model.trnmod.trndoc.doceot[scope.row.index].staflg" style="width:100%" placeholder="请选择">
<el-option v-for="item in codes.swttlx" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="操作">
<template slot-scope="scope">
<el-button
......
......@@ -197,8 +197,13 @@
</el-col>
<el-col :span="12">
<el-form-item label="贸易类型" prop="didgrp.rec.mytype">
<c-select v-model="model.didgrp.rec.mytype" style="width:100%" placeholder="请选择贸易类型">
<el-form-item label="贸易类型" prop="didgrp.rec.mytype">
<c-select v-if="model.didgrp.rec.elcflg == 'N'" v-model="model.didgrp.rec.mytype" style="width:100%" placeholder="请选择贸易类型">
<el-option v-for="item in codes.mylx" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
<c-select v-else v-model="model.didgrp.rec.mytype" style="width:100%" placeholder="请选择贸易类型">
<el-option v-for="item in codes.mytype" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
......@@ -329,7 +334,7 @@
<el-col :span="12">
<el-form-item label="开证类型" prop="didgrp.rec.dkflg">
<c-select v-model="model.didgrp.rec.dkflg" style="width:100%" placeholder="请选择开证类型">
<c-select v-model="model.didgrp.rec.dkflg" style="width:100%" disabled placeholder="请选择开证类型">
<el-option v-for="item in codes.dkflg" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
......@@ -397,6 +402,7 @@ export default {
return {
declareParams:{"fileName":"ditopn.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/ditopn/getElcsRef"},
flag:true,
trade:"",
}
},
methods:{
......@@ -408,6 +414,7 @@ export default {
this.model.didgrp.apl.namelc = data.didgrp_apl_namelc;
this.model.didgrp.apl.adrelc = data.didgrp_apl_adrelc;
this.model.didgrp.apl.pts.extkey = data.didgrp_apl_pts_extkey;
this.model.didgrp.apl.rolsetflg = data.didgrp_apl_rolsetflg;
this.flag = false;
})
},
......
......@@ -152,6 +152,7 @@ export default {
rules:null,
codes:{
cur:CodeTable.cur,
mylx:CodeTable.mylx,
mytype:CodeTable.mytype,
elcflg:CodeTable.elcflg,
dkflg:CodeTable.dkflg,
......@@ -173,6 +174,7 @@ export default {
avbby0:CodeTable.avbby0,
uiltxt:CodeTable.uiltxt,
docsnf:CodeTable.docsnf,
swttlx:CodeTable.swttlx,
},
}
},
......
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