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>
......
......@@ -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