Commit b3e9417e by liuwei

xiugai20200108

parent e5f14682
......@@ -8,7 +8,10 @@ import CodeTableFactory from '@/components/CodeTable'
import "./index.less"
import { inject, observer } from 'mobx-react'
import { action, observable,runInAction } from 'mobx'
import { Row, Col, Popconfirm, Modal, Spin } from 'antd';
import Ptspta from '@/views/Public/Ptspta'
import { PtyPicker } from '@/components/Business-Library'
import Business from '@/views/Public/Business'
const CodeTable = CodeTableFactory.getInstance()
......@@ -1380,12 +1383,77 @@ export default class LetopnScreen extends Page
return (
<div className="transPage">
{/*第一行*/}
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
{/*reference*/}
<Label itext="Reference"/>
</Col>
<Col span={10}>
<InputItem InputProps={bind("ownref")} maxLength={16} desp="Reference" path="/ledgrp/rec/ownref" />
</Col>
<Col span={4} offset={1}>
<Button type="primary" onClick={this.onGetref} desp="Get Ref." path="/mtabut/getref">
<Label itext="获取"/>
</Button>
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
{/* Name*/}
<Label itext="Name"/>
</Col>
<Col span={14}>
<InputItem InputProps={bind("nam")} maxLength={40} desp="Externally Displayed Name to Identify the Contract" path="/ledgrp/rec/nam" />
</Col>
</Row>
</Col>
</Row>
{/*第二行*/}
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
{/*Form of L/C*/}
<Label itext="Form of L/C"/>
</Col>
<Col span={14}>
<SelectItem InputProps={bind("lcrtyp")} desp="Form of Documentary Credit" path="/ledgrp/rec/lcrtyp"/>
</Col>
</Row>
</Col>
</Row>
<InputItem InputProps={bind("usr_nam")} maxLength={8} desp="用户ID" path="/letp//sysmod/usr/nam" />
<CheckboxItem InputProps={bind("collflg")} desp="Collateralized L/C" path="/ledgrp/rec/collflg" />
<SelectItem InputProps={bind("nom1_cur")} code={CodeTable.curtxt} desp="Currency" path="/ledgrp/cbs/nom1/cur"/>
<InputItem InputProps={bind("nom1_amt")} desp="Balance" path="/ledgrp/cbs/nom1/amt" />
<CheckboxItem InputProps={bind("aammod_addamtflg")} desp="Add. Amount" path="/letp/aamp/aammod/addamtflg" />
<InputItem InputProps={bind("nomtop")} desp="Amount Tolerance - Positive" path="/ledgrp/rec/nomtop" />
<InputItem InputProps={bind("nomton")} desp="Amount Tolerance - Negative" path="/ledgrp/rec/nomton" />
<CheckboxItem InputProps={bind("ledgrp_preadvflg")} desp="PreAdvice or Notification" path="/ledgrp/preadvflg" />
<SelectItem InputProps={bind("nomspc")} code={CodeTable.nomspc} desp="Amount Specification" path="/ledgrp/rec/nomspc"/>
<CheckboxItem InputProps={bind("resflg")} desp="Reserved Contract" path="/ledgrp/rec/resflg" />
<SelectItem InputProps={bind("max_cur")} code={CodeTable.curtxt} desp="Currency" path="/ledgrp/cbs/max/cur"/>
<InputItem InputProps={bind("max_amt")} desp="Balance" path="/ledgrp/cbs/max/amt" />
<DatePickerItem InputProps={bind("opndat")} desp="Date L/C Opened/Issued" path="/ledgrp/rec/opndat" />
<DatePickerItem InputProps={bind("shpdat")} desp="Shipment Date" path="/ledgrp/rec/shpdat" />
<DatePickerItem InputProps={bind("expdat")} desp="Date of Expiry" path="/ledgrp/rec/expdat" />
<InputItem InputProps={bind("expplc")} maxLength={29} desp="Place of Expiry" path="/ledgrp/rec/expplc" />
<SelectItem InputProps={bind("cnfdet")} desp="Confirmation Instructions from Iss.Bank" path="/ledgrp/rec/cnfdet"/>
<SelectItem InputProps={bind("apprul")} code={CodeTable.apprul} desp="Applicable Rules" path="/ledgrp/rec/apprul"/>
<InputItem InputProps={bind("apprultxt")} maxLength={35} desp="Other Applicable Rules" path="/ledgrp/rec/apprultxt" />
<SelectItem InputProps={bind("shppar")} desp="Partial Shipment" path="/ledgrp/rec/shppar"/>
<SelectItem InputProps={bind("shptrs")} desp="Transshipment" path="/ledgrp/rec/shptrs"/>
<SelectItem InputProps={bind("lcrtyp")} desp="Form of Documentary Credit" path="/ledgrp/rec/lcrtyp"/>
<InputItem InputProps={bind("pts5_ref")} maxLength={16} desp="参考号" path="/ledgrp/ben/pts/ref" />
<InputItem InputProps={bind("pts5_extkey")} maxLength={16} desp="客户编号" path="/ledgrp/ben/pts/extkey" />
<Button type="primary" icon="search" onClick={this.onBenp_ptysel} desp="客户查询" path="/letp/benp/ptysel">
......@@ -1395,19 +1463,9 @@ export default class LetopnScreen extends Page
<Label itext="查询"/>
</Button>
<InputItem InputProps={bind("usr_nam")} maxLength={8} desp="用户ID" path="/letp//sysmod/usr/nam" />
<CheckboxItem InputProps={bind("collflg")} desp="Collateralized L/C" path="/ledgrp/rec/collflg" />
<CheckboxItem InputProps={bind("aammod_addamtflg")} desp="Add. Amount" path="/letp/aamp/aammod/addamtflg" />
<SelectItem InputProps={bind("nom1_cur")} code={CodeTable.curtxt} desp="Currency" path="/ledgrp/cbs/nom1/cur"/>
<InputItem InputProps={bind("nom1_amt")} desp="Balance" path="/ledgrp/cbs/nom1/amt" />
<TextAreaItem InputProps={bind("pts5_adrblk")} desp="SWIFT地址" path="/ledgrp/ben/pts/adrblk"/>
<CheckboxItem InputProps={bind("ledgrp_preadvflg")} desp="PreAdvice or Notification" path="/ledgrp/preadvflg" />
<InputItem InputProps={bind("nomtop")} desp="Amount Tolerance - Positive" path="/ledgrp/rec/nomtop" />
<InputItem InputProps={bind("nomton")} desp="Amount Tolerance - Negative" path="/ledgrp/rec/nomton" />
<CheckboxItem InputProps={bind("inctrf")} desp="Incoming Transfer" path="/ledgrp/rec/inctrf" />
<SelectItem InputProps={bind("nomspc")} code={CodeTable.nomspc} desp="Amount Specification" path="/ledgrp/rec/nomspc"/>
<CheckboxItem InputProps={bind("resflg")} desp="Reserved Contract" path="/ledgrp/rec/resflg" />
<SelectItem InputProps={bind("max_cur")} code={CodeTable.curtxt} desp="Currency" path="/ledgrp/cbs/max/cur"/>
<InputItem InputProps={bind("max_amt")} desp="Balance" path="/ledgrp/cbs/max/amt" />
<InputItem InputProps={bind("pts7_ref")} maxLength={16} desp="参考号" path="/ledgrp/iss/pts/ref" />
<InputItem InputProps={bind("pts7_extkey")} maxLength={16} desp="客户编号" path="/ledgrp/iss/pts/extkey" />
<Button type="primary" icon="search" onClick={this.onIssp_ptysel} desp="客户查询" path="/letp/issp/ptysel">
......@@ -1416,13 +1474,11 @@ export default class LetopnScreen extends Page
<Button type="primary" icon="search" onClick={this.onIssp_sel} desp="查询" path="/letp/issp/sel">
<Label itext="查询"/>
</Button>
<DatePickerItem InputProps={bind("opndat")} desp="Date L/C Opened/Issued" path="/ledgrp/rec/opndat" />
<DatePickerItem InputProps={bind("preadvdt")} desp="Date Pre-advised" path="/ledgrp/rec/preadvdt" />
<DatePickerItem InputProps={bind("shpdat")} desp="Shipment Date" path="/ledgrp/rec/shpdat" />
<DatePickerItem InputProps={bind("advdat")} desp="Date Released on" path="/ledgrp/rec/advdat" />
<TextAreaItem InputProps={bind("pts7_adrblk")} desp="SWIFT地址" path="/ledgrp/iss/pts/adrblk"/>
<DatePickerItem InputProps={bind("expdat")} desp="Date of Expiry" path="/ledgrp/rec/expdat" />
<InputItem InputProps={bind("expplc")} maxLength={29} desp="Place of Expiry" path="/ledgrp/rec/expplc" />
<InputItem InputProps={bind("pts3_ref")} maxLength={16} desp="参考号" path="/ledgrp/apl/pts/ref" />
<InputItem InputProps={bind("pts3_extkey")} maxLength={16} desp="客户编号" path="/ledgrp/apl/pts/extkey" />
<Button type="primary" icon="search" onClick={this.onAplp_ptysel} desp="客户查询" path="/letp/aplp/ptysel">
......@@ -1431,14 +1487,9 @@ export default class LetopnScreen extends Page
<Button type="primary" icon="search" onClick={this.onAplp_sel} desp="查询" path="/letp/aplp/sel">
<Label itext="查询"/>
</Button>
<SelectItem InputProps={bind("cnfdet")} desp="Confirmation Instructions from Iss.Bank" path="/ledgrp/rec/cnfdet"/>
<TextAreaItem InputProps={bind("pts3_adrblk")} desp="SWIFT地址" path="/ledgrp/apl/pts/adrblk"/>
<SelectItem InputProps={bind("apprul")} code={CodeTable.apprul} desp="Applicable Rules" path="/ledgrp/rec/apprul"/>
<InputItem InputProps={bind("apprultxt")} maxLength={35} desp="Other Applicable Rules" path="/ledgrp/rec/apprultxt" />
<SelectItem InputProps={bind("shppar")} desp="Partial Shipment" path="/ledgrp/rec/shppar"/>
<CheckboxItem InputProps={bind("revflg")} desp="Revolving Flag" path="/ledgrp/rec/revflg" />
<CheckboxItem InputProps={bind("nonban")} desp="Non-Bank Issuer" path="/ledgrp/rec/nonban" />
<SelectItem InputProps={bind("shptrs")} desp="Transshipment" path="/ledgrp/rec/shptrs"/>
<SelectItem InputProps={bind("avbwth")} desp="Available with" path="/ledgrp/rec/avbwth"/>
<TextAreaItem InputProps={bind("blk_mixdet")} desp="Mixed Payment Details" path="/ledgrp/blk/mixdet"/>
<InputItem InputProps={bind("pts4_extkey")} maxLength={16} desp="客户编号" path="/ledgrp/avb/pts/extkey" />
......
......@@ -79,7 +79,7 @@ export default class PaperScreen extends Page {
if (rtnmsg.retcod == SUCCESS) {
if (cortyp == 'SWT') {
let viewurl = "/reactremit" + rtnmsg.data.msgmod_docpth;
let viewurl = "/psbcreact" + rtnmsg.data.msgmod_docpth;
window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
else if(cortyp == 'ELC')
......@@ -90,9 +90,9 @@ export default class PaperScreen extends Page {
})
}
else {
let url = "/reactremit" + rtnmsg.data.trndoc_docpth;
let url = "/psbcreact" + rtnmsg.data.trndoc_docpth;
// let url = rtnmsg.data.trndoc_docpth;
let viewurl = "/reactremit/pdfjs/web/viewer.html";
let viewurl = "/psbcreact/pdfjs/web/viewer.html";
viewurl += "?file=" + url;
window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
......
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