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