Commit 04d2dcc0 by huxi

修改前端显示字段 补充接口

parent 995b3bc0
...@@ -28,6 +28,11 @@ export default { ...@@ -28,6 +28,11 @@ export default {
...params, ...params,
transName: this.trnName, transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL', userId: window.sessionStorage.userId || 'ZL',
lidgrp:{
rec:{
inr: "00006833",
}
}
}); });
if (!res.data) { if (!res.data) {
return return
...@@ -64,7 +69,7 @@ export default { ...@@ -64,7 +69,7 @@ export default {
let engpRequest = buildFn.buildEngp(this.model, this.trnName); let engpRequest = buildFn.buildEngp(this.model, this.trnName);
this.processLiaall(engpRequest); this.processLiaall(engpRequest);
break; break;
case 'setpan': case 'setmod':
let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName); let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName);
// 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值 // 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值
this.processSetpan(setfegRequest, () => { this.processSetpan(setfegRequest, () => {
......
...@@ -106,6 +106,7 @@ export default class Litame { ...@@ -106,6 +106,7 @@ export default class Litame {
lcrgodame: '' lcrgodame: ''
}, },
rec: { rec: {
ownusr:'',
tenmaxday: '', tenmaxday: '',
nomton: '', nomton: '',
expplc: '', expplc: '',
...@@ -210,7 +211,6 @@ export default class Litame { ...@@ -210,7 +211,6 @@ export default class Litame {
tygrd: '' tygrd: ''
} }
}, },
trnmod: {
swiadd: { swiadd: {
trnchato: '', trnchato: '',
newnomtop: '', newnomtop: '',
...@@ -232,7 +232,6 @@ export default class Litame { ...@@ -232,7 +232,6 @@ export default class Litame {
prepertxts18: '', prepertxts18: '',
nomspc: '', nomspc: '',
reqcan: '' reqcan: ''
}
}, },
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut, mtabut: new Pub().data.Mtabut,
......
...@@ -28,10 +28,10 @@ ...@@ -28,10 +28,10 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="修改日期" prop="trnmod.swiadd.amedat"> <el-form-item label="修改日期" prop="swiadd.amedat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.trnmod.swiadd.amedat" v-model="model.swiadd.amedat"
style="width: 100%" style="width: 100%"
placeholder="请选择修改日期" placeholder="请选择修改日期"
></c-date-picker> ></c-date-picker>
...@@ -78,9 +78,9 @@ ...@@ -78,9 +78,9 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="修改金额" prop="trnmod.swiadd.amecur"> <el-form-item label="修改金额" prop="swiadd.amecur">
<c-input <c-input
v-model="model.trnmod.swiadd.amecur" v-model="model.swiadd.amecur"
style="width: 100%" style="width: 100%"
placeholder="请输入修改金额" placeholder="请输入修改金额"
disabled disabled
...@@ -90,17 +90,17 @@ ...@@ -90,17 +90,17 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" prop="trnmod.swiadd.ameamt"> <el-form-item label="" prop="swiadd.ameamt">
<c-input-currency-min <c-input-currency-min
v-model="model.trnmod.swiadd.ameamt" v-model="model.swiadd.ameamt"
placeholder="请输入增减金额." placeholder="请输入增减金额."
></c-input-currency-min> ></c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="修改后金额" prop="trnmod.swiadd.newcur"> <el-form-item label="修改后金额" prop="swiadd.newcur">
<c-input <c-input
v-model="model.trnmod.swiadd.newcur" v-model="model.swiadd.newcur"
style="width: 100%" style="width: 100%"
placeholder="请选择修改后金额" placeholder="请选择修改后金额"
disabled disabled
...@@ -110,36 +110,36 @@ ...@@ -110,36 +110,36 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" prop="trnmod.swiadd.newamt"> <el-form-item label="" prop="swiadd.newamt">
<c-input-currency-min <c-input-currency-min
v-model="model.trnmod.swiadd.newamt" v-model="model.swiadd.newamt"
placeholder="请输入修改后金额" placeholder="请输入修改后金额"
></c-input-currency-min> ></c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="新的上浮比例" prop="trnmod.swiadd.newnomtop"> <el-form-item label="新的上浮比例" prop="swiadd.newnomtop">
<c-input <c-input
v-model.number="model.trnmod.swiadd.newnomtop" v-model.number="model.swiadd.newnomtop"
placeholder="请输入新的上浮比例" placeholder="请输入新的上浮比例"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="新的下浮比例" prop="trnmod.swiadd.newnomton"> <el-form-item label="新的下浮比例" prop="swiadd.newnomton">
<c-input <c-input
v-model.number="model.trnmod.swiadd.newnomton" v-model.number="model.swiadd.newnomton"
placeholder="请输入新的下浮比例" 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="trnmod.swiadd.nomspc"> <el-form-item label="限额表述" prop="swiadd.nomspc">
<c-select <c-select
disabled disabled
:code="codes.nomspc" :code="codes.nomspc"
v-model="model.trnmod.swiadd.nomspc" v-model="model.swiadd.nomspc"
style="width: 100%" style="width: 100%"
placeholder="请选择限额表述" placeholder="请选择限额表述"
> >
...@@ -159,19 +159,19 @@ ...@@ -159,19 +159,19 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="(新)生效日期" prop="trnmod.swiadd.newexpdat"> <el-form-item label="(新)生效日期" prop="swiadd.newexpdat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.trnmod.swiadd.newexpdat" v-model="model.swiadd.newexpdat"
style="width: 100%" style="width: 100%"
placeholder="请选择新生效日期" placeholder="请选择新生效日期"
></c-date-picker> ></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="trnmod.swiadd.purpos"> <el-form-item label="信息目的" prop="swiadd.purpos">
<c-select <c-select
v-model="model.trnmod.swiadd.purpos" v-model="model.swiadd.purpos"
style="width: 100%" style="width: 100%"
placeholder="请选择信息目的" placeholder="请选择信息目的"
:code="codes.purpos5" :code="codes.purpos5"
...@@ -207,9 +207,9 @@ ...@@ -207,9 +207,9 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="费用承担人修改" prop="trnmod.swiadd.trnchato"> <el-form-item label="费用承担人修改" prop="swiadd.trnchato">
<c-select <c-select
v-model="model.trnmod.swiadd.trnchato" v-model="model.swiadd.trnchato"
style="width: 100%" style="width: 100%"
placeholder="请选择费用承担人修改" placeholder="请选择费用承担人修改"
:code="codes.trnchato1" :code="codes.trnchato1"
...@@ -218,14 +218,14 @@ ...@@ -218,14 +218,14 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="收费详情" prop="trnmod.swiadd.trnfeetxt"> <el-form-item label="收费详情" prop="swiadd.trnfeetxt">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.trnmod.swiadd.trnfeetxt" v-model="model.swiadd.trnfeetxt"
maxlength="210" maxlength="210"
show-word-limit show-word-limit
placeholder="请输入收费详情" placeholder="请输入收费详情"
:disabled="model.trnmod.swiadd.trnchato != 'OTHR'" :disabled="model.swiadd.trnchato != 'OTHR'"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -244,9 +244,9 @@ ...@@ -244,9 +244,9 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="修改次数" prop="trnmod.swiadd.amenbr"> <el-form-item label="修改次数" prop="swiadd.amenbr">
<c-input <c-input
v-model.number="model.trnmod.swiadd.amenbr" v-model.number="model.swiadd.amenbr"
placeholder="请输入修改次数" placeholder="请输入修改次数"
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -335,10 +335,10 @@ ...@@ -335,10 +335,10 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="装运日期(新)" prop="trnmod.swiadd.newshpdat"> <el-form-item label="装运日期(新)" prop="swiadd.newshpdat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.trnmod.swiadd.newshpdat" v-model="model.swiadd.newshpdat"
style="width: 100%" style="width: 100%"
placeholder="请选择新装运日" placeholder="请选择新装运日"
></c-date-picker> ></c-date-picker>
...@@ -346,9 +346,9 @@ ...@@ -346,9 +346,9 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="交单期限(新)" prop="trnmod.swiadd.prepers18"> <el-form-item label="交单期限(新)" prop="swiadd.prepers18">
<c-input <c-input
v-model.number="model.trnmod.swiadd.prepers18" v-model.number="model.swiadd.prepers18"
placeholder="请输入交单期限(新)" placeholder="请输入交单期限(新)"
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -358,9 +358,9 @@ ...@@ -358,9 +358,9 @@
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="交单期限描述" prop="trnmod.swiadd.prepertxts18"> <el-form-item label="交单期限描述" prop="swiadd.prepertxts18">
<c-input <c-input
v-model="model.trnmod.swiadd.prepertxts18" v-model="model.swiadd.prepertxts18"
maxlength="35" maxlength="35"
placeholder="请输入交单期限描述" placeholder="请输入交单期限描述"
></c-input> ></c-input>
...@@ -388,19 +388,19 @@ ...@@ -388,19 +388,19 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="附加金额" prop="trnmod.swiadd.addamt"> <el-form-item label="附加金额" prop="swiadd.addamt">
<c-input-currency <c-input-currency
:disabled="!(this.model.litp.aamp.aammod.addamtflg == 'X')" :disabled="!(this.model.litp.aamp.aammod.addamtflg == 'X')"
v-model="model.trnmod.swiadd.addamt" v-model="model.swiadd.addamt"
placeholder="请输入附加金额" placeholder="请输入附加金额"
></c-input-currency> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="附加金额覆盖" prop="trnmod.swiadd.addamtcov"> <el-form-item label="附加金额覆盖" prop="swiadd.addamtcov">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.trnmod.swiadd.addamtcov" v-model="model.swiadd.addamtcov"
maxlength="140" maxlength="140"
show-word-limit show-word-limit
placeholder="请输入附加金额" placeholder="请输入附加金额"
...@@ -409,10 +409,10 @@ ...@@ -409,10 +409,10 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label=" " prop="trnmod.swiadd.reqcan"> <el-form-item label=" " prop="swiadd.reqcan">
<c-checkbox <c-checkbox
class="checkbox-left" class="checkbox-left"
v-model="model.trnmod.swiadd.reqcan" v-model="model.swiadd.reqcan"
>取消请求</c-checkbox >取消请求</c-checkbox
> >
</el-form-item> </el-form-item>
......
...@@ -15,11 +15,11 @@ ...@@ -15,11 +15,11 @@
<el-col :span="12" style="padding-left: 20px;"> <el-col :span="12" style="padding-left: 20px;">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="叙述内容" prop="trnmod.swiadd.nartxt"> <el-form-item label="叙述内容" prop="swiadd.nartxt">
<c-input <c-input
disabled disabled
type="textarea" type="textarea"
v-model="model.trnmod.swiadd.nartxt" v-model="model.swiadd.nartxt"
maxlength="1750" maxlength="1750"
show-word-limit show-word-limit
:rows="12" :rows="12"
......
...@@ -35,9 +35,9 @@ ...@@ -35,9 +35,9 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="客户经理" prop="litp.usr.extkey"> <el-form-item label="客户经理" prop="lidgrp.rec.ownusr">
<c-fullbox> <c-fullbox>
<c-input disabled v-model="model.litp.usr.extkey" maxlength="8" placeholder="请输入客户经理"></c-input> <c-input disabled v-model="model.lidgrp.rec.ownusr" maxlength="8" placeholder="请输入客户经理"></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
size="small" size="small"
......
...@@ -58,7 +58,6 @@ ...@@ -58,7 +58,6 @@
<m-setmod <m-setmod
:model="model" :model="model"
:codes="codes" :codes="codes"
@changeSetmodModel="changeSetmodModel"
/> />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -106,13 +105,6 @@ ...@@ -106,13 +105,6 @@
@select-ety="selectGridEtyPromptData" @select-ety="selectGridEtyPromptData"
> >
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectGridEtyPromptData"
>
</c-grid-ety-prompt-dialog>
</c-page> </c-page>
</div> </div>
</template> </template>
......
...@@ -66,7 +66,7 @@ export default { ...@@ -66,7 +66,7 @@ export default {
let engpRequest = buildFn.buildEngp(this.model, this.trnName); let engpRequest = buildFn.buildEngp(this.model, this.trnName);
this.processLiaall(engpRequest); this.processLiaall(engpRequest);
break; break;
case 'setpan': case 'setmod':
let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName); let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName);
// 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值 // 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值
this.processSetpan(setfegRequest, () => { this.processSetpan(setfegRequest, () => {
...@@ -98,17 +98,17 @@ export default { ...@@ -98,17 +98,17 @@ export default {
console.log(key); console.log(key);
}, },
// 业务信息=》基本信息=》保函编号-----获取保函编号 // 业务信息=》基本信息=》保函编号-----获取保函编号
async queryOwnref() { async getBrdgrpOwnRef() {
let params = { let params = {
ptainr: this.model.gidgrp.apl.pts.ptainr, lidgrp:{
businessType: 'LC', rec: this.model.lidgrp.rec,
tbl: 'LC', }
}; };
const loading = this.loading(); const loading = this.loading();
let res = await Api.post('/service/litdck/getOwnRef', params); let res = await Api.post('/service/litdck/getBrdgrpOwnRef', params);
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
loading.close(); loading.close();
this.model.gidgrp.rec.ownref = res.data; this.model.brdgrp.rec.ownref = res.data;
} }
}, },
// 获取gitopn弹框表格数据 // 获取gitopn弹框表格数据
......
...@@ -184,6 +184,7 @@ ...@@ -184,6 +184,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
@click="getBrdgrpOwnRef"
:disabled="model.brdgrp.rec.ownref !== ''" :disabled="model.brdgrp.rec.ownref !== ''"
> >
获取 获取
...@@ -562,6 +563,7 @@ ...@@ -562,6 +563,7 @@
</template> </template>
<script> <script>
import event from '../event'; import event from '../event';
import Api from '~/service/Api';
export default { export default {
inject: ['root'], inject: ['root'],
......
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