Commit fd8d409a by tianxinyu

fec

parent b93da248
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/test/fec/queryByPage", data)
}
export function queryDetailById(inr) {
return Api.post(`/test/fec/queryDetailById?inr=${inr}`)
}
export function add(data) {
return Api.post("/test/fec/add", data)
}
export function edit(data) {
return Api.post("/test/fec/edit", data)
}
export function deleteById(inr) {
return Api.post(`/test/fec/deleteById?inr=${inr}`)
}
export function addFeeData(data) {
return Api.post(`/test/fec/addFeeData`, data)
}
export function editFeeData(data) {
return Api.post(`/test/fec/editFeeData?inr=${inr}`, data)
}
export function deleteFeeData(data) {
return Api.post(`/test/fec/deleteFeeData`, data)
}
\ No newline at end of file
export default class Pty {
constructor() {
this.data = {
inr: "",
feeinr: "",
feepri: "",
objtyp: "",
objinr: "",
begdat: "",
enddat: "",
calcbs: "",
calfcc: "",
lowamt: "",
higamt: "",
maxcur: "",
maxamt: "",
maxfcc: "",
mincur: "",
minamt: "",
minamttot: "",
amtsetall: "",
minfcc: "",
untamt: "",
ratcal: "",
ratcur: "",
ratfcc: "",
ratirs: "",
ratirsinc: "",
setmod: "",
setbeg: "",
setend: "",
pertyp: "",
tirtyp: "",
permin: "",
perbegtr2: "",
perrattr2: "",
permintr2: "",
perbegtr3: "",
perrattr3: "",
permintr3: "",
perbegtr4: "",
perrattr4: "",
permintr4: "",
perbegtr5: "",
perrattr5: "",
permintr5: "",
perbegtr6: "",
perrattr6: "",
permintr6: "",
perbegtr7: "",
perrattr7: "",
permintr7: "",
amtbegtr2: "",
amtrattr2: "",
amtbegtr3: "",
amtrattr3: "",
amtbegtr4: "",
amtrattr4: "",
ver: "",
colltr: "",
settyp: "",
setflg: "",
setperflg: "",
setchgflg: "",
pertypprv: "",
minpercnt: "",
maxpercnt: "",
maxpercov: "",
basamt: "",
permaxtr2: "",
permaxtr3: "",
permaxtr4: "",
permaxtr5: "",
permaxtr6: "",
permaxtr7: "",
clcdifflg:"",
etgextkey:"",
calrul:"",
amtflg:"",
//fee字段
inrFee:"",
codFee:"",
sftcodFee:"",
rolFee:"",
incflgFee:"",
staflgFee:"",
vatflgFee:"",
accFee:"",
accacrFee:"",
enoFee:"",
reltirFee:"",
grpcodFee:"",
verFee:"",
dscmodflgFee:"",
reltrnFee:"",
begdatFee:"",
enddatFee:"",
dtacodFee:"",
etgextkeyFee:"",
taxaccFee:"",
taxflgFee:"",
}
}
}
export const Pattern = {
"inr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"feeinr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"feepri": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"objtyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"objinr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"begdat": [
{ "type": "string", "trigger": "blur" }
],
"enddat": [
{ "type": "string", "trigger": "blur" }
],
"calcbs": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"calfcc": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"lowamt": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"higamt": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"maxcur": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"maxamt": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"maxfcc": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"mincur": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"minamt": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"minamttot": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"amtsetall": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"minfcc": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"untamt": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"ratcal": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,14}(\.\d{1,6})?$/, "message": "整数不能超过14位,小数不能超过6位", "trigger": "blur" }
],
"ratcur": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"ratfcc": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"ratirs": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"ratirsinc": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"setmod": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"setbeg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"setend": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"pertyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"tirtyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"permin": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,3}$/, "message": "整数不能超过3位", "trigger": "blur" }
],
"perbegtr2": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,3}$/, "message": "整数不能超过3位", "trigger": "blur" }
],
"perrattr2": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,14}(\.\d{1,6})?$/, "message": "整数不能超过14位,小数不能超过6位", "trigger": "blur" }
],
"permintr2": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"perbegtr3": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,3}$/, "message": "整数不能超过3位", "trigger": "blur" }
],
"perrattr3": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,14}(\.\d{1,6})?$/, "message": "整数不能超过14位,小数不能超过6位", "trigger": "blur" }
],
"permintr3": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"perbegtr4": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,3}$/, "message": "整数不能超过3位", "trigger": "blur" }
],
"perrattr4": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,14}(\.\d{1,6})?$/, "message": "整数不能超过14位,小数不能超过6位", "trigger": "blur" }
],
"permintr4": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"perbegtr5": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,3}$/, "message": "整数不能超过3位", "trigger": "blur" }
],
"perrattr5": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,14}(\.\d{1,6})?$/, "message": "整数不能超过14位,小数不能超过6位", "trigger": "blur" }
],
"permintr5": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"perbegtr6": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,3}$/, "message": "整数不能超过3位", "trigger": "blur" }
],
"perrattr6": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,14}(\.\d{1,6})?$/, "message": "整数不能超过14位,小数不能超过6位", "trigger": "blur" }
],
"permintr6": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"perbegtr7": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,3}$/, "message": "整数不能超过3位", "trigger": "blur" }
],
"perrattr7": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,14}(\.\d{1,6})?$/, "message": "整数不能超过14位,小数不能超过6位", "trigger": "blur" }
],
"permintr7": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"amtbegtr2": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"amtrattr2": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,14}(\.\d{1,6})?$/, "message": "整数不能超过14位,小数不能超过6位", "trigger": "blur" }
],
"amtbegtr3": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"amtrattr3": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,14}(\.\d{1,6})?$/, "message": "整数不能超过14位,小数不能超过6位", "trigger": "blur" }
],
"amtbegtr4": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"amtrattr4": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,14}(\.\d{1,6})?$/, "message": "整数不能超过14位,小数不能超过6位", "trigger": "blur" }
],
"ver": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
],
"colltr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"settyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"setflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"setperflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 2, "message": "最大长度2个字符", "trigger": "blur" }
],
"setchgflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 2, "message": "最大长度2个字符", "trigger": "blur" }
],
"pertypprv": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"minpercnt": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,3}$/, "message": "整数不能超过3位", "trigger": "blur" }
],
"maxpercnt": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,3}$/, "message": "整数不能超过3位", "trigger": "blur" }
],
"maxpercov": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,3}$/, "message": "整数不能超过3位", "trigger": "blur" }
],
"basamt": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"permaxtr2": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"permaxtr3": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"permaxtr4": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"permaxtr5": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"permaxtr6": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"permaxtr7": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"clcdifflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"etgextkey": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"calrul": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"amtflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"inrFee": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"codFee": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"sftcodFee": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
],
"rolFee": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"incflgFee": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"staflgFee": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"vatflgFee": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"accFee": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 34, "message": "最大长度34个字符", "trigger": "blur" }
],
"accacrFee": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 34, "message": "最大长度34个字符", "trigger": "blur" }
],
"enoFee": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"reltirFee": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"grpcodFee": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"verFee": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
],
"dscmodflgFee": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"reltrnFee": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 40, "message": "最大长度40个字符", "trigger": "blur" }
],
"begdatFee": [
{ "type": "string", "trigger": "blur" }
],
"enddatFee": [
{ "type": "string", "trigger": "blur" }
],
"dtacodFee": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"etgextkeyFee": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"taxaccFee": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 34, "message": "最大长度34个字符", "trigger": "blur" }
],
"taxflgFee": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
],
}
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="inr" prop="inr">
<c-input
v-model="model.inr"
placeholder="请输入inr"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="feeinr" prop="feeinr">
<c-input
v-model="model.feeinr"
placeholder="请输入feeinr"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="feepri" prop="feepri">
<c-input
v-model="model.feepri"
placeholder="请输入feepri"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="objtyp" prop="objtyp">
<c-input
v-model="model.objtyp"
placeholder="请输入objtyp"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="objinr" prop="objinr">
<c-input
v-model="model.objinr"
placeholder="请输入objinr"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="begdat" prop="begdat">
<c-date-picker
v-model="model.begdat"
placeholder="请输入begdat"
>
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="enddat" prop="enddat">
<c-date-picker
v-model="model.enddat"
placeholder="请输入enddat"
>
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="calcbs" prop="calcbs">
<c-input
v-model="model.calcbs"
placeholder="请输入calcbs"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="calfcc" prop="calfcc">
<c-input
v-model="model.calfcc"
placeholder="请输入calfcc"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="lowamt" prop="lowamt">
<c-input-currency
v-model="model.lowamt"
placeholder="请输入lowamt"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="higamt" prop="higamt">
<c-input-currency
v-model="model.higamt"
placeholder="请输入higamt"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="maxcur" prop="maxcur">
<c-input
v-model="model.maxcur"
placeholder="请输入maxcur"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="maxamt" prop="maxamt">
<c-input-currency
v-model="model.maxamt"
placeholder="请输入maxamt"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="maxfcc" prop="maxfcc">
<c-input
v-model="model.maxfcc"
placeholder="请输入maxfcc"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="mincur" prop="mincur">
<c-input
v-model="model.mincur"
placeholder="请输入mincur"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="minamt" prop="minamt">
<c-input-currency
v-model="model.minamt"
placeholder="请输入minamt"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="minamttot" prop="minamttot">
<c-input-currency
v-model="model.minamttot"
placeholder="请输入minamttot"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="amtsetall" prop="amtsetall">
<c-input-currency
v-model="model.amtsetall"
placeholder="请输入amtsetall"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="minfcc" prop="minfcc">
<c-input
v-model="model.minfcc"
placeholder="请输入minfcc"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="untamt" prop="untamt">
<c-input-currency
v-model="model.untamt"
placeholder="请输入untamt"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="ratcal" prop="ratcal">
<c-input
v-model="model.ratcal"
placeholder="请输入ratcal"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="ratcur" prop="ratcur">
<c-input
v-model="model.ratcur"
placeholder="请输入ratcur"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="ratfcc" prop="ratfcc">
<c-input
v-model="model.ratfcc"
placeholder="请输入ratfcc"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="ratirs" prop="ratirs">
<c-input
v-model="model.ratirs"
placeholder="请输入ratirs"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="ratirsinc" prop="ratirsinc">
<c-input
v-model="model.ratirsinc"
placeholder="请输入ratirsinc"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="setmod" prop="setmod">
<c-input
v-model="model.setmod"
placeholder="请输入setmod"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="setbeg" prop="setbeg">
<c-input
v-model="model.setbeg"
placeholder="请输入setbeg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="setend" prop="setend">
<c-input
v-model="model.setend"
placeholder="请输入setend"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="pertyp" prop="pertyp">
<c-input
v-model="model.pertyp"
placeholder="请输入pertyp"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="tirtyp" prop="tirtyp">
<c-input
v-model="model.tirtyp"
placeholder="请输入tirtyp"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="permin" prop="permin">
<c-input
v-model="model.permin"
placeholder="请输入permin"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="perbegtr2" prop="perbegtr2">
<c-input
v-model="model.perbegtr2"
placeholder="请输入perbegtr2"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="perrattr2" prop="perrattr2">
<c-input
v-model="model.perrattr2"
placeholder="请输入perrattr2"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="permintr2" prop="permintr2">
<c-input-currency
v-model="model.permintr2"
placeholder="请输入permintr2"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="perbegtr3" prop="perbegtr3">
<c-input
v-model="model.perbegtr3"
placeholder="请输入perbegtr3"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="perrattr3" prop="perrattr3">
<c-input
v-model="model.perrattr3"
placeholder="请输入perrattr3"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="permintr3" prop="permintr3">
<c-input-currency
v-model="model.permintr3"
placeholder="请输入permintr3"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="perbegtr4" prop="perbegtr4">
<c-input
v-model="model.perbegtr4"
placeholder="请输入perbegtr4"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="perrattr4" prop="perrattr4">
<c-input
v-model="model.perrattr4"
placeholder="请输入perrattr4"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="permintr4" prop="permintr4">
<c-input-currency
v-model="model.permintr4"
placeholder="请输入permintr4"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="perbegtr5" prop="perbegtr5">
<c-input
v-model="model.perbegtr5"
placeholder="请输入perbegtr5"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="perrattr5" prop="perrattr5">
<c-input
v-model="model.perrattr5"
placeholder="请输入perrattr5"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="permintr5" prop="permintr5">
<c-input-currency
v-model="model.permintr5"
placeholder="请输入permintr5"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="perbegtr6" prop="perbegtr6">
<c-input
v-model="model.perbegtr6"
placeholder="请输入perbegtr6"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="perrattr6" prop="perrattr6">
<c-input
v-model="model.perrattr6"
placeholder="请输入perrattr6"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="permintr6" prop="permintr6">
<c-input-currency
v-model="model.permintr6"
placeholder="请输入permintr6"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="perbegtr7" prop="perbegtr7">
<c-input
v-model="model.perbegtr7"
placeholder="请输入perbegtr7"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="perrattr7" prop="perrattr7">
<c-input
v-model="model.perrattr7"
placeholder="请输入perrattr7"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="permintr7" prop="permintr7">
<c-input-currency
v-model="model.permintr7"
placeholder="请输入permintr7"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="amtbegtr2" prop="amtbegtr2">
<c-input-currency
v-model="model.amtbegtr2"
placeholder="请输入amtbegtr2"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="amtrattr2" prop="amtrattr2">
<c-input
v-model="model.amtrattr2"
placeholder="请输入amtrattr2"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="amtbegtr3" prop="amtbegtr3">
<c-input-currency
v-model="model.amtbegtr3"
placeholder="请输入amtbegtr3"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="amtrattr3" prop="amtrattr3">
<c-input
v-model="model.amtrattr3"
placeholder="请输入amtrattr3"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="amtbegtr4" prop="amtbegtr4">
<c-input-currency
v-model="model.amtbegtr4"
placeholder="请输入amtbegtr4"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="amtrattr4" prop="amtrattr4">
<c-input
v-model="model.amtrattr4"
placeholder="请输入amtrattr4"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="ver" prop="ver">
<c-input
v-model="model.ver"
placeholder="请输入ver"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="colltr" prop="colltr">
<c-input
v-model="model.colltr"
placeholder="请输入colltr"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="settyp" prop="settyp">
<c-input
v-model="model.settyp"
placeholder="请输入settyp"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="setflg" prop="setflg">
<c-input
v-model="model.setflg"
placeholder="请输入setflg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="setperflg" prop="setperflg">
<c-input
v-model="model.setperflg"
placeholder="请输入setperflg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="setchgflg" prop="setchgflg">
<c-input
v-model="model.setchgflg"
placeholder="请输入setchgflg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="pertypprv" prop="pertypprv">
<c-input
v-model="model.pertypprv"
placeholder="请输入pertypprv"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="minpercnt" prop="minpercnt">
<c-input
v-model="model.minpercnt"
placeholder="请输入minpercnt"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="maxpercnt" prop="maxpercnt">
<c-input
v-model="model.maxpercnt"
placeholder="请输入maxpercnt"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="maxpercov" prop="maxpercov">
<c-input
v-model="model.maxpercov"
placeholder="请输入maxpercov"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="basamt" prop="basamt">
<c-input-currency
v-model="model.basamt"
placeholder="请输入basamt"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="permaxtr2" prop="permaxtr2">
<c-input-currency
v-model="model.permaxtr2"
placeholder="请输入permaxtr2"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="permaxtr3" prop="permaxtr3">
<c-input-currency
v-model="model.permaxtr3"
placeholder="请输入permaxtr3"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="permaxtr4" prop="permaxtr4">
<c-input-currency
v-model="model.permaxtr4"
placeholder="请输入permaxtr4"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="permaxtr5" prop="permaxtr5">
<c-input-currency
v-model="model.permaxtr5"
placeholder="请输入permaxtr5"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="permaxtr6" prop="permaxtr6">
<c-input-currency
v-model="model.permaxtr6"
placeholder="请输入permaxtr6"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="permaxtr7" prop="permaxtr7">
<c-input-currency
v-model="model.permaxtr7"
placeholder="请输入permaxtr7"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="clcdifflg" prop="clcdifflg">
<c-input
v-model="model.clcdifflg"
placeholder="请输入clcdifflg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="etgextkey" prop="etgextkey">
<c-input
v-model="model.etgextkey"
placeholder="请输入etgextkey"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="calrul" prop="calrul">
<c-input
v-model="model.calrul"
placeholder="请输入calrul"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="amtflg" prop="amtflg">
<c-input
v-model="model.amtflg"
placeholder="请输入amtflg"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
</c-col>
</div>
</template>
<script>
export default {
name: "",
props: ["model"],
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="inrFee" prop="inrFee">
<c-input
v-model="model.inrFee"
placeholder="请输入inrFee"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="codFee" prop="codFee">
<c-input
v-model="model.codFee"
placeholder="请输入codFee"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="sftcodFee" prop="sftcodFee">
<c-input
v-model="model.sftcodFee"
placeholder="请输入sftcodFee"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="rolFee" prop="rolFee">
<c-input
v-model="model.rolFee"
placeholder="请输入rolFee"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="incflgFee" prop="incflgFee">
<c-input
v-model="model.incflgFee"
placeholder="请输入incflgFee"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="staflgFee" prop="staflgFee">
<c-input
v-model="model.staflgFee"
placeholder="请输入staflgFee"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="vatflgFee" prop="vatflgFee">
<c-input
v-model="model.vatflgFee"
placeholder="请输入vatflgFee"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="accFee" prop="accFee">
<c-input
v-model="model.accFee"
placeholder="请输入accFee"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="accacrFee" prop="accacrFee">
<c-input
v-model="model.accacrFee"
placeholder="请输入accacrFee"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="enoFee" prop="enoFee">
<c-input
v-model="model.enoFee"
placeholder="请输入enoFee"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="reltirFee" prop="reltirFee">
<c-input
v-model="model.reltirFee"
placeholder="请输入reltirFee"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="8" class="col-left col-right">
<c-col :span="24">
<el-form-item label="grpcodFee" prop="grpcodFee">
<c-input
v-model="model.grpcodFee"
placeholder="请输入grpcodFee"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="verFee" prop="verFee">
<c-input
v-model="model.verFee"
placeholder="请输入verFee"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="dscmodflgFee" prop="dscmodflgFee">
<c-input
v-model="model.dscmodflgFee"
placeholder="请输入dscmodflgFee"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="reltrnFee" prop="reltrnFee">
<c-input
v-model="model.reltrnFee"
placeholder="请输入reltrnFee"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="begdatFee" prop="begdatFee">
<c-date-picker
v-model="model.begdatFee"
placeholder="请输入begdatFee"
>
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="enddatFee" prop="enddatFee">
<c-date-picker
v-model="model.enddatFee"
placeholder="请输入enddatFee"
>
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="dtacodFee" prop="dtacodFee">
<c-input
v-model="model.dtacodFee"
placeholder="请输入dtacodFee"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="etgextkeyFee" prop="etgextkeyFee">
<c-input
v-model="model.etgextkeyFee"
placeholder="请输入etgextkeyFee"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="taxaccFee" prop="taxaccFee">
<c-input
v-model="model.taxaccFee"
placeholder="请输入taxaccFee"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="taxflgFee" prop="taxflgFee">
<c-input
v-model="model.taxflgFee"
placeholder="请输入taxflgFee"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
export default {
name: "",
props: ["model"],
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eContainer">
<c-page :title="title">
<el-form
ref="modelForm"
label-width="120px"
size="small"
label-position="right"
:model="model"
:rules="rules"
:validate-on-rule-change="false"
:disabled="isDisabled"
>
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="费率信息" name="fec">
<c-content>
<m-fec-info :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="费用代码信息" name="fee">
<c-content>
<m-fee-info :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<div style="text-align: center">
<c-button
type="primary"
style="margin-right: 10px"
@click="commitAdd"
v-if="type === 'add'"
>提 交</c-button
>
<c-button
type="primary"
style="margin-right: 10px"
@click="commitEdit"
v-if="type === 'edit'"
>提 交</c-button
>
<c-button
type="primary"
style="margin-right: 10px"
@click="commitDelete"
v-if="type === 'delete'"
>提 交</c-button
>
<c-button type="primary" @click="goBack">返 回</c-button>
</div>
</c-page>
</div>
</template>
<script>
import Utils from "~/utils";
import Fec, { Pattern } from "./Fec.js";
import FecInfo from "./FecInfo.vue";
import FeeInfo from "./FeeInfo.vue";
import { queryDetailById, add, edit, deleteById } from "~/service/test/fec.js";
export default {
name: "StaticsDbifec",
components: {
"m-fec-info": FecInfo,
"m-fee-info": FeeInfo,
},
provide() {
return {
root: this,
};
},
props: {
type: {
type: String,
default: "info"
},
title: {
type: String,
default: "dbifec"
}
},
data() {
return {
model: new Fec().data,
tabVal: "fec",
rules: Pattern,
};
},
computed: {
isDisabled() {
return this.type === "info" || this.type === "delete";
},
},
created() {
if (this.type !== "add") {
const inr = this.$route.params.inr;
queryDetailById(inr).then((res) => {
if (res.inr) {
this.model = res;
} else {
this.$message.error("费率不存在")
}
});
}
},
methods: {
commitAdd() {
this.$refs.modelForm.validate((validated) => {
if (validated) {
add(this.model)
.then((res) => {
this.$message.success("保存成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("保存失败!");
});
} else {
Utils.formValidateTips(this.$refs.modelForm.fields)
}
});
},
commitEdit() {
this.$refs.modelForm.validate((validated) => {
if (validated) {
edit(this.model)
.then((res) => {
this.$message.success("保存成功!");
this.goBack()
})
.catch((err) => {
this.$message.error("保存失败!");
});
} else {
Utils.formValidateTips(this.$refs.modelForm.fields)
}
});
},
commitDelete() {
this.$confirm("是否确认删除?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteById(this.model.inr)
.then((res) => {
this.$message.success("删除成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("删除失败!");
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
/**
* update 是否更新inffec的查询列表
*/
goBack(update) {
this.$store.dispatch("TagsView/delView", this.$route);
this.$router.push({ name: "StaticsInffec", params: { update } });
},
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24" class="col-left">
<c-col :span="12">
<el-form-item label="费用代码" prop="codfee">
<c-input
v-model="model.codFee"
placeholder="请输入 费用代码"
style="width: 100%"
:code="getCodesByKey('fepfeecod')"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24" class="col-left">
<c-col :span="12">
<el-form-item label="condition" prop="feepri">
<c-select
v-model="model.feepri"
style="width: 100%"
placeholder="feepri"
:code="getCodesByKey('feepri')"
></c-select>
</el-form-item>
</c-col>
</c-col>
<!-- bus.sector -->
<c-col :span="24" v-if="(this.model.feepri==`$`)" class="col-left">
<c-col :span="12">
<el-form-item label="sector" prop="objtyp">
<c-input
v-model="model.objtyp"
placeholder="请输入 sector"
:disabled="true"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<!-- entity -->
<c-col :span="24" v-if="(this.model.feepri==`*`)" class="col-left">
<c-col :span="12">
<el-form-item label="实体" prop="objtyp">
<c-input
v-model="model.objtyp"
placeholder="请输入实体"
:disabled="true"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<!-- region -->
<c-col :span="24" v-if="(this.model.feepri==1)" class="col-left">
<c-col :span="12">
<el-form-item label="区域" prop="objtyp">
<c-input
v-model="model.objtyp"
placeholder="请输入区域"
:disabled="true"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<!-- country -->
<c-col :span="24" v-if="(this.model.feepri==2)" class="col-left">
<c-col :span="12">
<el-form-item label="国家" prop="objtyp">
<c-input
v-model="model.objtyp"
placeholder="请输入国家"
:disabled="true"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<!-- group -->
<c-col :span="24" v-if="(this.model.feepri==3)" class="col-left">
<c-col :span="12">
<el-form-item label="组" prop="objtyp">
<c-input
v-model="model.objtyp"
placeholder="请输入组"
:disabled="true"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<!-- party -->
<c-col :span="24" v-if="(this.model.feepri==4)" class="col-left">
<c-col :span="12">
<el-form-item label="当事人" prop="objtyp">
<c-input
v-model="model.objtyp"
placeholder="请输入当事人"
:disabled="true"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12" style="text-align: left">
<el-button type="primary" size="small" @click="fecAdd">新增</el-button>
</c-col>
<c-col :span="12" style="text-align: right">
<el-button size="small" @click="handleReset">重置</el-button>
<el-button
type="primary"
icon="el-icon-search"
size="small"
@click="onInffecSearch()"
>查询
</el-button>
</c-col>
</c-col>
<c-col :span="24">
<c-paging-table
:data="fecData"
:columns="fecColumns"
:pageNumber="model.pageNum"
:pageSize="model.pageSize"
:total="model.total"
v-on:queryFunc="queryFunc"
:border="true"
>
<c-table-column fixed="right" prop="op" label="操作" width="240px">
<template slot-scope="{ scope }">
<c-button
style="margin-left: 0"
size="small"
@click="fecInfo(scope.$index, scope.row)"
>详情</c-button
>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="fecEdit(scope.$index, scope.row)"
>修改</c-button
>
<c-button
size="small"
style="margin-left: 5px"
@click="fecDelete(scope.$index, scope.row)"
>删除</c-button
>
<el-popover placement="top-start" width="50" trigger="click">
<ul class="table-button-item-list">
<li>
<c-button size="small" style="margin-left: 0">指派</c-button>
</li>
<li>
<c-button size="small" style="margin-left: 0">删除</c-button>
</li>
</ul>
<a
slot="reference"
href="javascript:void(0)"
style="margin-left: 5px"
>
<i class="el-icon-more"></i>
</a>
</el-popover>
</template>
</c-table-column>
</c-paging-table>
</c-col>
</div>
</template>
<script>
import codes from "~/config/CodeTable";
import { queryByPage } from "~/service/test/fec.js";
export default {
name: "",
props: ["model"],
inject: ["root"],
data() {
return {
fecData: [],
fecColumns: [
{ label: '费用代码', prop: 'codFee', width: '120' },
{ label: '收费条件类型', prop: 'feepri', width: '120' },
{ label: '最小金额币种', prop: 'maxcur', width: '120' },
{ label: '费用最小金额', prop: 'lowamt', width: '120' },
{ label: '费用最大金额', prop: 'highamt', width: '120' },
{ label: '起始日期', prop: 'begdat', width: '120' },
{ label: '终止日期', prop: 'enddat', width: '120' },
{ label: '计算规则', prop: 'calrul', width: '120' },
{ label: '每份的费用金额', prop: 'untamt', width: '150' },
{ label: '计算费率', prop: 'ratcal', width: '120' },
],
};
},
computed: {
},
activated() {
const { update } = this.$route.params
if (update) {
this.onInffecSearch()
}
},
methods: {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onInffecSearch() {
queryByPage(this.model).then(res => {
/**
* pageNumber: 0
* pageSize: 0
* total: 69
* totalPage: 0
*/
const list = res.list
this.fecData = list
this.model.pageNum = res.pageNumber
this.model.pageSize = res.pageSize
this.model.total = res.total
})
},
queryFunc(pageNumber, pageSize) {
this.model.pageNum = pageNumber
this.model.pageSize = pageSize
this.onInffecSearch()
},
fectypeChange(val) {
this.model.fectyp = val;
},
getCodesByKey(key) {
return codes[key] ?? [];
},
fecAdd() {
this.$router.push(`/statics/dbafec`)
},
fecInfo(index, row) {
this.$router.push(`/statics/dbifec/${row.inr}`)
},
fecEdit(index, row) {
this.$router.push(`/statics/dbefec/${row.inr}`)
},
fecDelete(index, row) {
this.$router.push(`/statics/dbdfec/${row.inr}`)
},
},
};
</script>
<style scoped>
.table-button-item-list {
padding: 0;
margin: 0;
}
.table-button-item-list li {
list-style: none;
padding: 5px 0;
text-align: center;
color: #606266;
cursor: pointer;
}</style>
<template>
<div class="eContainer">
<c-page title="费率信息查询">
<el-form
:model="model"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
>
<c-tabs v-model="tabVal" ref="elment" type="card">
<!--PD000039 -->
<el-tab-pane label="费率查询" name="infsea">
<c-content>
<m-infsea :model="model" ref="infsea" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-page>
</div>
</template>
<script>
import Infsea from "./Infsea";
export default {
name: "StaticsInffec",
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this,
};
},
data() {
return {
tabVal: "infsea",
model: {
codfee:"",
feepri:"!",
objtyp:"",
// paging
pageNum: 1,
pageSize: 5,
total: 0
},
};
},
};
</script>
<style></style>
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