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