Commit a7017380 by sheyinchen

bttsnd页面优化

parent b3c94abb
......@@ -152,7 +152,7 @@ export default {
],
"btdgrp.prp.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 200,message:"长度不能超过200"}
],
"btdgrp.prp.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
......@@ -97,7 +97,7 @@ export default {
{type: "string", required: false, message: "输入正确的日期"}
],
"btdgrp.rec.rcvdatbe1":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bttp.prbp.ptsget.sdamod.dadsnd":[
......@@ -105,7 +105,7 @@ export default {
{max: 16,message:"长度不能超过16"}
],
"btdgrp.rec.rcvdatbe2":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"btdgrp.prb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
......@@ -123,7 +123,7 @@ export default {
"btdgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 100,message:"长度不能超过100"}
],
"btdgrp.prb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -165,7 +165,7 @@ export default {
],
"btdgrp.oth.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 100,message:"长度不能超过100"}
],
"btdgrp.oth.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -200,12 +200,12 @@ export default {
"btdgrp.rec.disdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"btdgrp.blk.setinsbt":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 200,message:"长度不能超过200"}
],
......
......@@ -21,7 +21,7 @@ export default class Bttsnd{
bttp:{
docgrdm:{
docgrd:"",
docdsclab:"",
docdsclab:"", // Label of document description .bttp.docgrdm.docdsclab
},
ltdget:{
sdamod:{
......@@ -76,7 +76,7 @@ export default class Bttsnd{
},
},
btdgrp:{
rec:{
rec:{
ownref:"", // Doc. Set Reference .btdgrp.rec.ownref
nam:"", // Name of Bill Contract .btdgrp.rec.nam
doctypcod:"", // Document Type .btdgrp.rec.doctypcod
......
......@@ -46,7 +46,7 @@
<c-col :span="10">
<el-form-item label="Doc. Set Reference" prop="btdgrp.rec.ownref" style="width: 100%">
<c-input v-model="model.btdgrp.rec.ownref" maxlength="16" style="width: 95%"
placeholder="请输入Doc. Set Reference"></c-input>
placeholder="请输入Doc. Set Reference" disabled></c-input>
</el-form-item>
</c-col>
......@@ -96,7 +96,7 @@
</c-col>
<c-col :span="5" :offset="1">
<c-checkbox v-model="model.bttp.aammod.addamtflg">Add. Amount</c-checkbox>
<c-checkbox v-model="model.bttp.aammod.addamtflg" disabled>Add. Amount</c-checkbox>
</c-col>
</c-col>
<c-col :span="11">
......@@ -141,8 +141,8 @@
<el-row>
<c-col :span="11">
<el-form-item label="Document Type" prop="btdgrp.rec.doctypcod">
<c-input v-model="model.btdgrp.rec.doctypcod" maxlength="1" style="width: 95%"
placeholder="请输入Document Type" disabled></c-input>
<c-select v-model="model.btdgrp.rec.doctypcod" maxlength="1" style="width: 95%"
placeholder="请输入Document Type" :code="codes.doctypcod1" disabled></c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
......@@ -188,8 +188,8 @@
<el-row>
<c-col :span="11">
<el-form-item label="Document Set Status" prop="btdgrp.rec.docsta">
<c-input v-model="model.btdgrp.rec.docsta" maxlength="40" style="width:95%"
placeholder="请输入Document Set Status" disabled></c-input>
<c-select v-model="model.btdgrp.rec.docsta" maxlength="40" style="width:95%"
placeholder="请输入Document Set Status" :code="codes.docsta1" disabled></c-select>
</el-form-item>
</c-col>
......@@ -240,7 +240,7 @@
<c-col :span="11">
<el-form-item label="Additional Amount" prop="btdgrp.cbs.max2.cur">
<c-select disabled v-model="model.btdgrp.cbs.max2.cur" style="width: 100%"
placeholder="请选择Currency">
placeholder="请选择Currency" disabled>
<!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
</el-option>
......@@ -251,7 +251,7 @@
<c-col :span="10">
<el-form-item style="text-align: left" label-width="20px" prop="btdgrp.cbs.max2.amt">
<c-input-currency v-model="model.btdgrp.cbs.max2.amt" style="text-align: left; width: 100%"
placeholder="Additional Amount"></c-input-currency>
placeholder="Additional Amount" disabled></c-input-currency>
</el-form-item>
</c-col>
......@@ -369,7 +369,7 @@
}"
@onSeainf="onSeainf"
@onAplpDet="onPrppDet"
:disabled1="true"
:disabled1="model.btdgrp.rec.docprbrolbe1!='PRP'"
>
</c-ptap1>
......
......@@ -12,7 +12,11 @@
</el-form-item>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="showGridPromptDialog('brtp.docdis.buttxmsel', null, null,{TXT:'brdgrp.blk.docdis'}, {TXT: false},'doxpDialog')">
...
</c-button>
</c-col>
......@@ -24,7 +28,11 @@
</el-form-item>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onIntdisButtxmsel">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="showGridPromptDialog('brtp.intdis.buttxmsel', null, null,{TXT:'brdgrp.blk.intdis'}, {TXT: false},'doxpDialog')">
...
</c-button>
</c-col>
......@@ -36,7 +44,11 @@
</el-form-item>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onComconButtxmsel">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="showGridPromptDialog('brtp.comcon.buttxmsel', null, null,{TXT:'brdgrp.blk.comcon'}, {TXT: false},'doxpDialog')">
...
</c-button>
</c-col>
......@@ -49,7 +61,11 @@
</el-form-item>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinsButtxmsel">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="showGridPromptDialog('brtp.setins.buttxmsel', null, null,{TXT:'brdgrp.blk.setinsbt'}, {TXT: false},'doxpDialog')">
...
</c-button>
</c-col>
......@@ -186,5 +202,6 @@ export default {
}
</script>
<style>
</style>
......@@ -24,7 +24,7 @@
size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000003 -->
<el-tab-pane label="Docs. received" name="drv">
......@@ -90,6 +90,20 @@
</el-tab-pane>
</c-tabs>
</el-form>
<!--点击触发回填-->
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg" >
</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>
</template>
<script>
......@@ -148,8 +162,12 @@ export default {
}
},
methods:{
tabClick(){
}
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入bttdck交易");
......
......@@ -5,12 +5,15 @@
<c-col :span="24">
<c-col :span="22">
<c-form-item label="Discrepancies" prop="btdgrp.blk.docdis">
<c-input type="textarea" v-model="model.btdgrp.blk.docdis" maxlength="50"
<c-input type="textarea" v-model="model.btdgrp.blk.docdis" maxlength="65"
show-word-limit placeholder="请输入Discrepancies" rows="4" ></c-input>
</c-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" class="point" type="primary" @click="onIntdisButtxmsel">
<c-button size="small" type="primary" class="point"
icon="el-icon-search"
@click="showGridPromptDialog('bttp.docdis.buttxmsel', null, null,{TXT:
'btdgrp.blk.docdis'}, {TXT: false},'doxpDialog')">
...
</c-button>
</c-col>
......@@ -24,7 +27,9 @@
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" class="point" type="primary" @click="onIntdisButtxmsel">
<c-button size="small" class="point" type="primary" icon="el-icon-search"
@click="showGridPromptDialog('bttp.intdis.buttxmsel', null, null,{TXT:
'btdgrp.blk.intdis'}, {TXT: false},'doxpDialog')">
...
</c-button>
</c-col>
......@@ -38,21 +43,25 @@
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" class="point" type="primary" @click="onComconButtxmsel">
<c-button size="small" class="point" type="primary" icon="el-icon-search"
@click="showGridPromptDialog('bttp.comcon.buttxmsel', null, null,{TXT:
'btdgrp.blk.comcon'}, {TXT: false},'doxpDialog')">
...
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="22">
<el-form-item label="Settlement Instructions transaction field" prop="btdgrp.blk.setinsbt">
<c-input type="textarea" v-model="model.btdgrp.blk.setinsbt" maxlength="65" show-word-limit placeholder="请输入Settlement Instructions transaction field"
<el-form-item label="Settlement Instructions for this Document" prop="btdgrp.blk.setinsbt">
<c-input type="textarea" v-model="model.btdgrp.blk.setinsbt" maxlength="65" show-word-limit placeholder="请输入Settlement Instructions for this Document"
rows="4"></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" class="point" type="primary" @click="onSetinsButtxmsel">
<c-button size="small" class="point" type="primary" icon="el-icon-search"
@click="showGridPromptDialog('bttp.setins.buttxmsel', null, null,{TXT:
'btdgrp.blk.setinsbt'}, {TXT: false},'doxpDialog')">
...
</c-button>
</c-col>
......@@ -63,7 +72,7 @@
<c-docpre
:model="model"
:argadr="{
path: 'btdgrp.blk.prsdocbe1',
path: 'btdgrp.blk.prsdocbe2',
grp: 'bttp',
code: 'docpre',
}"
......@@ -74,7 +83,7 @@
<c-docpre
:model="model"
:argadr="{
path: 'btdgrp.blk.prsdocbe2',
path: 'btdgrp.blk.prsdocbe1',
grp: 'bttp',
code: 'docpre',
}"
......@@ -101,7 +110,7 @@
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.bttp.cre752flg">Receive MT 752</c-checkbox>
<c-checkbox v-model="model.bttp.cre752flg" @change="change">Receive MT 752</c-checkbox>
</c-col>
<c-col :span="24">
......@@ -114,8 +123,8 @@
<c-col :span="24">
<el-form-item label="Date of Advise" prop="btdgrp.rec.disdat">
<c-date-picker type="date" v-model="model.btdgrp.rec.disdat" style="width:100%" placeholder="请选择Date of Advise"
disabled="disabled"></c-date-picker>
<c-date-picker type="date" v-model="model.btdgrp.rec.disdat" style="width:100%"
placeholder="请选择Date of Advise" disabled="disabled"></c-date-picker>
</el-form-item>
</c-col>
......@@ -124,7 +133,7 @@
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.rmbclmnow">Claim Reimbursement late</c-checkbox>
<c-checkbox v-model="model.rmbclmlate">Claim Reimbursement late</c-checkbox>
</c-col>
<c-col :span="24">
......@@ -154,7 +163,10 @@
}
},
methods: { ...Event
methods: { ...Event,
change(){
console.log(123);
}
},
created: function() {
......
......@@ -116,7 +116,7 @@
<c-select disabled v-model="model.btdgrp.cbs.opn1.cur" style="width: 100%"
placeholder="请选择Currency">
<!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value" disabled>
</el-option>
</c-select>
</el-form-item>
......@@ -125,8 +125,8 @@
<c-col :span="9" :offset="1">
<el-form-item style="text-align: left" label-width="0px" prop="btdgrp.cbs.opn1.amt">
<c-input-currency v-model="model.btdgrp.cbs.opn1.am" style="text-align: left; width: 100%"
placeholder="Balance Amount" disabled></c-input-currency>
<c-input-currency v-model="model.btdgrp.cbs.opn1.amt" style="text-align: left; width: 100%"
placeholder="Open Amount" disabled></c-input-currency>
</el-form-item>
</c-col>
</c-col>
......@@ -143,8 +143,8 @@
<el-row>
<c-col :span="11">
<el-form-item label="Document Type" prop="btdgrp.rec.doctypcod">
<c-input v-model="model.btdgrp.rec.doctypcod" maxlength="1" style="width: 95%"
placeholder="请输入Document Type" disabled></c-input>
<c-select v-model="model.btdgrp.rec.doctypcod" maxlength="40" style="width: 95%"
placeholder="请输入Document Type" :code="codes.doctypcod1" disabled></c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
......@@ -192,15 +192,15 @@
<el-row>
<c-col :span="11">
<el-form-item label="Document Set Status" prop="btdgrp.rec.docsta">
<c-input v-model="model.btdgrp.rec.docsta" maxlength="40" style="width:95%"
placeholder="请输入Document Set Status" disabled></c-input>
<c-select v-model="model.btdgrp.rec.docsta" maxlength="40" style="width:95%"
placeholder="请输入Document Set Status" :code="codes.docsta2" disabled></c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="" prop="btdgrp.prb.pts.nam">
<c-input v-model="model.btdgrp.prb.pts.nam" maxlength="40" style="width:95%"
placeholder="Name of Presenting Bank" disabled></c-input>
placeholder="请输入Name of Presenting Bank" disabled></c-input>
</el-form-item>
</c-col>
</el-row>
......@@ -208,7 +208,7 @@
<c-col :span="6">
<el-form-item label="Presentation Date" prop="btdgrp.rec.predat">
<c-date-picker type="date" v-model="model.btdgrp.rec.predat" style="width:100%"
<c-date-picker type="string" v-model="model.btdgrp.rec.predat" style="width:100%"
placeholder="请选择Presentation Date"></c-date-picker>
</el-form-item>
</c-col>
......@@ -217,20 +217,20 @@
<c-col :span="6">
<el-form-item label="Rec.Date 1st Ben." prop="btdgrp.rec.rcvdatbe1">
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe1"
<c-date-picker type="string" v-model="model.btdgrp.rec.rcvdatbe1"
style="width:100%" placeholder="请输入Rec.Date 1st Ben."></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000252 : Document Type -->
<c-col :span="11">
<c-form-item label="Presented by" prop="btdgrp.rec.docprbrol">
<c-col :span="11">
<c-form-item label="Presented by" prop="btdgrp.rec.docprbrol">
<c-select v-model="model.btdgrp.rec.docprbrol"
style="width:95%" placeholder="请选择Presented by" :code="codes.rolall"
@change="selectOrCheckboxRule('btdgrp.rec.docprbrol')">
</c-select>
</c-form-item>
style="width:95%" placeholder="请选择Presented by" :code="codes.rolall"
@change="selectOrCheckboxRule('btdgrp.rec.docprbrol')">
</c-select>
</c-form-item>
</c-col>
</c-row>
......@@ -238,7 +238,7 @@
<c-col :span="12">
<c-col :span="12" :offset="12">
<el-form-item label="Rec.Date 2st Ben." prop="btdgrp.rec.rcvdatbe2">
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe2"
<c-date-picker type="string" v-model="model.btdgrp.rec.rcvdatbe2"
style="width:100%" placeholder="请输入Rec.Date 2st Ben."></c-date-picker>
</el-form-item>
</c-col>
......@@ -281,7 +281,7 @@
grp: 'btdgrp',
rol: 'prb',
}"
:disabled="true"
:disabled1="true"
@onSeainf="onSeainf"
@onAplpDet="onPrbpDet"
......@@ -307,7 +307,7 @@
}"
@onSeainf="onSeainf"
@onAplpDet="onOthpDet"
:disabled1="true"
:disabled1="model.btdgrp.rec.payrol!='OTH'"
>
</c-ptap1>
......
......@@ -22,7 +22,7 @@
size="small"
label-position="right"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000032 -->
<el-tab-pane label="Send Documents" name="payp">
......@@ -85,6 +85,21 @@
</el-tab-pane>
</c-tabs>
</el-form>
<!--点击触发回填-->
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg" >
</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>
</c-page>
</template>
......@@ -145,8 +160,12 @@ export default {
}
},
methods:{
tabClick(){
}
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入bttsnd交易");
......
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