Commit f898480e by 潘际乾
parents e84e53b0 6b7c1102
<template>
<div class="eContainer-table-block">
<el-table :data="tableData.slice((currentPage - 1) * pageSize, currentPage * pageSize)" style="width: 100%" class="eContainer-table" :header-cell-style="{background: 'eef1f6', color: '#606266'}">
<el-table-column
v-for="(item, key) in tableColumns"
:key="key"
:prop="item.prop"
:label="item.label"
:width="item.width"
></el-table-column>
<slot></slot>
</el-table>
<el-pagination
class="eContainer-pagination"
layout="prev, pager, next, jumper"
:page-sizes="pageSizes"
:page-size="pageSize"
:current-page="currentPage"
:total="tableData.length"
@size-change="sizeChange"
@current-change="currentChange"
></el-pagination>
<div class="paginationLable">当前显示第 {{(currentPage - 1) * pageSize + 1}}-{{currentPage * pageSize > tableData.length ? tableData.length : currentPage * pageSize}} 条,共 {{tableData.length}}</div>
</div>
</template>
<script>
export default {
props: {
columns: {
type: Array,
default: () => {
return [];
},
},
list: {
type: Array,
default: () => {
return [];
},
},
column: {
default: () => {
return [];
},
}
},
computed: {
tableColumns() {
const arr = [];
for (let i = 0; i < this.columns.length; i++) {
const vals = this.columns[i].split(" ")
arr.push({
prop: vals[0],
label: vals[1],
width: "auto",
});
this.column.push(vals[0]);
}
return arr;
},
tableData() {
const temp = this.column;
const res = [];
return this.list.map((row) => {
const res = {}
for (let i = 0; i < temp.length; i++) {
res[temp[i]] = row[temp[i]];
}
return res;
});
},
},
data() {
return {
currentPage: 1,
pageSizes: [5, 10, 20, 30, 40, 50, 100],
pageSize: 5
};
},
methods: {
sizeChange(size) {
this.pageSize = size;
},
currentChange(currentPage) {
this.currentPage = currentPage;
}
}
};
</script>
<style>
.eContainer-table-block .paginationLable{
font-size: 12px;
color: #808080;
height: 26px;
line-height: 26px;
float:right;
margin-top:20px;
}
.eContainer-table-block .el-table__body-wrapper {
overflow: auto;
}
.el-table .warning-row {
background: oldlace;
}
.el-table .success-row {
background: #f0f9eb;
}
</style>
\ No newline at end of file
......@@ -10,6 +10,7 @@ import DatePicker from './DatePicker.vue'
import Checkbox from './Checkbox.vue'
import Table from "./Table"
import IStreamTable from "./IStreamTable.vue"
import IStreamTableDocpan from "./IStreamTableDocpan.vue"
import Radio from "./Radio"
import InputNumber from "./InputNumber"
import PrintButton from "./PrintButton"
......@@ -49,6 +50,7 @@ export default {
Vue.component("c-UnicodePicker", UnicodePicker)
Vue.component("c-table", Table)
Vue.component("c-istream-table", IStreamTable)
Vue.component("c-istream-table-docpan", IStreamTableDocpan)
Vue.component("c-radio", Radio)
Vue.component("c-input-number", InputNumber)
Vue.component("c-print-button", PrintButton)
......
......@@ -51,8 +51,7 @@ export default {
if(!inr)
return
let data =await Api.post("display/"+inr)
Utils.copyValueFromVO(this.model,data.data)
console.log(data)
Utils.copyValueFromVO(this.model,JSON.parse(data.data))
}
}
}
\ No newline at end of file
......@@ -35,7 +35,7 @@ export default {
for (let j = 0; j < this.checkRules[key].length; j++) {
const check = this.checkRules[key][j];
rule.push({
validator: check
validator: check.bind(this)
})
}
}
......
......@@ -99,7 +99,7 @@ export default {
"ditp.rmbp.ptsget.sdamod.dadsnd": [checkDitpRmbpPtsgetSdamodDadsndN100,],
"didgrp.ben.pts.extact": [checkDidgrpBenPtsExtactN1001,],
"didgrp.blk.adlcnd": [checkDidgrpBlkAdlcndN100, checkDidgrpBlkAdlcndN100,],
"litameadv": [checkLitameadvN100,],
"litameadv": [checkLitameadvN100,ruleLitameadvN100,],
"liaall.liaccv.relcshpct": [checkLiaallLiaccvRelcshpctN100,],
}
/**
......@@ -144,7 +144,7 @@ function checkDidgrpAplPtsYouzbmN100() {
*/
function checkAmeadvrmkN100() {
const that = this;
that.exeuteCheck("litameadv").then(res => {
that.exeuteCheck("ameadvrmk").then(res => {
})
}
/**
......@@ -858,6 +858,10 @@ function checkDidgrpBlkAdlcndN100() {
*
*/
function checkLitameadvN100() {
const that = this;
that.exeuteCheck("litameadv").then(res => {
})
}
/**
* source:liaccv.@0024.script
......@@ -865,3 +869,10 @@ function checkLitameadvN100() {
*/
function checkLiaallLiaccvRelcshpctN100() {
}
function ruleLitameadvN100() {
const that = this;
that.executeRule("litameadv").then(res => {
})
}
......@@ -154,6 +154,10 @@ function defaultDidgrpRecBdflg() {
function defaultDitpLcrgodButtxmsel() {
}
function defaultDidgrpRecOpndat() {
const that = this;
that.executeDefault("didgrp.rec.opndat").then(res => {
that.model.didgrp.rec.opndat = res.data.didgrp_rec_opndat
})
}
function defaultLiaallLimmodWrkpDet() {
}
......@@ -166,6 +170,10 @@ function defaultDitpButgetref() {
function defaultDidgrpBenPtsExtkey() {
}
function defaultDidgrpBlkLcrdoc() {
const that = this;
that.executeDefault("didgrp.blk.lcrdoc").then(res => {
that.model.didgrp.blk.lcrdoc = res.data.didgrp_blk_lcrdoc;
})
}
function defaultDitpRmbpPtsgetSdamodDadsnd() {
}
......@@ -176,10 +184,7 @@ function defaultLitameadv() {
})
}
function defaultDidgrpBlkAdlcnd() {
const that = this;
that.executeDefault("didgrp.blk.adlcnd").then(res => {
that.model.didgrp.blk.adlcnd = res.data.didgrp_blk_adlcnd;
})
}
function defaultDidgrpAplPtsRef() {
}
......
......@@ -313,4 +313,12 @@ export default {
onSeainf() {
},
handleDisplay(index, row){
console.log(index);
console.log(row);
},
handleDetail(index, row){
console.log(index);
console.log(row);
},
}
\ No newline at end of file
......@@ -101,18 +101,18 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"didgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"didgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"didgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"didgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"ditp.benp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
......@@ -186,7 +186,7 @@ export default {
{max: 2,message:"长度不能超过2"}
],
"didgrp.rec.revdat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
......@@ -201,22 +201,22 @@ export default {
"didgrp.blk.lcrgod":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 1430,message:"长度不能超过1430"}
],
"didgrp.blk.lcrdoc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 1950,message:"长度不能超过1950"}
],
"didgrp.blk.adlcnd":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 390,message:"长度不能超过390"}
],
"didgrp.blk.insbnk":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 1430,message:"长度不能超过1430"}
],
......@@ -269,7 +269,7 @@ export default {
],
"didgrp.rec.autdat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
......@@ -624,7 +624,7 @@ export default {
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
......
......@@ -250,6 +250,7 @@ export default class Ditopn{
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doceot:[],
},
},
mtabut:{
......
......@@ -19,10 +19,10 @@ export default {
"inidatfro":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"inidattil":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
......
......@@ -22,10 +22,10 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"trncorco.inidatfro":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"trncorco.inidattil":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"atptxt":[
......@@ -130,7 +130,7 @@ export default {
{max: 8,message:"长度不能超过8"}
],
"trn.exedat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"recpan.cretrs.usr":[
......
......@@ -3,7 +3,7 @@
<el-col :span="24">
<el-form-item label="货物/服务名称">
<el-form-item label="货物/服务名称" prop="godnam">
<c-input v-model="model.godnam" maxlength="40" style="width:80%" placeholder="货物服务名称"></c-input>
</el-form-item>
</el-col>
......@@ -11,16 +11,16 @@
<el-col :span="24">
<el-form-item label="特殊规定">
<c-select v-model="model.litameadv" style="width:80%" placeholder="请选择特殊规定">
</c-select>
<el-form-item label="特殊规定" prop="litameadv">
<c-select v-model="model.litameadv" style="width:80%" placeholder="请选择特殊规定">
</c-select>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="">
<el-form-item label="" prop="ameadvrmk">
<c-input type="textarea" v-model="model.ameadvrmk" maxlength="34" style="width:80%" show-word-limit placeholder="请输入特殊规定条件" ></c-input>
</el-form-item>
</el-col>
......@@ -28,7 +28,7 @@
<el-col :span="24">
<el-form-item label="开证行">
<el-form-item label="开证行" prop="bchname">
<c-input v-model="model.bchname" maxlength="40" style="width:80%" placeholder="请输入branch name"></c-input>
</el-form-item>
</el-col>
......
......@@ -8,7 +8,7 @@
</el-col>
-->
<el-col :span="12">
<el-form-item label="合同金额">
<el-form-item label="合同金额" prop="liaall.liaccv.newamt">
<el-row>
<el-col :span="8">
<c-input type="text" :disable="true" value="CNY"></c-input>
......@@ -32,7 +32,7 @@
</el-col>
-->
<el-col :span="12">
<el-form-item label="保证金应收比例">
<el-form-item label="保证金应收比例" prop="liaall.liaccv.cshpct">
<el-row>
<el-col :span="8">
<c-input v-model="model.liaall.liaccv.cshpct"></c-input>
......@@ -52,7 +52,7 @@
</el-col>
-->
<el-col :span="12">
<el-form-item label="Reserved Amount">
<el-form-item label="Reserved Amount" prop="liaall.liaccv.newresamt">
<el-row>
<el-col :span="8">
<c-input type="text" :disable="true" value="CNY"></c-input>
......@@ -71,7 +71,7 @@
</el-col>
-->
<el-col :span="12">
<el-form-item label="保证金实收比例">
<el-form-item label="保证金实收比例" prop="liaall.misamt">
<el-row>
<el-col :span="8">
<c-input v-model="model.liaall.misamt"></c-input>
......@@ -100,7 +100,7 @@
-->
<el-col :span="12">
<el-form-item label="应付保证金金额">
<el-form-item label="应付保证金金额" prop="liaall.liaccv.concur">
<el-row>
<el-col :span="8">
<c-input type="text" :disable="true" value="CNY"></c-input>
......@@ -191,7 +191,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="金额总和">
<el-form-item label="Amount Covered">
<el-row>
<el-col :span="8">
<c-input type="text" :disable="true" value="CNY"></c-input>
......
......@@ -8,13 +8,13 @@
-->
<el-col :span="24">
<el-col :span="12">
<el-form-item label="General">
<el-form-item label="General" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Display Type">
<el-form-item label="Display Type" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:50%" placeholder="请选择Infotext Level">
<el-option v-for="item in codes.inflev" :key="item.value" :label="item.label"
:value="item.value">
......@@ -26,13 +26,13 @@
<el-col :span="24">
<el-col :span="12">
<el-form-item label="Settlement">
<el-form-item label="Settlement" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Display Type">
<el-form-item label="Display Type" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:50%" placeholder="请选择Infotext Level">
<el-option v-for="item in codes.inflev" :key="item.value" :label="item.label"
:value="item.value">
......@@ -44,13 +44,13 @@
<el-col :span="12">
<el-form-item label="执行日期">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<el-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:40%" placeholder="请选择执行日期"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Send for Release to">
<el-form-item label="Send for Release to" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" style="width:40%" disabled="disabled" placeholder="请输入User ID"></c-input>
</el-form-item>
</el-col>
......
......@@ -6,7 +6,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="信用证兑付方式">
<el-form-item label="信用证兑付方式" prop="didgrp.rec.avbby">
<c-select v-model="model.didgrp.rec.avbby" style="width:100%" placeholder="请选择">
<el-option v-for="item in codes.avbby" :key="item.value" :label="item.label" :value="item.value">
</el-option>
......@@ -15,7 +15,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="分批装运货物">
<el-form-item label="分批装运货物" prop="didgrp.rec.shppar">
<c-select v-model="model.didgrp.rec.shppar" style="width:100%" placeholder="请选择">
<el-option v-for="item in codes.shppar" :key="item.value" :label="item.label" :value="item.value">
</el-option>
......@@ -24,20 +24,20 @@
</el-col>
<el-col :span="12">
<el-form-item label="付款期限">
<el-form-item label="付款期限" prop="didgrp.rec.tenmaxday">
<c-input v-model="model.didgrp.rec.tenmaxday" placeholder="请输入"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="分期装运/提供服务">
<el-form-item label="分期装运/提供服务" prop="didgrp.rec.fqzytgfw">
<c-select v-model="model.didgrp.rec.fqzytgfw" style="width:100%" placeholder="请选择">
</c-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="远期付款指示">
<el-form-item label="远期付款指示" prop="didgrp.blk.defdet">
<c-input type="textarea" v-model="model.didgrp.blk.defdet" style="width:70%;margin-right:20px;" maxlength="35" show-word-limit placeholder="请输入"></c-input>
<c-button size="small" type="primary" icon="el-icon-search" @click="onDefdetButtxmsel">
...
......@@ -46,13 +46,13 @@
</el-col>
<el-col :span="12">
<el-form-item label="分期装运/提供服务约定">
<el-form-item label="分期装运/提供服务约定" prop="didgrp.rec.fqtime">
<c-input type="textarea" v-model="model.didgrp.rec.fqtime" maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="交单期限">
<el-form-item label="交单期限" prop="didgrp.blk.preper">
<c-input type="textarea" v-model="model.didgrp.blk.preper" style="width:70%;margin-right:20px;" maxlength="35" show-word-limit placeholder="请输入"></c-input>
<c-button size="small" type="primary" icon="el-icon-search" @click="onPreperButtxmsel">
...
......@@ -61,20 +61,20 @@
</el-col>
<el-col :span="12">
<el-form-item label="转运">
<el-form-item label="转运" prop="didgrp.rec.shptrs">
<c-select v-model="model.didgrp.rec.shptrs" style="width:100%" placeholder="请选择">
</c-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="">
<el-form-item label="" prop="didgrp.blk.preperflg">
<c-checkbox v-model="model.didgrp.blk.preperflg">修改交单期限文本</c-checkbox>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="运输方式/服务方式">
<el-form-item label="运输方式/服务方式" prop="didgrp.rec.tratyp">
<c-select v-model="model.didgrp.rec.tratyp" style="width:100%" placeholder="请选择">
<el-option v-for="item in codes.tratyp" :key="item.value" :label="item.label"
:value="item.value">
......@@ -84,45 +84,45 @@
</el-col>
<el-col :span="12">
<el-form-item label="货物转运地">
<el-form-item label="货物转运地" prop="didgrp.rec.shpfro">
<c-input type="textarea" v-model="model.didgrp.rec.shpfro" maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="货物目的地/交货地(港)">
<el-form-item label="货物目的地/交货地(港)" prop="didgrp.rec.shpto">
<c-input type="textarea" v-model="model.didgrp.rec.shpto" maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="手输运输方式">
<el-form-item label="手输运输方式" prop="didgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.didgrp.rec.sdsrfs" maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="服务提供地点">
<el-form-item label="服务提供地点" prop="didgrp.rec.shppro">
<c-input type="textarea" v-model="model.didgrp.rec.shppro" maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="合同编号">
<el-form-item label="合同编号" prop="didgrp.rec.conno">
<c-input v-model="model.didgrp.rec.conno" maxlength="35" placeholder="请输入"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="合同币种">
<el-form-item label="合同币种" prop="didgrp.rec.concur">
<c-select v-model="model.didgrp.rec.concur" style="width:100%" placeholder="请选择">
</c-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="合同金额">
<el-form-item label="合同金额" prop="didgrp.rec.conamt">
<c-input v-model="model.didgrp.rec.conamt" placeholder="请输入"></c-input>
</el-form-item>
</el-col>
......
......@@ -6,8 +6,22 @@
</el-form-item>
</el-col>
<el-col :span="24">
<c-table style="width:80%,text-align:center">
<c-istream-table-docpan :list="stmData.data" :columns="stmData.columns">
<el-table-column label="操作">
<template slot-scope="scope">
<el-button
size="mini"
@click="handleDisplay(scope.$index, scope.row)">显示</el-button>
<el-button
size="mini"
type="danger"
@click="handleDetail(scope.$index, scope.row)">明细</el-button>
</template>
</el-table-column>
</c-istream-table-docpan>
<!-- <el-col :span="24">
<c-table :list="model.trnmod.trndoc.doceot" style="width:80%,text-align:center">
<el-table-column
label="Role"
width="auto"
......@@ -19,12 +33,12 @@
>
</el-table-column>
<el-table-column
label="Medium"
label="CORTYP"
width="auto"
>
</el-table-column>
<el-table-column
label="Dispatch Type"
label="DOCSNF"
width="auto"
>
</el-table-column>
......@@ -64,7 +78,7 @@
>
</el-table-column>
</c-table>
</el-col>
</el-col> -->
<!--
......@@ -105,7 +119,18 @@ export default {
props:["model","codes"],
data(){
return {
stmData: {
columns: [
"role 收报人",
"pandsc 描述",
"cortyp 类型",
"docsnf 报文格式",
"docuil 语言",
"apf 传送方式"
],
data: [
]
}
}
},
methods:{...Event},
......
......@@ -35,7 +35,7 @@
-->
<el-col :span="10">
<el-form-item label="开证授信额度主体编号">
<el-form-item label="开证授信额度主体编号" prop="liaall.limmod.limpts.wrk.pts.extkey">
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</el-col>
......@@ -50,13 +50,13 @@
<el-col :span="12">
<el-form-item label="开证授信额度主体名称">
<el-form-item label="开证授信额度主体名称" prop="liaall.limmod.limpts.wrk.pts.nam">
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="额度类型">
<el-form-item label="额度类型" prop="liaall.limmod.limpts.nonrevflg1">
<c-select v-model="model.liaall.limmod.limpts.nonrevflg1" style="width:100%" placeholder="请选择Flag to Mark Non-revolving Limits">
<el-option v-for="item in codes.nonrevflg1" :key="item.value" :label="item.label"
:value="item.value">
......@@ -66,25 +66,25 @@
</el-col>
<el-col :span="12">
<el-form-item label="合同流水号">
<el-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod1">
<c-input v-model="model.liaall.limmod.limpts.pfcod1" maxlength="14" placeholder="请输入合同流�'号"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="业务编号">
<el-form-item label="业务编号" prop="liaall.limmod.ownref">
<c-input v-model="model.liaall.limmod.ownref" maxlength="16" placeholder="请输入国结业务编号"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="业务余额">
<el-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input v-model="model.liaall.limmod.comamt" placeholder="请输入业务余额"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="保证金余额">
<el-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input v-model="model.liaall.limmod.ccvamt" placeholder="请输入保证金余额"></c-input>
</el-form-item>
</el-col>
......
......@@ -2,25 +2,25 @@
<div class="eibs-tab">
<el-col :span="20">
<el-form-item label="MT799(79)受益人英文名称">
<el-form-item label="MT799(79)受益人英文名称" prop="ditp.bennam">
<c-input v-model="model.ditp.bennam" maxlength="100" ></c-input>
</el-form-item>
</el-col>
<el-col :span="20">
<el-form-item label="MT799(79)申请人英文名称">
<el-form-item label="MT799(79)申请人英文名称" prop="ditp.aplname">
<c-input v-model="model.ditp.aplname" maxlength="100"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="MT799(79)签名">
<el-form-item label="MT799(79)签名" prop="ditp.signam">
<c-input v-model="model.ditp.signam" maxlength="50" ></c-input>
</el-form-item>
</el-col>
<el-col :span="15">
<el-form-item label="MT799(79)备注" >
<el-form-item label="MT799(79)备注" prop="ditp.remark">
<c-input type="textarea" v-model="model.ditp.remark" maxlength="280" :rows="6" ></c-input>
</el-form-item>
</el-col>
......
......@@ -6,7 +6,7 @@
</el-col>
-->
<el-col :span="24">
<el-form-item label="货物描述">
<el-form-item label="货物/服务描述" prop="didgrp.blk.lcrgod">
<c-input type="textarea" v-model="model.didgrp.blk.lcrgod" style="width:70%;margin-right:20px;" maxlength="1430" show-word-limit placeholder="请输入Description of Goods" ></c-input>
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrgodButtxmsel">
...
......@@ -15,7 +15,7 @@
</el-col>
<el-col :span="24">
<el-form-item label="单据要求">
<el-form-item label="单据要求" prop="didgrp.blk.lcrdoc">
<c-input type="textarea" v-model="model.didgrp.blk.lcrdoc" maxlength="1950" style="width:70%;margin-right:20px;" show-word-limit placeholder="请输入单据要求" ></c-input>
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrdocButtxmsel">
...
......@@ -24,8 +24,8 @@
</el-col>
<el-col :span="24">
<el-form-item label="附加条款">
<c-input type="textarea" v-model="model.didgrp.blk.adlcnd" style="width:70%;margin-right:20px;" maxlength="390" show-word-limit placeholder="请输入附加条款" ></c-input>
<el-form-item label="附加条款" prop="didgrp.blk.adlcnd">
<c-input type="textarea" :autosize="{ minRows: 4, maxRows: 8}" v-model="model.didgrp.blk.adlcnd" style="width:70%;margin-right:20px;" maxlength="390" show-word-limit placeholder="请输入附加条款" ></c-input>
<c-button size="small" type="primary" icon="el-icon-search" @click="onAdlcndButtxmsel">
...
</c-button>
......@@ -33,8 +33,8 @@
</el-col>
<el-col :span="24">
<el-form-item label="给付款、承兑、议付行的指示">
<c-input type="textarea" v-model="model.didgrp.blk.insbnk" style="width:70%;margin-right:20px;" maxlength="1430" show-word-limit placeholder="请输入付行的指示" ></c-input>
<el-form-item label="其他条款" prop="didgrp.blk.insbnk">
<c-input type="textarea" :autosize="{ minRows: 4, maxRows: 8}" v-model="model.didgrp.blk.insbnk" style="width:70%;margin-right:20px;" maxlength="1430" show-word-limit placeholder="请输入付行的指示" ></c-input>
<c-button size="small" type="primary" icon="el-icon-search" @click="onInsbnkButtxmsel">
...
</c-button>
......@@ -42,7 +42,7 @@
</el-col>
<el-col :span="24">
<el-form-item label="">
<el-form-item label="" prop="didgrp.rec.redclsflg">
<c-checkbox v-model="model.didgrp.rec.redclsflg">红/绿条款</c-checkbox>
</el-form-item>
</el-col>
......
......@@ -71,7 +71,7 @@
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="面函">
<m-docpan :model="model" :codes="codes"/>
<m-docpan :model="model" :codes="codes" ref="docpan"/>
</el-tab-pane>
<el-tab-pane label="MT799">
......@@ -189,6 +189,7 @@ export default {
this.executeRule("trnmod.trndoc.docpan").then(res => {
const data = res.data;
Utils.copyValueFromVO(this.model, data)
this.$refs.docpan.stmData.data = res.data.trnmod_trndoc_doceot
})
}
}
......@@ -199,7 +200,9 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//更新数据
console.log(rtnmsg)
Utils.copyValueFromVO(this.model,rtnmsg.data)
console.log(this.model);
}
else
{
......
......@@ -42,13 +42,13 @@
-->
<el-col :span="12">
<el-form-item label="Reference">
<el-form-item label="Reference" prop="selobj">
<c-input v-model="model.selobj" maxlength="32" placeholder="请输入Reference"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Name">
<el-form-item label="Name" prop="seltxt">
<c-input v-model="model.seltxt" maxlength="32" placeholder="请输入Selection Name"></c-input>
</el-form-item>
</el-col>
......@@ -60,7 +60,7 @@
-->
<el-col :span="12">
<el-form-item label="Selection of Users">
<el-form-item label="Selection of Users" prop="usfmod.flt">
<c-select v-model="model.usfmod.flt" style="width:60%" placeholder="请选择User">
</c-select>
<c-button size="small" type="primary" style="width:30%" @click="onUsfmodShwflt">
......@@ -79,7 +79,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="国内国际证标志">
<el-form-item label="国内国际证标志" prop="dflg">
<c-select v-model="model.dflg" style="width:100%" placeholder="请选择国内国际标志">
<el-option label="All" value="1"></el-option>
<el-option label="国内业务" value="2"></el-option>
......@@ -146,7 +146,7 @@
<el-col :span="24">
<el-col :span="12">
<el-form-item label="退回原因">
<el-form-item label="退回原因" prop="yptinf">
<c-input v-model="model.yptinf" maxlength="60" placeholder="请输入退回原因"></c-input>
</el-form-item>
</el-col>
......
......@@ -2,20 +2,20 @@
<div class="eibs-tab">
<el-col :span="12">
<el-form-item label="Branch">
<el-form-item label="Branch" prop="bchcon">
<c-select v-model="model.bchcon" style="width:100%" placeholder="请选择Branch">
</c-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Reference">
<el-form-item label="Reference" prop="trncorco.ownref">
<c-input v-model="model.trncorco.ownref" maxlength="16" placeholder="请输入Reference"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Status">
<el-form-item label="Status" prop="trncorco.relflg">
<c-select v-model="model.trncorco.relflg" style="width:100%" placeholder="请选择Status">
<el-option v-for="item in codes.relflg" :key="item.value" :label="item.label"
:value="item.value">
......@@ -25,7 +25,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="User">
<el-form-item label="User" prop="usrcon">
<c-select v-model="model.usrcon" style="width:100%" placeholder="请选择User">
</c-select>
</el-form-item>
......@@ -55,7 +55,7 @@
</el-col> -->
<el-col :span="12">
<el-form-item label="Transaction Type ">
<el-form-item label="Transaction Type " prop="atp.cod">
<c-input v-model="model.atp.cod" maxlength="6" style="width:50%" placeholder="请输入Transaction Type "></c-input>
<!-- <c-input v-model="model.atpget.sdamod.seainf" style="width:10%" placeholder="i"></c-input> -->
<c-button size="small" type="primary;width:10%" @click="onSeainf">i</c-button>
......@@ -63,7 +63,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="信用证标志">
<el-form-item label="信用证标志" prop="trncorco.dflg">
<c-select v-model="model.trncorco.dflg" style="width:100%" placeholder="请选择信用证标志">
<el-option v-for="item in codes.dflg" :key="item.value" :label="item.label"
:value="item.value">
......@@ -73,7 +73,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="Transaction Text">
<el-form-item label="Transaction Text" prop="atptxt">
<c-input v-model="model.atptxt" maxlength="37" placeholder="请输入Transaction Text"></c-input>
</el-form-item>
</el-col>
......
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