Commit 4b03f0b5 by zhanghou

修改fee,txm前端界面代码

parent a8e0a2e5
...@@ -14,9 +14,9 @@ export default { ...@@ -14,9 +14,9 @@ export default {
return {}; return {};
}, },
mounted() { mounted() {
this.$refs.fec.rules['fecList'] = [ // this.$refs.fec.rules['fecList'] = [
{ type: 'array', required: true, min: 1, message: '地址信息栏不能为空' } // { type: 'array', required: true, min: 1, message: '地址信息栏不能为空' }
] // ]
} }
}; };
</script> </script>
......
...@@ -13,22 +13,22 @@ ...@@ -13,22 +13,22 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="相关金额类型" prop="reltir"> <el-form-item label="计算费用相关的金额类型" prop="reltir">
<c-select <c-select
style="width: 100%" style="width: 100%"
v-model="model.reltir" v-model="model.reltir"
placeholder="请选择相关金额类型" placeholder="请选择计算费用相关的金额类型"
:code="getCodesByKey('calcbs')" :code="getCodesByKey('calcbs')"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="SWIFT报文描述" prop="sftcod"> <el-form-item label="SWIFT报文费用代码" prop="sftcod">
<c-select <c-select
style="width: 100%" style="width: 100%"
v-model="model.sftcod" v-model="model.sftcod"
placeholder="请选择SWIFT报文类型" placeholder="请选择SWIFT报文费用代码"
:code="getCodesByKey('swtcod')" :code="getCodesByKey('swtcod')"
> >
</c-select> </c-select>
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
</el-form-item> </el-form-item>
</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-select style="width: 100%" <c-select style="width: 100%"
v-model="model.incflg" v-model="model.incflg"
:code="getCodesByKey('incflgFee')" :code="getCodesByKey('incflgFee')"
...@@ -66,19 +66,19 @@ ...@@ -66,19 +66,19 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="支付此费用的默认角色" prop="rol"> <el-form-item label="默认付费角色" prop="rol">
<c-select <c-select
style="width: 100%" style="width: 100%"
v-model="model.rol" v-model="model.rol"
placeholder="请选择支付此费用的角色" placeholder="请选择默认付费角色"
:code="getCodesByKey('rol')" :code="getCodesByKey('rol')"
> >
</c-select> </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="acc"> <el-form-item label="费用账号" prop="acc">
<c-input v-model="model.acc" placeholder="请输入账号"> </c-input> <c-input v-model="model.acc" placeholder="请输入费用账号"> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -93,41 +93,41 @@ ...@@ -93,41 +93,41 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="循环收费账号" prop="accacr"> <el-form-item label="计提摊销账号" prop="accacr">
<c-input v-model="model.accacr" placeholder="请输入循环收费账号"> <c-input v-model="model.accacr" placeholder="请输入计提摊销账号">
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="有关交易及业务部门" prop="reltrn"> <el-form-item label="相关的交易名称或者业务品种" prop="reltrn">
<c-input v-model="model.reltrn" maxlength="40" placeholder="请输入有关交易及业务部门"></c-input> <c-input v-model="model.reltrn" maxlength="40" placeholder="请输入相关的交易名称或者业务品种"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="开始日期" prop="begdat"> <el-form-item label="费用生效日期" prop="begdat">
<c-date-picker type="date" v-model="model.begdat" style="width:100%" placeholder="请选择开始日期"></c-date-picker> <c-date-picker type="date" v-model="model.begdat" style="width:100%" placeholder="请选择开始日期"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="结束日期" prop="enddat"> <el-form-item label="费用失效日期" prop="enddat">
<c-date-picker type="date" v-model="model.enddat" style="width:100%" placeholder="请选择结束日期"></c-date-picker> <c-date-picker type="date" v-model="model.enddat" style="width:100%" placeholder="请选择结束日期"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="费用分组" prop="grpcod"> <el-form-item label="费用组代码" prop="grpcod">
<c-select <c-select
v-model="model.grpcod" v-model="model.grpcod"
style="width:100%" style="width:100%"
placeholder="请选择费用的组" placeholder="请选择费用组代码"
:code="getCodesByKey('grpcod')" :code="getCodesByKey('grpcod')"
> >
</c-select> </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="taxflg" placeholder="是/否"> <el-form-item label="价税分离标志" prop="taxflg" placeholder="是/否">
<c-select <c-select
style="width: 100%" style="width: 100%"
v-model="model.taxflg" v-model="model.taxflg"
...@@ -137,8 +137,8 @@ ...@@ -137,8 +137,8 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="传真账号" prop="taxacc"> <el-form-item label="税则账号" prop="taxacc">
<c-input v-model="model.taxacc" maxlength="34" placeholder="请输入传真账号"></c-input> <c-input v-model="model.taxacc" maxlength="34" placeholder="请输入税则账号"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
......
...@@ -17,8 +17,20 @@ export const Pattern = { ...@@ -17,8 +17,20 @@ export const Pattern = {
{ required: true, message: "必输项", type: "string", trigger: "blur" }, { required: true, message: "必输项", type: "string", trigger: "blur" },
{ max: 8, message: "最大长度8个字符", trigger: "blur" }, { max: 8, message: "最大长度8个字符", trigger: "blur" },
], ],
extkey: [{ max: 17, message: "最大长度17个字符", trigger: "blur" }], extkey: [
nam: [{ max: 40, message: "最大长度40个字符", trigger: "blur" }], { required: true, message: "必输项", type: "string", trigger: "blur" },
uil: [{ max: 2, message: "最大长度2个字符", trigger: "blur" }], { max: 17, message: "最大长度8个字符", trigger: "blur" },
etgextkey: [{ max: 8, message: "最大长度8个字符", trigger: "blur" }], ],
nam: [
{ required: true, message: "必输项", type: "string", trigger: "blur" },
{ max: 40, message: "最大长度40个字符", trigger: "blur" },
],
uil: [
{ required: true, message: "必输项", type: "string", trigger: "blur" },
{ max: 2, message: "最大长度2个字符", trigger: "blur" },
],
etgextkey: [
{ required: true, message: "必输项", type: "string", trigger: "blur" },
{ max: 8, message: "最大长度8个字符", trigger: "blur" },
],
}; };
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="12" class="col-left"> <c-col :span="12" class="col-left">
<el-form-item label="INR" prop="inr" v-if="type !== 'add'"> <!-- <el-form-item label="INR" prop="inr" v-if="type !== 'add'">
<c-input v-model="model.inr" placeholder="请输入主键" :disabled="type === 'edit'"> <c-input v-model="model.inr" placeholder="请输入主键" :disabled="type === 'edit'">
</c-input> </c-input>
</el-form-item> </el-form-item> -->
<el-form-item label="名称" prop="nam"> <el-form-item label="名称" prop="nam">
<c-input v-model="model.nam" placeholder="请输入名称"> <c-input v-model="model.nam" placeholder="请输入名称">
</c-input> </c-input>
...@@ -15,14 +15,14 @@ ...@@ -15,14 +15,14 @@
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> --> </el-form-item> -->
<el-form-item label="实体组" prop="etgextkey"> <!-- <el-form-item label="实体组" prop="etgextkey">
<c-input v-model="model.etgextkey" placeholder="请输入实体组"> <c-input v-model="model.etgextkey" placeholder="请输入实体组">
</c-input> </c-input>
</el-form-item> </el-form-item> -->
</c-col> </c-col>
<c-col :span="12" class="col-right"> <c-col :span="12" class="col-right">
<el-form-item label="EXTKEY" prop="extkey"> <el-form-item label="条款模板关键字" prop="extkey">
<c-input v-model="model.extkey" placeholder="请输入外键"> <c-input v-model="model.extkey" placeholder="请输入条款模板关键字" >
</c-input> </c-input>
</el-form-item> </el-form-item>
<el-form-item label="语言" prop="uil" style="width:100%"> <el-form-item label="语言" prop="uil" style="width:100%">
......
...@@ -113,12 +113,12 @@ export default { ...@@ -113,12 +113,12 @@ export default {
feeColumns: [ feeColumns: [
{ label: '费用代码', prop: 'cod', width: '120' }, { label: '费用代码', prop: 'cod', width: '120' },
{ label: '名称', prop: 'descrp', width: '120' }, { label: '名称', prop: 'descrp', width: '120' },
{ label: '相关金额类型', prop: 'reltir', width: '150' }, { label: '计算费用相关的金额类型', prop: 'reltir', width: '190' },
{ label: 'SWIFT报文描述', prop: 'sftcod', width: '150' }, { label: 'SWIFT报文费用代码', prop: 'sftcod', width: '170' },
{ label: 'DTA报文中的费用代码', prop: 'dtacod', width: '170' }, { label: 'DTA报文中的费用代码', prop: 'dtacod', width: '170' },
{ label: '统计标志', prop: 'staflg', width: '120' }, { label: '统计标志', prop: 'staflg', width: '120' },
{ label: '支付此费用的默认角色', prop: 'rol', width: '170' }, { label: '默认付费角色', prop: 'rol', width: '170' },
{ label: '账号', prop: 'acc', width: '120' } { label: '费用账号', prop: 'acc', width: '120' }
], ],
}; };
}, },
...@@ -161,7 +161,7 @@ export default { ...@@ -161,7 +161,7 @@ export default {
} }
} }
this.model.feelist = feeList; this.model.feelist = feeList;
console.log(this.model) this.model.etgextkey = 'CEBGRP';
queryByPage(this.model).then(res => { queryByPage(this.model).then(res => {
/** /**
* pageNumber: 0 * pageNumber: 0
......
...@@ -2,22 +2,20 @@ ...@@ -2,22 +2,20 @@
<div class="eibs-tab"> <div class="eibs-tab">
<!-- 查询条件 --> <!-- 查询条件 -->
<c-col :span="12" class="col-left"> <c-col :span="12" class="col-left">
<el-form-item label="实体组" prop="etgextkey" style="width:100%"> <el-form-item label="条款模板关键字" prop="extkey" style="width:100%">
<c-select v-model="model.etgextkey" style="width:100%" placeholder="请选择实体组"> <c-input v-model="model.extkey" placeholder="请输入条款模板关键字" style="width: 100%">
<el-option v-for="item in entyGrp" :key="item.value" :label="item.label" :value="item.value"> </c-input>
</el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12" class="col-right"> <c-col :span="12" class="col-right">
<el-form-item label="名称" prop="nam"> <el-form-item label="条款模板名称" prop="nam">
<c-input v-model="model.nam" placeholder="请输入名称" style="width: 100%"> <c-input v-model="model.nam" placeholder="请输入条款模板名称" style="width: 100%">
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12" class="col-left"> <c-col :span="12" class="col-left">
<el-form-item label="语言" prop="uil" style="width:100%"> <el-form-item label="条款语种" prop="uil" style="width:100%">
<c-select v-model="model.uil" style="width:100%" placeholder="请选择语言"> <c-select v-model="model.uil" style="width:100%" placeholder="请选择条款语种">
<el-option v-for="item in lang" :key="item.value" :label="item.label" :value="item.value"> <el-option v-for="item in lang" :key="item.value" :label="item.label" :value="item.value">
</el-option> </el-option>
</c-select> </c-select>
...@@ -74,13 +72,13 @@ export default { ...@@ -74,13 +72,13 @@ export default {
inject: ["root"], inject: ["root"],
data() { data() {
return { return {
entyGrp: [],
lang: CodeTable['uiltxt'], lang: CodeTable['uiltxt'],
txmData: [], txmData: [],
txmColumns: [ txmColumns: [
{ label: "名称", prop: "nam", width: "auto" }, { label: "条款模板关键字", prop: "extkey", width: "auto" },
{ label: "语言", prop: "uil", width: "auto" }, { label: "条款模板名称", prop: "nam", width: "auto" },
{ label: "内容", prop: "txt", width: "auto" }, { label: "条款模板内容", prop: "uil", width: "auto" },
{ label: "版本号", prop: "ver", width: "auto" },
], ],
}; };
}, },
...@@ -103,6 +101,7 @@ export default { ...@@ -103,6 +101,7 @@ export default {
return this.lang.filter(item => item.value === key)[0]?.label; return this.lang.filter(item => item.value === key)[0]?.label;
}, },
onInftxmSearch() { onInftxmSearch() {
this.model.etgextkey = 'CEBGRP';
queryByPage(this.model).then((res) => { queryByPage(this.model).then((res) => {
const list = res.list ?? []; const list = res.list ?? [];
list.map(item => item.uil = this.langValue(item.uil) ?? item.uil); list.map(item => item.uil = this.langValue(item.uil) ?? item.uil);
......
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