Commit 234fbb39 by xionglin

litdla

parent 6ab1e9fe
......@@ -35,7 +35,7 @@ export default {
brdgrp:{
rec:{
// inr:this.$route.query.inr
inr:'00000032'
inr:'00000045'
}
}
});
......
......@@ -39,9 +39,10 @@ export default {
return
}
this.copyValueFromVoData(this.model, res.data)
this.copyValueFromVoData(this.model.setmod.setfeg, res.data.setfeg)
this.copyValueFromVoData(this.model.setmod.setfog, res.data.setfog)
this.copyValueFromVoData(this.model.setmod.setglg, res.data.setglg)
// this.copyValueFromVoData(this.model.setmod.setfeg, res.data.setfeg)
// this.copyValueFromVoData(this.model.setmod.setfog, res.data.setfog)
// this.copyValueFromVoData(this.model.setmod.setglg, res.data.setglg)
},
// 兼容处理在前端model中定义了字段,后端返回的数据中不存在字段的问题
copyValueFromVoData (model, data) {
......@@ -70,7 +71,7 @@ export default {
let engpRequest = buildFn.buildEngp(this.model, this.trnName);
this.processLiaall(engpRequest);
break;
case 'setpan':
case 'setmod':
let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName);
// 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值
this.processSetpan(setfegRequest, () => {
......@@ -182,21 +183,14 @@ export default {
}
);
},
async multipleSelect(selection) {
console.log(selection);
if (selection) {
let selIds = selection.map(x=>x+1);
let params = {selDst:"decstm",selIds}
const rtnmsg = await this.executeRule("decstm",params);
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
choose(row){
this.model.amenbr = row.srcStr.split('\t')[0]
this.model.amecur = row.srcStr.split('\t')[2]
this.model.reduceamt = row.srcStr.split('\t')[3]
this.model.amedat = row.srcStr.split('\t')[4]
this.model.ameflg = '接受'
},
open(val) {
if (val === "" && !(this.model.lidgrp.blk.adlcnd == "")) {
this.$confirm(
......
......@@ -313,6 +313,28 @@ export default class Litdla{
},
},
},
swiadd: {
trnchato: '',
newnomtop: '',
purpos: '',
amedat: '',
addamtcov: '',
newnomton: '',
prepers18: '',
amenbr: '',
nartxt: '',
addamt: '',
amecur: '',
newshpdat: '',
newamt: '',
newexpdat: '',
trnfeetxt: '',
ameamt: '',
newcur: '',
prepertxts18: '',
nomspc: '',
reqcan: ''
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
......
......@@ -10,7 +10,7 @@
<c-col :span="12">
<el-form-item label="信用证金额" prop="lidgrp.cbs.nom1.cur">
<c-input disabled v-model="model.lidgrp.cbs.nom1.cur" maxlength="3" placeholder="请选择">
<c-input disabled v-model="model.lidgrp.cbs.nom1.cur" maxlength="3" placeholder="请输入信用证金额">
</c-input>
</el-form-item>
</c-col>
......@@ -175,12 +175,19 @@
<el-col :span="23">
<c-istream-table
:list="model.decstm.rows || []"
:list="model.decstm.rows "
:columns="trnData.columns"
:showSelection="true"
v-on:multipleSelect="multipleSelect"
>
<el-table-column
prop="display"
label="操作"
width="100">
<template slot-scope="scope">
<button @click="choose(scope.row)">选择</button>
</template>
</el-table-column>
</c-istream-table>
</el-col>
</div>
......
......@@ -8,8 +8,8 @@
</c-col>
<c-col :span="24">
<el-form-item label="修改日期" prop="trnmod.swiadd.amedat">
<c-date-picker disabled type="date" v-model="model.trnmod.swiadd.amedat" style="width:100%" placeholder="请选择修改日期"></c-date-picker>
<el-form-item label="修改日期" prop="swiadd.amedat">
<c-date-picker disabled type="date" v-model="model.swiadd.amedat" style="width:100%" placeholder="请选择修改日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
......@@ -37,48 +37,48 @@
</c-col>
<c-col :span="12">
<el-form-item label="修改金额" prop="trnmod.swiadd.amecur">
<c-select disabled v-model="model.trnmod.swiadd.amecur" style="width:100%" placeholder="请选择增减金额">
<el-form-item label="修改金额" prop="swiadd.amecur">
<c-select disabled v-model="model.swiadd.amecur" style="width:100%" placeholder="请选择增减金额">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="增减金额" prop="trnmod.swiadd.ameamt">
<c-input-currency disabled v-model="model.trnmod.swiadd.ameamt" placeholder="请输入增减金额"></c-input-currency>
<el-form-item label="增减金额" prop="swiadd.ameamt">
<c-input-currency disabled v-model="model.swiadd.ameamt" placeholder="请输入增减金额"></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改后金额" prop="trnmod.swiadd.newcur">
<c-select disabled v-model="model.trnmod.swiadd.newcur" style="width:100%" placeholder="请选择修改后金额">
<el-form-item label="修改后金额" prop="swiadd.newcur">
<c-select disabled v-model="model.swiadd.newcur" style="width:100%" placeholder="请选择修改后金额">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改后金额" prop="trnmod.swiadd.newamt">
<c-input-currency disabled v-model="model.trnmod.swiadd.newamt" placeholder="请输入修改后金额"></c-input-currency>
<el-form-item label="修改后金额" prop="swiadd.newamt">
<c-input-currency disabled v-model="model.swiadd.newamt" placeholder="请输入修改后金额"></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="新的上浮比例" prop="trnmod.swiadd.newnomtop">
<c-input disabled v-model="model.trnmod.swiadd.newnomtop" placeholder="请输入新的上浮比例"></c-input>
<el-form-item label="新的上浮比例" prop="swiadd.newnomtop">
<c-input disabled v-model="model.swiadd.newnomtop" placeholder="请输入新的上浮比例"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="新的下浮比例" prop="trnmod.swiadd.newnomton">
<c-input disabled v-model="model.trnmod.swiadd.newnomton" placeholder="请输入新的下浮比例"></c-input>
<el-form-item label="新的下浮比例" prop="swiadd.newnomton">
<c-input disabled v-model="model.swiadd.newnomton" placeholder="请输入新的下浮比例"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="限额表述" prop="trnmod.swiadd.nomspc">
<el-form-item label="限额表述" prop="swiadd.nomspc">
<c-select
disabled
:code="codes.nomspc"
v-model="model.trnmod.swiadd.nomspc" style="width:100%" placeholder="请选择限额表述">
v-model="model.swiadd.nomspc" style="width:100%" placeholder="请选择限额表述">
</c-select>
</el-form-item>
</c-col>
......@@ -96,20 +96,20 @@
</c-col>
<c-col :span="12">
<el-form-item label="生效日期(新)" prop="trnmod.swiadd.newexpdat">
<c-date-picker disabled type="date" v-model="model.trnmod.swiadd.newexpdat" style="width:100%" placeholder="请选择新到期日"></c-date-picker>
<el-form-item label="生效日期(新)" prop="swiadd.newexpdat">
<c-date-picker disabled type="date" v-model="model.swiadd.newexpdat" style="width:100%" placeholder="请选择新到期日"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="装运日期(新)" prop="trnmod.swiadd.newshpdat">
<c-date-picker disabled type="date" v-model="model.trnmod.swiadd.newshpdat" style="width:100%" placeholder="请选择新装运日"></c-date-picker>
<el-form-item label="装运日期(新)" prop="swiadd.newshpdat">
<c-date-picker disabled type="date" v-model="model.swiadd.newshpdat" style="width:100%" placeholder="请选择新装运日"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="信息目的" prop="trnmod.swiadd.purpos">
<c-select disabled v-model="model.trnmod.swiadd.purpos" style="width:100%" placeholder="请选择信息目的" :code="codes.purpos5">
<el-form-item label="信息目的" prop="swiadd.purpos">
<c-select disabled v-model="model.swiadd.purpos" style="width:100%" placeholder="请选择信息目的" :code="codes.purpos5">
</c-select>
</el-form-item>
</c-col>
......@@ -127,15 +127,15 @@
</c-col>
<c-col :span="24">
<el-form-item label="收费方式(新)" prop="trnmod.swiadd.trnchato">
<c-select disabled v-model="model.trnmod.swiadd.trnchato" style="width:100%" placeholder="请选择收费方式">
<el-form-item label="收费方式(新)" prop="swiadd.trnchato">
<c-select disabled v-model="model.swiadd.trnchato" style="width:100%" placeholder="请选择收费方式">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收费详情" prop="trnmod.swiadd.trnfeetxt">
<c-input disabled type="textarea" v-model="model.trnmod.swiadd.trnfeetxt" maxlength="35" show-word-limit placeholder="请输入收费详情" ></c-input>
<el-form-item label="收费详情" prop="swiadd.trnfeetxt">
<c-input disabled type="textarea" v-model="model.swiadd.trnfeetxt" maxlength="35" show-word-limit placeholder="请输入收费详情" ></c-input>
</el-form-item>
</c-col>
</el-col>
......@@ -148,8 +148,8 @@
</c-col>
<c-col :span="12">
<el-form-item label="修改次数" prop="trnmod.swiadd.amenbr">
<c-input disabled v-model="model.trnmod.swiadd.amenbr" placeholder="请输入修改次数"></c-input>
<el-form-item label="修改次数" prop="swiadd.amenbr">
<c-input disabled v-model="model.swiadd.amenbr" placeholder="请输入修改次数"></c-input>
</el-form-item>
</c-col>
......@@ -197,8 +197,8 @@
</c-col>
<c-col :span="24">
<el-form-item label="交单期限(新)" prop="trnmod.swiadd.prepers18">
<c-input disabled v-model="model.trnmod.swiadd.prepers18" placeholder="请输入交单期限(新)"></c-input>
<el-form-item label="交单期限(新)" prop="swiadd.prepers18">
<c-input disabled v-model="model.swiadd.prepers18" placeholder="请输入交单期限(新)"></c-input>
</el-form-item>
</c-col>
......@@ -221,20 +221,20 @@
</c-col>
<c-col :span="12">
<el-form-item label="附加金额" prop="trnmod.swiadd.addamt">
<c-input-currency disabled v-model="model.trnmod.swiadd.addamt" placeholder="请输入附加金额"></c-input-currency>
<el-form-item label="附加金额" prop="swiadd.addamt">
<c-input-currency disabled v-model="model.swiadd.addamt" placeholder="请输入附加金额"></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="附加金额" prop="trnmod.swiadd.addamtcov">
<c-input disabled type="textarea" v-model="model.trnmod.swiadd.addamtcov" maxlength="35" show-word-limit placeholder="请输入附加金额 Covered" ></c-input>
<el-form-item label="附加金额" prop="swiadd.addamtcov">
<c-input disabled type="textarea" v-model="model.swiadd.addamtcov" maxlength="35" show-word-limit placeholder="请输入附加金额 Covered" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12" class="checkbox-left">
<el-form-item label=" " prop="trnmod.swiadd.reqcan" label-width="120px" style=" float:left;">
<c-checkbox disabled v-model="model.trnmod.swiadd.reqcan">取消请求</c-checkbox>
<el-form-item label=" " prop="swiadd.reqcan" label-width="120px" style=" float:left;">
<c-checkbox disabled v-model="model.swiadd.reqcan">取消请求</c-checkbox>
</el-form-item>
</c-col>
......
<template>
<ReviewWrapper>
<Brtlat></Brtlat>
</ReviewWrapper>
</template>
<script>
import Brtlat from '../business/brtlat/views';
import { ReviewWrapper} from "~/components/gj-common.min.js";
export default {
name: "ReviewBrtlat",
components: { ReviewWrapper, Brtlat },
created() {},
mounted() {},
}
</script>
\ No newline at end of file
......@@ -4,5 +4,6 @@ const Business = [
{ path: 'litdck', component: () => import('~/review/ReviewLitdck.vue'), name: 'litdck', meta: { title: '复核-Litdck' } },
{ path: 'litame', component: () => import('~/review/ReviewLitame.vue'), name: 'litame', meta: { title: '复核-Litame' } },
{ path: 'brtcan', component: () => import('~/review/ReviewBrtcan.vue'), name: 'brtcan', meta: { title: '复核-Brtcan' } },
{ path: 'brtlat', component: () => import('~/review/ReviewBrtlat.vue'), name: 'brtlat', meta: { title: '复核-Brtlat' } },
]
export default Business
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