Commit b632760c by “yanyuxin”

Trtopn修改

parent 8d9c9ccf
......@@ -92,5 +92,6 @@ export default {
"trdgrp.rec.lprtyp" :Utils.defaultFunction,
"trdgrp.rec.tenday" :Utils.defaultFunction,
"trtmod.finmod.acttyp1" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.flttyp" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
import Api from "~/service/Api";
import Utils from "~/utils";
export default {
async onTrtpButgetref(){
let rtnmsg = await this.executeRule("trtp.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
async onTrtpButgetref() {
let rtnmsg = await this.executeRule("trtp.butgetref");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
this.updateModel(rtnmsg.data);
this.$message({
type: "success",
message: "获取成功!",
});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onFippDet(){
let rtnmsg = await this.executeRule("fipp.det")
if(rtnmsg.respCode == SUCCESS)
{
async onFippDet() {
let rtnmsg = await this.executeRule("fipp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onFinmodButget(){
let rtnmsg = await this.executeRule("finmod.butget")
if(rtnmsg.respCode == SUCCESS)
{
async onFinmodButget() {
let rtnmsg = await this.executeRule("finmod.butget");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onFinmodButcal(){
let rtnmsg = await this.executeRule("finmod.butcal")
if(rtnmsg.respCode == SUCCESS)
{
async onFinmodButcal() {
let rtnmsg = await this.executeRule("finmod.butcal");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onCodselSelbut(){
let rtnmsg = await this.executeRule("codsel.selbut")
if(rtnmsg.respCode == SUCCESS)
{
async onCodselSelbut() {
let rtnmsg = await this.executeRule("codsel.selbut");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onDinmodDget(){
let rtnmsg = await this.executeRule("dinmod.dget")
if(rtnmsg.respCode == SUCCESS)
{
async onDinmodDget() {
let rtnmsg = await this.executeRule("dinmod.dget");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onDftpButgetref(){
let rtnmsg = await this.executeRule("dftp.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
async onDftpButgetref() {
let rtnmsg = await this.executeRule("dftp.butgetref");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
this.updateModel(rtnmsg.data);
this.$message({
type: "success",
message: "获取成功!",
});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onAplpDet(){
let rtnmsg = await this.executeRule("aplp.det")
if(rtnmsg.respCode == SUCCESS)
{
async onAplpDet() {
let rtnmsg = await this.executeRule("aplp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onDffpDet(){
let rtnmsg = await this.executeRule("dffp.det")
if(rtnmsg.respCode == SUCCESS)
{
async onDffpDet() {
let rtnmsg = await this.executeRule("dffp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onWrkpDet(){
let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS)
{
async onWrkpDet() {
let rtnmsg = await this.executeRule("wrkp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
async onOthpDet() {
let rtnmsg = await this.executeRule("othp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onLimptsGet1(){
let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS)
{
async onLimptsGet1() {
let rtnmsg = await this.executeRule("limpts.get1");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onLimptsGet2(){
let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS)
{
async onLimptsGet2() {
let rtnmsg = await this.executeRule("limpts.get2");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onLimmodTrycal(){
let rtnmsg = await this.executeRule("limmod.trycal")
if(rtnmsg.respCode == SUCCESS)
{
async onLimmodTrycal() {
let rtnmsg = await this.executeRule("limmod.trycal");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
async onTrndocButshw() {
let rtnmsg = await this.executeRule("trndoc.butshw");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
async onTrndocButadd() {
let rtnmsg = await this.executeRule("trndoc.butadd");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
async onTrndocButnew() {
let rtnmsg = await this.executeRule("trndoc.butnew");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
async onTrndocButattto() {
let rtnmsg = await this.executeRule("trndoc.butattto");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
async onTrndocButdel() {
let rtnmsg = await this.executeRule("trndoc.butdel");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
async onTrndocButatt() {
let rtnmsg = await this.executeRule("trndoc.butatt");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
async onLiaallButmisamt() {
let rtnmsg = await this.executeRule("liaall.butmisamt");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
async onLiaallButmissig() {
let rtnmsg = await this.executeRule("liaall.butmissig");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
onSeainf() {
},
async onExtkey(e) {
},
onSeainf() {},
async onExtkey(e) {},
/**
* 计算两个日期相差的天数
* sDate1和sDate2是2006-12-18格式 
* sDate1和sDate2是2006-12-18格式
*/
async DateDiff(sDate1, sDate2){
var aDate, oDate1, oDate2, iDays
aDate = sDate1.split("-")
oDate1 = new Date(aDate[0] , aDate[1] ,aDate[2]) //转换为12-18-2006格式  
aDate = sDate2.split("-")
oDate2 = new Date(aDate[0] , aDate[1] , aDate[2])
iDays = parseInt(Math.abs(oDate1 - oDate2) / 1000 / 60 / 60 /24) //把相差的毫秒数转换为天数  
return iDays
},
async OperatePanel(){
},
}
\ No newline at end of file
async DateDiff(sDate1, sDate2) {
var aDate, oDate1, oDate2, iDays;
aDate = sDate1.split("-");
oDate1 = new Date(aDate[0], aDate[1], aDate[2]); //转换为12-18-2006格式
aDate = sDate2.split("-");
oDate2 = new Date(aDate[0], aDate[1], aDate[2]);
iDays = parseInt(Math.abs(oDate1 - oDate2) / 1000 / 60 / 60 / 24); //把相差的毫秒数转换为天数
return iDays;
},
async OperatePanel() {},
};
......@@ -30,7 +30,7 @@
size="small"
type="primary"
:disabled="model.trdgrp.fip.pts.adrblk == ''"
@click="onTrtpButgetref"
@click="onDftpButgetref"
>
Get Ref
</c-button>
......@@ -258,11 +258,11 @@
<c-fullbox>
<c-select
v-model="model.dftcre.dfdgrp.rec.flttyp"
style="width: 50%"
style="width: 30%"
placeholder="利率浮动方式"
>
<el-option
v-for="item in codes.flttyp"
v-for="item in codes.flttyp1"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -270,9 +270,14 @@
</c-select>
<c-input
v-model="model.dftcre.dfdgrp.rec.fltval"
style="width: 50%"
style="width: 65%"
placeholder="请输入浮动值"
:disabled="model.dftcre.dfdgrp.rec.flttyp == '0'|| model.dftcre.dfdgrp.rec.flttyp == '3'"
></c-input>
<span v-if="model.dftcre.dfdgrp.rec.flttyp == '2'"
style="width: 5%">
%
</span>
</c-fullbox>
</el-form-item>
</c-col>
......@@ -294,7 +299,7 @@
</el-form-item>
</c-col>
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="代付利息" prop="dftcre.dfdgrp.rec.rescur">
<c-select
v-model="model.dftcre.dfdgrp.rec.rescur"
......@@ -309,9 +314,9 @@
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<c-col :span="24">
<c-form-item label="代付利息" prop="dftcre.dfdgrp.rec.resamt">
<c-input
v-model="model.dftcre.dfdgrp.rec.resamt"
......@@ -333,7 +338,7 @@
</c-form-item>
</c-col>
<c-col :span="16">
<c-col :span="24">
<c-form-item label="贷款合同名" prop="dftcre.dfdgrp.rec.nam">
<c-input
v-model="model.dftcre.dfdgrp.rec.nam"
......@@ -545,7 +550,7 @@
</c-col> -->
<!-- S0000041 : 代付行核心客户号 -->
<c-col :span="16">
<c-col :span="24">
<c-form-item label="代付行核心账号" prop="dftcre.dfdgrp.rec.bankno">
<c-input
v-model="model.dftcre.dfdgrp.rec.bankno"
......@@ -556,7 +561,7 @@
</c-col>
<!-- S0000040 : 代付行中文名 -->
<c-col :span="16">
<c-col :span="24">
<c-form-item label="代付行中文名" prop="dftcre.dfdgrp.rec.bankcn">
<c-input
v-model="model.dftcre.dfdgrp.rec.bankcn"
......@@ -583,7 +588,7 @@
</c-col> -->
<!-- S0000042 : 同业代付内部账号 -->
<c-col :span="16">
<c-col :span="24">
<c-form-item label="同业代付内部账号" prop="dftcre.dfdgrp.rec.bnkact">
<c-input
v-model="model.dftcre.dfdgrp.rec.bnkact"
......
......@@ -5,19 +5,9 @@
<c-col :span="12">
<el-form-item label="单据编号" prop="trdgrp.rec.pntref">
<c-fullbox>
<c-input
v-model="model.trdgrp.rec.pntref"
maxlength="16"
style="width: 78%"
disabled
placeholder="请输入单据编号"
></c-input>
<c-button
size="small"
type="primary;width:10%"
style="width: 10%"
@click="onSeainf"
>
<c-input v-model="model.trdgrp.rec.pntref" maxlength="16" style="width: 78%" disabled placeholder="请输入单据编号">
</c-input>
<c-button size="small" type="primary;width:10%" style="width: 10%" @click="onSeainf">
i
</c-button>
</c-fullbox>
......@@ -30,61 +20,32 @@
</c-col> -->
<c-col :span="11">
<el-form-item label="Parent Contract Name" prop="trdgrp.rec.pntnam">
<c-input
align="middle"
v-model="model.trdgrp.rec.pntnam"
maxlength="40"
disabled
placeholder="请输入Parent Contract Name"
></c-input>
<c-input align="middle" v-model="model.trdgrp.rec.pntnam" maxlength="40" disabled
placeholder="请输入Parent Contract Name"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="融资编号" prop="trdgrp.rec.ownref">
<c-fullbox>
<c-input
v-model="model.trdgrp.rec.ownref"
maxlength="16"
disabled
placeholder=""
style="width: 57%"
></c-input>
<c-button
size="small"
type="primary;width:10%"
style="width: 10%"
@click="onSeainf"
>
i</c-button
>
<c-button
size="small"
type="primary"
:disabled="
<c-input v-model="model.trdgrp.rec.ownref" maxlength="16" disabled style="width: 57%"></c-input>
<c-button size="small" type="primary;width:10%" style="width: 10%" @click="onSeainf">
i</c-button>
<c-button size="small" type="primary" :disabled="
model.trdgrp.rec.fintyp == '' ||
model.trdgrp.fip.pts.adrblk == '' ||
// model.trdgrp.rec.branchinr == ''||
model.trdgrp.rec.ownref != ''
"
@click="onTrtpButgetref"
style="width: 20%"
>
Get Ref</c-button
>
" @click="onTrtpButgetref" style="width: 20%">
Get Ref</c-button>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="Name of Loan Contract" prop="trdgrp.rec.nam">
<c-input
align="middle"
v-model="model.trdgrp.rec.nam"
maxlength="40"
disabled
placeholder="请输入Name of Loan Contract"
></c-input>
<c-input align="middle" v-model="model.trdgrp.rec.nam" maxlength="40" disabled
placeholder="请输入Name of Loan Contract"></c-input>
</el-form-item>
</c-col>
</c-col>
......@@ -94,18 +55,8 @@
<c-col :span="24">
<el-form-item label="客户经理" prop="trtp.usr.extkey">
<c-fullbox>
<c-input
v-model="model.trtp.usr.extkey"
maxlength="8"
placeholder="请输入客户经理"
style="width: 88%"
></c-input>
<c-button
size="small"
type="primary;width:10%"
style="width: 10%"
@click="onExtkey"
>
<c-input v-model="model.trtp.usr.extkey" maxlength="8" placeholder="请输入客户经理" style="width: 88%"></c-input>
<c-button size="small" type="primary;width:10%" style="width: 10%" @click="onExtkey">
i
</c-button>
</c-fullbox>
......@@ -114,28 +65,16 @@
<c-col :span="24">
<el-form-item label="开立日期" prop="trdgrp.rec.issdat">
<c-date-picker
type="date"
v-model="model.trdgrp.rec.issdat"
style="width: 100%"
placeholder="请选择开立日期"
></c-date-picker>
<c-date-picker type="date" v-model="model.trdgrp.rec.issdat" style="width: 100%" placeholder="请选择开立日期">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="17">
<el-form-item label="融资品种" prop="trdgrp.rec.fintyp">
<c-select
v-model="model.trdgrp.rec.fintyp"
style="width: 100%"
placeholder="请选择融资品种"
>
<el-option
v-for="item in codes.fintyp1"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
<c-select v-model="model.trdgrp.rec.fintyp" style="width: 100%" placeholder="请选择融资品种">
<el-option v-for="item in codes.fintyp1" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -146,17 +85,8 @@
<c-col :span="24">
<el-form-item label="货押标识" prop="trdgrp.rec.guaflg">
<c-select
v-model="model.trdgrp.rec.guaflg"
style="width: 100%"
placeholder="请选择货押标识"
>
<el-option
v-for="item in codes.guaflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
<c-select v-model="model.trdgrp.rec.guaflg" style="width: 100%" placeholder="请选择货押标识">
<el-option v-for="item in codes.guaflg" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
......@@ -164,140 +94,69 @@
<c-col :span="24">
<el-form-item label="Good's Code " prop="trdgrp.rec.stagod">
<c-select
v-model="model.trdgrp.rec.stagod"
style="width: 100%"
placeholder="请选择Good's Code "
>
<el-option
v-for="item in codes.godcod"
:key="item.value"
:label="item.label"
:value="item.value"
>
<c-select v-model="model.trdgrp.rec.stagod" style="width: 100%" placeholder="请选择Good's Code ">
<el-option v-for="item in codes.godcod" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="融资金额" prop="trdgrp.cbs.max.cur">
<c-fullbox>
<c-select
v-model="model.trdgrp.cbs.max.cur"
style="width: 34%"
placeholder="请选择Currency"
@keyup.enter.native="maxCurEvent"
>
<el-option
v-for="item in codes.curtxt1"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
<c-select v-model="model.trdgrp.cbs.max.cur" style="width: 100%" placeholder="请选择Currency"
@keyup.enter.native="maxCurEvent">
<el-option v-for="item in codes.curtxt1" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
<c-input
v-model="model.trdgrp.cbs.max.amt"
style="text-align: left; width: 47%"
placeholder="请输入融资金额"
></c-input>
<c-input
v-model="model.trdgrp.rec.pctfin"
style="width: 15%"
:disabled="true"
></c-input
>%
</c-fullbox>
</el-form-item>
<!-- <c-col :span="7">
</c-col>
<c-col :span="7">
<el-form-item style="text-align: left" label-width="20px" prop="trdgrp.cbs.max.amt">
<c-input v-model="model.trdgrp.cbs.max.amt" style="width: 100%" placeholder="请输入融资金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-col :span="5">
<el-form-item prop="trdgrp.rec.pctfin" label-width="20px">
<c-input v-model="model.trdgrp.rec.pctfin" style="width: 80%" :disabled="true"></c-input>%
</el-form-item>
</c-col> -->
</c-col>
<c-col :span="24">
<el-form-item label="计息周期" prop="trtmod.finmod.intprd">
<c-select
v-model="model.trtmod.finmod.intprd"
style="width: 100%"
placeholder="请选择计息周期"
>
<el-option
v-for="item in codes.intprd"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
<c-select v-model="model.trtmod.finmod.intprd" style="width: 100%" placeholder="请选择计息周期">
<el-option v-for="item in codes.intprd" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="利率调整方式" prop="trtmod.finmod.ratchgtyp">
<c-select
v-model="model.trtmod.finmod.ratchgtyp"
style="width: 100%"
placeholder="请选择利率调整方式"
>
<el-option
v-for="item in codes.ratchgtyp"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
<c-select v-model="model.trtmod.finmod.ratchgtyp" style="width: 100%" placeholder="请选择利率调整方式">
<el-option v-for="item in codes.ratchgtyp" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="13">
<el-form-item label="开户日期" prop="trdgrp.rec.stttendat">
<c-date-picker
type="date"
v-model="model.trdgrp.rec.stttendat"
style="width: 110%"
placeholder="请选择开户日期"
value-format="yyyy-MM-dd"
></c-date-picker>
<c-date-picker type="date" v-model="model.trdgrp.rec.stttendat" style="width: 110%" placeholder="请选择开户日期"
value-format="yyyy-MM-dd"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
label="融资到期日"
prop="trdgrp.rec.matdat"
label-width="110px"
>
<c-date-picker
type="date"
v-model="model.trdgrp.rec.matdat"
style="width: 100%"
placeholder="请选择融资到期日"
value-format="yyyy-MM-dd"
></c-date-picker>
<el-form-item label="融资到期日" prop="trdgrp.rec.matdat" label-width="110px">
<c-date-picker type="date" v-model="model.trdgrp.rec.matdat" style="width: 100%" placeholder="请选择融资到期日"
value-format="yyyy-MM-dd"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="基准利率" prop="trdgrp.rec.intrat">
<c-fullbox>
<c-input
v-model="model.trdgrp.rec.intrat"
placeholder="请输入基准利率"
:disabled="true"
style="width: 82%"
></c-input>
<c-button
size="small"
type="primary"
@click="onFinmodButget"
style="width: 15%"
>
<c-input v-model="model.trdgrp.rec.intrat" placeholder="请输入基准利率" :disabled="true" style="width: 82%">
</c-input>
<c-button size="small" type="primary" @click="onFinmodButget" style="width: 15%">
Get
</c-button>
</c-fullbox>
......@@ -306,64 +165,33 @@
<c-col :span="24">
<el-form-item label="基准利率规则" prop="trtmod.finmod.dinmod.jzllgz">
<c-select
v-model="model.trtmod.finmod.dinmod.jzllgz"
style="width: 100%"
placeholder="请选择基准利率规则"
>
<el-option
v-for="item in codes.jzllgz"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
<c-select v-model="model.trtmod.finmod.dinmod.jzllgz" style="width: 100%" placeholder="请选择基准利率规则">
<el-option v-for="item in codes.jzllgz" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="执行利率" prop="trdgrp.rec.actrat">
<c-input
v-model="model.trdgrp.rec.actrat"
placeholder="请输入执行利率"
></c-input>
<c-input v-model="model.trdgrp.rec.actrat" placeholder="请输入执行利率"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="是否定向收付"
prop="trdgrp.rec.flowflag"
v-if="zmqflg == 'x'"
>
<c-select
v-model="model.trdgrp.rec.flowflag"
style="width: 100%"
placeholder="请选择是否定向收付"
>
<el-option
v-for="item in codes.flowflag"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
<el-form-item label="是否定向收付" prop="trdgrp.rec.flowflag" v-if="zmqflg == 'x'">
<c-select v-model="model.trdgrp.rec.flowflag" style="width: 100%" placeholder="请选择是否定向收付">
<el-option v-for="item in codes.flowflag" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="第一还款账号" prop="trtmod.finmod.act1">
<c-select
v-model="model.trtmod.finmod.act1"
style="width: 100%"
placeholder="请选择第一还款账号"
>
<el-option
v-for="(item, idx) in codes.codeSet['trtmod.finmod.act1']"
:key="idx"
:label="item.split('\t')[1]"
:value="item.split('\t')[0]"
></el-option>
<c-select v-model="model.trtmod.finmod.act1" style="width: 100%" placeholder="请选择第一还款账号">
<el-option v-for="(item, idx) in codes.codeSet['trtmod.finmod.act1']" :key="idx"
:label="item.split('\t')[1]" :value="item.split('\t')[0]"></el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -371,19 +199,10 @@
<c-col :span="24">
<el-form-item label="预收息金额" prop="trtmod.finmod.intamt">
<c-fullbox>
<c-input
v-model="model.trtmod.finmod.intamt"
style="width: 77%"
:disabled="true"
placeholder="请输入预收息金额"
></c-input>
<c-button
size="small"
type="primary"
@click="onFinmodButcal"
:disabled="model.trtmod.finmod.intprd != '7'"
style="width: 20%"
>
<c-input v-model="model.trtmod.finmod.intamt" style="width: 77%" :disabled="true" placeholder="请输入预收息金额">
</c-input>
<c-button size="small" type="primary" @click="onFinmodButcal" :disabled="model.trtmod.finmod.intprd != '7'"
style="width: 20%">
计算
</c-button>
</c-fullbox>
......@@ -392,51 +211,25 @@
<c-col :span="14">
<el-form-item label="预扣息方式" prop="trtmod.finmod.inttyp">
<c-select
v-model="model.trtmod.finmod.inttyp"
style="width: 100%"
placeholder="请选择预扣息方式"
:disabled="model.trtmod.finmod.intprd != '7'"
>
<el-option
v-for="item in codes.inttyp"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
<c-select v-model="model.trtmod.finmod.inttyp" style="width: 100%" placeholder="请选择预扣息方式"
:disabled="model.trtmod.finmod.intprd != '7'">
<el-option v-for="item in codes.inttyp" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item
label="税率"
label-width="110px"
prop="trtmod.finmod.shuilv"
>
<c-input
v-model="model.trtmod.finmod.shuilv"
:disabled="true"
placeholder="请输入税率"
></c-input>
<el-form-item label="税率" label-width="110px" prop="trtmod.finmod.shuilv">
<c-input v-model="model.trtmod.finmod.shuilv" :disabled="true" placeholder="请输入税率"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="定价审批代码" prop="trtmod.finmod.dinjdm">
<c-fullbox>
<c-input
v-model="model.trtmod.finmod.dinjdm"
maxlength="20"
placeholder="请输入定价审批代码"
style="width: 82%"
></c-input>
<c-button
size="small"
type="primary"
@click="onDinmodDget"
:disabled="true"
style="width: 15%"
>
<c-input v-model="model.trtmod.finmod.dinjdm" maxlength="20" placeholder="请输入定价审批代码" style="width: 82%">
</c-input>
<c-button size="small" type="primary" @click="onDinmodDget" :disabled="true" style="width: 15%">
Get
</c-button>
</c-fullbox>
......@@ -445,54 +238,27 @@
<c-col :span="24">
<el-form-item label="市场LPR期限品种" prop="trdgrp.rec.lprtyp">
<c-select
v-model="model.trdgrp.rec.lprtyp"
style="width: 100%"
placeholder="请选择市场LPR期限品种"
>
<el-option
v-for="item in codes.lprtyp"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
<c-select v-model="model.trdgrp.rec.lprtyp" style="width: 100%" placeholder="请选择市场LPR期限品种">
<el-option v-for="item in codes.lprtyp" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="审批流程发起标识"
prop="trtmod.finmod.dinmod.rmbsbs"
>
<c-select
v-model="model.trtmod.finmod.dinmod.rmbsbs"
style="width: 100%"
placeholder="请选择审批流程发起标识"
:disabled="true"
>
<el-option
v-for="item in codes.jzllgz"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
<el-form-item label="审批流程发起标识" prop="trtmod.finmod.dinmod.rmbsbs">
<c-select v-model="model.trtmod.finmod.dinmod.rmbsbs" style="width: 100%" placeholder="请选择审批流程发起标识"
:disabled="true">
<el-option v-for="item in codes.jzllgz" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="发票类型" prop="trdgrp.rec.invtyp">
<c-select
v-model="model.trdgrp.rec.invtyp"
style="width: 100%"
placeholder="请选择发票类型"
>
<el-option
v-for="item in codes.invtyp"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
<c-select v-model="model.trdgrp.rec.invtyp" style="width: 100%" placeholder="请选择发票类型">
<el-option v-for="item in codes.invtyp" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -500,17 +266,11 @@
<!--=================中部-右================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
<c-ptap :model="model" :argadr="{
title: '融资客户',
grp: 'trdgrp',
rol: 'fip',
}"
:isAdrblk="true"
:disabled="true"
@onSeainf="onSeainf"
>
}" :isAdrblk="true" :disabled="true" @onSeainf="onSeainf">
</c-ptap>
</c-col>
<!--
......@@ -522,141 +282,83 @@
<c-col :span="24">
<el-form-item label="借据号" prop="trtmod.finmod.fincod">
<c-input
v-model="model.trtmod.finmod.fincod"
maxlength="17"
placeholder="请输入借据号"
:disabled="true"
></c-input>
<c-input v-model="model.trtmod.finmod.fincod" maxlength="17" placeholder="请输入借据号" :disabled="true"></c-input>
</el-form-item>
</c-col>
<c-col :span="14">
<el-form-item label="计息日期" prop="trtmod.finmod.intdat">
<c-input
v-model="model.trtmod.finmod.intdat"
maxlength="2"
placeholder="请输入计息日期"
:disabled="
<c-input v-model="model.trtmod.finmod.intdat" maxlength="2" placeholder="请输入计息日期" :disabled="
model.trtmod.finmod.intprd == '6' ||
model.trtmod.finmod.intprd == '7' ||
model.trtmod.finmod.intprd == 'B'
"
></c-input>
"></c-input>
</el-form-item>
</c-col>
<c-col :span="9" :offset="1">
<c-checkbox v-model="model.trtmod.finmod.wjdkfl" :disabled="true"
>是否到期主动扣收款</c-checkbox
>
<c-checkbox v-model="model.trtmod.finmod.wjdkfl" :disabled="true">是否到期主动扣收款</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="利率调整周期" prop="trtmod.finmod.ratchgprd">
<c-select
v-model="model.trtmod.finmod.ratchgprd"
style="width: 100%"
placeholder="请选择利率调整周期"
:disabled="
<c-select v-model="model.trtmod.finmod.ratchgprd" style="width: 100%" placeholder="请选择利率调整周期" :disabled="
model.trtmod.finmod.ratchgtyp != '7' &&
model.trtmod.finmod.ratchgtyp != '8' &&
model.trtmod.finmod.ratchgtyp != '9'
"
>
<el-option
v-for="item in codes.ratchgprd"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
">
<el-option v-for="item in codes.ratchgprd" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="利率调整月日数" prop="trtmod.finmod.ratchgdat">
<c-input
v-model="model.trtmod.finmod.ratchgdat"
maxlength="4"
placeholder="请输入利率调整月日数"
:disabled="
<c-input v-model="model.trtmod.finmod.ratchgdat" maxlength="4" placeholder="请输入利率调整月日数" :disabled="
model.trtmod.finmod.ratchgtyp != '4' &&
model.trtmod.finmod.ratchgtyp != '5'
"
></c-input>
"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="融资天数" prop="trdgrp.rec.tenday">
<c-input
v-model="model.trdgrp.rec.tenday"
style="width: 100%"
:disabled="true"
></c-input>
<c-input v-model="model.trdgrp.rec.tenday" style="width: 100%" :disabled="true"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="宽限期" prop="trtmod.finmod.graday">
<c-input
v-model="model.trtmod.finmod.graday"
style="width: 100%"
:disabled="true"
placeholder="请输入宽限期"
></c-input>
<c-input v-model="model.trtmod.finmod.graday" style="width: 100%" :disabled="true" placeholder="请输入宽限期">
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="浮动方式" prop="trtmod.finmod.flttyp">
<c-select
v-model="model.trtmod.finmod.flttyp"
style="width: 100%"
placeholder="请选择浮动方式"
>
<el-option
v-for="item in codes.flttyp"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
<c-select v-model="model.trtmod.finmod.flttyp" style="width: 100%" placeholder="请选择浮动方式">
<el-option v-for="item in codes.flttyp" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="浮动值" prop="trtmod.finmod.fltval">
<c-input
v-model="model.trtmod.finmod.fltval"
placeholder="请输入浮动值"
:disabled="model.trtmod.finmod.flttyp == '0'"
></c-input>
<c-input v-model="model.trtmod.finmod.fltval" placeholder="请输入浮动值"
:disabled="model.trtmod.finmod.flttyp == '0'"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="逾期计息方式" prop="trtmod.finmod.ovdinttyp">
<c-select
v-model="model.trtmod.finmod.ovdinttyp"
style="width: 100%"
placeholder="请选择逾期计息方式"
>
<el-option
v-for="item in codes.ovdinttyp"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
<c-select v-model="model.trtmod.finmod.ovdinttyp" style="width: 100%" placeholder="请选择逾期计息方式">
<el-option v-for="item in codes.ovdinttyp" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="罚息比率" prop="trtmod.finmod.ovdintrat">
<c-input
v-model="model.trtmod.finmod.ovdintrat"
placeholder="请输入罚息比率"
style="width: 85%"
:disabled="model.trtmod.finmod.ovdinttyp == '0'"
></c-input
>%
<c-input v-model="model.trtmod.finmod.ovdintrat" placeholder="请输入罚息比率" style="width: 85%"
:disabled="model.trtmod.finmod.ovdinttyp == '0'"></c-input>%
</el-form-item>
</c-col>
<!-- <c-col :span="1">
......@@ -666,41 +368,23 @@
</c-col> -->
<c-col :span="12">
<el-form-item label="第三方还款方式" prop="trtmod.finmod.acttyp">
<c-select
v-model="model.trtmod.finmod.acttyp"
style="width: 100%"
placeholder="请选择第三方还款方式"
>
<el-option
v-for="item in codes.acttyp1"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
<c-select v-model="model.trtmod.finmod.acttyp" style="width: 100%" placeholder="请选择第三方还款方式">
<el-option v-for="item in codes.acttyp1" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="入账机构" prop="trtmod.finmod.accbch">
<c-select
v-model="model.trtmod.finmod.accbch"
style="width: 100%"
placeholder="请选择入账机构"
>
<c-select v-model="model.trtmod.finmod.accbch" style="width: 100%" placeholder="请选择入账机构">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="第三方还款账号" prop="trtmod.finmod.act3">
<c-select
filterable
allow-create
v-model="model.trtmod.finmod.act3"
style="width: 100%"
:disabled="model.trtmod.finmod.acttyp == ''"
placeholder="请选择第三方还款账号"
>
<c-select filterable allow-create v-model="model.trtmod.finmod.act3" style="width: 100%"
:disabled="model.trtmod.finmod.acttyp == ''" placeholder="请选择第三方还款账号">
</c-select>
</el-form-item>
</c-col>
......@@ -720,12 +404,7 @@
<c-col :span="24">
<el-form-item label="利息付款账号" prop="trtmod.finmod.intact">
<c-input
v-model="model.trtmod.finmod.intact"
style="width: 100%"
placeholder="请选择利息付款账号"
:disabled="true"
>
<c-input v-model="model.trtmod.finmod.intact" style="width: 100%" placeholder="请选择利息付款账号" :disabled="true">
</c-input>
</el-form-item>
</c-col>
......@@ -741,21 +420,13 @@
<c-col :span="24">
<el-form-item label="贸易合同号" prop="trdgrp.rec.mycontno">
<c-input
v-model="model.trdgrp.rec.mycontno"
maxlength="35"
placeholder="请输入贸易合同号"
></c-input>
<c-input v-model="model.trdgrp.rec.mycontno" maxlength="35" placeholder="请输入贸易合同号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="外币贷款专户清单" prop="trtp.act">
<c-select
v-model="model.trtp.act"
style="width: 100%"
placeholder="请选择外币贷款专户清单"
:disabled="model.trdgrp.cbs.max.cur === 'CNY'"
>
<c-select v-model="model.trtp.act" style="width: 100%" placeholder="请选择外币贷款专户清单"
:disabled="model.trdgrp.cbs.max.cur === 'CNY'">
</c-select>
</el-form-item>
</c-col>
......@@ -784,7 +455,9 @@ export default {
},
watch: {},
methods: { ...Event },
created: function () {},
created: function () { },
};
</script>
<style></style>
<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