Commit 3a0e7a13 by tianxinyu

BCTACC页面修改

parent 3f4046e0
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<!--el-collapse-item title="备查表" name="addbcb1">
<m-addbcb1 :model="model" :codes="codes" />
</el-collapse-item-->
<el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import Utils from "~/utils";
import Event from "~/model/Bctacc/Event";
//import Addbcb1 from "~/views/Public/Addbcb1";
import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"m-coninfp": Coninfp,
//"m-addbcb1": Addbcb1,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["coninfp"],
};
},
methods: {
...Event,
handleChange(val) {
console.log(val);
},
},
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template> <template>
<div class="eibs-tab"> <div class="eibs">
<!-- ====================左边======================= --> <!-- ====================左边======================= -->
<el-col :span="11"> <c-col :span="12" style="padding-right: 20px;">
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="代收承兑编号" label="代收承兑编号"
...@@ -173,21 +173,9 @@ ...@@ -173,21 +173,9 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<!-- <c-edit-table :model="model" v-bind="docgrd">
</c-edit-table> -->
<c-docpre
:model="model"
:argadr="{
path: 'bcdgrp.blk.docpre',
grp: 'bctp',
code: 'docpre',
}"
></c-docpre>
</c-col> </c-col>
</el-col>
<!-- ====================右边======================= --> <!-- ====================右边======================= -->
<el-col :span="11" :offset="1"> <c-col :span="12" style="padding-left: 20px;">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="简略信息" prop="bcdgrp.rec.nam" style="width: 100%"> <el-form-item label="简略信息" prop="bcdgrp.rec.nam" style="width: 100%">
<c-input <c-input
...@@ -283,7 +271,19 @@ ...@@ -283,7 +271,19 @@
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-col> </c-col>
<c-col :span="24">
<!-- <c-edit-table :model="model" v-bind="docgrd">
</c-edit-table> -->
<c-docpre
:model="model"
:argadr="{
path: 'bcdgrp.blk.docpre',
grp: 'bctp',
code: 'docpre',
}"
></c-docpre>
</c-col>
</div> </div>
</template> </template>
<script> <script>
......
<template> <template>
<c-row> <div class="eibs">
<!-- ====================左边======================= --> <!-- ====================左边======================= -->
<c-col :span="11"> <c-col :span="12" style="padding-right: 20px;">
<c-col :span="24"> <c-col :span="24">
<c-col :span="20"> <c-col :span="20">
<el-form-item label="放单指示条款" prop="bcdgrp.blk.colins"> <el-form-item label="放单指示条款" prop="bcdgrp.blk.colins">
...@@ -73,11 +73,11 @@ ...@@ -73,11 +73,11 @@
</c-col> </c-col>
</c-col> </c-col>
<!-- ====================右边======================= --> <!-- ====================右边======================= -->
<c-col :span="11" :offset="1"> <c-col :span="12" style="padding-left: 20px;">
<c-col :span="24"> <c-col :span="24">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="费用承担条款" prop="bcdgrp.rec.chato"> <el-form-item label="费用承担条款" prop="bcdgrp.rec.chato">
<c-select v-model="model.bcdgrp.rec.chato" style="width:50%" placeholder="请输入费用承担条款"> <c-select v-model="model.bcdgrp.rec.chato" style="width:54%" placeholder="请输入费用承担条款">
<el-option v-for="item in codes.chadet" :key="item.value" :label="item.label" <el-option v-for="item in codes.chadet" :key="item.value" :label="item.label"
:value="item.value"> :value="item.value">
</el-option> </el-option>
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
<el-form-item label="手续费支付的附加详述" prop="bcdgrp.blk.chgtxt"> <el-form-item label="手续费支付的附加详述" prop="bcdgrp.blk.chgtxt">
<c-input <c-input
:rows="4" :rows="4"
type="textarea" v-model="model.bcdgrp.blk.chgtxt" maxlength="35" style="width:76%" type="textarea" v-model="model.bcdgrp.blk.chgtxt" maxlength="35" style="width:100%"
show-word-limit placeholder="请输入手续费支付的附加详述"></c-input> show-word-limit placeholder="请输入手续费支付的附加详述"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="交单时是否放弃向代收行收取费用的权力" prop="bcdgrp.rec.waicolcod"> <el-form-item label="交单时是否放弃向代收行收取费用的权力" prop="bcdgrp.rec.waicolcod">
<c-select v-model="model.bcdgrp.rec.waicolcod" style="width:50%" <c-select v-model="model.bcdgrp.rec.waicolcod" style="width:54%"
placeholder="请选择交单时是否放弃向代收行收取费用的权力"> placeholder="请选择交单时是否放弃向代收行收取费用的权力">
<el-option v-for="item in codes.waicod" :key="item.value" :label="item.label" <el-option v-for="item in codes.waicod" :key="item.value" :label="item.label"
:value="item.value"> :value="item.value">
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="放单时是否放弃向托收行收取费用的权力" prop="bcdgrp.rec.wairmtcod"> <el-form-item label="放单时是否放弃向托收行收取费用的权力" prop="bcdgrp.rec.wairmtcod">
<c-select v-model="model.bcdgrp.rec.wairmtcod" style="width:50%" <c-select v-model="model.bcdgrp.rec.wairmtcod" style="width:54%"
placeholder="请选择放单时是否放弃向托收行收取费用的权力"> placeholder="请选择放单时是否放弃向托收行收取费用的权力">
<el-option v-for="item in codes.waicod" :key="item.value" :label="item.label" <el-option v-for="item in codes.waicod" :key="item.value" :label="item.label"
:value="item.value"> :value="item.value">
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="延期付款期限" prop="bcdgrp.rec.othins"> <el-form-item label="延期付款期限" prop="bcdgrp.rec.othins">
<c-select v-model="model.bcdgrp.rec.othins" style="width:50%" placeholder="请选择延期付款期限"> <c-select v-model="model.bcdgrp.rec.othins" style="width:54%" placeholder="请选择延期付款期限">
<el-option v-for="item in codes.bcothi" :key="item.value" :label="item.label" <el-option v-for="item in codes.bcothi" :key="item.value" :label="item.label"
:value="item.value"> :value="item.value">
</el-option> </el-option>
...@@ -128,7 +128,7 @@ ...@@ -128,7 +128,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</c-row> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="11"> <c-col :span="12" style="padding-right:20px;">
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="付款人参考号" label="付款人参考号"
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
</c-col> </c-col>
<!-- =====================right================================ --> <!-- =====================right================================ -->
<c-col :span="11" :offset="1"> <c-col :span="12" style="padding-left:20px;">
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="托收行参考号" label="托收行参考号"
......
<template> <template>
<c-page title="进口代收承兑"> <c-page title="进口代收承兑">
<div class="eContainer"> <div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
<el-form <el-form
:model="model" :model="model"
:rules="rules" :rules="rules"
...@@ -17,50 +11,51 @@ ...@@ -17,50 +11,51 @@
:validate-on-rule-change="false" :validate-on-rule-change="false"
> >
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--Settle BC -->
<el-tab-pane label="Settle BC" name="bctset">
<c-content>
<m-bctset :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--指示条款 -->
<el-tab-pane label="指示条款" name="detp">
<m-detp :model="model" :codes="codes" />
</el-tab-pane>
<!--参与方 --> <!-- 业务信息 -->
<el-tab-pane label="参与方" name="ptyp"> <el-tab-pane label="业务信息" name="ovwp">
<c-content> <c-content>
<m-ptyp :model="model" :codes="codes" /> <m-ovwp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--表外记账 --> <!--费用账务 -->
<el-tab-pane label="表外记账" name="engp"> <el-tab-pane label="费用/账务" name="engp,setpan">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--结算 -->
<el-tab-pane label="结算" name="setpan">
<c-content> <c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="表外记账" name="engp">
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="结算" name="setpan">
<!-- 结算 -->
<m-setpan :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--提示信息 --> <!--备查/附言 -->
<el-tab-pane label="提示信息" name="coninfp"> <el-tab-pane label="备查/附言" name="addbcb">
<m-coninfp :model="model" :codes="codes" /> <c-content>
<m-addbcb :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--报文和面函 --> <!--报文/面函 -->
<el-tab-pane label="报文和面函" name="docpan"> <el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" /> <m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--附件 --> <!--附件 -->
<el-tab-pane label="附件" name="doctre"> <el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" /> <m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
...@@ -77,6 +72,12 @@ ...@@ -77,6 +72,12 @@
@select-ety="selectMsg" @select-ety="selectMsg"
> >
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</div> </div>
</c-page> </c-page>
</template> </template>
...@@ -91,9 +92,11 @@ import Check from "~/model/Bctacc/Check"; ...@@ -91,9 +92,11 @@ import Check from "~/model/Bctacc/Check";
import Default from "~/model/Bctacc/Default"; import Default from "~/model/Bctacc/Default";
import Pattern from "~/model/Bctacc/Pattern"; import Pattern from "~/model/Bctacc/Pattern";
import Addbcb from "./Addbcb";
import Bctset from "./Bctset"; import Bctset from "./Bctset";
import Detp from "./Detp"; import Detp from "./Detp";
import Ptyp from "./Ptyp"; import Ptyp from "./Ptyp";
import Ovwp from "./ovwp.vue";
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
...@@ -104,6 +107,7 @@ import Doctre from "~/views/Public/Doctre"; ...@@ -104,6 +107,7 @@ import Doctre from "~/views/Public/Doctre";
export default { export default {
name: "Bctacc", name: "Bctacc",
components: { components: {
"m-addbcb":Addbcb,
"m-bctset": Bctset, "m-bctset": Bctset,
"m-detp": Detp, "m-detp": Detp,
"m-ptyp": Ptyp, "m-ptyp": Ptyp,
...@@ -112,6 +116,7 @@ export default { ...@@ -112,6 +116,7 @@ export default {
"m-coninfp": Coninfp, "m-coninfp": Coninfp,
"m-docpan": Docpan, "m-docpan": Docpan,
"m-doctre": Doctre, "m-doctre": Doctre,
"m-ovwp": Ovwp,
}, },
provide() { provide() {
return { return {
...@@ -121,7 +126,7 @@ export default { ...@@ -121,7 +126,7 @@ export default {
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "bctset", tabVal: "ovwp",
trnName: "bctacc", trnName: "bctacc",
model: new Bctacc().data, model: new Bctacc().data,
checkRules: Check, checkRules: Check,
...@@ -131,6 +136,7 @@ export default { ...@@ -131,6 +136,7 @@ export default {
codes: { codes: {
...CodeTable, ...CodeTable,
}, },
activeNames:["engp"]
}; };
}, },
methods: { methods: {
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="Settle BC" name="bctset">
<m-bctset :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="指示条款" name="detp">
<m-detp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="参与方" name="ptyp">
<m-ptyp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import Event from "~/model/Bctacc/Event"
import Detp from "./Detp";
import Ptyp from "./Ptyp";
import Bctset from "./Bctset"
export default {
components: {
"m-bctset": Bctset,
"m-detp": Detp,
"m-ptyp": Ptyp,
},
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
activeNames: ["bctset"],
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
.marginLable {
padding-left: 160px;
}
</style>
\ No newline at end of file
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