Commit 7c73e033 by 黄顺林

单据注销、减额接收前端调整

parent ffb00405
......@@ -12,7 +12,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"didgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"didgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
......@@ -63,10 +63,10 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"bddgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bddgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bddgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -74,7 +74,7 @@ export default {
],
"bddgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bddgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
......@@ -164,7 +164,7 @@ export default {
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
......
......@@ -10,6 +10,7 @@
<c-col :span="6">
<el-form-item label="参考号" prop="didgrp.rec.ownref">
<c-input
disabled
v-model="model.didgrp.rec.ownref"
maxlength="16"
placeholder="请输入参考号"
......@@ -18,11 +19,7 @@
</c-col>
<c-col :span="1">
<el-form-item
label=""
label-width="15px"
>
<el-form-item label="" label-width="15px">
<!-- prop="bdtp0.didget.sdamod.seainf" -->
<!-- <c-input v-model="model.bdtp0.didget.sdamod.seainf" placeholder="请输入"></c-input> -->
<c-button size="mini" type="primary" icon="el-icon-search"></c-button>
......@@ -32,6 +29,7 @@
<c-col :span="5">
<el-form-item label="到期日" prop="didgrp.rec.expdat">
<c-date-picker
disabled
type="date"
v-model="model.didgrp.rec.expdat"
style="width: 100%"
......@@ -43,6 +41,7 @@
<c-col :span="6">
<el-form-item label="信用证余额" prop="didgrp.cbs.opn1.cur">
<c-input
disabled
v-model="model.didgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入Currency"
......@@ -53,6 +52,7 @@
<c-col :span="6">
<el-form-item label="" prop="didgrp.cbs.opn1.amt" label-width="20px">
<c-input
disabled
v-model="model.didgrp.cbs.opn1.amt"
placeholder="请输入Balance"
></c-input>
......@@ -68,6 +68,7 @@
<c-col :span="6">
<el-form-item label="单据参考号" prop="bddgrp.rec.ownref">
<c-input
disabled
v-model="model.bddgrp.rec.ownref"
maxlength="16"
placeholder="请输入单据参考号"
......@@ -76,12 +77,8 @@
</c-col>
<c-col :span="1">
<el-form-item
label=""
label-width="15px"
>
<!-- prop="bdtp0.recget.sdamod.seainf" -->
<el-form-item label="" label-width="15px">
<!-- prop="bdtp0.recget.sdamod.seainf" -->
<!-- <c-input v-model="model.bdtp0.recget.sdamod.seainf" placeholder="请输入"></c-input> -->
<c-button size="mini" type="primary" icon="el-icon-search"></c-button>
</el-form-item>
......@@ -90,6 +87,7 @@
<c-col :span="12" :offset="5">
<el-form-item label="" prop="bddgrp.rec.nam">
<c-input
disabled
v-model="model.bddgrp.rec.nam"
maxlength="40"
placeholder="请输入Name of Bill Contract"
......@@ -101,10 +99,18 @@
<c-col :span="6">
<el-form-item label="单据金额" prop="bddgrp.cbs.max.cur">
<c-select
disabled
v-model="model.bddgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择单据金额"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -112,6 +118,7 @@
<c-col :span="6">
<el-form-item label="" prop="bddgrp.cbs.max.amt" label-width="20px">
<c-input
disabled
v-model="model.bddgrp.cbs.max.amt"
placeholder="请输入单据金额"
></c-input>
......@@ -121,6 +128,7 @@
<c-col :span="12">
<el-form-item label="申请人" prop="bddgrp.apl.pts.ref">
<c-input
disabled
v-model="model.bddgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入申请人"
......@@ -132,6 +140,7 @@
<c-col :span="6">
<el-form-item label="单据余额" prop="bddgrp.cbs.opn1.cur">
<c-input
disabled
v-model="model.bddgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入单据余额"
......@@ -142,6 +151,7 @@
<c-col :span="6">
<el-form-item label="" prop="bddgrp.cbs.opn1.amt" label-width="20px">
<c-input
disabled
v-model="model.bddgrp.cbs.opn1.amt"
placeholder="请输入Balance"
></c-input>
......@@ -151,6 +161,7 @@
<c-col :span="12">
<el-form-item label="" prop="bddgrp.apl.pts.nam" label-width="150px">
<c-input
disabled
v-model="model.bddgrp.apl.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
......@@ -162,6 +173,7 @@
<c-col :span="6">
<el-form-item label="到单日期" prop="bddgrp.rec.rcvdat">
<c-date-picker
disabled
type="date"
v-model="model.bddgrp.rec.rcvdat"
style="width: 100%"
......@@ -173,6 +185,7 @@
<c-col :span="6">
<el-form-item label="寄单日期" prop="bddgrp.rec.advdat">
<c-date-picker
disabled
type="date"
v-model="model.bddgrp.rec.advdat"
style="width: 100%"
......@@ -184,6 +197,7 @@
<c-col :span="12">
<el-form-item label="受益人" prop="bddgrp.ben.pts.ref">
<c-input
disabled
v-model="model.bddgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入受益人"
......@@ -202,6 +216,7 @@
<c-col :span="12">
<el-form-item label="到期日" prop="bddgrp.rec.matdat">
<c-date-picker
disabled
type="date"
v-model="model.bddgrp.rec.matdat"
style="width: 100%"
......@@ -213,6 +228,7 @@
<c-col :span="12">
<el-form-item label="" prop="bddgrp.ben.pts.nam">
<c-input
disabled
v-model="model.bddgrp.ben.pts.nam"
maxlength="40"
placeholder=""
......@@ -224,10 +240,18 @@
<c-col :span="12">
<el-form-item label="单据类型" prop="bddgrp.rec.docflg">
<c-select
disabled
v-model="model.bddgrp.rec.docflg"
style="width: 100%"
placeholder="请选择单据类型"
>
<el-option
v-for="item in codes.brdtyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -235,6 +259,7 @@
<c-col :span="12">
<el-form-item label="交单行" prop="bddgrp.prb.pts.ref">
<c-input
disabled
v-model="model.bddgrp.prb.pts.ref"
maxlength="16"
placeholder="请输入交单行"
......@@ -246,10 +271,18 @@
<c-col :span="12">
<el-form-item label="单据承付状态" prop="bddgrp.rec.docsta">
<c-select
disabled
v-model="model.bddgrp.rec.docsta"
style="width: 100%"
placeholder="请选择单据承付状态"
>
<el-option
v-for="item in codes.docsta"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -257,6 +290,7 @@
<c-col :span="12">
<el-form-item label="" prop="bddgrp.prb.pts.nam" label-width="150px">
<c-input
disabled
v-model="model.bddgrp.prb.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
......@@ -278,7 +312,7 @@
</c-col>
<c-col :span="9" :offset="3">
<c-checkbox v-model="model.sndmsg">Send Message</c-checkbox>
<c-checkbox disabled v-model="model.sndmsg">Send Message</c-checkbox>
</c-col>
</el-row>
<c-col :span="12">
......@@ -288,6 +322,13 @@
style="width: 100%"
placeholder="请选择Booking Procedure"
>
<el-option
v-for="item in codes.rebkpflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -306,9 +347,7 @@ export default {
data() {
return {};
},
methods: { ...Event ,
changed(e) {},
},
methods: { ...Event, changed(e) {} },
created: function () {},
};
</script>
......
<template>
<c-page title="买方信用证单据注销">
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-page title="买方信用证单据注销">
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
......@@ -24,61 +24,59 @@
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000016 -->
<el-tab-pane label="取消" name="canp">
<c-content>
<m-canp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000016 -->
<el-tab-pane label="取消" name="canp">
<c-content>
<m-canp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="账务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="账务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
></c-grid-ety-prompt-dialog>
</div>
</div>
</c-page>
</template>
<script>
......@@ -93,13 +91,13 @@ import Default from "~/model/Bdtcan/Default";
import Pattern from "~/model/Bdtcan/Pattern";
import Canp from "./Canp";
// import Engp from "./Engp";
import Engp from "~/views/Public/Engp"
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
// import Setpan from "./Setpan"
import Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "./Doctre";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody";
export default {
......@@ -130,7 +128,33 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable},
codes: {
...CodeTable,
docsta: [
{ label: "已寄单索款", value: "A" },
{ label: "已到单", value: "B" },
{ label: "已到期付款确认", value: "C" },
{ label: "待付款", value: "D" },
{ label: "付款成功", value: "E" },
{ label: "已拒付", value: "F" },
{ label: "已退单", value: "G" },
{ label: "Clean documents received", value: "H" },
{ label: "Discrepant documents received", value: "I" },
{ label: "Goods released, wait for documents", value: "J" },
{ label: "Goods released, documents received", value: "K" },
{ label: "Documents sent on approval basis", value: "L" },
{ label: "Documents taken up", value: "M" },
{ label: "Documents settled free of payment", value: "N" },
{ label: "Discrepant document received in trust", value: "T" },
{ label: "Other Type of Advice, wait for documents", value: "O" },
{ label: "Documents have been refused and returned", value: "R" },
],
rebkpflg: [
{ label: "Contract already settled", value: "A" },
{ label: "Reverse Booking (Document Set)", value: "N" },
{ label: "Reverse Booking (Doc. Set, L/C)", value: "B" },
],
},
};
},
methods: {
......
......@@ -4,6 +4,7 @@
<c-col :span="12">
<el-form-item label="参考号" prop="didgrp.rec.ownref">
<c-input
disabled
v-model="model.didgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
......@@ -14,6 +15,7 @@
<c-col :span="12">
<el-form-item label="摘要" prop="didgrp.rec.nam">
<c-input
disabled
v-model="model.didgrp.rec.nam"
maxlength="40"
placeholder="请输入Externally Displayed Name to Identify the Contract"
......@@ -25,6 +27,7 @@
<c-col :span="6">
<el-form-item label="信用证金额" prop="didgrp.cbs.nom1.cur">
<c-select
disabled
v-model="model.didgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择Currency"
......@@ -35,6 +38,7 @@
<c-col :span="6">
<el-form-item label="" prop="didgrp.cbs.nom1.amt" label-width="0px">
<c-input
disabled
v-model="model.didgrp.cbs.nom1.amt"
placeholder="请输入信用证金额"
></c-input>
......@@ -43,6 +47,7 @@
<c-col :span="12">
<el-form-item label="申请人" prop="didgrp.apl.pts.ref">
<c-input
disabled
v-model="model.didgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入申请人"
......@@ -55,6 +60,7 @@
<c-col :span="6">
<el-form-item label="信用证余额" prop="didgrp.cbs.opn1.cur">
<c-select
disabled
v-model="model.didgrp.cbs.opn1.cur"
style="width: 100%"
placeholder="请选择信用证余额"
......@@ -66,6 +72,7 @@
<c-col :span="6">
<el-form-item label="" prop="didgrp.cbs.opn1.amt" label-width="0px">
<c-input
disabled
v-model="model.didgrp.cbs.opn1.amt"
placeholder="请输入信用证余额"
></c-input>
......@@ -73,8 +80,9 @@
</c-col>
<c-col :span="12">
<el-form-item label="" prop="didgrp.apl.pts.nam" >
<el-form-item label="" prop="didgrp.apl.pts.nam">
<c-input
disabled
v-model="model.didgrp.apl.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
......@@ -86,6 +94,7 @@
<c-col :span="12">
<el-form-item label="指定银行" prop="didgrp.avbnam">
<c-input
disabled
v-model="model.didgrp.avbnam"
maxlength="40"
placeholder="请输入指定银行"
......@@ -95,6 +104,7 @@
<c-col :span="12">
<el-form-item label="受益人" prop="didgrp.ben.pts.ref">
<c-input
disabled
v-model="model.didgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入受益人"
......@@ -107,6 +117,7 @@
<c-col :span="12">
<el-form-item label="兑付方式" prop="didgrp.rec.avbby">
<c-select
disabled
v-model="model.didgrp.rec.avbby"
style="width: 100%"
placeholder="请选择Available by"
......@@ -115,8 +126,9 @@
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="didgrp.ben.pts.nam" >
<el-form-item label="" prop="didgrp.ben.pts.nam">
<c-input
disabled
v-model="model.didgrp.ben.pts.nam"
maxlength="40"
placeholder=""
......@@ -128,6 +140,7 @@
<c-col :span="6">
<el-form-item label="开证日期" prop="didgrp.rec.opndat">
<c-date-picker
disabled
type="date"
v-model="model.didgrp.rec.opndat"
style="width: 100%"
......@@ -139,6 +152,7 @@
<c-col :span="6">
<el-form-item label="最迟装运日期" prop="didgrp.rec.shpdat">
<c-date-picker
disabled
type="date"
v-model="model.didgrp.rec.shpdat"
style="width: 100%"
......@@ -149,6 +163,7 @@
<c-col :span="12">
<el-form-item label="通知行" prop="didgrp.rec.tzref">
<c-input
disabled
v-model="model.didgrp.rec.tzref"
maxlength="35"
placeholder="请输入通知行编号"
......@@ -170,6 +185,7 @@
<c-col :span="6">
<el-form-item label="到期日/到期地点" prop="didgrp.rec.expdat">
<c-date-picker
disabled
type="date"
v-model="model.didgrp.rec.expdat"
style="width: 100%"
......@@ -181,6 +197,7 @@
<c-col :span="6">
<el-form-item label="" prop="didgrp.rec.expplc" label-width="0px">
<c-input
disabled
v-model="model.didgrp.rec.expplc"
maxlength="35"
placeholder="请输入Place of Expiry"
......@@ -189,8 +206,9 @@
</c-col>
<c-col :span="12">
<el-form-item label="" prop="didgrp.adv.pts.nam" >
<el-form-item label="" prop="didgrp.adv.pts.nam">
<c-input
disabled
v-model="model.didgrp.adv.pts.nam"
maxlength="40"
placeholder="请输入到期日/到期地点"
......@@ -202,6 +220,7 @@
<c-col :span="12">
<el-form-item label="信用证类型" prop="didgrp.rec.lcrtyp">
<c-select
disabled
v-model="model.didgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择Form of Documentary Credit"
......@@ -219,41 +238,55 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="8">
<el-form-item label="第" prop="amenbr">
<c-input
disabled
v-model="model.amenbr"
maxlength="3"
placeholder="请输入Amendment No."
></c-input>
<label>次修改(减额)</label>
</el-form-item>
<br />
</c-col>
<c-col :span="4">
<el-form-item label="次修改(减额)"> </el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="6">
<el-form-item label="修改金额" prop="amecur">
<c-select
disabled
v-model="model.amecur"
style="width: 100%"
placeholder="请选择Amount Amend Cur"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="" prop="ameamt" label-width="0px">
<c-input
disabled
v-model="model.ameamt"
placeholder="请输入修改金额"
></c-input>
</el-form-item>
<br />
</c-col>
<c-col :span="6">
<el-form-item label="修改日期" prop="amedat">
<c-input
disabled
v-model="model.amedat"
maxlength="12"
placeholder="请输入Amount Amend Date"
></c-input>
</el-form-item>
<br />
</c-col>
<c-col :span="6">
<el-form-item label="是否接受此笔减额修改" prop="ameflg">
<c-select
disabled
v-model="model.ameflg"
style="width: 100%"
placeholder="请选择是否接受此笔减额修改"
......
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