Commit 526df765 by wangren
parents d78e70ba 7aa7a422
......@@ -5447,8 +5447,6 @@ const CodeTable = {
{ label: "PAYMENT GUARANTEE付款保函", value: "J" },
{ label: "银行授信额度保函", value: "T" },
{ label: "GUARANTEE FOR PROCESSING来料加工保函", value: "M" },
{ label: "农民工工资保函", value: "1" },
],
typsel: [
{ label: "Database Table", value: "TBL" },
......@@ -6043,19 +6041,7 @@ const CodeTable = {
{label:"对私中国居民" ,value:"D"},
{label:"对私中国非居民" ,value:"F"},
],
adrsta:[
{label:"Downloaded",value:"D"},
{label:"Temporary",value:"T"},
],
betdrvdoctypcod: [
{ label: `远期承兑`, value: `A` },
{ label: `延期付款`, value: `D` },
{ label: `External Presented Docs`, value: `E` },
{ label: `混合支付`, value: `M` },
{ label: `议付`, value: `N` },
{ label: `即期`, value: `P` },
],
}
export default CodeTable;
\ No newline at end of file
......@@ -6,7 +6,6 @@ import Utils from "~/utils"
let checkObj = {
"inidatfro" :null,
"inidattil" :null,
"atpget.sdamod.dadsnd" :null,
}
for (const key in checkObj) {
......
......@@ -6,12 +6,12 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"usfmod.flt" :Utils.defaultFunction,
"sptstm" :Utils.defaultFunction,
"usfmod.usr.extkey" :Utils.defaultFunction,
"atp.cod" :Utils.defaultFunction,
"usfmod.selusg" :Utils.defaultFunction,
"usfmod.selusgset" :Utils.defaultFunction,
"usfmod.flt" :Utils.defaultFunction,
"usr.extkey" :Utils.defaultFunction,
"usfmod.usr.extkey" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -26,5 +26,20 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async handleSearch() {
let rtnmsg = await this.executeRule("searow")
if(rtnmsg.respCode == SUCCESS)
{
this.stmData.data = rtnmsg.data.sptstm.rows;
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
......@@ -44,6 +44,16 @@ export default class Sptrel{
inidattil:"", // Date of entry of Transaction until .inidattil
sptstm:"", // List of SPT records .sptstm
sta:"", // Status .sta
// chkinc:"",
// chkdzt:"",
// chkpen:"",
// chkcor:"",
// chkaut:"",
// chkdel:"",
// chktco:"",
// chkcan:"",
selrow:"",
pageId: "" // ctx的key
}
}
......
......@@ -21,7 +21,10 @@ export default class Sptrou{
conget:{
refnum:"", // Reference No. .recpan.conget.refnum
selref:"", // Refecence of selected contract .recpan.conget.selref
selnam:"", // name of selected contract .recpan.conget.selnam
refnum:"", // Reference No. .recpan.conget.refnum
pntref:"",
pntnam:"", // name of selected contract .recpan.conget.selnam
sector:"",
sdamod:{
seainf:"", // .recpan.conget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.conget.sdamod.dadsnd
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="ACT" prop="lendoc.account">
<c-input type="textarea" v-model="model.lendoc.account" maxlength="25" show-word-limit placeholder="请输入ACT" ></c-input>
</el-form-item>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item
label="Verification Certificate Number"
prop="lendoc.vercerref"
>
<c-input
type="textarea"
v-model="model.lendoc.vercerref"
maxlength="20"
show-word-limit
placeholder="请输入Verification Certificate Number"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.lendoc.actflg">Input Account</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Verification Certificate Number" prop="lendoc.vercerref">
<c-input type="textarea" v-model="model.lendoc.vercerref" maxlength="20" show-word-limit placeholder="请输入Verification Certificate Number" ></c-input>
</el-form-item>
<c-col :span="12">
<el-form-item label="Input Account" prop="lendoc.actflg">
<c-col :span="4">
<c-checkbox v-model="model.lendoc.actflg"></c-checkbox>
</c-col>
<c-col :span="20">
<c-input
v-model="model.lendoc.account"
maxlength="25"
placeholder="请输入ACT"
></c-input>
</c-col>
</el-form-item>
</c-col>
<c-col :span="12">
</c-col>
<c-col :span="12">
<el-form-item label="Declaration Number" prop="lendoc.decnum">
<c-input
v-model="model.lendoc.decnum"
maxlength="22"
placeholder="请输入Declaration Number"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Declaration Number" prop="lendoc.decnum">
<c-input v-model="model.lendoc.decnum" maxlength="22" placeholder="请输入Declaration Number"></c-input>
</el-form-item>
</c-col>
</div>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getset/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Getset/Event";
export default {
inject: ['root'],
props:["model","codes"],
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
return {
}
data() {
return {};
},
methods:{...Event},
created:function(){
}
}
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
......@@ -8,12 +8,12 @@
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Liability" name="engp">
<el-tab-pane label="表外" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<el-tab-pane label="费用及账务" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
......@@ -23,17 +23,17 @@
</el-tab-pane> -->
<!--PD000000 -->
<el-tab-pane label="Bookings" name="coninfp">
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Message" name="docpan">
<el-tab-pane label="面函" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre">
<el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
......
<template>
<div class="eibs-tab">
<!-- <c-col :span="12">
<span v-text="model.usfmod.usftxt" data-path=".usfmod.usftxt" > </span>
</c-col> -->
<el-form
ref="paramsForm"
label-position="right"
label-width="110px"
size="small"
>
<!-- <c-col :span="12">
<span v-text="model.usfmod.usftxt" data-path=".usfmod.usftxt" > </span>
</c-col> -->
<!-- ============左========= -->
<c-col :span="11">
<c-col :span="24">
<!-- <el-form-item label="Type ot items">
<c-fullbox>
<c-col :span="6">
<c-checkbox v-model="model.chkinc">Incoming</c-checkbox>
</c-col>
<c-col :span="6">
<c-checkbox v-model="model.chkdzt">E-Trade</c-checkbox>
</c-col>
<c-col :span="6">
<c-checkbox v-model="model.chkpen">break</c-checkbox>
</c-col>
<c-col :span="6">
<c-checkbox v-model="model.chkcor">Connect</c-checkbox>
</c-col>
</c-fullbox>
</el-form-item> -->
<el-form-item label="Seclect of Users" prop="usfmod.flt">
<c-select
v-model="model.usfmod.flt"
style="width: 100%"
placeholder="请选择Filter"
>
<el-option
v-for="item in codes.flt"
: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="">
<c-fullbox>
<c-col :span="6">
<c-checkbox v-model="model.chkaut">Automatic</c-checkbox>
</c-col>
<c-col :span="6">
<c-checkbox v-model="model.chkdel">Reject</c-checkbox>
</c-col>
<c-col :span="6">
<c-checkbox v-model="model.chktco">网银</c-checkbox>
</c-col>
<c-col :span="6">
<c-checkbox v-model="model.chkcan">归档</c-checkbox>
</c-col>
</c-fullbox>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="Transaction Type " prop="atp.cod">
<c-input
v-model="model.atp.cod"
maxlength="6"
style="width: 100%"
placeholder="请输入Transaction Type "
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Transaction Text" prop="atptxt">
<c-input
v-model="model.atptxt"
maxlength="37"
placeholder="请输入Transaction Text"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24" v-if="model.usfmod.flt === '<SELB>'">
<el-form-item label="Selected Branch" prop="usfmod.selusg">
<c-select
v-model="model.usfmod.selusg"
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.selusg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" v-if="model.usfmod.flt === '<SELU>'">
<el-form-item label="Selected User" prop="usfmod.usr.extkey">
<c-input
v-model="model.usfmod.usr.extkey"
maxlength="8"
style="width: 100%"
placeholder="请输入User ID"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ============右========= -->
<c-col :span="12" :offset="1">
<c-col :span="24">
<el-form-item label="Reference" prop="selobj">
<c-input
v-model="model.selobj"
maxlength="32"
placeholder="请输入Reference"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="11" >
<el-form-item label="Name" prop="seltxt">
<c-input
v-model="model.seltxt"
maxlength="32"
placeholder="请输入Name"
></c-input>
</el-form-item>
</c-col>
<c-col :span="9">
<c-col :span="12" :offset="1">
<el-form-item label="Entered by" label-width="20%" prop="usr.extkey">
<c-input
v-model="model.usr.extkey"
maxlength="8"
style="width: 100%"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<el-form-item label="Between" prop="inidatfro">
<c-date-picker
type="date"
v-model="model.inidatfro"
style="width: 100%"
placeholder="请选择Date of entry of Transaction"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12" :offset="1">
<el-form-item label="and" prop="inidattil" label-width="20%" >
<c-date-picker
type="date"
v-model="model.inidattil"
style="width: 100%"
placeholder="请选择Date of entry of Transaction until"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Status" prop="sta">
<c-select
v-model="model.sta"
style="width: 100%"
placeholder="请选择Status"
>
<el-option
v-for="item in codes.sta"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col
:span="24"
style="text-align: right; height: 36.8px"
>
<el-button size="small" @click="handleReset">重置</el-button>
<el-button
type="primary"
icon="el-icon-search"
size="small"
@click="handleSearch"
>查询</el-button
>
</c-col>
</el-form>
<!-- <c-col :span="9">
<el-form-item label="Seclect of Users" prop="usfmod.flt">
<c-select
v-model="model.usfmod.flt"
......@@ -19,15 +226,15 @@
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="2">
<!-- <c-col :span="2">
<c-button size="small" type="primary" @click="onUsfmodShwflt" disabled>
Show Set
</c-button>
</c-col>
</c-col> -->
<c-col :span="11" :offset="1">
<!-- <c-col :span="11" :offset="1">
<el-form-item label="Reference" prop="selobj">
<c-input
v-model="model.selobj"
......@@ -35,13 +242,13 @@
placeholder="请输入Reference"
></c-input>
</el-form-item>
</c-col>
</c-col> -->
<!-- <c-col :span="12">
<span v-text="model.usfmod.labtxt" data-path=".usfmod.labtxt" > </span>
</c-col> -->
</c-col> -->
<c-col :span="11" v-if="model.usfmod.flt === '<SELB>'">
<!-- <c-col :span="11" v-if="model.usfmod.flt === '<SELB>'">
<el-form-item label="Selected Branch" prop="usfmod.selusg">
<c-select
v-model="model.usfmod.selusg"
......@@ -56,7 +263,7 @@
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="Selected User Group Set" prop="usfmod.selusgset">
<c-select v-model="model.usfmod.selusgset" style="width:100%" placeholder="请选择Selected User Group Set">
......@@ -69,7 +276,7 @@
</c-select>
</el-form-item>
</c-col> -->
<c-col :span="11" v-if="model.usfmod.flt === '<SELU>'">
<!-- <c-col :span="11" v-if="model.usfmod.flt === '<SELU>'">
<c-col :span="16">
<el-form-item label="Selected User" prop="usfmod.usr.extkey">
<c-input
......@@ -83,16 +290,16 @@
<c-col :span="6">
<c-button size="small" type="primary"> i </c-button>
</c-col>
</c-col>
</c-col> -->
<c-col
<!-- <c-col
:span="11"
v-if="model.usfmod.flt != '<SELU>' && model.usfmod.flt != '<SELB>'"
>
<el-form-item label=""> </el-form-item>
</c-col>
</c-col> -->
<c-col :span="11" :offset="1">
<!-- <c-col :span="11" :offset="1">
<el-form-item label="Name" prop="seltxt">
<c-input
v-model="model.seltxt"
......@@ -112,12 +319,12 @@
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="3">
</c-col> -->
<!-- <c-col :span="3">
<c-button size="small" type="primary"> i </c-button>
</c-col>
</c-col> -->
<c-col :span="8" :offset="1">
<!-- <c-col :span="8" :offset="1">
<el-form-item label="Transaction Type " prop="atp.cod">
<c-input
v-model="model.atp.cod"
......@@ -126,13 +333,13 @@
placeholder="请输入Transaction Type "
></c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="3">
<!-- <c-col :span="3">
<c-button size="small" type="primary"> i </c-button>
</c-col>
</c-col> -->
<c-col :span="6">
<!-- <c-col :span="6">
<el-form-item label="Between" prop="inidatfro">
<c-date-picker
type="date"
......@@ -152,9 +359,9 @@
placeholder="请选择Date of entry of Transaction until"
></c-date-picker>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="11" :offset="2">
<!-- <c-col :span="11" :offset="2">
<el-form-item label="Transaction Text" prop="atptxt">
<c-input
v-model="model.atptxt"
......@@ -180,8 +387,10 @@
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col> -->
<!--
......@@ -225,15 +434,32 @@
</c-button>
</c-col> -->
<c-col :span="22" :offset="1">
<c-table :border="true" :list="data" style="width:80%,text-align:center">
<c-col :span="24">
<!-- <c-table :border="true" :data="data" style="width:80%,text-align:center">
<el-table-column label="TRN" width="auto"></el-table-column>
<el-table-column label="Name" width="auto"></el-table-column>
<el-table-column label="Created" width="auto"></el-table-column>
<el-table-column label="Status" width="auto"></el-table-column>
<el-table-column label="By User" width="auto"></el-table-column>
<el-table-column label="Referance" width="auto"></el-table-column>
</c-table>
</c-table> -->
<c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column fixed="right" prop="op" label="操作" width="140px">
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="alert(111)"
>
detail
</c-button>
</el-table-column>
</c-istream-table>
</c-col>
</div>
</template>
......@@ -249,7 +475,23 @@ export default {
mixins: [commonProcess],
data() {
return {
data: [],
stmData: {
columns: [
'5 1 "TRN" ',
'6 2:2 "Reference" ',
'7 2:1 "Name" ',
'8 3 "Created" ',
'9 4:1 "Status" ',
'4 5:1 "By User" ',
'11 6:1 "Details" ',
// 'P "COLORED" TRUE',
// 'P "VERTLINES" TRUE',
// 'P "HORZLINES" TRUE',
// 'P "MULTISELECT" true'
],
data: [],
},
};
},
methods: { ...Event },
......
......@@ -4,15 +4,16 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000042 -->
<el-tab-pane label="Menu" name="menu">
<c-content label="Menu" name="menu">
<m-menu :model="model" :codes="codes"/>
</el-tab-pane>
</c-content>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable"
import Sptrel from "~/model/Sptrel"
import commonProcess from "~/mixin/commonProcess"
......
<template>
<div class="eibs-tab">
<c-col :span="16">
<!-- ========================左边======================= -->
<c-col :span="12">
<c-col :span="24" style="margin-top: 0">
<el-form-item label="File Path" prop="recpan.filpth">
<c-input
v-model="model.recpan.filpth"
maxlength="80"
placeholder="请输入File Path"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="File Name" prop="recpan.filnam">
<c-select
v-model="model.recpan.filnam"
style="width: 100%"
placeholder="请选择File Name"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" >
<el-form-item label="Type" prop="spt.sta">
<c-select
v-model="model.spt.sta"
style="width: 100%"
placeholder="请选择Type"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" >
<el-form-item
label="Refecence No."
prop="recpan.conget.selref"
>
<c-input
v-model="model.recpan.conget.selref"
maxlength="40"
placeholder="请输入Refecence of selected contract"
@keyup.enter.native="
updateSelref
"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24" >
<el-form-item
label=""
prop="recpan.conget.selnam"
>
<c-input
v-model="model.recpan.conget.selnam"
maxlength="40"
placeholder="请输入name of selected contract"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="Parent Contract"
prop="recpan.dpcget.selref"
>
<c-input
v-model="model.recpan.dpcget.selref"
maxlength="40"
placeholder="请输入Refecence of parent contract"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label=""
prop="recpan.dpcget.selnam"
>
<c-input
v-model="model.recpan.dpcget.selnam"
maxlength="40"
placeholder="请输入name of parent contract"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Work User" prop="spt.wrkusr">
<c-select
v-model="model.spt.wrkusr"
style="width: 100%"
placeholder="请选择Work User"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" >
<c-col :span="12">
<el-form-item label="Entered by" prop="spt.usr">
<c-input
v-model="model.spt.usr"
maxlength="8"
placeholder="请输入Entered by"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="at" prop="spt.dattim" label-width="30px">
<c-input
v-model="model.spt.dattim"
placeholder="请输入Time of Creation"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- ========================右边======================= -->
<c-col :span="12" >
<c-col :span="24" style="margin-top: 0">
<el-form-item label="Message Reference" prop="spt.objnam">
<c-input
v-model="model.spt.objnam"
maxlength="40"
placeholder="请输入Message Reference"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Name" prop="spt.txt">
<c-input
v-model="model.spt.txt"
maxlength="40"
placeholder="请输入Name"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Transaction" prop="recpan.atp.cod">
<c-input
v-model="model.recpan.atp.cod"
maxlength="6"
placeholder="请输入Transaction"
@keyup.enter.native="
showGridPromptDialog('recpan.atp.cod')
"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="recpan.atpget.sdamod.seainf" label-width="10px">
<c-input
v-model="model.recpan.atpget.sdamod.seainf"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24" >
<el-form-item label="虚拟机构" prop="spt.wrkgrp">
<c-select
v-model="model.spt.wrkgrp"
style="width: 100%"
placeholder="请选择WORK GROUP"
:code="sptWrkgrp"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" >
<el-form-item label="Info Text" prop="spt.inftxt">
<c-input
type="textarea"
v-model="model.spt.inftxt"
maxlength="65"
show-word-limit
placeholder="请输入Info Text"
:rows="4"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24" >
<el-form-item label="虚拟机构" prop="spt.wrkgrp" label-width="100px">
<c-select
v-model="model.spt.wrkgrp"
style="width: 100%"
placeholder="请选择WORK GROUP"
>
</c-select>
</el-form-item>
</c-col> -->
<c-col :span="24" >
<el-form-item label="" prop="spt.infdsp">
<c-select
v-model="model.spt.infdsp"
style="width: 100%"
placeholder="请选择Info Text"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" >
<el-form-item label="in Inr" prop="spt.cretrn">
<c-input
v-model="model.spt.cretrn"
maxlength="6"
placeholder="请输入Creating Transaction ID"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="16">
<el-form-item label="File Path" prop="recpan.filpth">
<c-input
v-model="model.recpan.filpth"
......@@ -128,7 +370,7 @@
<c-button type="primary" icon="el-icon-search"></c-button>
</c-col>
<c-col :span="8">
<!-- WORK GROUP -->
<el-form-item label="虚拟机构" prop="spt.wrkgrp" label-width="100px">
<c-select
v-model="model.spt.wrkgrp"
......@@ -195,7 +437,7 @@
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item
......@@ -332,9 +574,36 @@ export default {
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
return {
sptWrkgrp: []
};
},
methods: { ...Event },
methods: { ...Event,
async updateSelref(){
let rtnmsg = await this.executeRule("recpan.conget.selref")
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data);
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async updateCretrn(){
let rtnmsg = await this.executeRule("recpan.atp.cod")
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data);
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
},
created: function () {},
};
</script>
......
<template>
<div class="eContainer">
<el-button size="small"
type="primary"
@click="handleSave">save</el-button>
<!-- <el-button size="small" @click="handletak">tak</el-button> -->
<el-form :model="model" :rules="rules" ref="modelForm" label-width="200px" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000052 -->
<el-tab-pane label="Items Overview" name="sptroup">
<el-tab-pane label="Items Overview" name="sptroup" v-if="false">
<m-sptroup :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000035 -->
<el-tab-pane label="Pending Item" name="sptnegp">
<m-sptnegp :model="model" :codes="codes"/>
<m-sptnegp ref="sptnegp" :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000090 -->
......@@ -18,6 +23,14 @@
<m-prtcfg :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
</el-form>
</div>
</template>
......@@ -29,7 +42,7 @@ import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Sptrou/Check"
import Default from "~/model/Sptrou/Default"
import Pattern from "~/model/Sptrou/Pattern"
import Sptroup from "./Sptroup"
// import Sptroup from "./Sptroup"
import Sptnegp from "./Sptnegp"
import Prtcfg from "./Prtcfg"
......@@ -37,7 +50,7 @@ import Prtcfg from "./Prtcfg"
export default {
name: 'Sptrou',
components:{
"m-sptroup" : Sptroup,
// "m-sptroup" : Sptroup,
"m-sptnegp" : Sptnegp,
"m-prtcfg" : Prtcfg,
},
......@@ -49,28 +62,66 @@ export default {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "sptroup",
tabVal: "sptnegp",
trnName: "sptrou",
model: new Sptrou().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
codes: { ...CodeTable },
}
},
methods:{
tabClick(){
}
},
async handleSave(){
let rtnmsg = await this.executeRule("sav")
if(rtnmsg.respCode == SUCCESS)
{
this.$notify({
title: "成功",
message: "保存成功",
type: "success",
});
this.$store.dispatch("TagsView/delView", this.$route)
this.$router.history.push("/taskList", () => {
this.$store.commit("setTaskListTabVal", 'trnrel')
//修改待复核界面刷新状态为需要刷新
this.$store.commit("setLoadingFreshReview", true)
});
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
handletak(){
},
},
created:async function(){
console.log("进入sptrou交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
const wrkgrp = this.codes.codeSet['spt.wrkgrp']
const wrkgrpArr = [];
for (let i = 0; i < wrkgrp.length; i++) {
const wrk = wrkgrp[i];
const ss = wrk.split('\t')
wrkgrpArr.push({
label: ss[1],
value: ss[0]
})
}
this.$refs.sptnegp.sptWrkgrp = wrkgrpArr;
}
else
{
......
......@@ -316,6 +316,13 @@
@click="continueEdit(scope.row)"
>处理
</c-button>
<!-- <c-button
style="margin-left: 0"
size="small"
type="primary"
@click="choose(scope.$index)"
>选择
</c-button> -->
<el-popover placement="top-start" width="50" trigger="click">
<!-- <c-button type="primary" size="small">指派</c-button>
<c-button type="primary" size="small">删除</c-button> -->
......@@ -502,6 +509,21 @@ export default {
});
},
// async choose(idx,row){
// var params = {selDst:"sptstm",selrow:[idx+1]}
// let rtnmsg = await this.executeRule("sptstm" , params) //SPTSTM
// if(rtnmsg.respCode == SUCCESS)
// {
// this.stmData.data = rtnmsg.data.sptstm.rows;
// }
// else
// {
// this.$notify.error({title: '错误',message: '服务请求失败!'});
// }
// },
...Event,
},
created: function () {
......
......@@ -42,6 +42,7 @@ export default {
{ inifrm: "infcpd", ininam: "汇款查询", pntmiu: "1" },
{ inifrm: "cptopn", ininam: "汇出汇款", pntmiu: "1" },
{ inifrm: "cptadv", ininam: "汇入汇款", pntmiu: "1" },
{ inifrm: "2", ininam: "买方信用证", pntmiu: "" },
// { inifrm: "ditopn", ininam: "信用证开立", pntmiu: "2" },
// { inifrm: "ditame", ininam: "信用证修改", pntmiu: "2" },
......@@ -133,6 +134,7 @@ export default {
{ inifrm: "14",ininam: "服务管理", pntmiu: "" },
{ inifrm: "switsk", ininam: "Switsk", pntmiu: "14" },
{ inifrm: "mgrtsk", ininam: "Mgrtsk", pntmiu: "14" },
{ inifrm: "sptrel", ininam: "sptrel", pntmiu: "14" },
],
menus: [],
menusHeight: 0
......
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