Commit 0d06a567 by zhouqian

Merge branch 'development-202206' into 'development-202206'

Development 202206

See merge request !16
parents 71905d84 20adc155
...@@ -432,6 +432,12 @@ const CodeTable = { ...@@ -432,6 +432,12 @@ const CodeTable = {
{ label: "暂存的", value: "T" }, { label: "暂存的", value: "T" },
{ label: "已下载", value: "" }, { label: "已下载", value: "" },
], ],
adrsta1: [
{ label: "暂存的", value: "T" },
{ label: "已下载", value: "D" },
{ label: "NULL", value: "" },
],
advtyp0: [ advtyp0: [
{ label: "不符点通知(MT750)", value: "750" }, { label: "不符点通知(MT750)", value: "750" },
{ label: "付款通知(MT754)", value: "754" }, { label: "付款通知(MT754)", value: "754" },
...@@ -719,7 +725,11 @@ const CodeTable = { ...@@ -719,7 +725,11 @@ const CodeTable = {
{ label: "注销", value: "1" }, { label: "注销", value: "1" },
], ],
bchtyp: [ bchtyp: [
{ label: "押汇中心华北组", value: "5" }, { label: "经办行", value: "1" },
{ label: "非经办行", value: "2" },
{ label: "总行押汇中心", value: "3" },
{ label: "一级虚拟机构", value: "4" },
{ label: "二级虚拟机构", value: "5" },
], ],
bckgrd: [ bckgrd: [
{ label: "未定义", value: "" }, { label: "未定义", value: "" },
...@@ -1654,6 +1664,11 @@ const CodeTable = { ...@@ -1654,6 +1664,11 @@ const CodeTable = {
{ label: "合同金额", value: "CONAMT" }, { label: "合同金额", value: "CONAMT" },
{ label: "增加金额", value: "AMEAMT" }, { label: "增加金额", value: "AMEAMT" },
], ],
calfcc: [
{ label: "使用原有计算条件", value: "N" },
{ label: "使用新的计算条件", value: "S" },
{ label: "未启用", value: "" },
],
calflg: [ calflg: [
{ label: "最大值", value: "U" }, { label: "最大值", value: "U" },
{ label: "不计算", value: "" }, { label: "不计算", value: "" },
...@@ -3798,6 +3813,10 @@ const CodeTable = { ...@@ -3798,6 +3813,10 @@ const CodeTable = {
{ label: "包括", value: "I" }, { label: "包括", value: "I" },
{ label: "排除", value: "E" }, { label: "排除", value: "E" },
], ],
incflgFee: [
{ label: "与交易无关", value: "" },
{ label: "用于统计", value: "Y" },
],
industrycode: [ industrycode: [
{ label: "2096 国际组织", value: "2096" }, { label: "2096 国际组织", value: "2096" },
{ label: "0332 有色金属冶炼和压延加工业", value: "0332" }, { label: "0332 有色金属冶炼和压延加工业", value: "0332" },
...@@ -5790,6 +5809,10 @@ const CodeTable = { ...@@ -5790,6 +5809,10 @@ const CodeTable = {
{ label: "否", value: "" }, { label: "否", value: "" },
{ label: "是", value: "X" }, { label: "是", value: "X" },
], ],
hbkaccflg: [
{ label: "未启用", value: "" },
{ label: "已启用", value: "X" },
],
shwflg: [ shwflg: [
{ label: "发送通知", value: "N" }, { label: "发送通知", value: "N" },
{ label: "到期", value: "X" }, { label: "到期", value: "X" },
...@@ -5915,6 +5938,11 @@ const CodeTable = { ...@@ -5915,6 +5938,11 @@ const CodeTable = {
{ label: "已删除", value: "G" }, { label: "已删除", value: "G" },
{ label: "待确认", value: "P" }, { label: "待确认", value: "P" },
], ],
staflgFee: [
{ label: "Commission", value: "2" },
{ label: "Charge", value: "3" },
{ label: "未启用", value: "" },
],
staflg1: [ staflg1: [
{ label: "全部", value: "" }, { label: "全部", value: "" },
{ label: "待发送", value: "W" }, { label: "待发送", value: "W" },
...@@ -6000,6 +6028,16 @@ const CodeTable = { ...@@ -6000,6 +6028,16 @@ const CodeTable = {
{ label: "多式或联合运输单据", value: "010" }, { label: "多式或联合运输单据", value: "010" },
{ label: "发票", value: "067" }, { label: "发票", value: "067" },
], ],
setchgflg:[
{ label: "Changes allowed CP-Cond. & amount protected", value: "" },
{ label: "Amount protected", value: "AP" },
{ label: "Amount mandatory", value: "AM" },
{ label: "Rate mandatory", value: "RM" },
{ label: "Rate & Amount mandatory", value: "BM" },
{ label: "Minimum mandatory", value: "MM" },
{ label: "Minimum mandatory no rate", value: "MO" },
],
swftyp: [ swftyp: [
{ label: "MT103+MT202", value: "103202" }, { label: "MT103+MT202", value: "103202" },
{ label: "MT103+MT910", value: "103910" }, { label: "MT103+MT910", value: "103910" },
...@@ -6424,6 +6462,11 @@ const CodeTable = { ...@@ -6424,6 +6462,11 @@ const CodeTable = {
{ label: "进口组", value: "I" }, { label: "进口组", value: "I" },
{ label: "出口组", value: "E" }, { label: "出口组", value: "E" },
], ],
usgpat: [
{ label: "Main Address", value: "MAA" },
{ label: "Additional Address", value: "MAB" },
{ label: "NULL", value: "" },
],
usrbchtyp: [ usrbchtyp: [
{ label: "按分行配置", value: "B" }, { label: "按分行配置", value: "B" },
{ label: "按机构配置", value: "C" }, { label: "按机构配置", value: "C" },
......
...@@ -24,7 +24,12 @@ ...@@ -24,7 +24,12 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="账号优先级" prop="pri"> <el-form-item label="账号优先级" prop="pri">
<c-input v-model="model.pri" placeholder="请输入账号优先级" > </c-input> <c-select style="width: 100%"
v-model="model.pri"
placeholder="请选择账号优先级"
:code="getCodesByKey('pri')"
>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -159,7 +164,12 @@ ...@@ -159,7 +164,12 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="账号类型" prop="typ"> <el-form-item label="账号类型" prop="typ">
<c-input v-model="model.typ" placeholder="请输入账号类型" > </c-input> <c-select style="width: 100%"
v-model="model.typ"
placeholder="请选择账号类型"
:code="getCodesByKey('acttyp')"
>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
......
...@@ -32,7 +32,7 @@ export const Pattern = { ...@@ -32,7 +32,7 @@ export const Pattern = {
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" } { "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
], ],
"rouflg": [ "rouflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"bus": [ "bus": [
...@@ -40,23 +40,23 @@ export const Pattern = { ...@@ -40,23 +40,23 @@ export const Pattern = {
{ "max": 2, "message": "最大长度2个字符", "trigger": "blur" } { "max": 2, "message": "最大长度2个字符", "trigger": "blur" }
], ],
"concreflg": [ "concreflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"dtaflg": [ "dtaflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"sepflg": [ "sepflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"jobflg": [ "jobflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"subflg": [ "subflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"lnkobj": [ "lnkobj": [
...@@ -64,7 +64,7 @@ export const Pattern = { ...@@ -64,7 +64,7 @@ export const Pattern = {
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" } { "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
], ],
"ccstyp": [ "ccstyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" } { "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
], ],
"ver": [ "ver": [
...@@ -72,19 +72,19 @@ export const Pattern = { ...@@ -72,19 +72,19 @@ export const Pattern = {
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" } { "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
], ],
"bustrnflg": [ "bustrnflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"relamt": [ "relamt": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"reltyp": [ "reltyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"negflg": [ "negflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"dealtim": [ "dealtim": [
......
...@@ -21,11 +21,12 @@ ...@@ -21,11 +21,12 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="控制标志" prop="rouflg"> <el-form-item label="控制标志" prop="rouflg">
<c-input <c-select style="width: 100%"
v-model="model.rouflg" v-model="model.rouflg"
placeholder="请输入控制标志" placeholder="请选择控制标志"
:code="getCodesByKey('chgcurflg')"
> >
</c-input> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -39,47 +40,52 @@ ...@@ -39,47 +40,52 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="创建新进程标志" prop="concreflg"> <el-form-item label="创建新进程标志" prop="concreflg">
<c-input <c-select style="width: 100%"
v-model="model.concreflg" v-model="model.concreflg"
placeholder="请输入创建新进程标志" placeholder="请选择创建新进程标志"
:code="getCodesByKey('concreflg')"
> >
</c-input> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="处理数据标志" prop="dtaflg"> <el-form-item label="处理数据标志" prop="dtaflg">
<c-input <c-select style="width: 100%"
v-model="model.dtaflg" v-model="model.dtaflg"
placeholder="请输入处理数据标志" placeholder="请选择处理数据标志"
:code="getCodesByKey('chgcurflg')"
> >
</c-input> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="处理临时结算标志" prop="sepflg"> <el-form-item label="处理临时结算标志" prop="sepflg">
<c-input <c-select style="width: 100%"
v-model="model.sepflg" v-model="model.sepflg"
placeholder="请输入处理临时结算标志" placeholder="请选择处理临时结算标志"
:code="getCodesByKey('chgcurflg')"
> >
</c-input> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="后台进程标志" prop="jobflg"> <el-form-item label="后台进程标志" prop="jobflg">
<c-input <c-select style="width: 100%"
v-model="model.jobflg" v-model="model.jobflg"
placeholder="请输入后台进程标志" placeholder="请选择后台进程标志"
:code="getCodesByKey('chgcurflg')"
> >
</c-input> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="创建子合同进程" prop="subflg"> <el-form-item label="创建子合同进程" prop="subflg">
<c-input <c-select style="width: 100%"
v-model="model.subflg" v-model="model.subflg"
placeholder="请输入创建子合同进程" placeholder="请选择创建子合同进程"
:code="getCodesByKey('chgcurflg')"
> >
</c-input> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -95,11 +101,12 @@ ...@@ -95,11 +101,12 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="比较类型" prop="ccstyp"> <el-form-item label="比较类型" prop="ccstyp">
<c-input <c-select style="width: 100%"
v-model="model.ccstyp" v-model="model.ccstyp"
placeholder="请输入比较类型" placeholder="请选择比较类型"
:code="getCodesByKey('ccstyp')"
> >
</c-input> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <c-col :span="24">--> <!-- <c-col :span="24">-->
...@@ -113,38 +120,42 @@ ...@@ -113,38 +120,42 @@
<!-- </c-col>--> <!-- </c-col>-->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="交易处理标志" prop="bustrnflg"> <el-form-item label="交易处理标志" prop="bustrnflg">
<c-input <c-select style="width: 100%"
v-model="model.bustrnflg" v-model="model.bustrnflg"
placeholder="请输入交易处理标志" placeholder="请选择交易处理标志"
:code="getCodesByKey('chgcurflg')"
> >
</c-input> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="用于释放的金额" prop="relamt"> <el-form-item label="用于释放的金额" prop="relamt">
<c-input <c-select style="width: 100%"
v-model="model.relamt" v-model="model.relamt"
placeholder="请输入用于释放的金额" placeholder="请选择用于释放的金额"
:code="getCodesByKey('relamt')"
> >
</c-input> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="释放规则类型" prop="reltyp"> <el-form-item label="释放规则类型" prop="reltyp">
<c-input <c-select style="width: 100%"
v-model="model.reltyp" v-model="model.reltyp"
placeholder="请输入释放规则类型" placeholder="请选择释放规则类型"
:code="getCodesByKey('reltyp')"
> >
</c-input> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="押汇中心处理标志" prop="negflg"> <el-form-item label="押汇中心处理标志" prop="negflg">
<c-input <c-select style="width: 100%"
v-model="model.negflg" v-model="model.negflg"
placeholder="请输入押汇中心处理标志" placeholder="请选择押汇中心处理标志"
:code="getCodesByKey('chgcurflg')"
> >
</c-input> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -161,12 +172,18 @@ ...@@ -161,12 +172,18 @@
</template> </template>
<script> <script>
import codes from "~/config/CodeTable";
export default { export default {
name: "", name: "",
props: ["model"], props: ["model"],
data() { data() {
return {}; return {};
}, },
methods:{
getCodesByKey(key) {
return codes[key] ?? [];
},
},
}; };
</script> </script>
......
...@@ -48,11 +48,12 @@ ...@@ -48,11 +48,12 @@
</c-col> --> </c-col> -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="语言" prop="uil"> <el-form-item label="语言" prop="uil">
<c-input <c-select style="width: 100%"
v-model="model.uil" v-model="model.uil"
placeholder="请输入语言" placeholder="请选择语言"
:code="getCodesByKey('gtxuil')"
> >
</c-input> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -124,11 +125,11 @@ ...@@ -124,11 +125,11 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="保函文本中的交易日期" prop="laborcdat"> <el-form-item label="保函文本中的交易日期" prop="laborcdat">
<c-input <c-date-picker style="width: 100%"
v-model="model.laborcdat" v-model="model.laborcdat"
placeholder="请输入保函文本中的交易日期" placeholder="请输入保函文本中的交易日期"
> >
</c-input> </c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -286,12 +287,18 @@ ...@@ -286,12 +287,18 @@
</template> </template>
<script> <script>
import codes from "~/config/CodeTable";
export default { export default {
name: "", name: "",
props: ["model"], props: ["model"],
data() { data() {
return {}; return {};
}, },
methods: {
getCodesByKey(key) {
return codes[key] ?? [];
},
},
}; };
</script> </script>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<el-form <el-form
ref="modelForm" ref="modelForm"
label-width="120px" label-width="160px"
size="small" size="small"
label-position="right" label-position="right"
:model="model" :model="model"
......
...@@ -48,11 +48,12 @@ ...@@ -48,11 +48,12 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="机构层次" prop="lev"> <el-form-item label="机构层次" prop="lev">
<c-input <c-select style="width: 100%"
v-model="model.lev" v-model="model.lev"
placeholder="请输入机构层次" placeholder="请选择机构层次"
:code="getCodesByKey('lev')"
> >
</c-input> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -66,11 +67,12 @@ ...@@ -66,11 +67,12 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="机构类型" prop="bchtyp"> <el-form-item label="机构类型" prop="bchtyp">
<c-input <c-select style="width: 100%"
v-model="model.bchtyp" v-model="model.bchtyp"
placeholder="请输入机构类型" placeholder="请选择机构类型"
:code="getCodesByKey('bchtyp')"
> >
</c-input> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <c-col :span="24"> <!-- <c-col :span="24">
...@@ -230,11 +232,12 @@ ...@@ -230,11 +232,12 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="状态" prop="sta"> <el-form-item label="状态" prop="sta">
<c-input <c-select style="width: 100%"
v-model="model.sta" v-model="model.sta"
placeholder="请输入状态" placeholder="请选择状态"
:code="getCodesByKey('bchsta')"
> >
</c-input> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -324,12 +327,18 @@ ...@@ -324,12 +327,18 @@
</template> </template>
<script> <script>
import codes from "~/config/CodeTable";
export default { export default {
name: "", name: "",
props: ["model"], props: ["model"],
data() { data() {
return {}; return {};
}, },
methods:{
getCodesByKey(key) {
return codes[key] ?? [];
},
}
}; };
</script> </script>
......
...@@ -127,7 +127,7 @@ export const Pattern = { ...@@ -127,7 +127,7 @@ export const Pattern = {
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" } { "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
], ],
"calfcc": [ "calfcc": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"lowamt": [ "lowamt": [
...@@ -199,19 +199,19 @@ export const Pattern = { ...@@ -199,19 +199,19 @@ export const Pattern = {
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"setbeg": [ "setbeg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"setend": [ "setend": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"pertyp": [ "pertyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" } { "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
], ],
"tirtyp": [ "tirtyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" } { "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
], ],
"permin": [ "permin": [
...@@ -315,7 +315,7 @@ export const Pattern = { ...@@ -315,7 +315,7 @@ export const Pattern = {
{ "pattern": /^-?\d{0,14}(\.\d{1,6})?$/, "message": "整数不能超过14位,小数不能超过6位", "trigger": "blur" } { "pattern": /^-?\d{0,14}(\.\d{1,6})?$/, "message": "整数不能超过14位,小数不能超过6位", "trigger": "blur" }
], ],
"colltr": [ "colltr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"settyp": [ "settyp": [
...@@ -331,7 +331,7 @@ export const Pattern = { ...@@ -331,7 +331,7 @@ export const Pattern = {
{ "max": 2, "message": "最大长度2个字符", "trigger": "blur" } { "max": 2, "message": "最大长度2个字符", "trigger": "blur" }
], ],
"setchgflg": [ "setchgflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 2, "message": "最大长度2个字符", "trigger": "blur" } { "max": 2, "message": "最大长度2个字符", "trigger": "blur" }
], ],
"pertypprv": [ "pertypprv": [
...@@ -407,11 +407,11 @@ export const Pattern = { ...@@ -407,11 +407,11 @@ export const Pattern = {
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" } { "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
], ],
"incflgFee": [ "incflgFee": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"staflgFee": [ "staflgFee": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"vatflgFee": [ "vatflgFee": [
......
...@@ -49,20 +49,22 @@ ...@@ -49,20 +49,22 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="费用计算基准金额" prop="calcbs"> <el-form-item label="费用计算基准金额" prop="calcbs">
<c-input <c-select style="width: 100%"
v-model="model.calcbs" v-model="model.calcbs"
placeholder="请输入费用计算基准金额" placeholder="请选择费用计算基准金额"
> :code="getCodesByKey('calcbs')"
</c-input> >
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="计算条件" prop="calfcc"> <el-form-item label="计算条件" prop="calfcc">
<c-input <c-select style="width: 100%"
v-model="model.calfcc" v-model="model.calfcc"
placeholder="请输入计算条件" placeholder="请选择计算条件"
> :code="getCodesByKey('calfcc')"
</c-input> >
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -99,11 +101,12 @@ ...@@ -99,11 +101,12 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="最大金额代码" prop="maxfcc"> <el-form-item label="最大金额代码" prop="maxfcc">
<c-input <c-select style="width: 100%"
v-model="model.maxfcc" v-model="model.maxfcc"
placeholder="请输入最大金额代码" placeholder="请选择最大金额代码"
> :code="getCodesByKey('maxfcc')"
</c-input> >
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -140,11 +143,12 @@ ...@@ -140,11 +143,12 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="最小金额代码" prop="minfcc"> <el-form-item label="最小金额代码" prop="minfcc">
<c-input <c-select style="width: 100%"
v-model="model.minfcc" v-model="model.minfcc"
placeholder="请输入最小金额代码" placeholder="请选择最小金额代码"
> :code="getCodesByKey('minfcc')"
</c-input> >
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -172,11 +176,12 @@ ...@@ -172,11 +176,12 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="费率条件" prop="ratfcc"> <el-form-item label="费率条件" prop="ratfcc">
<c-input <c-select style="width: 100%"
v-model="model.ratfcc" v-model="model.ratfcc"
placeholder="请输入费率条件" placeholder="请选择费率条件"
> :code="getCodesByKey('ratfcc')"
</c-input> >
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -199,47 +204,52 @@ ...@@ -199,47 +204,52 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="结算方式" prop="setmod"> <el-form-item label="结算方式" prop="setmod">
<c-input <c-select style="width: 100%"
v-model="model.setmod" v-model="model.setmod"
placeholder="请输入结算方式" placeholder="请选择结算方式"
> :code="getCodesByKey('setmod')"
</c-input> >
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="结算起算时间" prop="setbeg"> <el-form-item label="结算起算时间" prop="setbeg">
<c-input <c-select style="width: 100%"
v-model="model.setbeg" v-model="model.setbeg"
placeholder="请输入结算起算时间" placeholder="请选择结算起算时间"
> :code="getCodesByKey('setbeg')"
</c-input> >
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="结算终止时间" prop="setend"> <el-form-item label="结算终止时间" prop="setend">
<c-input <c-select style="width: 100%"
v-model="model.setend" v-model="model.setend"
placeholder="请输入结算终止时间" placeholder="请选择结算终止时间"
> :code="getCodesByKey('setend')"
</c-input> >
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="周期类型" prop="pertyp"> <el-form-item label="周期类型" prop="pertyp">
<c-input <c-select style="width: 100%"
v-model="model.pertyp" v-model="model.pertyp"
placeholder="请输入周期类型" placeholder="请选择周期类型"
> :code="getCodesByKey('setend')"
</c-input> >
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="分级计算的基础单元" prop="tirtyp"> <el-form-item label="分级计算的基础单元" prop="tirtyp">
<c-input <c-select style="width: 100%"
v-model="model.tirtyp" v-model="model.tirtyp"
placeholder="请输入分级计算的基础单元" placeholder="请选择分级计算的基础单元"
> :code="getCodesByKey('tirtyp')"
</c-input> >
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -471,56 +481,62 @@ ...@@ -471,56 +481,62 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="默认处理方式" prop="colltr"> <el-form-item label="默认处理方式" prop="colltr">
<c-input <c-select style="width: 100%"
v-model="model.colltr" v-model="model.colltr"
placeholder="请输入默认处理方式" placeholder="请选择默认处理方式"
> :code="getCodesByKey('colltr')"
</c-input> >
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="结算方式" prop="settyp"> <el-form-item label="结算方式" prop="settyp">
<c-input <c-select style="width: 100%"
v-model="model.settyp" v-model="model.settyp"
placeholder="请输入结算方式" placeholder="请选择结算方式"
> :code="getCodesByKey('settyp')"
</c-input> >
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="自动结算标志" prop="setflg"> <el-form-item label="自动结算标志" prop="setflg">
<c-input <c-select style="width: 100%"
v-model="model.setflg" v-model="model.setflg"
placeholder="请输入自动结算标志" placeholder="请选择自动结算标志"
> :code="getCodesByKey('setflg')"
</c-input> >
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="结算周期标志" prop="setperflg"> <el-form-item label="结算周期标志" prop="setperflg">
<c-input <c-select style="width: 100%"
v-model="model.setperflg" v-model="model.setperflg"
placeholder="请输入结算周期标志" placeholder="请选择结算周期标志"
> :code="getCodesByKey('setperflg')"
</c-input> >
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="允许变动标志" prop="setchgflg"> <el-form-item label="允许变动标志" prop="setchgflg">
<c-input <c-select style="width: 100%"
v-model="model.setchgflg" v-model="model.setchgflg"
placeholder="请输入允许变动标志" placeholder="请选择允许变动标志"
> :code="getCodesByKey('setchgflg')"
</c-input> >
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="周期类型(前一周期)" prop="pertypprv"> <el-form-item label="周期类型(前一周期)" prop="pertypprv">
<c-input <c-select style="width: 100%"
v-model="model.pertypprv" v-model="model.pertypprv"
placeholder="请输入周期类型(前一周期)" placeholder="请选择周期类型"
> :code="getCodesByKey('pertypprv')"
</c-input> >
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -615,11 +631,12 @@ ...@@ -615,11 +631,12 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="重算标志" prop="clcdifflg"> <el-form-item label="重算标志" prop="clcdifflg">
<c-input <c-select style="width: 100%"
v-model="model.clcdifflg" v-model="model.clcdifflg"
placeholder="请输入重算标志" placeholder="请选择重算标志"
> :code="getCodesByKey('clcdifflg')"
</c-input> >
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -633,11 +650,12 @@ ...@@ -633,11 +650,12 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="计算规则" prop="calrul"> <el-form-item label="计算规则" prop="calrul">
<c-input <c-select style="width: 100%"
v-model="model.calrul" v-model="model.calrul"
placeholder="请输入计算规则" placeholder="请选择计算规则"
> :code="getCodesByKey('calrul')"
</c-input> >
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
......
...@@ -30,20 +30,22 @@ ...@@ -30,20 +30,22 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="是否收入" prop="incflgFee"> <el-form-item label="是否收入" prop="incflgFee">
<c-input <c-select style="width: 100%"
v-model="model.incflgFee" v-model="model.incflgFee"
placeholder="请输入是否收入" placeholder="请选择是否收入"
> :code="getCodesByKey('incflgFee')"
</c-input> >
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="统计标志" prop="staflgFee"> <el-form-item label="统计标志" prop="staflgFee">
<c-input <c-select style="width: 100%"
v-model="model.staflgFee" v-model="model.staflgFee"
placeholder="请输入统计标志" placeholder="请选择统计标志"
> :code="getCodesByKey('staflgFee')"
</c-input> >
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -179,12 +181,18 @@ ...@@ -179,12 +181,18 @@
</template> </template>
<script> <script>
import codes from "~/config/CodeTable";
export default { export default {
name: "fee", name: "fee",
props: ["model"], props: ["model"],
data() { data() {
return {}; return {};
}, },
methods:{
getCodesByKey(key) {
return codes[key] ?? [];
},
},
}; };
</script> </script>
......
...@@ -75,7 +75,7 @@ export default class Pty { ...@@ -75,7 +75,7 @@ export default class Pty {
export const Pattern = { export const Pattern = {
"usgpat": [ "usgpat": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" } { "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
], ],
"adrstapat": [ "adrstapat": [
...@@ -211,15 +211,15 @@ export const Pattern = { ...@@ -211,15 +211,15 @@ export const Pattern = {
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" } { "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
], ],
"manmod": [ "manmod": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"rtgflg": [ "rtgflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"tarflg": [ "tarflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"dtacid": [ "dtacid": [
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<c-col :span="8" class="col-left"> <c-col :span="8" class="col-left">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="地址使用代码" prop="usgpat"> <el-form-item label="地址使用代码" prop="usgpat">
<c-input v-model="adr.usgpat" placeholder="请输入地址使用代码"> </c-input> <c-select v-model="adr.usgpat" style="width: 100%" placeholder="请选择地址使用代码" :code="getCodesByKey('usgpat')"> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="电报权限修改" prop="tlxaut"> <el-form-item label="电报权限修改" prop="tlxaut">
<c-input v-model="adr.tlxaut" placeholder="请输入电报权限修改"> </c-input> <c-select v-model="adr.tlxaut" style="width: 100%" placeholder="请选择电报权限修改" :code="getCodesByKey('tlxaut')"> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -182,17 +182,17 @@ ...@@ -182,17 +182,17 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="手动更改标志" prop="manmod"> <el-form-item label="手动更改标志" prop="manmod">
<c-input v-model="adr.manmod" placeholder="请输入手动更改标志"> </c-input> <c-select v-model="adr.manmod" style="width: 100%" placeholder="请选择手动更改标志" :code="getCodesByKey('manmod')"> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="RTGS标志" prop="rtgflg"> <el-form-item label="RTGS标志" prop="rtgflg">
<c-input v-model="adr.rtgflg" placeholder="请输入RTGS标志"> </c-input> <c-select v-model="adr.rtgflg" style="width: 100%" placeholder="请选择RTGS标志" :code="getCodesByKey('rtgflg')"> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="TARGET标志" prop="tarflg"> <el-form-item label="TARGET标志" prop="tarflg">
<c-input v-model="adr.tarflg" placeholder="请输入TARGET标志"> </c-input> <c-select v-model="adr.tarflg" style="width: 100%" placeholder="请选择TARGET标志" :code="getCodesByKey('tarflg')"> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
......
...@@ -88,7 +88,7 @@ export const Pattern = { ...@@ -88,7 +88,7 @@ export const Pattern = {
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" } { "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
], ],
"hbkaccflg": [ "hbkaccflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"hbkconflg": [ "hbkconflg": [
...@@ -100,7 +100,7 @@ export const Pattern = { ...@@ -100,7 +100,7 @@ export const Pattern = {
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" } { "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
], ],
"heqaccflg": [ "heqaccflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"heqconflg": [ "heqconflg": [
...@@ -188,15 +188,15 @@ export const Pattern = { ...@@ -188,15 +188,15 @@ export const Pattern = {
{ "pattern": /^-?\d{0,4}$/, "message": "整数不能超过4位", "trigger": "blur" } { "pattern": /^-?\d{0,4}$/, "message": "整数不能超过4位", "trigger": "blur" }
], ],
"adrsta": [ "adrsta": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"seltyp": [ "seltyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"buytyp": [ "buytyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"sla": [ "sla": [
......
...@@ -23,8 +23,7 @@ ...@@ -23,8 +23,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Housebank帐户标志" prop="hbkaccflg"> <el-form-item label="Housebank帐户标志" prop="hbkaccflg">
<c-input v-model="model.hbkaccflg" placeholder="请输入Housebank帐户标志"> <c-select v-model="model.hbkaccflg" style="width: 100%" placeholder="请选择Housebank帐户标志" :code="getCodesByKey('hbkaccflg')"> </c-select>
</c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -40,8 +39,7 @@ ...@@ -40,8 +39,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="总行帐户标志" prop="heqaccflg"> <el-form-item label="总行帐户标志" prop="heqaccflg">
<c-input v-model="model.heqaccflg" placeholder="请输入总行帐户标志"> <c-select v-model="model.heqaccflg" style="width: 100%" placeholder="请选择总行帐户标志" :code="getCodesByKey('hbkaccflg')"> </c-select>
</c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -158,17 +156,17 @@ ...@@ -158,17 +156,17 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="地址状态" prop="adrsta"> <el-form-item label="地址状态" prop="adrsta">
<c-input v-model="model.adrsta" placeholder="请输入地址状态"> </c-input> <c-select v-model="model.adrsta" style="width: 100%" placeholder="请选择地址状态" :code="getCodesByKey('adrsta1')"> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="客户信贷利率" prop="seltyp"> <el-form-item label="客户信贷利率" prop="seltyp">
<c-input v-model="model.seltyp" placeholder="请输入客户信贷利率"> </c-input> <c-select v-model="model.seltyp" style="width: 100%" placeholder="请选择客户信贷利率" :code="getCodesByKey('seltyp')"> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="客户借贷利率" prop="buytyp"> <el-form-item label="客户借贷利率" prop="buytyp">
<c-input v-model="model.buytyp" placeholder="请输入客户借贷利率"> </c-input> <c-select v-model="model.buytyp" style="width: 100%" placeholder="请选择客户借贷利率" :code="getCodesByKey('buytyp')"> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
......
...@@ -22,11 +22,7 @@ ...@@ -22,11 +22,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="授权币种" prop="relcur"> <el-form-item label="授权币种" prop="relcur">
<c-input <c-select v-model="ubr.relcur" style="width: 100%" placeholder="请选择授权币种" :code="getCodesByKey('curtxt')"> </c-select>
v-model="ubr.relcur"
placeholder="请输入授权币种"
>
</c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -49,11 +45,7 @@ ...@@ -49,11 +45,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="授权状态" prop="relgrp"> <el-form-item label="授权状态" prop="relgrp">
<c-input <c-select v-model="ubr.relgrp" style="width: 100%" placeholder="请选择授权状态" :code="getCodesByKey('relgrp')"> </c-select>
v-model="ubr.relgrp"
placeholder="请输入授权状态"
>
</c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -101,6 +93,7 @@ ...@@ -101,6 +93,7 @@
<script> <script>
import { Pattern } from "./Ubr"; import { Pattern } from "./Ubr";
import codes from "~/config/CodeTable";
export default { export default {
name: "", name: "",
...@@ -110,6 +103,11 @@ export default { ...@@ -110,6 +103,11 @@ export default {
rules: Pattern, rules: Pattern,
}; };
}, },
methods:{
getCodesByKey(key) {
return codes[key] ?? [];
},
},
}; };
</script> </script>
......
...@@ -46,7 +46,7 @@ export const Pattern = { ...@@ -46,7 +46,7 @@ export const Pattern = {
{ "max": 40, "message": "最大长度40个字符", "trigger": "blur" } { "max": 40, "message": "最大长度40个字符", "trigger": "blur" }
], ],
"lgiflg": [ "lgiflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"ssnbegdattim": [ {"type": "string", "trigger": "blur"} "ssnbegdattim": [ {"type": "string", "trigger": "blur"}
......
...@@ -21,11 +21,12 @@ ...@@ -21,11 +21,12 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="禁止登录" prop="lgiflg"> <el-form-item label="禁止登录" prop="lgiflg">
<c-input <c-select style="width: 100%"
v-model="model.lgiflg" v-model="model.lgiflg"
placeholder="请输入禁止登录标志" placeholder="请选择禁止登录标识"
> :code="getCodesByKey('lgiflg')"
</c-input> >
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
......
...@@ -102,9 +102,8 @@ export default { ...@@ -102,9 +102,8 @@ export default {
return { return {
atpData: [], atpData: [],
atpColumns: [ atpColumns: [
{ label: '交易配置信息代码', prop: 'cod', width: '240' }, { label: '交易配置信息代码', prop: 'cod', width: 'auto' },
{ label: '描述', prop: 'cod', width: '600' }, { label: '描述', prop: 'cod', width: 'auto' },
], ],
}; };
}, },
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="保函文本用途" prop="atxcod"> <el-form-item label="保函文本用途" prop="atxcod">
<c-select <c-select style="width: 100%"
v-model="model.atxcod" v-model="model.atxcod"
placeholder="请选择保函文本用途" placeholder="请选择保函文本用途"
:code="getCodesByKey('atxcod')" :code="getCodesByKey('atxcod')"
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<c-col :span="12" v-if="(this.model.atxcod==`1`)" class="col-left"> <c-col :span="12" v-if="(this.model.atxcod==`1`)" class="col-left">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="出具目的" prop="gtxpurpos"> <el-form-item label="出具目的" prop="gtxpurpos">
<c-select <c-select style="width: 100%"
v-model="model.gtxpurpos" v-model="model.gtxpurpos"
placeholder="请选择出具目的" placeholder="请选择出具目的"
:code="getCodesByKey('gtxpurpos')" :code="getCodesByKey('gtxpurpos')"
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="保函包含类型" prop="gtxgartyp"> <el-form-item label="保函包含类型" prop="gtxgartyp">
<c-select <c-select style="width: 100%"
v-model="model.gtxgartyp" v-model="model.gtxgartyp"
placeholder="请选择保函包含类型" placeholder="请选择保函包含类型"
:code="getCodesByKey('gtxgartyp')" :code="getCodesByKey('gtxgartyp')"
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="保函格式" prop="gtxlegfrm"> <el-form-item label="保函格式" prop="gtxlegfrm">
<c-select <c-select style="width: 100%"
v-model="model.sealegfrm" v-model="model.sealegfrm"
placeholder="请选择保函格式" placeholder="请选择保函格式"
:code="getCodesByKey('gtxlegfrm')" :code="getCodesByKey('gtxlegfrm')"
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
<c-col :span="12" v-if="(this.model.atxcod==`1`)" class="col-right"> <c-col :span="12" v-if="(this.model.atxcod==`1`)" class="col-right">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="语言" prop="gtxuil"> <el-form-item label="语言" prop="gtxuil">
<c-select <c-select style="width: 100%"
v-model="model.gtxuil" v-model="model.gtxuil"
placeholder="请选择语言" placeholder="请选择语言"
:code="getCodesByKey('gtxuil')" :code="getCodesByKey('gtxuil')"
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="保函无责任担保标志" prop="gtxexpflg"> <el-form-item label="保函无责任担保标志" prop="gtxexpflg">
<c-select <c-select style="width: 100%"
v-model="model.gtxexpflg" v-model="model.gtxexpflg"
placeholder="请选择保函无责任担保标志" placeholder="请选择保函无责任担保标志"
:code="getCodesByKey('gtxexpflg')" :code="getCodesByKey('gtxexpflg')"
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<el-form <el-form
:model="model" :model="model"
ref="modelForm" ref="modelForm"
label-width="120px" label-width="140px"
label-position="right" label-position="right"
size="small" size="small"
> >
......
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