Commit 3f60d0dc by liuxin

长度限制调整

parent 65b722dd
...@@ -43,7 +43,7 @@ async function defaultDflg() { ...@@ -43,7 +43,7 @@ async function defaultDflg() {
let rtnmsg = await Api.post("sptsel/default/dflg", Utils.flatObject(this.model)) let rtnmsg = await Api.post("sptsel/default/dflg", Utils.flatObject(this.model))
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "AAAAAA") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model = Utils.copyValueFromVO(this.model, rtnmsg.data); //this.model = Utils.copyValueFromVO(this.model, rtnmsg.data);
} }
else { else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
...@@ -53,7 +53,7 @@ async function defaultYptinf() { ...@@ -53,7 +53,7 @@ async function defaultYptinf() {
let rtnmsg = await Api.post("sptsel/default/yptinf", Utils.flatObject(this.model)) let rtnmsg = await Api.post("sptsel/default/yptinf", Utils.flatObject(this.model))
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "AAAAAA") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model = Utils.copyValueFromVO(this.model, rtnmsg.data); //this.model = Utils.copyValueFromVO(this.model, rtnmsg.data);
} }
else { else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
...@@ -65,7 +65,7 @@ async function defaultCheckbox() { ...@@ -65,7 +65,7 @@ async function defaultCheckbox() {
let rtnmsg = await Api.post("sptsel/default/sptstm", Utils.flatObject(this.model)) let rtnmsg = await Api.post("sptsel/default/sptstm", Utils.flatObject(this.model))
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "AAAAAA") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
//this.model = Utils.copyValueFromVO(this.model, rtnmsg.data); this.model.stmData.data = rtnmsg.data.sptstm.rows;
} }
else { else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
......
...@@ -177,7 +177,10 @@ ...@@ -177,7 +177,10 @@
<el-col :span="7"> <el-col :span="7">
<el-form-item label="信用证最大金额"> <el-form-item label="信用证最大金额">
<c-select v-model="model.didgrp.cbs.max.cur" style="width:100%" placeholder="请选择Currency"> <c-select v-model="model.didgrp.cbs.max.cur" style="width:100%" placeholder="请选择Currency">
</c-select> <el-option v-for="item in codes.cur" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
--> -->
<el-col :span="24"> <el-col :span="24">
<el-form-item label="货物描述"> <el-form-item label="货物描述">
<c-input type="textarea" v-model="model.didgrp.blk.lcrgod" style="width:70%;margin-right:20px;" maxlength="65" show-word-limit placeholder="请输入Description of Goods" ></c-input> <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"> <c-button size="small" type="primary" icon="el-icon-search" @click="onLcrgodButtxmsel">
... ...
</c-button> </c-button>
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<el-col :span="24"> <el-col :span="24">
<el-form-item label="单据要求"> <el-form-item label="单据要求">
<c-input type="textarea" v-model="model.didgrp.blk.lcrdoc" maxlength="65" style="width:70%;margin-right:20px;" show-word-limit placeholder="请输入单据要求" ></c-input> <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"> <c-button size="small" type="primary" icon="el-icon-search" @click="onLcrdocButtxmsel">
... ...
</c-button> </c-button>
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<el-col :span="24"> <el-col :span="24">
<el-form-item label="附加条款"> <el-form-item label="附加条款">
<c-input type="textarea" v-model="model.didgrp.blk.adlcnd" style="width:70%;margin-right:20px;" maxlength="65" show-word-limit placeholder="请输入附加条款" ></c-input> <c-input type="textarea" 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 size="small" type="primary" icon="el-icon-search" @click="onAdlcndButtxmsel">
... ...
</c-button> </c-button>
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
<el-col :span="24"> <el-col :span="24">
<el-form-item label="给付款、承兑、议付行的指示"> <el-form-item label="给付款、承兑、议付行的指示">
<c-input type="textarea" v-model="model.didgrp.blk.insbnk" style="width:70%;margin-right:20px;" maxlength="65" show-word-limit placeholder="请输入付行的指示" ></c-input> <c-input type="textarea" 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 size="small" type="primary" icon="el-icon-search" @click="onInsbnkButtxmsel">
... ...
</c-button> </c-button>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-col :span="24" style="text-align:center;margin-bottom: 18px;"> <el-col :span="24" style="text-align:center;margin-bottom: 18px;">
<c-checkbox v-model="model.chkinc">Incoming</c-checkbox> <c-checkbox v-model="model.chkinc">Incoming</c-checkbox>
<c-checkbox v-model="model.chkpen">Pending</c-checkbox> <c-checkbox v-model="model.chkpen">Pending</c-checkbox>
<c-checkbox v-model="model.chkcor">Correction</c-checkbox> <c-checkbox v-model="model.chkcor">Correction</c-checkbox>
<c-checkbox v-model="model.chkaut">Automatic</c-checkbox> <c-checkbox v-model="model.chkaut">Automatic</c-checkbox>
<c-checkbox v-model="model.chkdel">Deleted</c-checkbox> <c-checkbox v-model="model.chkdel">Deleted</c-checkbox>
<c-checkbox v-model="model.chktco">网银</c-checkbox> <c-checkbox v-model="model.chktco">网银</c-checkbox>
<c-checkbox v-model="model.chkcan">归档</c-checkbox> <c-checkbox v-model="model.chkcan">归档</c-checkbox>
</el-col> </el-col>
<!-- <!--
<el-col :span="12"> <el-col :span="12">
<c-checkbox v-model="model.chkdzt">E-Trade</c-checkbox> <c-checkbox v-model="model.chkdzt">E-Trade</c-checkbox>
</el-col> </el-col>
...@@ -40,58 +40,55 @@ ...@@ -40,58 +40,55 @@
<c-checkbox v-model="model.chkcan">归档</c-checkbox> <c-checkbox v-model="model.chkcan">归档</c-checkbox>
</el-col> </el-col>
--> -->
<el-col :span="12">
<el-form-item label="Reference">
<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">
<c-input v-model="model.seltxt" maxlength="32" placeholder="请输入Selection Name"></c-input>
</el-form-item>
</el-col>
<!-- <el-col :span="12">
<el-form-item label="Reference">
<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">
<c-input v-model="model.seltxt" maxlength="32" placeholder="请输入Selection Name"></c-input>
</el-form-item>
</el-col>
<!--
<el-col :span="12"> <el-col :span="12">
<span v-text="model.usfmod.usftxt" data-path=".usfmod.usftxt" > </span> <span v-text="model.usfmod.usftxt" data-path=".usfmod.usftxt" > </span>
</el-col> </el-col>
--> -->
<el-col :span="12">
<el-form-item label="Selection of Users">
<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">
Show Set
</c-button>
</el-form-item>
</el-col>
<el-col :span="12">
<el-col :span="12"> <el-form-item label="Selection of Users">
<el-form-item label="Between"> <c-select v-model="model.usfmod.flt" style="width:60%" placeholder="请选择User">
<el-date-picker type="date" v-model="model.inidatfro" style="width:45%" placeholder="请选择Date of entry of Transaction"></el-date-picker> </c-select>
- <c-button size="small" type="primary" style="width:30%" @click="onUsfmodShwflt">
<el-date-picker type="date" v-model="model.inidattil" style="width:45%" placeholder="请选择Date of entry of Transaction until"></el-date-picker> Show Set
</el-form-item> </c-button>
</el-col> </el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="国内国际证标志"> <el-col :span="12">
<c-select v-model="model.dflg" style="width:100%" placeholder="请选择国内国际标志"> <el-form-item label="Between">
<el-option label="All" value="1"></el-option> <el-date-picker type="date" v-model="model.inidatfro" style="width:45%" placeholder="请选择Date of entry of Transaction"></el-date-picker>
<el-option label="国内业务" value="2"></el-option> -
<el-option label="国际业务" value="3"></el-option> <el-date-picker type="date" v-model="model.inidattil" style="width:45%" placeholder="请选择Date of entry of Transaction until"></el-date-picker>
</c-select> </el-form-item>
</el-form-item> </el-col>
</el-col>
<el-col :span="12">
<!-- <el-form-item label="国内国际证标志">
<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>
<el-option label="国际业务" value="3"></el-option>
</c-select>
</el-form-item>
</el-col>
<!--
<el-col :span="12"> <el-col :span="12">
<el-form-item label="Selected User Group Set"> <el-form-item label="Selected User Group Set">
...@@ -132,29 +129,28 @@ ...@@ -132,29 +129,28 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
--> -->
<el-col :span="12" style="text-align:center"> <el-col :span="12" style="text-align:center">
<c-checkbox v-model="model.chkypt">云平台</c-checkbox> <c-checkbox v-model="model.chkypt">云平台</c-checkbox>
</el-col> </el-col>
<!-- <!--
<el-col :span="12"> <el-col :span="12">
<el-form-item label="List of SPT records"> <el-form-item label="List of SPT records">
<c-input v-model="model.sptstm" placeholder="请输入List of SPT records"></c-input> <c-input v-model="model.sptstm" placeholder="请输入List of SPT records"></c-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
--> -->
<p>{{model.sptstm}}</p> <!-- <p>{{model.sptstm}}</p> -->
<el-col :span="24"> <el-col :span="24">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="退回原因"> <el-form-item label="退回原因">
<c-input v-model="model.yptinf" maxlength="60" placeholder="请输入退回原因"></c-input> <c-input v-model="model.yptinf" maxlength="60" placeholder="请输入退回原因"></c-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12" style="text-align:center"> <el-col :span="12" style="text-align:center">
<c-button size="small" type="primary" disabled="disabled" @click="onButypt"> <c-button size="small" type="primary" disabled="disabled" @click="onButypt">
退回云平台 退回云平台
...@@ -169,9 +165,10 @@ ...@@ -169,9 +165,10 @@
上传影像 上传影像
</c-button> </c-button>
</el-col> </el-col>
</el-col> </el-col>
</div> <c-istream-table :list="stmData.data" :columns="stmData.columns"></c-istream-table>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
...@@ -184,8 +181,12 @@ export default { ...@@ -184,8 +181,12 @@ export default {
// mixins: [CommonProcess], // mixins: [CommonProcess],
data(){ data(){
return { return {
declareParams:{"fileName":"sptsel.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/sptsel/sptstm"}, stmData: {
columns: [
],
data: [
]
}
} }
}, },
methods:{...Event}, methods:{...Event},
...@@ -195,5 +196,4 @@ export default { ...@@ -195,5 +196,4 @@ export default {
} }
</script> </script>
<style> <style>
</style> </style>
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<el-form :model="model" :rules="rules" ref="modelForm" tokenKey="modelForm" label-width="170px" size="small"> <el-form :model="model" :rules="rules" ref="modelForm" tokenKey="modelForm" label-width="170px" size="small">
<el-tabs ref="elment" type="border-card" @tab-click="tabClick"> <el-tabs ref="elment" type="border-card" @tab-click="tabClick">
<el-tab-pane label="经办夹查询"> <el-tab-pane label="经办夹查询">
<m-menu :model="model" :codes="codes" /> <m-menu :model="model" :codes="codes" ref="Menu"/>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</el-form> </el-form>
...@@ -50,7 +50,7 @@ export default { ...@@ -50,7 +50,7 @@ export default {
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model = Utils.copyValueFromVO(this.model, rtnmsg.data) this.model = Utils.copyValueFromVO(this.model, rtnmsg.data)
//console.log(this.model) this.$refs.Menu.stmData.columns = rtnmsg.data.sptstm.rows;
} }
else else
{ {
......
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