Commit 7ec46e4c by 闫泽浩

Infpty和Infpta修改

parent 0194574b
......@@ -3,7 +3,9 @@ export default {
async onInfbutSearow() {
let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
//TODO 处理数据逻辑
console.log(rtnmsg.data);
this.updateModel(rtnmsg.data);
this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm
}
else {
......@@ -15,7 +17,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
this.tabVal = "ptap0"
this.root.tabVal="ptap0";
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
......@@ -31,6 +33,9 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleReset() {
},
async onInfbutClr() {
let rtnmsg = await this.executeRule("infbut.clr")
if (rtnmsg.respCode == SUCCESS) {
......
......@@ -3,7 +3,7 @@ import Pts from "../Common/Pts"
export default class Infpta{
constructor () {
this.data = {
this.data = {
seaobjkey:"", // PTA .seaobjkey
seanam:"", // External Visible Name of Address .seanam
seaptyextkey:"", // External Key Used to Uniquely Identify a party .seaptyextkey
......@@ -15,7 +15,7 @@ export default class Infpta{
seatypc:"", // Client .seatypc
seatypa:"", // Own Address .seatypa
seatypo:"", // Other .seatypo
infbut:{
infbut:{
selrow:0, // Number of selected row
dspstm:{}, // display stream .infbut.dspstm
},
......
......@@ -6,6 +6,7 @@ export default {
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
console.log(rtnmsg.data);
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
......@@ -15,7 +16,7 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutDsp(idx, row){
async onInfbutDsp(idx, row){
const selIds= [idx + 1];
const selDst= "dspstm";//dspstm是数据流
let params = {selIds,selDst};
......@@ -23,10 +24,12 @@ export default {
let rtnmsg = await this.executeRule("infbut.dsp", params)
if(rtnmsg.respCode == SUCCESS)
{
console.log(rtnmsg.data);
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
console.log(this);
console.log(this);
this.root.tabVal="ptyp0";
// this.model.ptysea.extkey=rtnmsg.data.recgrp_rec_extkey;
}
else
{
......@@ -189,6 +192,7 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanLnkinfptm(){
let rtnmsg = await this.executeRule("recpan.lnkinfptm")
if(rtnmsg.respCode == SUCCESS)
......@@ -201,6 +205,16 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async handleReset() {
this.model.ptysea.nam=""
this.model.ptysea.extkey=""
this.model.adrsea.str1=""
this.model.adrsea.bic=""
this.model.adrsea.loctxt=""
this.model.adrsea.loczip=""
this.model.persontype=""
this.model.jyzt=""
},
/**
* Tabs切换事件
* @param {VM} tab
......
......@@ -4,6 +4,7 @@ import Pts from "../Common/Pts"
export default class Infpty{
constructor () {
this.data = {
radio:"",
ptysea:{
nam:"", // External Visible Name .ptysea.nam
extkey:"", // Party No. .ptysea.extkey
......@@ -60,7 +61,7 @@ export default class Infpty{
typb:"", // Bank .recgrp.typb
typc:"", // Client .recgrp.typc
typa:"", // Own Address .recgrp.typa
typo:"", // Other .recgrp.typo
typo:"", // Other .recgrp.typo
adrmaa:{
nam1:"", // Name 1/SWIFT Line 1 .recgrp.adrmaa.nam1
nam2:"", // Name 2/SWIFT Line 2 .recgrp.adrmaa.nam2
......
......@@ -273,7 +273,7 @@ const BusRouter = [
{ path: 'trnfnd', component: Trnfnd, name: 'Trnfnd', meta: { title: '已完成任务' } },
{ path: 'trndtl', query: 'inr', component: Trndtl, name: 'Trndtl', meta: { title: 'Trndtl' } },
{ path: 'tstopn', component: Tstopn, name: 'Tstopn', meta: { title: 'Tstopn' } },
{ path: 'infpta', component: Infpta, name: 'Infpta', meta: { title: 'Infpta' } },
{ path: 'infpta', component: Infpta, name: 'Infpta', meta: { title: '客户地址查询' } },
{ path: 'letsel', component: Letsel, name: 'Letsel', meta: { title: '出口信用证查询' } },
{ path: 'letopn', component: Letopn, name: 'Letopn', meta: { title: '出口信用证通知' } },
{ path: 'letamc', component: Letamc, name: 'Letamc', meta: { title: '出口信用证保兑' } },
......
<template>
<div class="eibs-tab">
<!-- ==========顶部-左========= -->
<c-content>
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Address No." prop="seaobjkey">
......@@ -25,7 +26,7 @@
<el-form-item label="ZIP/Location" prop="seazip">
<c-input
v-model="model.seazip"
maxlength="10"
maxlength="11 "
placeholder="请输入ZIP Code/First Part of S.W.I.F.T. Line 4"
></c-input>
</el-form-item>
......@@ -75,56 +76,101 @@
<!-- ==========单选框=========== -->
<c-col :span="24">
<c-col :span="3">
<el-form-item label="Type"> </el-form-item>
</c-col>
<!-- <c-col :span="8">
<c-checkbox v-model="seatyph">海关</c-checkbox>
</c-col>
<c-col :span="8">
<c-checkbox v-model="seatypo">Other</c-checkbox>
</c-col>
<c-col :span="8">
<c-checkbox v-model="seatypa">Own Address</c-checkbox>
</c-col>
<c-col :span="8">
<c-checkbox v-model="seatypb">Bank</c-checkbox>
</c-col>
<c-col :span="8">
<c-checkbox v-model="seatypc">Client</c-checkbox>
</c-col> -->
<el-form-item label="Type">
<c-col :span="2">
<c-checkbox v-model="seatyph">海关</c-checkbox>
</c-col>
<c-col :span="4">
<el-form-item label="Bank" prop="seatypb">
<c-checkbox v-model="seatypb"></c-checkbox>
</el-form-item>
</c-col>
<c-checkbox v-model="seatypo">Other</c-checkbox>
</c-col>
<c-col :span="4">
<el-form-item label="Client" prop="seatypc">
<c-checkbox v-model="seatypc"></c-checkbox>
</el-form-item>
</c-col>
<c-checkbox v-model="seatypa">Own Address</c-checkbox>
</c-col>
<c-col :span="4">
<c-checkbox v-model="seatypb">Bank</c-checkbox>
</c-col>
<c-col :span="4">
<el-form-item label="Own Address" prop="seatypa">
<c-checkbox v-model="seatypa"></c-checkbox>
<c-checkbox v-model="seatypc">Client</c-checkbox>
</c-col>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="Other" prop="seatypo">
<c-checkbox v-model="seatypo"></c-checkbox>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="海关" prop="seatyph">
<c-checkbox v-model="seatyph"></c-checkbox>
</el-form-item>
</c-col>
</c-col>
<c-col :span="20" 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="onInfbutSearow"
>查询
</el-button>
</c-col>
<!-- =========表格========== -->
<c-col :span="22" :offset="1">
<c-col :span="20">
<c-istream-table
:border="true"
:list="tableData"
:columns="columns"
v-on:chooseRowEvent="chooseRowEvent"
style="width:80%,text-align:center">
<!-- <el-table-column label="Address No" width="auto"></el-table-column>
<el-table-column label="Adress Name" width="auto"></el-table-column>
<el-table-column label="BIC" width="auto"></el-table-column>
<el-table-column label="ZIP" width="auto"></el-table-column>
<el-table-column label="Location" width="auto"></el-table-column>
<el-table-column label="Street" width="auto"></el-table-column> -->
v-on:chooseRowEvent="chooseRowEvent">
<c-table-column fixed="right" prop="op" label="操作" width="165px">
<template slot-scope="{ scope }">
<c-button
style="margin-left: 0"
size="small"
@click="onInfbutDsp(scope.$index, scope.row)"
>
详情
</c-button>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="continueEdit(scope.row)"
>
处理
</c-button>
<el-popover placement="top-start" width="50" trigger="click">
<ul class="table-button-item-list">
<li>
<c-button size="small" style="margin-left: 0"
>指派</c-button
>
</li>
<li>
<c-button size="small" style="margin-left: 0"
>删除</c-button
>
</li>
</ul>
<a
slot="reference"
href="javascript:void(0)"
style="margin-left: 5px"
><i class="el-icon-more"></i
></a>
</el-popover>
</template>
</c-table-column>
</c-istream-table>
</c-col>
</c-content>
</div>
</template>
<script>
......@@ -151,7 +197,6 @@ export default {
},
computed: {
tableData() {
// "10000449\t2000007350\t2000007350-001\tBEIJING TESTTEST,BEIJING, CHINA\t\t100080\tBEIJING, CHINA\tTEST TEST1 CO.,LTD."
return this.model.infbut.dspstm.rows;
},
seatypb: {
......
<template>
<div class="eibs-tab">
<c-content>
<!-- ========顶部======== -->
<c-col :span="24">
<c-col :span="11">
......@@ -37,9 +38,9 @@
<c-col :span="24">
<c-col :span="11">
<c-col :span="20">
<el-form-item label="Address No." prop="recgrp.rec.objkey">
<el-form-item label="Address No." prop="recgrp.rec.adrsta">
<c-input
v-model="model.recgrp.rec.objkey"
v-model="model.recgrp.rec.adrsta"
maxlength="24"
placeholder="请输入"
disabled
......@@ -67,66 +68,27 @@
</el-form-item>
</c-col>
</c-col>
<!-- ========单选框========= -->
<c-col :span="24">
<c-col :span="16">
<c-col :span="4">
<el-form-item label="Type"> </el-form-item>
</c-col>
<c-col :span="5">
<el-form-item label="Bank" prop="typb">
<c-checkbox v-model="model.recgrp.typb"></c-checkbox>
</el-form-item>
</c-col>
<el-form-item label="Type">
<c-checkbox v-model="model.seatypb" disabled>Bank</c-checkbox>
<c-col :span="5">
<el-form-item label="Client" prop="typc">
<c-checkbox v-model="model.recgrp.typc"></c-checkbox>
</el-form-item>
</c-col>
<c-checkbox v-model="model.seatypc" disabled>Client</c-checkbox>
<c-col :span="5">
<el-form-item label="Own Address" prop="typa">
<c-checkbox v-model="model.recgrp.typa"></c-checkbox>
</el-form-item>
</c-col>
<c-checkbox v-model="model.seatypa" disabled>Own Address</c-checkbox>
<c-col :span="5">
<el-form-item label="Other" prop="typo">
<c-checkbox v-model="model.recgrp.typo"></c-checkbox>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="11">
<c-checkbox v-model="model.recgrp.typb">Bank</c-checkbox>
</c-col>
<c-col :span="11">
<c-checkbox v-model="model.recgrp.typc">Client</c-checkbox>
</c-col>
<c-col :span="11">
<c-checkbox v-model="model.recgrp.typa">Own Address</c-checkbox>
</c-col>
<c-checkbox v-model="model.seatypo" disabled>Other</c-checkbox>
<c-col :span="11">
<c-checkbox v-model="model.recgrp.typo">Other</c-checkbox>
</c-col> -->
<c-col :span="7">
<c-checkbox v-model="model.seatyph" disabled>海关</c-checkbox>
</el-form-item>
<c-col :span="11" :offset="1">
<el-form-item label="Address Status" prop="recgrp.rec.adrsta" label-width="120px">
<c-select
<c-input
v-model="model.recgrp.rec.adrsta"
style="width: 100%"
placeholder="请选择Address Status"
>
<el-option
v-for="item in codes.adrsta"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
placeholder="请输入Address Status"
></c-input>
</el-form-item>
</c-col>
</c-col>
......@@ -363,42 +325,25 @@
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Language" prop="recgrp.adr.uil">
<c-select
<c-input
v-model="model.recgrp.adr.uil"
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.uil"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
maxlength="35"
placeholder="请输入Language"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Messages"
prop="recgrp.adr.cortyp"
>
<c-select
<c-col :span="24">
<el-form-item label="Messages" prop="recgrp.adr.cortyp">
<c-input
v-model="model.recgrp.adr.cortyp"
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.cortyp"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
maxlength="35"
placeholder="请输入Messages"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Department" prop="recgrp.adr.dpt">
......@@ -419,7 +364,7 @@
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="E-mail" prop="recgrp.adr.eml">
......@@ -453,37 +398,25 @@
</el-form-item>
</c-col>
<c-col :span="5" :offset="1">
<c-col :span="8" :offset="1">
<el-form-item label="支行" prop="recpan.branchkey">
<c-select
<c-input
v-model="model.recpan.branchkey"
style="width: 100%"
placeholder="请选择支行"
>
<el-option
v-for="item in codes.branchkey"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<c-col :span="8">
<el-form-item label="分行" prop="recpan.bchkey">
<c-select
<c-input
v-model="model.recpan.bchkey"
style="width: 100%"
placeholder="请选择分行"
>
<el-option
v-for="item in codes.bchkey"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</c-input>
</el-form-item>
</c-col>
</c-col>
......@@ -518,7 +451,7 @@
</el-form-item>
</c-col>
<c-col :span="5" :offset="1">
<c-col :span="8" :offset="1">
<el-form-item
label="中文邮编"
prop="recgrp.adr.pobzip"
......@@ -531,7 +464,7 @@
</el-form-item>
</c-col>
<c-col :span="5">
<c-col :span="8">
<el-form-item label="国内地区码" prop="recgrp.adr.discod">
<c-input
v-model="model.recgrp.adr.discod"
......@@ -634,7 +567,7 @@
</c-content>
</div>
</template>
<script>
......
......@@ -6,11 +6,11 @@
</c-button>
</el-col> -->
<c-col :span="24">
<el-form-item label="Authentication of Address" label-width="180px">
<el-form-item label="Authentication of Address" label-width="150px">
<c-table
:border="true"
:list="data"
style="width:80%,text-align:center"
style="width:100%,text-align:center"
>
<el-table-column label="Corr.Type" width="auto"></el-table-column>
<el-table-column label="Addressing" width="auto"></el-table-column>
......
<template>
<div class="eContainer" style="display: flex;">
<div class="eContainer" >
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="200px"
label-position="right"
size="small"
:validate-on-rule-change="false"
style="width: 85%;"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000002 -->
<el-tab-pane label="Search Panel" name="infsea">
<el-tab-pane label="搜索面板" name="infsea">
<m-infsea :model="model" :codes="codes" />
</el-tab-pane>
<!-- </c-tabs> -->
<!--PD000029 -->
<el-tab-pane label="Address Association" name="ptap0">
<el-tab-pane label="详细面板" name="ptap0">
<m-ptap0 :model="model" :codes="codes" />
</el-tab-pane>
<!-- </c-tabs> -->
<!--PD000685 -->
<el-tab-pane label="Details" name="ptap1">
<el-tab-pane label="明细" name="ptap1">
<m-ptap1 :model="model" :codes="codes" />
</el-tab-pane>
<!-- </c-tabs> -->
<!--PD000650 -->
<el-tab-pane label="Authentication of Address" name="ptmpan">
<el-tab-pane label="认证住址" name="ptmpan">
<m-ptmpan :model="model" :codes="codes" />
</el-tab-pane>
<!-- </c-tabs> -->
......@@ -40,62 +41,6 @@
</el-tab-pane>
</c-tabs>
</el-form>
<div style="width: 10%;height: 400px;margin-left: 2%;display: flex;flex-direction: column;justify-content: space-around;">
<c-col :span="12">
<c-button size="small" type="primary" @click="onInfbutSearow">
Search
</c-button>
</c-col>
<c-col :span="12">
<c-button v-show="tabVal === 'infsea'" size="small" type="primary" @click="onInfbutDsp" :disabled="model.infbut.selrow === 0">
Display
</c-button>
<el-button-group v-show="tabVal !== 'infsea'" >
<c-button type="primary" icon="el-icon-arrow-left" style="width: 50%;"
@click="onInfbutDsp(--model.infbut.selrow)"
:disabled="model.infbut.selrow <= 1">
</c-button>
<c-button type="primary" icon="el-icon-arrow-right" style="width: 50%;"
@click="onInfbutDsp(++model.infbut.selrow)"
:disabled="!model.infbut.dspstm.rows || model.infbut.dspstm.rows.length === 0 || model.infbut.selrow === model.infbut.dspstm.rows.length">
</c-button>
</el-button-group>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onInfbutUserow" :disabled="model.infbut.selrow === 0">
Use
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onInfbutClr">
Clear
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onInfbutButprt">
导Excel
</c-button>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="display stream" prop="infbut.dspstm">
<c-input
v-model="model.infbut.dspstm"
placeholder="请输入display stream"
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="12">
<c-button size="small" type="primary" @click="onInfbutExi">
E&xit
</c-button>
</c-col>
</div>
</div>
</template>
<script>
......@@ -103,6 +48,7 @@ import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Infpta from "~/model/Infpta";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Infpta/Check";
import Default from "~/model/Infpta/Default";
import Pattern from "~/model/Infpta/Pattern";
......@@ -127,7 +73,7 @@ export default {
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "infsea",
......
......@@ -111,27 +111,25 @@
<c-col :span="24">
<el-form-item label="Type">
<el-radio-group v-model="radio">
<el-radio :label="0" v-model="model.seatypb">Bank</el-radio>
<el-radio :label="1" v-model="model.seatypc">Client</el-radio>
<el-radio :label="2" v-model="model.seatypa">Own Address</el-radio>
<el-radio :label="3" v-model="model.seatypo">Other</el-radio>
<el-radio :label="4" v-model="model.seatyph">海关</el-radio>
</el-radio-group>
<c-col :span="2">
<c-checkbox v-model="seatyph">海关</c-checkbox>
</c-col>
<c-col :span="4">
<c-checkbox v-model="seatypo">Other</c-checkbox>
</c-col>
<c-col :span="4">
<c-checkbox v-model="seatypa">Own Address</c-checkbox>
</c-col>
<c-col :span="4">
<c-checkbox v-model="seatypb">Bank</c-checkbox>
</c-col>
<c-col :span="4">
<c-checkbox v-model="seatypc">Client</c-checkbox>
</c-col>
</el-form-item>
</c-col>
<c-col :span="24" style="text-align: right; height: 36.8px">
<!--原生重置按钮 <c-col :span="12">
<c-button size="small" type="primary" @click="onInfbutClr">
重置
</c-button>
</c-col> -->
<el-button size="small" @click="onInfbutClr">重置</el-button>
<!--原生查询按钮 <c-col :span="12">
<c-button size="small" type="primary" @click="onInfbutSearow">
&Search
</c-button>
</c-col> -->
<el-button size="small" @click="handleReset">重置</el-button>
<el-button
type="primary"
icon="el-icon-search"
......@@ -144,17 +142,6 @@
<c-col :span="24">
<div style="border-bottom: 10px solid rgb(232, 232, 232)"></div>
</c-col>
<c-col :span="24" style="margin-top: 10px">
<c-button
size="small"
type="primary"
@click="onExcel"
style="float: right"
>
导出Excel
</c-button>
</c-col>
<c-col :span="24" >
<c-istream-table
:list="stmData.data"
......@@ -203,53 +190,6 @@
</c-istream-table>
</c-col>
</c-content>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onInfbutDsp">
Display
</c-button>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onInfbutUserow">
Use
</c-button>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onInfbutButprt">
导Excel
</c-button>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="display stream" prop="infbut.dspstm">
<c-input
v-model="model.infbut.dspstm"
placeholder="请输入display stream"
></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onInfbutExi">
Exit
</c-button>
</c-col> -->
<!-- <c-col :span="8">
<c-checkbox v-model="model.seatyph">海关</c-checkbox>
</c-col> -->
<!-- <c-col :span="8">
<c-checkbox v-model="model.seatypo">Other</c-checkbox>
</c-col> -->
<!-- <c-col :span="8">
<c-checkbox v-model="model.seatypa">Own Address</c-checkbox>
</c-col> -->
<!-- <c-col :span="8">
<c-checkbox v-model="model.seatypb">Bank</c-checkbox>
</c-col> -->
<!-- <c-col :span="8">
<c-checkbox v-model="model.seatypc">Client</c-checkbox>
</c-col> -->
</div>
</template>
......@@ -266,7 +206,7 @@ export default {
data() {
return {
initdialog: false,
radio: 1,
radio: 3,
stmData: {
columns: [
'1 1 "客户号" 98 ',
......@@ -287,7 +227,68 @@ export default {
},
};
},
methods: {...Event},
computed: {
tableData() {
return this.model.infbut.dspstm.rows;
},
seatypb: {
get: function() {
return this.model.seatypb === 'X'
},
set: function(val) {
this.clearSeatyp()
this.model.seatypb = val ? 'X' : ''
}
},
seatypc: {
get: function() {
return this.model.seatypc === 'X'
},
set: function(val) {
this.clearSeatyp()
this.model.seatypc = val ? 'X' : ''
}
},
seatypa: {
get: function() {
return this.model.seatypa === 'X'
},
set: function(val) {
this.clearSeatyp()
this.model.seatypa = val ? 'X' : ''
}
},
seatypo: {
get: function() {
return this.model.seatypo === 'X'
},
set: function(val) {
this.clearSeatyp()
this.model.seatypo = val ? 'X' : ''
}
},
seatyph: {
get: function() {
return this.model.seatyph === 'X'
},
set: function(val) {
this.clearSeatyp()
this.model.seatyph = val ? 'X' : ''
}
}
},
methods: {
clearSeatyp() {
this.model.seatypb = '';
this.model.seatypc = '';
this.model.seatypa = '';
this.model.seatypo = '';
this.model.seatyph = '';
},
chooseRowEvent(row) {
this.model.infbut.selrow = row.IDX + 1;
},
...Event},
created: function () {},
};
</script>
......
......@@ -5,12 +5,12 @@
<c-col :span="11">
<el-form-item
label="Party No."
prop="ptysea.extkey"
prop="recgrp_rec_extkey"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.ptysea.extkey"
v-model="model.recgrp.rec.extkey"
placeholder="请输入"
disabled
></c-input>
......@@ -49,15 +49,26 @@
</c-fullbox>
</el-form-item>
<el-form-item label="Type">
<el-radio-group v-model="radio" disabled>
<el-radio :label="0" v-model="model.seatypb">Bank</el-radio>
<el-radio :label="1" v-model="model.seatypc">Client</el-radio>
<el-radio :label="2" v-model="model.seatypa">Own Address</el-radio>
<el-radio :label="3" v-model="model.seatypo">Other</el-radio>
<el-radio :label="4" v-model="model.seatyph">海关</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="Type">
<c-checkbox v-model="model.seatypb" disabled>Bank</c-checkbox>
<c-checkbox v-model="model.seatypc" disabled>Client</c-checkbox>
<c-checkbox v-model="model.seatypa" disabled>Own Address</c-checkbox>
<c-checkbox v-model="model.seatypo" disabled>Other</c-checkbox>
<c-checkbox v-model="model.seatyph" disabled>海关</c-checkbox>
</el-form-item>
<!-- <el-form-item label="Type">
<el-radio-group v-model="radio" disabled>
<el-radio :label="0" v-model="model.seatypb">Bank</el-radio>
<el-radio :label="1" v-model="model.seatypc">Client</el-radio>
<el-radio :label="2" v-model="model.seatypa">Own Address</el-radio>
<el-radio :label="3" v-model="model.seatypo">Other</el-radio>
<el-radio :label="4" v-model="model.seatyph">海关</el-radio>
</el-radio-group>
</el-form-item> -->
<el-form-item label="Name 1" prop="recgrp.adrmaa.nam1" >
<c-input
......@@ -274,17 +285,15 @@
</c-fullbox>
</el-form-item>
<el-form-item label="Address Status" prop="recgrp.rec.adrsta">
<c-select
v-model="model.recgrp.rec.adrsta"
style="width: 100%"
placeholder="请选择Address Status"
disabled
>
</c-select>
</el-form-item>
<el-form-item label="Address Status" prop="recgrp.rec.adrsta">
<c-input
v-model="model.recgrp.rec.adrsta"
maxlength="20"
placeholder="请输入Address Status"
disabled
></c-input>
</el-form-item>
<el-form-item label="Telephone 1" prop="recgrp.adrmaa.tel1">
<c-input
v-model="model.recgrp.adrmaa.tel1"
......@@ -390,26 +399,26 @@
<el-form-item label="Language " prop="recgrp.adrmaa.uil">
<c-col :span="12">
<c-select
<c-input
v-model="model.recgrp.adrmaa.uil"
style="width: 100%"
placeholder="请选择 Language "
disabled
>
</c-select>
</c-input>
</c-col>
</el-form-item>
<el-form-item label=" Messages" prop="recgrp.adrmaa.cortyp">
<c-col :span="12">
<c-select
<c-input
v-model="model.recgrp.adrmaa.cortyp"
style="width: 100%"
placeholder="Messages SWT, LET, TLX, TCO"
disabled
>
</c-select>
</c-input>
</c-col>
</el-form-item>
......@@ -477,6 +486,8 @@ export default {
</script>
<style>
</style>
<!-- <c-col :span="12">
......
......@@ -186,13 +186,13 @@
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="买优惠" prop="recgrp.ptyrat.buytyp">
<c-select
<el-form-item label="买优惠" prop="recgrp.ptyrat.buytyp">
<c-input
v-model="model.recgrp.ptyrat.buytyp"
style="width: 100%"
placeholder="请选择Customer Specific Buying Rate Type"
>
</c-select>
</c-input>
</el-form-item>
</c-col>
......@@ -210,7 +210,7 @@
</c-col>
<c-col :span="12">
<el-form-item label="卖优惠" prop="recgrp.ptyrat.seltyp">
<el-form-item label="卖优惠" prop="recgrp.ptyrat.seltyp">
<c-select
v-model="model.recgrp.ptyrat.seltyp"
style="width: 100%"
......
<template>
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<el-form
:model="model"
:rules="rules"
......@@ -11,29 +12,29 @@
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000039 -->
<el-tab-pane label="Search Panel" name="infsea">
<el-tab-pane label="客户查询" name="infsea">
<m-infsea :model="model" :codes="codes" ref="infsea" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Party" name="ptyp0">
<el-tab-pane label="机构" name="ptyp0">
<m-ptyp0 :model="model" :codes="codes" ref="ptyp0" />
</el-tab-pane>
<el-tab-pane label="Details" name="ptyp1">
<el-tab-pane label="明细" name="ptyp1">
<m-ptyp1 :model="model" :codes="codes" ref="ptyp1" />
</el-tab-pane>
<el-tab-pane label="Additional Addresses" name="addadrp">
<el-tab-pane label="详细地址" name="addadrp">
<m-addadrp :model="model" :codes="codes" ref="addadrp" />
</el-tab-pane>
<el-tab-pane label="Info and Stoptext" name="ptytxt">
<m-ptytxt :model="model" :codes="codes" ref="ptytxt" />
</el-tab-pane>
<el-tab-pane label="Accounts" name="actinf">
<el-tab-pane label="账单" name="actinf">
<m-actinf :model="model" :codes="codes" ref="actinf" />
</el-tab-pane>
<el-tab-pane label="Contacts" name="ptcinf">
<el-tab-pane label="联系方式" name="ptcinf">
<m-ptcinf :model="model" :codes="codes" ref="ptcinf" />
</el-tab-pane>
<el-tab-pane label="Authentication of Address" name="ptmpan">
<el-tab-pane label="认证地址" name="ptmpan">
<m-ptmpan :model="model" :codes="codes" ref="ptmpan" />
</el-tab-pane>
<el-tab-pane label="Further Info and Stoptext" name="oitp">
......@@ -48,6 +49,7 @@ import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Infpty from "~/model/Infpty";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Infpty/Check";
import Default from "~/model/Infpty/Default";
import Pattern from "~/model/Infpty/Pattern";
......@@ -60,7 +62,6 @@ import Actinf from "./Actinf";
import Ptcinf from "./Ptcinf";
import Ptmpan from "./Ptmpan";
import Oitp from "./Oitp";
export default {
name: "Infpty",
components: {
......@@ -73,13 +74,13 @@ export default {
"m-ptcinf":Ptcinf,
"m-ptmpan":Ptmpan,
"m-oitp":Oitp,
},
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "infsea",
......@@ -94,6 +95,12 @@ export default {
},
methods: {
//修改原事件MytabClick的V-on
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created: async function () {
......
......@@ -191,6 +191,11 @@ export default {
{ inifrm: "ordrel", ininam: "ordrel", pntmiu: "14" },
{ inifrm: "cptbat", ininam: "批量汇款", pntmiu: "14" },
{ inifrm: "18",ininam: "客户查询", pntmiu: "" },
{ inifrm: "infpty", ininam: "客户信息查询", pntmiu: "18" },
{ inifrm: "infpta", ininam: "客户地址查询", pntmiu: "18" },
......
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