Commit 4af36039 by taojinrui

cptati,cptato,cnysel交易修改

parent 15476d7e
...@@ -98,6 +98,10 @@ const CodeTable = { ...@@ -98,6 +98,10 @@ const CodeTable = {
{ label: "客户账", value: "0" }, { label: "客户账", value: "0" },
{ label: "银行内部账", value: "1" }, { label: "银行内部账", value: "1" },
], ],
acttyp:[
{label:"境内非居民", value:"JN"},
{label:"境外",value:"JW"}
],
acksta: [ acksta: [
{ label: "ack", value: "1" }, { label: "ack", value: "1" },
{ label: "nack", value: "2" }, { label: "nack", value: "2" },
......
...@@ -396,7 +396,7 @@ const BusRouter = [ ...@@ -396,7 +396,7 @@ const BusRouter = [
{ path: 'Litacp', component: Litacp, name: 'Litacp', meta: { title: '进口信用证减额修改接受' } }, { path: 'Litacp', component: Litacp, name: 'Litacp', meta: { title: '进口信用证减额修改接受' } },
{ path: 'Litdla', component: Litdla, name: 'Litdla', meta: { title: '进口信用证减额修改接受' } }, { path: 'Litdla', component: Litdla, name: 'Litdla', meta: { title: '进口信用证减额修改接受' } },
{ path: 'Bctsel', component: Bctsel, name: 'Bctsel', meta: { title: '进口代收' } }, { path: 'Bctsel', component: Bctsel, name: 'Bctsel', meta: { title: '进口代收' } },
{ path: 'Cnysel', component: Cnysel, name: 'Cnysel', meta: { title: 'Cnysel' } }, { path: 'Cnysel', component: Cnysel, name: 'Cnysel', meta: { title: '跨境人民币查询' } },
{ path: 'Cptrel', component: Cptrel, name: 'Cptrel', meta: { title: 'Cptrel' } }, { path: 'Cptrel', component: Cptrel, name: 'Cptrel', meta: { title: '汇款复核与查询' } },
] ]
export default BusRouter export default BusRouter
\ No newline at end of file
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- ===================左边================= -->
<!-- ===================左边================= --> <c-col :span="11">
<c-col :span="11"> <c-col :span="24">
<el-form-item label="申报类型" prop="cnytyp"> <el-form-item label="申报类型" prop="cnytyp">
<c-select v-model="model.cnytyp" style="width:100%" placeholder="请选择申报类型"> <c-select
<el-option v-model="model.cnytyp"
v-for="item in codes.cnytyp" style="width: 100%"
:key="item.value" placeholder="请选择申报类型"
:label="item.label" >
:value="item.value" <el-option
> v-for="item in codes.cnytyp"
</el-option> :key="item.value"
</c-select> :label="item.label"
</el-form-item> :value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="业务编号" prop="ownref"> <el-form-item label="业务编号" prop="ownref">
<c-input v-model="model.ownref" maxlength="20" placeholder="请输入业务编号"></c-input> <c-input
</el-form-item> v-model="model.ownref"
</c-col> maxlength="20"
placeholder="请输入业务编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="业务所属行" prop="ownextkey"> <el-form-item label="业务所属行" prop="ownextkey">
<c-select v-model="model.ownextkey" style="width:100%" placeholder="请选择Initial Code"> <c-select
<el-option v-model="model.ownextkey"
v-for="item in codes.ownextkey" style="width: 100%"
:key="item.value" placeholder="请选择Initial Code"
:label="item.label" >
:value="item.value" <el-option
> v-for="item in codes.ownextkey"
</el-option> :key="item.value"
</c-select> :label="item.label"
</el-form-item> :value="item.value"
</c-col> >
</c-col> </el-option>
<!-- =====================右边=========================== --> </c-select>
<c-col :span="11" :offset="1"> </el-form-item>
</c-col>
<c-col :span="12"> </c-col>
<el-form-item label="From" prop="frmdat"> <!-- =====================右边=========================== -->
<c-date-picker type="date" v-model="model.frmdat" style="width:100%" placeholder="请选择From"></c-date-picker> <c-col :span="11" :offset="1">
</el-form-item> <c-col :span="24">
</c-col> <el-form-item label="From" prop="frmdat">
<c-date-picker
type="date"
v-model="model.frmdat"
style="width: 100%"
placeholder="请选择From"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Until" prop="tildat"> <el-form-item label="Until" prop="tildat">
<c-date-picker type="date" v-model="model.tildat" style="width:100%" placeholder="请选择Until"></c-date-picker> <c-date-picker
</el-form-item> type="date"
</c-col> v-model="model.tildat"
</c-col> style="width: 100%"
<!-- ======================底部============================ --> placeholder="请选择Until"
<c-col :span="24"> ></c-date-picker>
<c-col :span="24"> </el-form-item>
</c-col>
</c-col>
<!-- ======================底部============================ -->
<c-col :span="24">
<!-- <c-col :span="24">
<el-form-item label="Selection" prop="cnystm"> <el-form-item label="Selection" prop="cnystm">
<c-input v-model="model.cnystm" placeholder="请输入Selection"></c-input> <c-input v-model="model.cnystm" placeholder="请输入Selection"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
</c-col> <c-istream-table
:list="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
<el-table-column fixed="right" prop="op" label="操作" width="200px">
<template slot="header">
<c-col :span="11" style="text-align: left"><span>操作</span></c-col>
<!-- <c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col> -->
</template>
<template slot-scope="scope">
<a href="javascript:void(0)" @click="continueEdit(scope.row)"
>详情</a
>
<a href="javascript:void(0)" @click="continueEdit(scope.row)"
>修改</a
>
<a href="javascript:void(0)" @click="continueEdit(scope.row)"
>删除</a
>
</template>
</el-table-column>
</c-istream-table>
</c-col>
<!-- <c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="申报类型" prop="cnytyp"> <el-form-item label="申报类型" prop="cnytyp">
<c-select v-model="model.cnytyp" style="width:100%" placeholder="请选择申报类型"> <c-select v-model="model.cnytyp" style="width:100%" placeholder="请选择申报类型">
</c-select> </c-select>
...@@ -121,29 +165,37 @@ ...@@ -121,29 +165,37 @@
Exit Exit
</c-button> </c-button>
</c-col> --> </c-col> -->
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cnysel/Event" import Event from "~/model/Cnysel/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {
stmData: {
} columns: [
}, '0 1 "业务编号" 110',
methods:{...Event}, '1 2 "币种" 110',
created:function(){ '2 3 "金额" 120 2 8:1 2 5',
'3 4 "收款人名称" 250',
} '4 5 "付款人名称" 250',
} '5 6 "业务发生日期" 150 20 30 1',
'6 7 "复核状态" 120 1 0:0 1 RELSTA',
],
data: [],
},
};
},
methods: { ...Event },
created: function () {},
};
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eContainer"> <c-page title="跨境人民币查询">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <div class="eContainer">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <el-form
:model="model"
<!--PD000001 --> :rules="rules"
<el-tab-pane label="PD000001" name="selp"> ref="modelForm"
<m-selp :model="model" :codes="codes"/> label-width="150px"
</el-tab-pane> label-position="right"
</c-tabs> size="small"
</el-form> :validate-on-rule-change="false"
</div> >
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
>
<!--PD000001 -->
<el-tab-pane label="接口信息选择" name="selp">
<m-selp :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Cnysel from "~/model/Cnysel" import Cnysel from "~/model/Cnysel";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Cnysel/Check" import Check from "~/model/Cnysel/Check";
import Default from "~/model/Cnysel/Default" import Default from "~/model/Cnysel/Default";
import Pattern from "~/model/Cnysel/Pattern" import Pattern from "~/model/Cnysel/Pattern";
import Selp from "./Selp" import Selp from "./Selp";
export default { export default {
name: "Cnysel", name: "Cnysel",
components:{ components: {
"m-selp" : Selp, "m-selp": Selp,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "", tabVal: "selp",
trnName: "cnysel", trnName: "cnysel",
model: new Cnysel().data, model: new Cnysel().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { ...CodeTable codes: { ...CodeTable },
}, };
} },
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
}, },
methods:{ },
myTabClick(tab){ created: async function () {
this.tabClick(tab) console.log("进入cnysel交易");
/** let rtnmsg = await this.init({});
* do it yourself if (rtnmsg.respCode == SUCCESS) {
**/ this.updateModel(rtnmsg.data);
} //TODO 处理数据逻辑
}, } else {
created:async function(){ this.$notify.error({ title: "错误", message: "服务请求失败!" });
console.log("进入cnysel交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
...@@ -3,8 +3,10 @@ ...@@ -3,8 +3,10 @@
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="ACT" prop="lendoc.account"> <el-form-item label="Verification Certificate Number" prop="lendoc.vercerref">
<c-input type="textarea" v-model="model.lendoc.account" maxlength="25" show-word-limit placeholder="请输入ACT" ></c-input> <c-input type="textarea" v-model="model.lendoc.vercerref" maxlength="20" show-word-limit placeholder="请输入Verification Certificate Number"
style="text-align: left;"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -16,19 +18,20 @@ ...@@ -16,19 +18,20 @@
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="8"> <c-col :span="4">
<c-checkbox v-model="model.lendoc.actflg" <c-checkbox v-model="model.lendoc.actflg"
>Input Account</c-checkbox> >Input Account</c-checkbox>
</c-col> </c-col>
<c-col :span="16"> <c-col :span="20">
<el-form-item label="Verification Certificate Number" prop="lendoc.vercerref"> <el-form-item label="ACT" prop="lendoc.account">
<c-input type="textarea" v-model="model.lendoc.vercerref" maxlength="20" show-word-limit placeholder="请输入Verification Certificate Number" <c-input type="textarea" v-model="model.lendoc.account" maxlength="25" show-word-limit placeholder="请输入ACT" ></c-input>
style="text-align: left;"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
......
<template> <template>
<div class="eContainer"> <c-page title="境内外币汇入汇款">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <div class="eContainer">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<!--Ovweview --> <el-form
<el-tab-pane label="Ovweview" name="opnp1"> :model="model"
<c-content> :rules="rules"
<m-opnp1 :model="model" :codes="codes"/> ref="modelForm"
</c-content> label-width="150px"
</el-tab-pane> label-position="right"
size="small"
<!--Parties --> :validate-on-rule-change="false"
<el-tab-pane label="Parties" name="pardet"> >
<c-content> <c-tabs
<m-pardet :model="model" :codes="codes"/> v-model="tabVal"
</c-content> ref="elment"
</el-tab-pane> type="card"
@tab-click="myTabClick"
<!--Settlement --> >
<el-tab-pane label="Settlements" name="setpan"> <!--Ovweview -->
<c-content> <el-tab-pane label="Ovweview" name="opnp1">
<m-setpan :model="model" :codes="codes"/> <c-content>
</c-content> <m-opnp1 :model="model" :codes="codes" />
</el-tab-pane> </c-content>
</el-tab-pane>
<!--Completion -->
<el-tab-pane label="Completion" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!-- Messages --> <!--Parties -->
<el-tab-pane label="Messages" name="docpan1"> <el-tab-pane label="Parties" name="pardet">
<c-content> <c-content>
<m-docpan1 :model="model" :codes="codes"/> <m-pardet :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--收账通知 -->
<el-tab-pane label="收账通知" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000006 -->
<el-tab-pane label="外管信息" name="wg">
<c-content>
<m-wg :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000018 --> <!--Settlement -->
<el-tab-pane label="PD000018" name="addinf"> <el-tab-pane label="Settlements" name="setpan">
<c-content> <c-content>
<m-addinf :model="model" :codes="codes"/> <m-setpan :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
</c-tabs>
</el-form> <!--Completion -->
</div> <el-tab-pane label="Completion" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!-- Messages -->
<el-tab-pane label="Messages" name="docpan1">
<c-content>
<m-docpan1 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--收账通知 -->
<el-tab-pane label="收账通知" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000006 -->
<el-tab-pane label="外管信息" name="wg">
<c-content>
<m-wg :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000018 -->
<!-- <el-tab-pane label="PD000018" name="addinf">
<c-content>
<m-addinf :model="model" :codes="codes" />
</c-content>
</el-tab-pane> -->
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog>
</div>
</c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Cptati from "~/model/Cptati" import Cptati from "~/model/Cptati";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Cptati/Check" import Check from "~/model/Cptati/Check";
import Default from "~/model/Cptati/Default" import Default from "~/model/Cptati/Default";
import Pattern from "~/model/Cptati/Pattern" import Pattern from "~/model/Cptati/Pattern";
import Opnp1 from "./Opnp1" import Opnp1 from "./Opnp1";
import Pardet from "./Pardet" import Pardet from "./Pardet";
import Setpan from "~/views/Public/Setpan" import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp" import Coninfp from "~/views/Public/Coninfp";
import Addinf from "./Addinf" import Addinf from "./Addinf";
import Doctre from "~/views/Public/Doctre" import Doctre from "~/views/Public/Doctre";
import Docpan1 from "~/views/Public/Docpan" import Docpan1 from "~/views/Public/Docpan";
import Docpan from "./Docpan" import Docpan from "./Docpan";
import Wg from "./Wg" import Wg from "./Wg";
export default { export default {
name: "Cptati", name: "Cptati",
components:{ components: {
"m-opnp1" : Opnp1, "m-opnp1": Opnp1,
"m-pardet" : Pardet, "m-pardet": Pardet,
"m-setpan" : Setpan, "m-setpan": Setpan,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-addinf" : Addinf, "m-addinf": Addinf,
"m-doctre" : Doctre, "m-doctre": Doctre,
"m-docpan1" : Docpan1, "m-docpan1": Docpan1,
"m-docpan" : Docpan, "m-docpan": Docpan,
"m-wg" : Wg, "m-wg": Wg,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "", tabVal: "opnp1",
trnName: "cptati", trnName: "cptati",
model: new Cptati().data, model: new Cptati().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { ...CodeTable }, codes: { ...CodeTable },
} };
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
}, },
methods:{ },
myTabClick(tab){ created: async function () {
this.tabClick(tab) console.log("进入cptati交易");
/** let rtnmsg = await this.init({});
* do it yourself if (rtnmsg.respCode == SUCCESS) {
**/ this.updateModel(rtnmsg.data);
} //TODO 处理数据逻辑
}, } else {
created:async function(){ this.$notify.error({ title: "错误", message: "服务请求失败!" });
console.log("进入cptati交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
...@@ -167,8 +167,9 @@ ...@@ -167,8 +167,9 @@
style="width: 100%" style="width: 100%"
placeholder="请选择业务种类" placeholder="请选择业务种类"
> >
<!-- 使用busflg,bustyp不符 -->
<el-option <el-option
v-for="item in codes.bustyp" v-for="item in codes.busflg"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
...@@ -506,16 +507,18 @@ ...@@ -506,16 +507,18 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-row type="flex" justify="end">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="相关参考号" prop="" v-show="flag1"> <el-form-item label="相关参考号" prop="" v-show="flag1">
<c-input></c-input> <c-input></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12" style="text-align: right"> <c-col :span="10" offset="2" style="text-align: right">
<c-checkbox <c-checkbox
v-model="model.cpdgrp.rec.tsnflg" v-model="model.cpdgrp.rec.tsnflg"
>同名划转标志</c-checkbox> >同名划转标志</c-checkbox>
</c-col> </c-col>
</c-row>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
......
...@@ -22,18 +22,6 @@ ...@@ -22,18 +22,6 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <c-col :span="24">
<el-form-item
label="Drag Drop Sender"
prop="attp.orip.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.attp.orip.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24"> <c-col :span="24">
<c-fullbox> <c-fullbox>
<el-form-item <el-form-item
...@@ -44,6 +32,9 @@ ...@@ -44,6 +32,9 @@
v-model="model.cpdgrp.ori.pts.extkey" v-model="model.cpdgrp.ori.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('attp.atd.sbkact')
"
></c-input> ></c-input>
</el-form-item> </el-form-item>
<template slot="footer"> <template slot="footer">
...@@ -127,6 +118,9 @@ ...@@ -127,6 +118,9 @@
v-model="model.cpdgrp.med.pts.extkey" v-model="model.cpdgrp.med.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('cpdgrp.med.pts.extkey')
"
></c-input> ></c-input>
</el-form-item> </el-form-item>
<template slot="footer"> <template slot="footer">
...@@ -174,6 +168,9 @@ ...@@ -174,6 +168,9 @@
v-model="model.cpdgrp.rmt.pts.extkey" v-model="model.cpdgrp.rmt.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('cpdgrp.rmt.pts.extkey')
"
></c-input> ></c-input>
</el-form-item> </el-form-item>
<template slot="footer"> <template slot="footer">
...@@ -184,8 +181,6 @@ ...@@ -184,8 +181,6 @@
icon="el-icon-search" icon="el-icon-search"
> >
</c-button> </c-button>
<!-- </c-col> -->
<!-- <c-col :span="12"> -->
<c-button <c-button
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
...@@ -256,6 +251,9 @@ ...@@ -256,6 +251,9 @@
v-model="model.cpdgrp.pyb.pts.extkey" v-model="model.cpdgrp.pyb.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('cpdgrp.pyd.pts.extkey')
"
></c-input> ></c-input>
</el-form-item> </el-form-item>
<template slot="footer"> <template slot="footer">
...@@ -325,6 +323,7 @@ ...@@ -325,6 +323,7 @@
show-word-limit show-word-limit
placeholder="请输入附言" placeholder="请输入附言"
rows="4" rows="4"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -354,6 +353,7 @@ ...@@ -354,6 +353,7 @@
show-word-limit show-word-limit
placeholder="请输入受益行" placeholder="请输入受益行"
rows="4" rows="4"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -4,6 +4,12 @@ ...@@ -4,6 +4,12 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="申报类型" prop="bopmod.szflg"> <el-form-item label="申报类型" prop="bopmod.szflg">
<c-select v-model="model.bopmod.szflg" style="width:100%" placeholder="请选择申报类型"> <c-select v-model="model.bopmod.szflg" style="width:100%" placeholder="请选择申报类型">
<el-option
v-for="item in codes.szflg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -11,7 +17,18 @@ ...@@ -11,7 +17,18 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="款项去向" prop="bopmod.acttyp"> <el-form-item label="款项去向" prop="bopmod.acttyp">
<c-select v-model="model.bopmod.acttyp" style="width:100%" placeholder="请选择款项去向"> <c-select
v-model="model.bopmod.acttyp"
style="width:100%"
placeholder="请选择地区机构号"
>
<el-option
v-for="item in codes.acttyp"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -19,23 +36,32 @@ ...@@ -19,23 +36,32 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="地区机构号" prop="bopmod.ownextkey"> <el-form-item label="地区机构号" prop="bopmod.ownextkey">
<c-select v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号"> <c-select v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号">
</c-select> <el-option
v-for="item in codes.ownextkey"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.bopmod.basflg">基础数据</c-checkbox> <c-checkbox v-model="model.bopmod.basflg"
</c-col>
>基础数据</c-checkbox>
</c-col>
<c-col :span="24"> <c-col :span="24" v-show="false">
<c-checkbox v-model="model.bopmod.dclflg">申报数据</c-checkbox> <c-checkbox v-model="model.bopmod.dclflg">申报数据</c-checkbox>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24" v-show="false">
<c-checkbox v-model="model.bopmod.vrfflg">核销数据</c-checkbox> <c-checkbox v-model="model.bopmod.vrfflg">核销数据</c-checkbox>
</c-col> </c-col>
</c-col> </c-col>
<!-- ==================原码================= --> <!-- ==================原码================= -->
...@@ -91,7 +117,24 @@ export default { ...@@ -91,7 +117,24 @@ export default {
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
} },
// computed:{
// //可以用watch做
// flag() {
// if(this.model.bopmod.szflg == "3"){
// return false;
// }
// else{ return true;}
// },
// flag1(){
// if(this.model.bopmod.szflg == "1"){
// return true;
// }
// else{return false;}
// }
// }
} }
</script> </script>
<style> <style>
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
<!--PD000000 --> <!--PD000000 -->
<m-coninfp :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!-- Messages -->
<el-tab-pane label="报文及面函" name="docpan"> <el-tab-pane label="报文及面函" name="docpan">
<!--PD000000 --> <!--PD000000 -->
<m-docpan :model="model" :codes="codes" /> <m-docpan :model="model" :codes="codes" />
...@@ -62,14 +63,14 @@ import CodeTable from "~/config/CodeTable"; ...@@ -62,14 +63,14 @@ import CodeTable from "~/config/CodeTable";
import Cptato from "~/model/Cptato"; import Cptato from "~/model/Cptato";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import Pattern from "~/model/Cptato/Pattern"; import Pattern from "~/model/Cptato/Pattern";
import Opnp1 from "./Opnp1";
import Wg from "./Wg";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Glepan from "~/views/Public/Glepan"; import Glepan from "~/views/Public/Glepan";
import Pardet from "./Pardet";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
import Opnp1 from "./Opnp1";
import Pardet from "./Pardet";
import Wg from "./Wg";
export default { export default {
name: "Cptato", name: "Cptato",
......
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