Commit 02ede620 by 孟冬雪

mdx

parent aba1411e
...@@ -82,6 +82,7 @@ export default { ...@@ -82,6 +82,7 @@ export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
components: { "c-blkTextarea": BlkTextarea }, components: { "c-blkTextarea": BlkTextarea },
mixins: [CommonProcess], mixins: [CommonProcess],
data() { data() {
return { return {
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11" :offset="2"> <c-col :span="11" :offset="1">
<el-form-item label="名称" prop="ledgrp.rec.nam"> <el-form-item label="名称" prop="ledgrp.rec.nam">
<c-input <c-input
v-model="model.ledgrp.rec.nam" v-model="model.ledgrp.rec.nam"
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="3"> <c-col :span="2">
<c-button size="small" type="primary" @click="onLttpButgetref"> <c-button size="small" type="primary" @click="onLttpButgetref">
Get Ref Get Ref
</c-button> </c-button>
......
...@@ -123,6 +123,7 @@ export default { ...@@ -123,6 +123,7 @@ export default {
}; };
}, },
methods: { methods: {
tabClick() {}, tabClick() {},
}, },
created: async function () { created: async function () {
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row> <c-blkTextarea :model="model" v-bind="blk"> </c-blkTextarea>
<c-col :span="24"> <!-- Special payment conditions for beneficiary -->
<c-col :span="24" class="lttopn_adcp_check">
<c-checkbox v-model="model.ltdgrp.rec.spcbenflg"
>受益人特殊付款条款</c-checkbox
>
</c-col>
<!-- Special payment conditions for receiving bank -->
<c-col :span="24" class="lttopn_adcp_check">
<c-checkbox v-model="model.ltdgrp.rec.spcrcbflg">
收款银行特殊付款条款</c-checkbox
>
</c-col>
<c-col :span="24" class="lttopn_adcp_cheak">
<c-checkbox v-model="model.ltdgrp.rec.redclsflg"
>Red/Green Clause</c-checkbox
>
</c-col>
<c-blkTextarea :model="model" v-bind="blk1"> </c-blkTextarea>
<!-- <c-col :span="24">
<c-col :span="20"> <c-col :span="20">
<el-form-item label="附加条件" prop="ltdgrp.blk.adlcnd"> <el-form-item label="附加条件" prop="ltdgrp.blk.adlcnd">
<c-input type="textarea" <c-input type="textarea"
...@@ -18,7 +38,7 @@ ...@@ -18,7 +38,7 @@
<c-button size="small" type="primary" icon="el-icon-search" @click="onAdlcndButtxmsel"> <c-button size="small" type="primary" icon="el-icon-search" @click="onAdlcndButtxmsel">
... ...
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24" class="lttopn_adcp_check"> <c-col :span="24" class="lttopn_adcp_check">
<c-checkbox v-model="model.ltdgrp.rec.spcbenflg" <c-checkbox v-model="model.ltdgrp.rec.spcbenflg"
...@@ -50,9 +70,9 @@ ...@@ -50,9 +70,9 @@
<c-button size="small" type="primary" icon="el-icon-search" @click="onInsbnkButtxmsel"> <c-button size="small" type="primary" icon="el-icon-search" @click="onInsbnkButtxmsel">
... ...
</c-button> </c-button>
</c-col> </c-col>-->
</c-col>
</c-row>
</div> </div>
</template> </template>
<script> <script>
...@@ -64,11 +84,28 @@ import Event from "~/model/Lttopn/Event" ...@@ -64,11 +84,28 @@ import Event from "~/model/Lttopn/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
components: { "c-blkTextarea": BlkTextarea },
mixins: [CommonProcess], mixins: [CommonProcess],
data(){ data(){
return { return {
blk: {
} blkMsg: {
title: "附加条件",
dataUrl: "ledgrp.blk.adlcnd", //字段所在model路劲
rows: 16,
},
rulePath: "letp.adlcnd.buttxmsel",
},
blk1: {
blkMsg: {
title: "付款、承兑、议付银行指示",
dataUrl: "ledgrp.blk.insbnk", //字段所在model路劲
rows: 4,
maxlength: 2000,
},
rulePath: "letp.insbnk.buttxmsel",
},
};
}, },
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-blkTextarea :model="model" v-bind="blk"> </c-blkTextarea> <c-blkTextarea :model="model" v-bind="blk"> </c-blkTextarea>
<br />
<!-- <c-col :span="12">
<el-form-item label="货物类型" prop="ledgrp.rec.stagod">
<c-select
v-model="model.ledgrp.rec.stagod"
style="width: 100%"
placeholder="请选择货物类型 "
>
</c-select>
</el-form-item>
</c-col> -->
<!-- <c-col :span="24"> <!-- <c-col :span="24">
<c-col :span="20"> <c-col :span="20">
<el-form-item label="Description of Goods" prop="ltdgrp.blk.lcrgod"> <el-form-item label="Description of Goods" prop="ltdgrp.blk.lcrgod">
...@@ -39,7 +50,7 @@ export default { ...@@ -39,7 +50,7 @@ export default {
blk: { blk: {
blkMsg: { blkMsg: {
title: "货物说明", title: "货物说明",
dataUrl: "ltdgrp.blk.lcrgod", //字段所在model路 dataUrl: "ltdgrp.blk.lcrgod", //字段所在model路
rows: 20, rows: 20,
}, },
rulePath: "lttp.lcrgod.buttxmsel", rulePath: "lttp.lcrgod.buttxmsel",
...@@ -52,6 +63,6 @@ export default { ...@@ -52,6 +63,6 @@ export default {
</script> </script>
<style> <style>
.lttopn_dogp_button { .lttopn_dogp_button {
margin: 20px 0 0 -10px; margin: 20px 0 0 0px;
} }
</style> </style>
...@@ -265,18 +265,6 @@ ...@@ -265,18 +265,6 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-edit-table :model="model" v-bind="ptsaddg">
<el-table-column label="操作" align="center">
<template slot-scope="scope">
<el-button
size="mini"
@click="handleEdit(scope.$index, scope.row)"
type="primary"
>详情</el-button
>
</template>
</el-table-column>
</c-edit-table>
<!-- <c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="Available with Bank" prop="ltdgrp.avt.pts.ref"> <el-form-item label="Available with Bank" prop="ltdgrp.avt.pts.ref">
<c-input v-model="model.ltdgrp.avt.pts.ref" maxlength="16" placeholder="请输入Available with Bank"></c-input> <c-input v-model="model.ltdgrp.avt.pts.ref" maxlength="16" placeholder="请输入Available with Bank"></c-input>
...@@ -424,6 +412,18 @@ ...@@ -424,6 +412,18 @@
</el-form-item> </el-form-item>
</c-col>--> </c-col>-->
</c-col> </c-col>
<c-edit-table :model="model" v-bind="ptsaddg">
<el-table-column label="操作" align="center">
<template slot-scope="scope">
<el-button
size="mini"
@click="handleEdit(scope.$index, scope.row)"
type="primary"
>详情</el-button
>
</template>
</el-table-column>
</c-edit-table>
</c-row> </c-row>
<!-- </div> --> <!-- </div> -->
</template> </template>
......
...@@ -28,9 +28,26 @@ ...@@ -28,9 +28,26 @@
<!--PD000057 --> <!--PD000057 -->
<el-tab-pane label="货物说明" name="dogp"> <el-tab-pane label="货物说明" name="dogp">
<m-dogp :model="model" :codes="codes" /> <!-- <m-dogp :model="model" :codes="codes" /> -->
<m-doxp :model="model" :codes="codes" :dtyp="'dogp'" />
</el-tab-pane> </el-tab-pane>
<!--PD000394 -->
<el-tab-pane
v-if="model.ltdgrp.rec.spcbenflg"
label="受益人特殊付款条款"
name="spcbenp"
>
<m-spcbenp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000395 -->
<el-tab-pane
v-if="model.ltdgrp.rec.spcrcbflg"
label="收款银行特殊付款条款"
name="spcrcvp"
>
<m-spcrcvp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000065 --> <!--PD000065 -->
<el-tab-pane label="Rbip" name="rbip"> <el-tab-pane label="Rbip" name="rbip">
<m-rbip :model="model" :codes="codes" /> <m-rbip :model="model" :codes="codes" />
...@@ -38,7 +55,8 @@ ...@@ -38,7 +55,8 @@
<!--PD000073 --> <!--PD000073 -->
<el-tab-pane label="附加条款" name="adcp"> <el-tab-pane label="附加条款" name="adcp">
<m-adcp :model="model" :codes="codes" /> <!-- <m-adcp :model="model" :codes="codes" /> -->
<m-doxp :model="model" :codes="codes" :dtyp="'adcp'" />
</el-tab-pane> </el-tab-pane>
<!--PD000169 --> <!--PD000169 -->
...@@ -48,8 +66,10 @@ ...@@ -48,8 +66,10 @@
<!--PD000060 --> <!--PD000060 -->
<el-tab-pane label="单据要求" name="dorp"> <el-tab-pane label="单据要求" name="dorp">
<m-dorp :model="model" :codes="codes" /> <!-- <m-dorp :model="model" :codes="codes" /> -->
<m-doxp :model="model" :codes="codes" :dtyp="'dorp'" />
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
...@@ -65,22 +85,24 @@ import Pattern from "~/model/Lttopn/Pattern"; ...@@ -65,22 +85,24 @@ import Pattern from "~/model/Lttopn/Pattern";
import Ovwp from "./Ovwp"; import Ovwp from "./Ovwp";
import Detp from "./Detp"; import Detp from "./Detp";
import Ptyp from "./Ptyp"; import Ptyp from "./Ptyp";
import Dogp from "./Dogp"; //import Dogp from "./Dogp";
import Rbip from "./Rbip"; import Rbip from "./Rbip";
import Adcp from "./Adcp"; //import Adcp from "./Adcp";
import Lttinf from "./Lttinf"; import Lttinf from "./Lttinf";
import Dorp from "./Dorp"; //import Dorp from "./Dorp";
import Doxp from "~/views/Public/Doxp";
export default { export default {
components: { components: {
"m-ovwp": Ovwp, "m-ovwp": Ovwp,
"m-detp": Detp, "m-detp": Detp,
"m-ptyp": Ptyp, "m-ptyp": Ptyp,
"m-dogp": Dogp, // "m-dogp": Dogp,
"m-rbip": Rbip, "m-rbip": Rbip,
"m-adcp": Adcp, // "m-adcp": Adcp,
"m-lttinf": Lttinf, "m-lttinf": Lttinf,
"m-dorp": Dorp, // "m-dorp": Dorp,
"m-doxp": Doxp,
}, },
provide() { provide() {
return { return {
......
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