Commit b981644d by Wuyuqiu

betdcr、betrcl、betset交易完善

parent d4432236
......@@ -4588,13 +4588,17 @@ const CodeTable = {
{ label: "N", value: "N" },
],
ownextkey: [
{ label: "08350012北京分行", value: "08350012" },
{ label: "08350012", value: "08350012" },
{ label: "08357113", value: "08357113" },
],
ownextkey: [
{ label: "修改", value: "C" },
{ label: "新建", value: "A" },
{ label: "删除", value: "D" },
],
ownextkey1:[
{ label: "08350012", value: "08350012" },
],
ownexttyp: [
{ label: "手工录入", value: "OE" },
{ label: "分行", value: "OB" },
......
......@@ -139,7 +139,7 @@ export default {
],
"trnmod.trndoc.addstr750": [
{ type: "string", required: true, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bedgrp.prb.namelc": [
......
......@@ -37,7 +37,7 @@ export default class Betdcr {
},
docgrdm: {
docdsclab: "", // Label of document description .betp.docgrdm.docdsclab
docgrd: [], //betp.docgrdm.docgrd
docgrd: "", //betp.docgrdm.docgrd
},
},
ledgrp: {
......
......@@ -232,7 +232,7 @@ export default {
],
"rmbclm.rmbrmb.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ type: "string",max: 999, message: "长度不能超过35" }
],
"rmbclm.rmbrmb.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
......
......@@ -16,7 +16,7 @@ export default {
{ max: 3, message: "长度不能超过3" }
],
"ledgrp.cbs.opn1.amt": [
{ type: "number", required: false, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -38,7 +38,7 @@ export default {
],
"bedgrp.cbs.max.amt": [
{ type: "number", required: false, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -101,12 +101,12 @@ export default {
{ max: 3, message: "长度不能超过3" }
],
"setmod.redamt": [
{ type: "number", required: false, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.docamt": [
{ type: "number", required: false, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -115,18 +115,18 @@ export default {
{ max: 35, message: "长度不能超过35" }
],
"setmod.setamt": [
{ type: "number", required: false, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"aamset.utlamt": [
{ type: "number", required: false, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"aamset.utlamt2": [
{ type: "number", required: false, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -312,7 +312,7 @@ export default {
],
"lendoc.vercerref": [
{ type: "string", required: true, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 20, message: "长度不能超过20" }
],
"lendoc.decnum": [
......
......@@ -119,6 +119,10 @@ export default class Betset {
vouflg: "", // 是否报送跨境人民币2122表 .cnybop.vouflg
},
bpdgrp: {
bas:{
oppuser:""
},
rec: {
ffttyp: "", // 缁傚繗鍨傚鐤祮閸楁牜琚崹锟� .bpdgrp.rec.ffttyp
},
......
......@@ -78,7 +78,6 @@
maxlength="50"
show-word-limit
placeholder="Please input Reasons for Rejection"
disabled
></c-input>
<template slot="footer">
<c-button
......@@ -274,62 +273,16 @@ export default {
mixins: [commonProcess],
data() {
return {
TableValue: [
{
id: 0,
cmail1: "",
cmail2: "",
docnam: "",
docnam: "",
description: "",
docnam: "",
serialNum: "",
tableName: "",
tcddoc: "",
},
],
newValue: {
id: 0,
cmail1: "",
cmail2: "",
docnam: "",
docnam: "",
description: "",
docnam: "",
serialNum: "",
tableName: "",
tcddoc: "",
},
codeTable: [
{ label: "Airway Bills", value: "1" },
{ label: "Beneficiary's Declaration", value: "2" },
{ label: "Bill of Lading Copies", value: "3" },
{ label: "Bill of Lading Originals", value: "4" },
{ label: "Certificate", value: "5" },
{ label: "Certificate of Analysis", value: "6" },
{ label: "Certificate of Origin", value: "7" },
{ label: "Certificate of Quality", value: "8" },
{ label: "Certificate of Quantity", value: "9" },
{ label: "Commercial Invoice", value: "10" },
{ label: "Courier Receipt ", value: "11" },
{ label: "Draft", value: "12" },
{ label: "Export Licence", value: "13" },
{ label: "Fax Report", value: "14" },
{ label: "Inspection Cert", value: "15" },
{ label: "Insurance Policy", value: "16" },
{ label: "Packing List", value: "17" },
{ label: "Shipment Advice", value: "18" },
{ label: "Weight List", value: "19" },
],
};
},
computed: {
docdisflg: {
get() {
if(this.model.bedgrp.blk.docdis==""){
return this.model.bedgrp.blk.docdisflg != "X";
}else{
return this.model.bedgrp.blk.docdisflg != "";
}else{
return this.model.bedgrp.blk.docdisflg != "X";
}
},
set(val) {
......@@ -348,26 +301,9 @@ export default {
},
methods: {
...Event,
addTableValue(index) {
var newTableValue = Object.assign({}, this.newValue);
const serial = Utils.generateUUID();
newTableValue.serialNum = serial;
// this.model.bftp.docgrdm.docgrd.push(newTableValue);
this.model.betp.docgrdm.docgrd.splice(index - 1, 0, newTableValue);
this.TableValue.push(newTableValue);
},
deleteTable(index) {
this.model.betp.docgrdm.docgrd.splice(index, 1);
},
},
created: function () {},
};
</script>
<style>
.messageLabel >>> .el-form-item__label {
text-align: left;
font-weight: bold;
font-size: 12px;
}
</style>
......@@ -307,11 +307,12 @@
:columns="stmData.columns"
:showSelection="true"
v-on:multipleSelect="multipleSelect"
prop="liaall.tenstm"
>
</c-istream-table>
</c-col>
<!-- left -->
<c-col :span="12">
<c-col :span="11">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Doc. Amount Part" prop="bedgrp.cbs.opn2.cur">
......@@ -365,7 +366,7 @@
</c-col>
<!-- right -->
<c-col :span="12">
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-form-item label="Less comm." prop="bedgrp.rec.lescom">
<c-input
......@@ -662,7 +663,18 @@ export default {
'3 3 "Cdt" 250',
'4 4 "Cur" 250',
'5 5 "Amt" 250 2 8 1 4',
'6 6 "Mat.Dat." 250 4 7 1',
// '6 6 "Mat.Dat." 250 4 7 1',
{
index: 6,
position: 6,
width: 250,
render: (item, scope) => {
return scope.row[item.prop] === "null"
? ""
: scope.row[item.prop];
},
label: "Mat.Dat.",
},
],
data: [],
},
......@@ -687,9 +699,23 @@ export default {
methods: {
...Event,
async multipleSelect(selection) {
console.log(selection);
if (selection) {
let selIds = selection.map((x) => x + 1);
if (selection.length > 1) {
this.$notify({
title: "error",
message: "You cannot select more than one tenor",
type: "error",
});
} else {
let selIds;
if (selection.length === 0) {
selIds = []
this.model.liaall.tensetstm.rows = []
// this.model.liaall.tenstm.rows = []
} else {
selIds = [selection[0] + 1]
}
//
console.log(this.model.liaall.tensetstm);
let params = { selDst: "liaall.tenstm", selIds };
const rtnmsg = await this.executeRule("liaall.tenstm", params);
if (rtnmsg.respCode == SUCCESS) {
......@@ -698,6 +724,17 @@ export default {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
// console.log(selection);
// if (selection) {
// let selIds = selection.map((x) => x + 1);
// let params = { selDst: "liaall.tenstm", selIds };
// const rtnmsg = await this.executeRule("liaall.tenstm", params);
// if (rtnmsg.respCode == SUCCESS) {
// this.updateModel(rtnmsg.data);
// } else {
// this.$notify.error({ title: "错误", message: "服务请求失败!" });
// }
// }
},
},
created: function () {},
......
......@@ -8,6 +8,7 @@
v-model="model.rmbclm.rmbrol"
style="width: 100%"
placeholder="Please select Reimbursement Bank"
@change="selectOrCheckboxRule('rmbclm.rmbrol')"
>
<el-option
v-for="item in codes.payrol"
......
......@@ -30,7 +30,7 @@
<!--betrcl PD000034 Claim Reimb. -->
<el-tab-pane label="Claim Reimb." name="rclp">
<c-content>
<m-rclp :model="model" :codes="codes" />
<m-rclp ref="rclp" :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--liaall PD000027 Liability -->
......@@ -54,7 +54,11 @@
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--rmbclm PD000128 Reimbursement Details -->
<el-tab-pane v-if="model.rmbclm.clmrmbflg" label="Reimbursement Details" name="remp">
<el-tab-pane
v-if="model.rmbclm.clmrmbflg"
label="Reimbursement Details"
name="remp"
>
<m-remp :model="model" :codes="codes" />
</el-tab-pane>
<!--limmod PD000001 统一授信 -->
......@@ -62,6 +66,12 @@
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</el-form>
</div>
</template>
......@@ -129,7 +139,8 @@ export default {
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
this.$refs.setp.$refs.table.$refs.table.toggleAllSelection();
console.log(this.$refs.rclp);
this.$refs.rclp.$refs.table.$refs.table.toggleAllSelection();
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
......
......@@ -41,7 +41,7 @@
type="primary"
:disabled="this.flag"
>
获取
Get
</c-button>
<!-- </el-form-item> -->
</c-col>
......@@ -87,7 +87,7 @@
type="primary"
:disabled="this.flag"
>
获取
Get
</c-button>
<!-- </el-form-item> -->
</c-col>
......@@ -303,6 +303,7 @@
:columns="stmData.columns"
:showSelection="true"
v-on:multipleSelect="multipleSelect"
prop="liaall.tenstm"
>
</c-istream-table>
</c-col>
......@@ -345,6 +346,7 @@
<c-input
v-model="model.setmod.setamt"
placeholder="Please input Reduced Amt. Settled"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -418,7 +420,7 @@
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="" prop="mtabut.clsflg">
<c-checkbox v-model="clsflg">Close Contract</c-checkbox>
<c-checkbox v-model="clsflg" disabled>Close Contract</c-checkbox>
</el-form-item>
</c-col>
......@@ -752,9 +754,23 @@ export default {
methods: {
...Event,
async multipleSelect(selection) {
console.log(selection);
if (selection) {
let selIds = selection.map((x) => x + 1);
if (selection.length > 1) {
this.$notify({
title: "error",
message: "You cannot select more than one tenor",
type: "error",
});
} else {
let selIds;
if (selection.length === 0) {
selIds = []
this.model.liaall.tensetstm.rows = []
// this.model.liaall.tenstm.rows = []
} else {
selIds = [selection[0] + 1]
}
//
console.log(this.model.liaall.tensetstm);
let params = { selDst: "liaall.tenstm", selIds };
const rtnmsg = await this.executeRule("liaall.tenstm", params);
if (rtnmsg.respCode == SUCCESS) {
......@@ -763,6 +779,17 @@ export default {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
// console.log(selection);
// if (selection) {
// let selIds = selection.map((x) => x + 1);
// let params = { selDst: "liaall.tenstm", selIds };
// const rtnmsg = await this.executeRule("liaall.tenstm", params);
// if (rtnmsg.respCode == SUCCESS) {
// this.updateModel(rtnmsg.data);
// } else {
// this.$notify.error({ title: "错误", message: "服务请求失败!" });
// }
// }
},
},
created: function () {},
......
......@@ -9,9 +9,10 @@
v-model="model.bopmod.szflg"
style="width: 100%"
placeholder="请选择申报类型"
@change="selectOrCheckboxRule('bopmod.szflg')"
>
<el-option
v-for="item in codes.szflg1"
v-for="item in codes.szflg"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -20,11 +21,11 @@
</c-select>
</el-form-item>
<template slot="footer">
<el-form-item label="" prop="lendoc.actflg">
<el-form-item label="" prop="bopmod.basflg">
<c-checkbox
v-model="model.lendoc.actflg"
v-model="basflg"
style="margin-left: 10px"
disabled
:disabled="this.model.bopmod.szflg == '3'"
>基础数据</c-checkbox
>
</el-form-item>
......@@ -38,7 +39,7 @@
v-model="model.bopmod.acttyp"
style="width: 100%"
placeholder="请选择款项来源"
disabled
:disabled="!(this.model.bopmod.szflg == '1')"
>
<el-option
v-for="item in codes.acttyp"
......@@ -59,7 +60,8 @@
v-model="model.bopmod.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
disabled
:code="codes.ownextkey1"
:disabled="this.model.bopmod.szflg == '3'"
>
</c-select>
</el-form-item>
......@@ -89,7 +91,7 @@
<c-input
v-model="model.bopmod.outchargeamt"
placeholder="请输入国外银行扣费(涉外收入申报专用)"
disabled
:disabled="!(this.model.bopmod.szflg == '1' && this.model.bopmod.basflg!='')"
></c-input>
</el-form-item>
</c-col>
......@@ -155,6 +157,20 @@ export default {
data() {
return {};
},
computed:{
basflg:{
get(){
console.log(this.model.bopmod.szflg == "1")
if(this.model.bopmod.szflg == "1" || this.model.bopmod.szflg == "2"){
return this.model.bopmod.basflg != ""
}
},
set(val){
this.model.bopmod.basflg = val ? "X":"";
}
}
},
methods: { ...Event },
created: function () {},
};
......
......@@ -23,7 +23,7 @@
<!--PD000034 -->
<el-tab-pane label="Funds Settlement" name="setp">
<c-content>
<m-setp :model="model" :codes="codes"/>
<m-setp ref="setp" :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
......
......@@ -903,7 +903,7 @@ export default {
async multipleSelect(selection) {
if (selection.length > 1) {
this.$notify({
title: "失败",
title: "error",
message: "You cannot select more than one tenor",
type: "error",
});
......
......@@ -363,6 +363,15 @@
>
非我行通知及收单行登记
</c-button>
<c-button
class="medium_bcs"
size="medium"
type="primary"
title="LETRSV"
@click="toLetrsv"
>
出口信用证补通知
</c-button>
<!-- <c-button size="small" type="primary" @click="onInfbutDsp">
Display
</c-button> -->
......@@ -628,6 +637,9 @@ async getButtons(ownref){
toLetdrw(){
this.$router.history.push("/business/letdrw")
},
toLetrsv(){
this.$router.history.push("/business/letrsv")
},
handleReset: function () {
this.model = {
......
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