Commit 1bd0cd1f by wangyanjiao

#253 #262 #266 #268 #271

parent 5ea8afba
......@@ -4041,6 +4041,18 @@ const CodeTable = {
{ label: "Credit Party", value: "UMH" },
{ label: "Debit Party", value: "UMS" },
],
ptyp2:[
{ label: "TPO Third Party", value: "TPO" },
{ label: "TP1 Third Party .", value: "TP1" },
{ label: "TP2 Third Party", value: "TP2" },
{ label: "TP3 Third Party", value: "TP3" },
{ label: "TP4 Third Party", value: "TP4" },
{ label: "TP5 Third Party", value: "TP5" },
{ label: "TP6 Third Party", value: "TP6" },
{ label: "TP7 Third Party", value: "TP7" },
{ label: "TP8 Third Party", value: "TP8" },
],
// lcrtyp: [
......
......@@ -269,6 +269,10 @@ export default {
if (res.data.params) {
Utils.copyValueFromVO(this.model, res.data);
} else {
console.log("in if")
console.log(this.root.$ref)
console.log(this.root.$refs)
console.log(this.root.$refs[Dialog]);
this.root.$refs[Dialog].show = true
this.root.promptData = {
title: res.data.title,
......
......@@ -112,6 +112,7 @@ export default {
},
async handleReset(formName) {
this.$refs[formName].resetFields();
this.model.infcon.opndatto=""
},
async handleSearch() {
......
......@@ -2,55 +2,52 @@
<div class="eibs-tab">
<c-col :span="24">
<el-form-item label="Draft Instructions" prop="bodgrp.blk.dftins" label-width="180px">
<c-input type="textarea" :autosize="{ minRows: 4, maxRows: 6}"
v-model="model.bodgrp.blk.dftins" style="width:70%;margin-right:20px;"
maxlength="390" show-word-limit placeholder="请输入Draft Instructions"
></c-input>
<c-input type="textarea" :autosize="{ minRows: 4, maxRows: 6}" v-model="model.bodgrp.blk.dftins"
style="width:70%;margin-right:20px;" maxlength="390" show-word-limit
placeholder="请输入Draft Instructions"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Interest Instructions" prop="bodgrp.blk.intins" label-width="180px">
<c-input type="textarea" :autosize="{ minRows: 4, maxRows: 5}"
v-model="model.bodgrp.blk.intins" style="width:70%;margin-right:20px;"
maxlength="325" show-word-limit placeholder="请输入Interest Instructions"
></c-input>
<c-input type="textarea" :autosize="{ minRows: 4, maxRows: 5}" v-model="model.bodgrp.blk.intins"
style="width:70%;margin-right:20px;" maxlength="325" show-word-limit
placeholder="请输入Interest Instructions"></c-input>
</el-form-item>
</c-col>
<c-col :span="18">
<el-form-item label="Settlement insrtrctions" prop="bodgrp.blk.setinsbo" label-width="180px">
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}"
v-model="model.bodgrp.blk.setinsbo" style="width:98%;margin-right:20px;"
maxlength="390" show-word-limit placeholder="请输入Settlement insrtrctions"
></c-input>
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.bodgrp.blk.setinsbo"
style="width:98%;margin-right:20px;" maxlength="390" show-word-limit
placeholder="请输入Settlement insrtrctions"></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinsButtxmsel">
<c-button size="small" type="primary"
@click="showGridPromptDialog('botp.proins.buttxmsel',null,null,{TXT:'bodgrp.blk.setinsbo'},{TXT:false},'doxpDialog')">
...
</c-button>
</c-col>
<c-col :span="24">
<el-form-item label="Authority of Agent" prop="bodgrp.blk.agtaut" label-width="180px">
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 6}"
v-model="model.bodgrp.blk.agtaut" style="width:40%;margin-right:20px;"
maxlength="210" show-word-limit placeholder="请输入Authority of Agent"
></c-input>
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 6}" v-model="model.bodgrp.blk.agtaut"
style="width:40%;margin-right:20px;" maxlength="210" show-word-limit
placeholder="请输入Authority of Agent"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Shipment from" prop="bodgrp.rec.shpfro" label-width="180px">
<c-input v-model="model.bodgrp.rec.shpfro" style="width:40%;margin-right:20px;"
maxlength="40" placeholder="请输入Shipment from"></c-input>
<c-input v-model="model.bodgrp.rec.shpfro" style="width:40%;margin-right:20px;" maxlength="40"
placeholder="请输入Shipment from"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="For Transportation to" prop="bodgrp.rec.shpto" label-width="180px">
<c-input v-model="model.bodgrp.rec.shpto" style="width:40%;margin-right:20px;"
maxlength="40" placeholder="请输入For Transportation to"></c-input>
<c-input v-model="model.bodgrp.rec.shpto" style="width:40%;margin-right:20px;" maxlength="40"
placeholder="请输入For Transportation to"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -62,35 +59,34 @@
<c-col :span="24">
<el-form-item label="Description of Goods" prop="bodgrp.blk.goddes" label-width="180px">
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}"
v-model="model.bodgrp.blk.goddes" style="width:70%;margin-right:20px;"
maxlength="325" show-word-limit placeholder="请输入Description of Goods"
></c-input>
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.bodgrp.blk.goddes"
style="width:70%;margin-right:20px;" maxlength="325" show-word-limit
placeholder="请输入Description of Goods"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botdav/Event"
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botdav/Event"
export default {
export default {
inject: ['root'],
props:["model","codes"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
data() {
return {
}
},
methods:{...Event},
created:function(){
methods: { ...Event },
created: function () {
}
}
}
</script>
<style>
......
......@@ -79,6 +79,7 @@ export default {
width: "120px",
dataIndex: "rol",
show: "select",
code:"codes.ptyp2"
},
{
title: "机构实体",
......
......@@ -31,7 +31,7 @@
<!--Parties -->
<el-tab-pane label="Parties" name="ptyp">
<c-content>
<m-ptyp :model="model" :codes="codes" />
<m-ptyp :model="model" />
</c-content>
</el-tab-pane>
......@@ -87,6 +87,9 @@
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :isPty="false" :promptData="promptData"
@select-ety="selectMsg">
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog ref="doxpDialog" :isPty="false" :promptData="promptData"
@select-ety="selectMsg">
</c-grid-ety-prompt-dialog>
......
......@@ -79,7 +79,7 @@
</c-col>
<c-col :span="24">
<el-form-item label=" " prop="bodgrp.rec.matperbeg">
<c-select v-model="model.bodgrp.rec.matperbeg" style="width:100%"
<c-select v-model="model.bodgrp.rec.matperbeg" style="width:100%" :code="codes.matperbeg"
placeholder="请选择Start of Maturity Period MATBEG" disabled>
</c-select>
</el-form-item>
......
......@@ -36,9 +36,9 @@
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="同业代付" name="dftcrep" >
<!-- <el-tab-pane label="同业代付" name="dftcrep" >
<m-dftcrep :model="model" :codes="codes" />
</el-tab-pane>
</el-tab-pane> -->
<!--PD000027 -->
<el-tab-pane label="Liability" name="engp">
......@@ -130,7 +130,7 @@ import Cfactlp from "./Cfactlp"
import Cnyp from "./Cnyp"
import Shisuan from "./Shisuan"
import Namp from "./Namp"
import Dftcrep from "./Dftcrep"
// import Dftcrep from "./Dftcrep"
import Limitbody from "~/views/Public/Limitbody";
......@@ -151,7 +151,7 @@ export default {
"m-shisuan" : Shisuan,
"m-namp" : Namp,
"m-limitbody" : Limitbody,
"m-dftcrep" : Dftcrep,
// "m-dftcrep" : Dftcrep,
},
provide() {
......
......@@ -239,7 +239,7 @@ const BusRouter = [
{ path: 'ditcan', component: Ditcan, name: 'Ditcan', meta: { title: '信用证注销' } },
{ path: 'ditsel', component: Ditsel, name: 'Ditsel', meta: { title: '信用证查询' } },
{ path: 'ditopn', component: Ditopn, name: 'Ditopn', meta: { title: '买方信用证开立' } },
{ path: 'infdid', component: Infdid, name: 'Infdid', meta: { title: '信用证交易查询' } },
{ path: 'infdid', component: Infdid, name: 'Infdid', meta: { title: '买方信用证交易查询' } },
{ path: 'ditdck', component: Ditdck, name: 'Ditdck', meta: { title: '信用证到单' } },
// 例
{ path: 'ditopn/:inr', component: Ditopn, name: 'DitopnInr', meta: { title: (tag) => { return '买方信用证开立-' + tag.params.inr } } },
......@@ -275,7 +275,7 @@ const BusRouter = [
{ path: 'sptrel', component: Sptrel, name: 'Sptrel', meta: { title: 'Sptrel' } },
{ path: 'sptrou', component: Sptrou, name: 'Sptrou', meta: { title: 'Sptrou' } },
{ path: 'bddsel', component: Bddsel, name: 'Bddsel', meta: { title: 'Bddsel' } },
{ path: 'infbdd', component: Infbdd, name: 'Infbdd', meta: { title: '信用证单据查询' } },
{ path: 'infbdd', component: Infbdd, name: 'Infbdd', meta: { title: '买方信用证单据查询' } },
{ path: 'infbrd', component: Infbrd, name: 'Infbrd', meta: { title: '进口信用证单据查询' } },
{ path: 'mgrtsk', component: Mgrtsk, name: 'Mgrtsk', meta: { title: 'Mgrtsk' } },
{ path: 'switsk', component: Switsk, name: 'Switsk', meta: { title: 'Switsk' } },
......
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